From b18db58c9bfcff636ddf21b6accc8cbb292994ca Mon Sep 17 00:00:00 2001 From: oci-dex-release-bot Date: Tue, 8 Aug 2023 22:36:40 +0000 Subject: [PATCH 1/2] Releasing version 3.23.0 --- CHANGELOG.md | 23 + bmc-accessgovernancecp/pom.xml | 4 +- .../pom.xml | 6 +- .../pom.xml | 6 +- .../bmc-apache-connector-provider/pom.xml | 4 +- bmc-addons/bmc-graalvm-addon/pom.xml | 14 +- bmc-addons/bmc-graalvm-jersey3-addon/pom.xml | 14 +- bmc-addons/bmc-oke-workload-identity/pom.xml | 10 +- .../bmc-resteasy-client-configurator/pom.xml | 4 +- bmc-addons/bmc-sasl/pom.xml | 4 +- bmc-addons/pom.xml | 2 +- bmc-adm/pom.xml | 4 +- bmc-aianomalydetection/pom.xml | 4 +- bmc-aidocument/pom.xml | 4 +- bmc-ailanguage/pom.xml | 4 +- .../bmc/ailanguage/AIServiceLanguage.java | 15 + .../ailanguage/AIServiceLanguageAsync.java | 15 + .../AIServiceLanguageAsyncClient.java | 29 + .../ailanguage/AIServiceLanguageClient.java | 27 + .../BatchLanguageTranslationDetails.java | 44 +- .../bmc/ailanguage/model/Capabilities.java | 131 + .../bmc/ailanguage/model/Capability.java | 131 + .../bmc/ailanguage/model/ClassMetrics.java | 43 +- .../ClassificationMultiClassModeDetails.java | 49 +- .../ClassificationMultiLabelModeDetails.java | 49 +- .../model/EntityDocumentResult.java | 44 +- .../model/KeyPhraseDocumentResult.java | 44 +- .../oracle/bmc/ailanguage/model/Model.java | 28 +- .../bmc/ailanguage/model/ModelDetails.java | 42 +- .../bmc/ailanguage/model/ModelSummary.java | 28 +- .../bmc/ailanguage/model/ModelTypeInfo.java | 168 + .../NamedEntityRecognitionModelDetails.java | 48 +- .../model/PiiEntityDocumentResult.java | 44 +- .../PreTrainedHealthNluModelDetails.java | 154 + ...rainedKeyPhraseExtractionModelDetails.java | 155 + ...eTrainedLanguageDetectionModelDetails.java | 154 + ...nedNamedEntityRecognitionModelDetails.java | 156 + .../model/PreTrainedPhiModelDetails.java | 154 + .../model/PreTrainedPiiModelDetails.java | 154 + ...eTrainedSentimentAnalysisModelDetails.java | 154 + .../model/PreTrainedSummarization.java | 154 + ...TrainedTextClassificationModelDetails.java | 155 + .../model/PreTrainedUniversalModel.java | 154 + .../model/SentimentDocumentResult.java | 44 +- .../TextClassificationDocumentResult.java | 44 +- .../bmc/ailanguage/model/TextDocument.java | 32 +- .../model/TranslationDocumentResult.java | 88 +- .../requests/GetModelTypeRequest.java | 190 + .../responses/GetModelTypeResponse.java | 177 + bmc-aispeech/pom.xml | 4 +- bmc-aivision/pom.xml | 4 +- bmc-analytics/pom.xml | 4 +- bmc-announcementsservice/pom.xml | 4 +- bmc-apigateway/pom.xml | 4 +- bmc-apmconfig/pom.xml | 4 +- bmc-apmcontrolplane/pom.xml | 4 +- bmc-apmsynthetics/pom.xml | 4 +- bmc-apmtraces/pom.xml | 4 +- bmc-applicationmigration/pom.xml | 4 +- bmc-appmgmtcontrol/pom.xml | 4 +- bmc-artifacts/pom.xml | 4 +- bmc-audit/pom.xml | 4 +- bmc-autoscaling/pom.xml | 4 +- bmc-bastion/pom.xml | 4 +- bmc-bds/pom.xml | 4 +- bmc-blockchain/pom.xml | 4 +- bmc-bom/pom.xml | 282 +- bmc-budget/pom.xml | 4 +- bmc-certificates/pom.xml | 4 +- bmc-certificatesmanagement/pom.xml | 4 +- bmc-cims/pom.xml | 4 +- bmc-circuitbreaker/pom.xml | 2 +- bmc-cloudbridge/pom.xml | 4 +- bmc-cloudguard/pom.xml | 4 +- bmc-cloudmigrations/pom.xml | 4 +- .../bmc-common-httpclient-jersey/pom.xml | 6 +- .../bmc-common-httpclient-jersey3/pom.xml | 6 +- bmc-common-httpclient-choices/pom.xml | 2 +- bmc-common-httpclient/pom.xml | 2 +- bmc-common/pom.xml | 8 +- bmc-computeinstanceagent/pom.xml | 4 +- bmc-containerengine/pom.xml | 4 +- bmc-containerinstances/pom.xml | 4 +- bmc-core/pom.xml | 6 +- .../bmc/core/model/NetworkingTopology.java | 21 +- .../oracle/bmc/core/model/SubnetTopology.java | 21 +- .../com/oracle/bmc/core/model/Topology.java | 31 +- .../oracle/bmc/core/model/VcnTopology.java | 21 +- bmc-dashboardservice/pom.xml | 4 +- bmc-database/pom.xml | 6 +- .../database/model/AutonomousDatabase.java | 57 + .../model/AutonomousDatabaseSummary.java | 57 + .../model/CreateAutonomousDatabaseBase.java | 25 + .../CreateAutonomousDatabaseCloneDetails.java | 15 + .../CreateAutonomousDatabaseDetails.java | 15 + ...teAutonomousDatabaseFromBackupDetails.java | 15 + ...ousDatabaseFromBackupTimestampDetails.java | 15 + ...ionAutonomousDatabaseDataGuardDetails.java | 15 + ...ateCrossRegionDisasterRecoveryDetails.java | 15 + ...eshableAutonomousDatabaseCloneDetails.java | 15 + .../UpdateAutonomousDatabaseDetails.java | 192 +- bmc-databasemanagement/pom.xml | 4 +- bmc-databasemigration/pom.xml | 4 +- .../model/DatabaseObject.java | 72 +- .../model/MigrationObjectSummary.java | 72 +- bmc-databasetools/pom.xml | 4 +- bmc-datacatalog/pom.xml | 4 +- bmc-dataflow/pom.xml | 4 +- bmc-dataintegration/pom.xml | 4 +- bmc-datalabelingservice/pom.xml | 4 +- bmc-datalabelingservicedataplane/pom.xml | 4 +- bmc-datasafe/pom.xml | 4 +- bmc-datascience/pom.xml | 4 +- bmc-devops/pom.xml | 4 +- bmc-disasterrecovery/pom.xml | 4 +- bmc-dns/pom.xml | 4 +- bmc-dts/pom.xml | 4 +- bmc-email/pom.xml | 4 +- bmc-emwarehouse/pom.xml | 4 +- bmc-encryption/pom.xml | 10 +- bmc-enforcer-rules/pom.xml | 2 +- bmc-events/pom.xml | 4 +- bmc-examples/pom.xml | 6 +- bmc-filestorage/pom.xml | 4 +- bmc-fleetsoftwareupdate/pom.xml | 4 +- .../FleetSoftwareUpdateAsyncClient.java | 200 +- .../FleetSoftwareUpdateClient.java | 200 +- bmc-full/pom.xml | 4 +- bmc-functions/pom.xml | 4 +- bmc-fusionapps/pom.xml | 4 +- bmc-genericartifactscontent/pom.xml | 4 +- bmc-goldengate/pom.xml | 4 +- .../com/oracle/bmc/goldengate/GoldenGate.java | 35 + .../bmc/goldengate/GoldenGateAsync.java | 34 + .../bmc/goldengate/GoldenGateAsyncClient.java | 83 + .../bmc/goldengate/GoldenGateClient.java | 77 + .../model/CancelDeploymentUpgradeDetails.java | 78 + .../model/CancelDeploymentUpgradeType.java | 39 + .../model/CreateDeploymentDetails.java | 39 +- ...CreateMaintenanceConfigurationDetails.java | 385 + ...DefaultCancelDeploymentUpgradeDetails.java | 101 + .../bmc/goldengate/model/Deployment.java | 94 +- .../goldengate/model/DeploymentUpgrade.java | 212 +- .../model/DeploymentUpgradeSummary.java | 212 +- .../model/DeploymentVersionSummary.java | 60 +- .../model/MaintenanceConfiguration.java | 385 + .../bmc/goldengate/model/MysqlConnection.java | 2 + .../RescheduleDeploymentUpgradeDetails.java | 78 + ...cheduleDeploymentUpgradeToDateDetails.java | 146 + .../RescheduleDeploymentUpgradeType.java | 39 + .../bmc/goldengate/model/TechnologyType.java | 2 + .../model/UpdateDeploymentDetails.java | 39 +- ...UpdateMaintenanceConfigurationDetails.java | 385 + .../CancelDeploymentUpgradeRequest.java | 368 + .../RescheduleDeploymentUpgradeRequest.java | 360 + .../CancelDeploymentUpgradeResponse.java | 212 + .../RescheduleDeploymentUpgradeResponse.java | 212 + bmc-governancerulescontrolplane/pom.xml | 4 +- bmc-healthchecks/pom.xml | 4 +- bmc-identity/pom.xml | 4 +- bmc-identitydataplane/pom.xml | 4 +- bmc-identitydomains/pom.xml | 4 +- .../bmc/identitydomains/IdentityDomains.java | 1220 ++- .../identitydomains/IdentityDomainsAsync.java | 1203 ++- .../IdentityDomainsAsyncClient.java | 2758 ++++++- .../IdentityDomainsClient.java | 2514 +++++- .../model/AccountMgmtInfo.java | 2057 +++++ .../model/AccountMgmtInfoApp.java | 1242 +++ .../model/AccountMgmtInfoMatchingOwners.java | 381 + .../model/AccountMgmtInfoObjectClass.java | 258 + .../model/AccountMgmtInfoOwner.java | 368 + .../model/AccountMgmtInfoResourceType.java | 258 + .../model/AccountMgmtInfoSearchRequest.java | 538 ++ .../AccountMgmtInfoUserWalletArtifact.java | 208 + .../model/AccountMgmtInfos.java | 357 + .../model/AccountRecoverySetting.java | 1141 +++ .../model/AccountRecoverySettings.java | 358 + .../bmc/identitydomains/model/ApiKey.java | 2 +- .../bmc/identitydomains/model/ApiKeyUser.java | 42 +- .../oracle/bmc/identitydomains/model/App.java | 7168 +++++++++++++++++ .../identitydomains/model/AppAccounts.java | 375 + .../identitydomains/model/AppAdminRoles.java | 303 + .../identitydomains/model/AppAliasApps.java | 313 + .../model/AppAllowAuthzPolicy.java | 224 + .../model/AppAllowedScopes.java | 269 + .../identitydomains/model/AppAllowedTags.java | 279 + .../model/AppAppResources.java | 228 + .../model/AppAppSignonPolicy.java | 206 + .../model/AppAppsNetworkPerimeters.java | 223 + .../model/AppAsOPCService.java | 223 + .../model/AppAttrRenderingMetadata.java | 1015 +++ .../model/AppBasedOnTemplate.java | 328 + .../AppBundleConfigurationProperties.java | 661 ++ .../model/AppBundlePoolConfiguration.java | 410 + .../model/AppCertificates.java | 387 + .../model/AppCloudControlProperties.java | 217 + .../model/AppConnectorBundle.java | 436 + .../model/AppDenyAuthzPolicy.java | 224 + .../identitydomains/model/AppDomainApp.java | 281 + .../model/AppEditableAttributes.java | 167 + .../model/AppExtensionDbcsApp.java | 193 + .../model/AppExtensionEnterpriseAppApp.java | 363 + .../model/AppExtensionFormFillAppApp.java | 791 ++ ...tensionFormFillAppTemplateAppTemplate.java | 789 ++ .../model/AppExtensionKerberosRealmApp.java | 510 ++ .../model/AppExtensionManagedappApp.java | 1574 ++++ .../AppExtensionMulticloudServiceAppApp.java | 297 + .../model/AppExtensionOpcServiceApp.java | 787 ++ .../model/AppExtensionRadiusAppApp.java | 1111 +++ .../model/AppExtensionRequestableApp.java | 161 + .../AppExtensionSamlServiceProviderApp.java | 2145 +++++ .../model/AppExtensionWebTierPolicyApp.java | 345 + ...FlatFileBundleConfigurationProperties.java | 662 ++ .../model/AppFlatFileConnectorBundle.java | 321 + .../model/AppFormFillUrlMatch.java | 225 + .../model/AppGrantedAppRoles.java | 689 ++ .../bmc/identitydomains/model/AppGrants.java | 514 ++ .../model/AppGroupAssertionAttributes.java | 365 + .../model/AppGroupMembershipToReturn.java | 286 + .../model/AppIdentityBridges.java | 285 + .../model/AppIdentityProviders.java | 255 + .../identitydomains/model/AppIdpPolicy.java | 222 + .../model/AppObjectClasses.java | 502 ++ .../model/AppOutboundAssertionAttributes.java | 283 + .../AppProtectableSecondaryAudiences.java | 226 + .../model/AppRadiusPolicy.java | 223 + .../bmc/identitydomains/model/AppRole.java | 1576 ++++ .../bmc/identitydomains/model/AppRoleApp.java | 387 + .../identitydomains/model/AppRoleMembers.java | 364 + .../model/AppRoleSearchRequest.java | 538 ++ .../bmc/identitydomains/model/AppRoles.java | 356 + .../model/AppSamlServiceProvider.java | 208 + .../bmc/identitydomains/model/AppScopes.java | 467 ++ .../model/AppSearchRequest.java | 537 ++ .../model/AppServiceParams.java | 200 + .../model/AppSignonPolicy.java | 223 + .../model/AppStatusChanger.java | 873 ++ .../identitydomains/model/AppTermsOfUse.java | 283 + .../model/AppThreeLeggedOAuthCredential.java | 276 + .../model/AppTrustPolicies.java | 202 + .../model/AppUserAssertionAttributes.java | 320 + .../identitydomains/model/AppUserRoles.java | 303 + .../bmc/identitydomains/model/Apps.java | 356 + .../bmc/identitydomains/model/AuthToken.java | 20 +- .../identitydomains/model/AuthTokenUser.java | 34 +- .../model/AuthenticationFactorSetting.java | 1 + .../model/CustomerSecretKey.java | 28 +- .../model/CustomerSecretKeyUser.java | 40 +- .../model/DynamicResourceGroupGrants.java | 40 +- .../model/ExtensionCapabilitiesUser.java | 130 +- .../model/ExtensionDbCredentialsUser.java | 10 +- ...nsionFidoAuthenticationFactorSettings.java | 8 +- .../model/ExtensionGroupGroup.java | 2 +- .../model/ExtensionKerberosUserUser.java | 8 +- .../model/ExtensionMeUser.java | 2 +- .../model/ExtensionMfaUser.java | 115 +- .../model/ExtensionSecurityQuestionsUser.java | 22 +- .../model/ExtensionUserCredentialsUser.java | 40 +- .../model/ExtensionUserStateUser.java | 118 +- .../model/ExtensionUserUser.java | 238 +- .../model/ExtensionX509IdentityProvider.java | 190 +- .../bmc/identitydomains/model/Grant.java | 1298 +++ .../bmc/identitydomains/model/GrantApp.java | 258 + .../model/GrantAppEntitlementCollection.java | 226 + .../model/GrantEntitlement.java | 231 + .../identitydomains/model/GrantGrantee.java | 366 + .../identitydomains/model/GrantGrantor.java | 364 + .../model/GrantSearchRequest.java | 538 ++ .../bmc/identitydomains/model/Grants.java | 356 + .../bmc/identitydomains/model/Group.java | 52 +- .../identitydomains/model/GroupExtGrants.java | 40 +- .../identitydomains/model/GroupMembers.java | 74 +- .../model/IdentityProvider.java | 212 +- .../model/IdentitySetting.java | 1384 ++++ .../model/IdentitySettings.java | 357 + .../model/IdentitySettingsMyProfile.java | 392 + .../model/IdentitySettingsPOSIXGid.java | 236 + .../model/IdentitySettingsPOSIXUid.java | 236 + .../model/IdentitySettingsSearchRequest.java | 276 + .../model/IdentitySettingsTokens.java | 251 + .../bmc/identitydomains/model/MeGroups.java | 16 +- .../model/MePasswordChanger.java | 10 +- .../bmc/identitydomains/model/MyApiKey.java | 2 +- .../identitydomains/model/MyApiKeyUser.java | 42 +- .../bmc/identitydomains/model/MyApp.java | 1352 ++++ .../bmc/identitydomains/model/MyAppApp.java | 840 ++ .../bmc/identitydomains/model/MyAppOwner.java | 255 + .../model/MyAppSearchRequest.java | 538 ++ .../model/MyAppUserWalletArtifact.java | 207 + .../bmc/identitydomains/model/MyApps.java | 356 + .../identitydomains/model/MyAuthToken.java | 20 +- .../model/MyAuthTokenUser.java | 34 +- .../model/MyCustomerSecretKey.java | 28 +- .../model/MyCustomerSecretKeyUser.java | 40 +- .../bmc/identitydomains/model/MyDevice.java | 213 +- .../model/MyDeviceAdditionalAttributes.java | 32 +- .../model/MyDeviceAuthenticationFactors.java | 48 +- .../model/MyDeviceNonCompliances.java | 52 +- .../model/MyDevicePushNotificationTarget.java | 30 +- .../model/MyDeviceThirdPartyFactor.java | 64 +- .../identitydomains/model/MyDeviceUser.java | 40 +- .../bmc/identitydomains/model/MyGroup.java | 52 +- .../identitydomains/model/MyGroupMembers.java | 74 +- .../model/MyOAuth2ClientCredential.java | 28 +- .../model/MyOAuth2ClientCredentialUser.java | 42 +- .../bmc/identitydomains/model/MyRequest.java | 984 +++ .../model/MyRequestRequesting.java | 365 + .../model/MyRequestRequestor.java | 259 + .../model/MyRequestSearchRequest.java | 538 ++ .../model/MyRequestableGroup.java | 1207 +++ .../model/MyRequestableGroupMembers.java | 630 ++ .../MyRequestableGroupSearchRequest.java | 538 ++ .../model/MyRequestableGroups.java | 358 + .../bmc/identitydomains/model/MyRequests.java | 356 + .../model/MyTrustedUserAgent.java | 103 +- .../MyTrustedUserAgentTrustedFactors.java | 45 +- .../model/MyTrustedUserAgentUser.java | 40 +- .../model/MyUserDbCredential.java | 58 +- .../model/MyUserDbCredentialsUser.java | 42 +- .../model/OAuth2ClientCredential.java | 28 +- .../model/OAuth2ClientCredentialUser.java | 42 +- .../identitydomains/model/PasswordPolicy.java | 213 +- .../model/ResourceTypeSchemaAttribute.java | 4743 +++++++++++ ...ourceTypeSchemaAttributeSearchRequest.java | 539 ++ .../model/ResourceTypeSchemaAttributes.java | 358 + .../model/SecurityQuestion.java | 1124 +++ .../model/SecurityQuestionQuestionText.java | 271 + .../model/SecurityQuestionSearchRequest.java | 538 ++ .../model/SecurityQuestionSetting.java | 1144 +++ .../model/SecurityQuestionSettings.java | 358 + ...SecurityQuestionSettingsSearchRequest.java | 276 + .../model/SecurityQuestions.java | 358 + .../model/UserAttributesSetting.java | 877 ++ .../model/UserAttributesSettings.java | 358 + ...erAttributesSettingsAttributeSettings.java | 297 + .../UserAttributesSettingsSearchRequest.java | 276 + .../model/UserCapabilitiesChanger.java | 116 +- .../model/UserDbCredential.java | 58 +- .../model/UserDbCredentialsUser.java | 42 +- .../identitydomains/model/UserExtApiKeys.java | 34 +- .../model/UserExtAppRoles.java | 22 +- .../model/UserExtAuthTokens.java | 26 +- .../model/UserExtBypassCodes.java | 10 +- .../model/UserExtCustomerSecretKeys.java | 24 +- .../model/UserExtDbCredentials.java | 26 +- ...erExtDelegatedAuthenticationTargetApp.java | 2 +- .../identitydomains/model/UserExtDevices.java | 64 +- .../identitydomains/model/UserExtGrants.java | 40 +- .../UserExtIdcsAppRolesLimitedToGroups.java | 8 +- .../identitydomains/model/UserExtLocked.java | 106 +- .../model/UserExtOAuth2ClientCredentials.java | 26 +- .../model/UserExtPreferredDevice.java | 26 +- .../model/UserExtRealmUsers.java | 44 +- .../model/UserExtRecoveryLocked.java | 46 +- .../model/UserExtSecQuestions.java | 36 +- .../model/UserExtSmtpCredentials.java | 26 +- .../model/UserExtSupportAccounts.java | 8 +- .../model/UserExtTrustedUserAgents.java | 8 +- .../bmc/identitydomains/model/UserGroups.java | 16 +- .../model/UserPasswordChanger.java | 40 +- .../model/UserPasswordResetter.java | 38 +- .../model/UserPasswordResetterUserToken.java | 18 +- .../requests/CreateAppRequest.java | 566 ++ .../requests/CreateAppRoleRequest.java | 566 ++ .../requests/CreateGrantRequest.java | 566 ++ .../requests/CreateMyRequestRequest.java | 566 ++ .../CreateSecurityQuestionRequest.java | 572 ++ .../requests/DeleteAppRequest.java | 357 + .../requests/DeleteAppRoleRequest.java | 357 + .../requests/DeleteGrantRequest.java | 357 + .../DeleteSecurityQuestionRequest.java | 363 + .../requests/GetAccountMgmtInfoRequest.java | 432 + .../GetAccountRecoverySettingRequest.java | 438 + .../requests/GetAppRequest.java | 429 + .../requests/GetAppRoleRequest.java | 430 + .../requests/GetGrantRequest.java | 429 + .../requests/GetIdentitySettingRequest.java | 432 + .../requests/GetSecurityQuestionRequest.java | 434 + .../GetSecurityQuestionSettingRequest.java | 438 + .../GetUserAttributesSettingRequest.java | 437 + .../requests/ListAccountMgmtInfosRequest.java | 696 ++ .../ListAccountRecoverySettingsRequest.java | 459 ++ .../requests/ListAppRolesRequest.java | 694 ++ .../requests/ListAppsRequest.java | 693 ++ .../requests/ListGrantsRequest.java | 694 ++ .../requests/ListIdentitySettingsRequest.java | 458 ++ .../requests/ListMyAppsRequest.java | 567 ++ .../ListMyRequestableGroupsRequest.java | 569 ++ .../requests/ListMyRequestsRequest.java | 694 ++ ...stResourceTypeSchemaAttributesRequest.java | 700 ++ .../ListSecurityQuestionSettingsRequest.java | 459 ++ .../ListSecurityQuestionsRequest.java | 697 ++ .../ListUserAttributesSettingsRequest.java | 459 ++ .../PatchAccountRecoverySettingRequest.java | 629 ++ .../requests/PatchAppRequest.java | 620 ++ .../requests/PatchAppRoleRequest.java | 620 ++ .../requests/PatchGrantRequest.java | 620 ++ .../requests/PatchIdentitySettingRequest.java | 623 ++ .../PatchSecurityQuestionRequest.java | 626 ++ .../PatchSecurityQuestionSettingRequest.java | 629 ++ .../PatchUserAttributesSettingRequest.java | 628 ++ .../PutAccountRecoverySettingRequest.java | 638 ++ .../requests/PutAppRequest.java | 620 ++ .../requests/PutAppStatusChangerRequest.java | 630 ++ .../requests/PutIdentitySettingRequest.java | 628 ++ .../PutSecurityQuestionSettingRequest.java | 639 ++ .../SearchAccountMgmtInfosRequest.java | 396 + .../requests/SearchAppRolesRequest.java | 389 + .../requests/SearchAppsRequest.java | 385 + .../requests/SearchGrantsRequest.java | 387 + .../SearchIdentitySettingsRequest.java | 396 + .../requests/SearchMyAppsRequest.java | 387 + .../SearchMyRequestableGroupsRequest.java | 396 + .../requests/SearchMyRequestsRequest.java | 391 + ...chResourceTypeSchemaAttributesRequest.java | 407 + ...SearchSecurityQuestionSettingsRequest.java | 398 + .../SearchSecurityQuestionsRequest.java | 396 + .../SearchUserAttributesSettingsRequest.java | 397 + .../responses/CreateAppResponse.java | 207 + .../responses/CreateAppRoleResponse.java | 208 + .../responses/CreateGrantResponse.java | 207 + .../responses/CreateMyRequestResponse.java | 208 + .../CreateSecurityQuestionResponse.java | 212 + .../responses/DeleteAppResponse.java | 136 + .../responses/DeleteAppRoleResponse.java | 136 + .../responses/DeleteGrantResponse.java | 136 + .../DeleteSecurityQuestionResponse.java | 137 + .../responses/GetAccountMgmtInfoResponse.java | 178 + .../GetAccountRecoverySettingResponse.java | 183 + .../responses/GetAppResponse.java | 169 + .../responses/GetAppRoleResponse.java | 169 + .../responses/GetGrantResponse.java | 169 + .../responses/GetIdentitySettingResponse.java | 178 + .../GetSecurityQuestionResponse.java | 178 + .../GetSecurityQuestionSettingResponse.java | 185 + .../GetUserAttributesSettingResponse.java | 182 + .../ListAccountMgmtInfosResponse.java | 223 + .../ListAccountRecoverySettingsResponse.java | 234 + .../responses/ListAppRolesResponse.java | 220 + .../responses/ListAppsResponse.java | 220 + .../responses/ListGrantsResponse.java | 220 + .../ListIdentitySettingsResponse.java | 223 + .../responses/ListMyAppsResponse.java | 220 + .../ListMyRequestableGroupsResponse.java | 226 + .../responses/ListMyRequestsResponse.java | 220 + ...tResourceTypeSchemaAttributesResponse.java | 238 + .../ListSecurityQuestionSettingsResponse.java | 235 + .../ListSecurityQuestionsResponse.java | 223 + .../ListUserAttributesSettingsResponse.java | 228 + .../PatchAccountRecoverySettingResponse.java | 216 + .../responses/PatchAppResponse.java | 207 + .../responses/PatchAppRoleResponse.java | 208 + .../responses/PatchGrantResponse.java | 207 + .../PatchIdentitySettingResponse.java | 211 + .../PatchSecurityQuestionResponse.java | 211 + .../PatchSecurityQuestionSettingResponse.java | 218 + .../PatchUserAttributesSettingResponse.java | 215 + .../PutAccountRecoverySettingResponse.java | 216 + .../responses/PutAppResponse.java | 207 + .../PutAppStatusChangerResponse.java | 211 + .../responses/PutIdentitySettingResponse.java | 211 + .../PutSecurityQuestionSettingResponse.java | 218 + .../SearchAccountMgmtInfosResponse.java | 224 + .../responses/SearchAppRolesResponse.java | 220 + .../responses/SearchAppsResponse.java | 220 + .../responses/SearchGrantsResponse.java | 220 + .../SearchIdentitySettingsResponse.java | 224 + .../responses/SearchMyAppsResponse.java | 220 + .../SearchMyRequestableGroupsResponse.java | 226 + .../responses/SearchMyRequestsResponse.java | 220 + ...hResourceTypeSchemaAttributesResponse.java | 239 + ...earchSecurityQuestionSettingsResponse.java | 235 + .../SearchSecurityQuestionsResponse.java | 224 + .../SearchUserAttributesSettingsResponse.java | 228 + bmc-integration/pom.xml | 4 +- bmc-jms/pom.xml | 4 +- bmc-keymanagement/pom.xml | 4 +- bmc-licensemanager/pom.xml | 4 +- bmc-limits/pom.xml | 4 +- bmc-loadbalancer/pom.xml | 4 +- bmc-lockbox/pom.xml | 4 +- bmc-loganalytics/pom.xml | 4 +- bmc-logging/pom.xml | 4 +- bmc-loggingingestion/pom.xml | 4 +- bmc-loggingsearch/pom.xml | 4 +- bmc-managementagent/pom.xml | 4 +- bmc-managementdashboard/pom.xml | 4 +- bmc-marketplace/pom.xml | 4 +- bmc-mediaservices/pom.xml | 4 +- bmc-monitoring/pom.xml | 4 +- bmc-mysql/pom.xml | 4 +- bmc-networkfirewall/pom.xml | 4 +- bmc-networkloadbalancer/pom.xml | 4 +- bmc-nosql/pom.xml | 4 +- .../bmc-objectstorage-combined/pom.xml | 6 +- .../bmc-objectstorage-extensions/pom.xml | 8 +- .../bmc-objectstorage-generated/pom.xml | 4 +- bmc-objectstorage/pom.xml | 2 +- bmc-oce/pom.xml | 4 +- bmc-ocicontrolcenter/pom.xml | 4 +- bmc-ocvp/pom.xml | 4 +- bmc-oda/pom.xml | 4 +- bmc-onesubscription/pom.xml | 4 +- bmc-ons/pom.xml | 4 +- bmc-opa/pom.xml | 4 +- bmc-opensearch/pom.xml | 4 +- bmc-operatoraccesscontrol/pom.xml | 4 +- .../operatoraccesscontrol/AccessRequests.java | 54 +- .../AccessRequestsClient.java | 9 + .../OperatorActions.java | 12 +- .../OperatorActionsClient.java | 2 + .../OperatorControl.java | 36 +- .../OperatorControlAssignment.java | 36 +- .../OperatorControlAssignmentClient.java | 6 + .../OperatorControlClient.java | 6 + .../model/AccessRequest.java | 40 + .../model/AccessRequestSummary.java | 40 + .../model/OperatorControl.java | 44 + .../model/OperatorControlAssignment.java | 42 + ...ratorControlAssignmentLifecycleStates.java | 1 + .../model/ResourceTypes.java | 1 + bmc-opsi/pom.xml | 4 +- bmc-optimizer/pom.xml | 4 +- bmc-osmanagement/pom.xml | 4 +- bmc-osmanagementhub/pom.xml | 4 +- bmc-ospgateway/pom.xml | 4 +- bmc-osubbillingschedule/pom.xml | 4 +- bmc-osuborganizationsubscription/pom.xml | 4 +- bmc-osubsubscription/pom.xml | 4 +- bmc-osubusage/pom.xml | 4 +- .../bmc-jersey-examples/pom.xml | 8 +- .../bmc-jersey3-examples/pom.xml | 8 +- bmc-other-examples/pom.xml | 2 +- bmc-queue/pom.xml | 4 +- bmc-recovery/pom.xml | 4 +- bmc-resourcemanager/pom.xml | 4 +- bmc-resourcesearch/pom.xml | 4 +- bmc-rover/pom.xml | 4 +- bmc-sch/pom.xml | 4 +- bmc-secrets/pom.xml | 4 +- bmc-servicecatalog/pom.xml | 4 +- bmc-servicemanagerproxy/pom.xml | 4 +- bmc-servicemesh/pom.xml | 4 +- bmc-shaded/bmc-shaded-full/pom.xml | 2 +- bmc-shaded/pom.xml | 2 +- bmc-stackmonitoring/pom.xml | 4 +- bmc-streaming/pom.xml | 4 +- bmc-tenantmanagercontrolplane/pom.xml | 4 +- bmc-threatintelligence/pom.xml | 4 +- bmc-usage/pom.xml | 4 +- bmc-usageapi/pom.xml | 4 +- bmc-vault/pom.xml | 4 +- bmc-vbsinst/pom.xml | 4 +- bmc-visualbuilder/pom.xml | 4 +- bmc-vnmonitoring/pom.xml | 4 +- .../model/AddDrgRouteRuleDetails.java | 25 +- .../model/AddPublicIpPoolCapacityDetails.java | 186 + .../model/AddSubnetIpv6CidrDetails.java | 156 + .../vnmonitoring/model/AddVcnCidrDetails.java | 133 + .../model/AddVcnIpv6CidrDetails.java | 244 + .../model/AllowedIkeIPSecParameters.java | 233 + .../model/AllowedPhaseOneParameters.java | 225 + .../model/AllowedPhaseTwoParameters.java | 225 + .../vnmonitoring/model/BgpSessionInfo.java | 704 ++ .../model/ByoipAllocatedRangeCollection.java | 133 + .../model/ByoipAllocatedRangeSummary.java | 188 + .../bmc/vnmonitoring/model/ByoipRange.java | 914 +++ .../model/ByoipRangeCollection.java | 133 + .../vnmonitoring/model/ByoipRangeSummary.java | 611 ++ .../ByoipRangeVcnIpv6AllocationSummary.java | 278 + .../model/Byoipv6CidrDetails.java | 197 + .../bmc/vnmonitoring/model/CaptureFilter.java | 579 ++ .../ChangeByoipRangeCompartmentDetails.java | 145 + ...ChangeCaptureFilterCompartmentDetails.java | 146 + .../model/ChangeCpeCompartmentDetails.java | 144 + .../ChangeCrossConnectCompartmentDetails.java | 145 + ...geCrossConnectGroupCompartmentDetails.java | 146 + .../ChangeDhcpOptionsCompartmentDetails.java | 145 + .../model/ChangeDrgCompartmentDetails.java | 144 + ...angeIPSecConnectionCompartmentDetails.java | 145 + ...angeInternetGatewayCompartmentDetails.java | 145 + ...LocalPeeringGatewayCompartmentDetails.java | 146 + .../ChangeNatGatewayCompartmentDetails.java | 145 + ...etworkSecurityGroupCompartmentDetails.java | 146 + .../ChangePublicIpCompartmentDetails.java | 145 + .../ChangePublicIpPoolCompartmentDetails.java | 145 + ...tePeeringConnectionCompartmentDetails.java | 146 + .../ChangeRouteTableCompartmentDetails.java | 145 + .../ChangeSecurityListCompartmentDetails.java | 145 + ...hangeServiceGatewayCompartmentDetails.java | 145 + .../model/ChangeSubnetCompartmentDetails.java | 145 + .../model/ChangeVcnCompartmentDetails.java | 144 + ...hangeVirtualCircuitCompartmentDetails.java | 145 + .../model/ChangeVlanCompartmentDetails.java | 145 + .../model/ChangeVtapCompartmentDetails.java | 146 + .../oracle/bmc/vnmonitoring/model/Cpe.java | 112 + .../model/CpeDeviceConfigAnswer.java | 180 + .../model/CpeDeviceConfigQuestion.java | 217 + .../bmc/vnmonitoring/model/CpeDeviceInfo.java | 173 + .../model/CpeDeviceShapeDetail.java | 316 + .../model/CpeDeviceShapeSummary.java | 168 + .../model/CreateByoipRangeDetails.java | 376 + .../model/CreateCaptureFilterDetails.java | 402 + .../vnmonitoring/model/CreateCpeDetails.java | 106 +- .../model/CreateCrossConnectDetails.java | 177 +- .../model/CreateCrossConnectGroupDetails.java | 184 +- .../vnmonitoring/model/CreateDhcpDetails.java | 80 +- .../model/CreateDrgAttachmentDetails.java | 94 + .../model/CreateIPSecConnectionDetails.java | 290 +- .../CreateIPSecConnectionTunnelDetails.java | 712 ++ .../CreateIPSecTunnelBgpSessionDetails.java | 529 ++ ...ateIPSecTunnelEncryptionDomainDetails.java | 185 + .../model/CreateInternetGatewayDetails.java | 52 +- .../vnmonitoring/model/CreateIpv6Details.java | 126 +- .../CreateLocalPeeringGatewayDetails.java | 78 + .../vnmonitoring/model/CreateMacsecKey.java | 231 + .../model/CreateMacsecProperties.java | 198 + .../model/CreateNatGatewayDetails.java | 492 ++ .../model/CreatePrivateIpDetails.java | 94 +- .../model/CreatePublicIpDetails.java | 54 +- .../model/CreatePublicIpPoolDetails.java | 288 + .../CreateRemotePeeringConnectionDetails.java | 107 +- .../model/CreateServiceGatewayDetails.java | 78 + .../model/CreateSubnetDetails.java | 226 +- .../vnmonitoring/model/CreateVcnDetails.java | 364 +- .../model/CreateVirtualCircuitDetails.java | 485 +- .../vnmonitoring/model/CreateVlanDetails.java | 634 ++ .../vnmonitoring/model/CreateVnicDetails.java | 253 +- .../vnmonitoring/model/CreateVtapDetails.java | 1058 +++ .../bmc/vnmonitoring/model/CrossConnect.java | 269 +- .../vnmonitoring/model/CrossConnectGroup.java | 269 +- .../model/CrossConnectMapping.java | 227 +- .../model/CrossConnectMappingDetails.java | 790 ++ .../CrossConnectMappingDetailsCollection.java | 134 + .../model/CrossConnectStatus.java | 172 +- .../model/DefaultPhaseOneParameters.java | 231 + .../model/DefaultPhaseTwoParameters.java | 231 + .../bmc/vnmonitoring/model/DhcpOptions.java | 80 +- .../bmc/vnmonitoring/model/DpdConfig.java | 218 + .../bmc/vnmonitoring/model/DrgAttachment.java | 92 + ...hAllDrgRouteDistributionMatchCriteria.java | 103 + .../model/DrgRedundancyStatus.java | 218 + .../model/DrgRouteDistribution.java | 11 +- .../DrgRouteDistributionMatchCriteria.java | 6 +- .../bmc/vnmonitoring/model/DrgRouteRule.java | 15 +- .../model/EgressSecurityRule.java | 44 +- .../model/EncryptionDomainConfig.java | 180 + .../model/FastConnectProviderService.java | 290 + .../model/FastConnectProviderServiceKey.java | 258 + .../vnmonitoring/model/IPSecConnection.java | 247 +- .../model/IPSecConnectionDeviceConfig.java | 4 +- .../model/IPSecConnectionDeviceStatus.java | 2 +- .../model/IPSecConnectionTunnel.java | 1218 +++ .../IPSecConnectionTunnelErrorDetails.java | 333 + .../IPSecConnectionTunnelSharedSecret.java | 135 + .../model/IngressSecurityRule.java | 44 +- .../vnmonitoring/model/InternetGateway.java | 52 +- .../oracle/bmc/vnmonitoring/model/Ipv6.java | 172 - .../model/LocalPeeringGateway.java | 208 +- .../model/MacsecEncryptionCipher.java | 42 + .../bmc/vnmonitoring/model/MacsecKey.java | 308 + .../vnmonitoring/model/MacsecProperties.java | 195 + .../bmc/vnmonitoring/model/MacsecState.java | 40 + .../model/ModifyVcnCidrDetails.java | 172 + .../bmc/vnmonitoring/model/NatGateway.java | 712 ++ .../model/NetworkingTopology.java | 21 +- .../bmc/vnmonitoring/model/PathTopology.java | 21 +- .../model/PhaseOneConfigDetails.java | 422 + .../model/PhaseTwoConfigDetails.java | 460 ++ .../bmc/vnmonitoring/model/PrivateIp.java | 136 +- .../bmc/vnmonitoring/model/PublicIp.java | 379 +- .../bmc/vnmonitoring/model/PublicIpPool.java | 504 ++ .../model/PublicIpPoolCollection.java | 133 + .../model/PublicIpPoolSummary.java | 428 + .../model/RemotePeeringConnection.java | 93 + .../RemovePublicIpPoolCapacityDetails.java | 134 + .../model/RemoveSubnetIpv6CidrDetails.java | 156 + .../model/RemoveVcnCidrDetails.java | 133 + .../model/RemoveVcnIpv6CidrDetails.java | 159 + .../bmc/vnmonitoring/model/RouteRule.java | 139 +- .../vnmonitoring/model/ServiceGateway.java | 56 + .../oracle/bmc/vnmonitoring/model/Subnet.java | 219 +- .../vnmonitoring/model/SubnetTopology.java | 21 +- .../bmc/vnmonitoring/model/Topology.java | 31 +- .../bmc/vnmonitoring/model/TunnelConfig.java | 4 +- .../model/TunnelCpeDeviceConfig.java | 143 + .../model/TunnelPhaseOneDetails.java | 588 ++ .../model/TunnelPhaseTwoDetails.java | 624 ++ .../model/TunnelRouteSummary.java | 314 + .../TunnelSecurityAssociationSummary.java | 344 + .../bmc/vnmonitoring/model/TunnelStatus.java | 3 +- .../model/UpdateByoipRangeDetails.java | 234 + .../model/UpdateCaptureFilterDetails.java | 285 + .../vnmonitoring/model/UpdateCpeDetails.java | 109 +- .../model/UpdateCrossConnectDetails.java | 182 +- .../model/UpdateCrossConnectGroupDetails.java | 186 +- .../vnmonitoring/model/UpdateDhcpDetails.java | 88 +- .../model/UpdateDrgAttachmentDetails.java | 88 +- .../model/UpdateDrgRouteRuleDetails.java | 25 +- .../model/UpdateIPSecConnectionDetails.java | 255 +- .../UpdateIPSecConnectionTunnelDetails.java | 654 ++ ...ecConnectionTunnelSharedSecretDetails.java | 144 + .../UpdateIPSecTunnelBgpSessionDetails.java | 559 ++ ...ateIPSecTunnelEncryptionDomainDetails.java | 185 + .../model/UpdateInternetGatewayDetails.java | 60 +- .../vnmonitoring/model/UpdateIpv6Details.java | 88 +- .../UpdateLocalPeeringGatewayDetails.java | 74 +- .../vnmonitoring/model/UpdateMacsecKey.java | 309 + .../model/UpdateMacsecProperties.java | 198 + .../model/UpdateNatGatewayDetails.java | 352 + .../model/UpdatePrivateIpDetails.java | 28 +- .../model/UpdatePublicIpPoolDetails.java | 234 + .../UpdateRemotePeeringConnectionDetails.java | 102 +- .../model/UpdateServiceGatewayDetails.java | 56 + .../model/UpdateSubnetDetails.java | 226 +- .../UpdateTunnelCpeDeviceConfigDetails.java | 141 + .../model/UpdateVirtualCircuitDetails.java | 485 +- .../vnmonitoring/model/UpdateVlanDetails.java | 414 + .../vnmonitoring/model/UpdateVnicDetails.java | 60 +- .../vnmonitoring/model/UpdateVtapDetails.java | 964 +++ .../oracle/bmc/vnmonitoring/model/Vcn.java | 293 +- .../model/VcnDnsResolverAssociation.java | 262 + .../VcnDrgAttachmentNetworkCreateDetails.java | 51 +- .../model/VcnDrgAttachmentNetworkDetails.java | 85 +- .../VcnDrgAttachmentNetworkUpdateDetails.java | 48 +- .../bmc/vnmonitoring/model/VcnTopology.java | 21 +- .../vnmonitoring/model/VirtualCircuit.java | 578 +- .../model/VirtualCircuitIpMtu.java | 40 + .../oracle/bmc/vnmonitoring/model/Vlan.java | 774 ++ .../oracle/bmc/vnmonitoring/model/Vnic.java | 134 +- .../oracle/bmc/vnmonitoring/model/Vtap.java | 1314 +++ .../model/VtapCaptureFilterRuleDetails.java | 453 ++ bmc-vulnerabilityscanning/pom.xml | 4 +- bmc-waa/pom.xml | 4 +- bmc-waas/pom.xml | 4 +- .../main/java/com/oracle/bmc/waas/Waas.java | 19 +- .../java/com/oracle/bmc/waas/WaasAsync.java | 19 +- .../oracle/bmc/waas/model/AddressList.java | 30 +- .../bmc/waas/model/AddressListSummary.java | 30 +- .../oracle/bmc/waas/model/Certificate.java | 14 +- .../bmc/waas/model/CertificateSummary.java | 16 +- .../ChangeAddressListCompartmentDetails.java | 12 +- .../ChangeCertificateCompartmentDetails.java | 12 +- ...ustomProtectionRuleCompartmentDetails.java | 12 +- .../ChangeHttpRedirectCompartmentDetails.java | 8 +- .../ChangeWaasPolicyCompartmentDetails.java | 12 +- .../waas/model/CreateAddressListDetails.java | 8 +- .../waas/model/CreateCertificateDetails.java | 8 +- .../CreateCustomProtectionRuleDetails.java | 14 +- .../waas/model/CreateHttpRedirectDetails.java | 16 +- .../waas/model/CreateWaasPolicyDetails.java | 8 +- .../bmc/waas/model/CustomProtectionRule.java | 32 +- .../model/CustomProtectionRuleSetting.java | 16 +- .../model/CustomProtectionRuleSummary.java | 32 +- .../oracle/bmc/waas/model/HttpRedirect.java | 30 +- .../bmc/waas/model/HttpRedirectSummary.java | 30 +- .../com/oracle/bmc/waas/model/WaasPolicy.java | 30 +- ...WaasPolicyCustomProtectionRuleSummary.java | 16 +- .../bmc/waas/model/WaasPolicySummary.java | 30 +- .../com/oracle/bmc/waas/model/Whitelist.java | 16 +- .../oracle/bmc/waas/model/WorkRequest.java | 22 +- .../bmc/waas/model/WorkRequestResource.java | 16 +- .../bmc/waas/model/WorkRequestSummary.java | 22 +- .../AcceptRecommendationsRequest.java | 14 +- .../requests/CancelWorkRequestRequest.java | 16 +- .../ChangeAddressListCompartmentRequest.java | 16 +- .../ChangeCertificateCompartmentRequest.java | 8 +- ...ustomProtectionRuleCompartmentRequest.java | 24 +- .../ChangeHttpRedirectCompartmentRequest.java | 14 +- .../ChangeWaasPolicyCompartmentRequest.java | 14 +- .../requests/DeleteAddressListRequest.java | 16 +- .../requests/DeleteCertificateRequest.java | 8 +- .../DeleteCustomProtectionRuleRequest.java | 24 +- .../requests/DeleteHttpRedirectRequest.java | 14 +- .../requests/DeleteWaasPolicyRequest.java | 14 +- .../waas/requests/GetAddressListRequest.java | 16 +- .../waas/requests/GetCertificateRequest.java | 8 +- .../GetCustomProtectionRuleRequest.java | 24 +- .../GetDeviceFingerprintChallengeRequest.java | 14 +- .../waas/requests/GetHttpRedirectRequest.java | 14 +- .../GetHumanInteractionChallengeRequest.java | 14 +- .../waas/requests/GetJsChallengeRequest.java | 14 +- .../waas/requests/GetPolicyConfigRequest.java | 14 +- .../requests/GetProtectionRuleRequest.java | 14 +- .../GetProtectionSettingsRequest.java | 14 +- .../waas/requests/GetWaasPolicyRequest.java | 14 +- .../GetWafAddressRateLimitingRequest.java | 14 +- .../waas/requests/GetWafConfigRequest.java | 14 +- .../waas/requests/GetWorkRequestRequest.java | 16 +- .../waas/requests/ListAccessRulesRequest.java | 14 +- .../requests/ListAddressListsRequest.java | 16 +- .../requests/ListCachingRulesRequest.java | 14 +- .../waas/requests/ListCaptchasRequest.java | 14 +- .../requests/ListCertificatesRequest.java | 16 +- .../ListCustomProtectionRulesRequest.java | 16 +- .../waas/requests/ListGoodBotsRequest.java | 14 +- .../requests/ListHttpRedirectsRequest.java | 16 +- .../requests/ListProtectionRulesRequest.java | 14 +- .../requests/ListRecommendationsRequest.java | 14 +- .../waas/requests/ListThreatFeedsRequest.java | 14 +- .../requests/ListWaasPoliciesRequest.java | 16 +- ...aasPolicyCustomProtectionRulesRequest.java | 14 +- .../ListWafBlockedRequestsRequest.java | 14 +- .../bmc/waas/requests/ListWafLogsRequest.java | 14 +- .../waas/requests/ListWafRequestsRequest.java | 14 +- .../waas/requests/ListWafTrafficRequest.java | 14 +- .../waas/requests/ListWhitelistsRequest.java | 14 +- .../requests/ListWorkRequestsRequest.java | 32 +- .../bmc/waas/requests/PurgeCacheRequest.java | 14 +- .../requests/UpdateAccessRulesRequest.java | 14 +- .../requests/UpdateAddressListRequest.java | 16 +- .../requests/UpdateCachingRulesRequest.java | 14 +- .../waas/requests/UpdateCaptchasRequest.java | 14 +- .../requests/UpdateCertificateRequest.java | 8 +- .../UpdateCustomProtectionRuleRequest.java | 24 +- ...dateDeviceFingerprintChallengeRequest.java | 14 +- .../waas/requests/UpdateGoodBotsRequest.java | 14 +- .../requests/UpdateHttpRedirectRequest.java | 14 +- ...pdateHumanInteractionChallengeRequest.java | 14 +- .../requests/UpdateJsChallengeRequest.java | 14 +- .../requests/UpdatePolicyConfigRequest.java | 14 +- .../UpdateProtectionRulesRequest.java | 14 +- .../UpdateProtectionSettingsRequest.java | 14 +- .../requests/UpdateThreatFeedsRequest.java | 14 +- ...aasPolicyCustomProtectionRulesRequest.java | 14 +- .../requests/UpdateWaasPolicyRequest.java | 14 +- .../UpdateWafAddressRateLimitingRequest.java | 14 +- .../waas/requests/UpdateWafConfigRequest.java | 14 +- .../requests/UpdateWhitelistsRequest.java | 14 +- .../AcceptRecommendationsResponse.java | 14 +- .../responses/CreateHttpRedirectResponse.java | 14 +- .../responses/CreateWaasPolicyResponse.java | 14 +- .../responses/DeleteHttpRedirectResponse.java | 14 +- .../responses/DeleteWaasPolicyResponse.java | 14 +- .../waas/responses/PurgeCacheResponse.java | 14 +- .../responses/UpdateAccessRulesResponse.java | 14 +- .../responses/UpdateCachingRulesResponse.java | 14 +- .../responses/UpdateCaptchasResponse.java | 14 +- ...ateDeviceFingerprintChallengeResponse.java | 14 +- .../responses/UpdateGoodBotsResponse.java | 14 +- .../responses/UpdateHttpRedirectResponse.java | 14 +- ...dateHumanInteractionChallengeResponse.java | 14 +- .../responses/UpdateJsChallengeResponse.java | 14 +- .../responses/UpdatePolicyConfigResponse.java | 14 +- .../UpdateProtectionRulesResponse.java | 14 +- .../UpdateProtectionSettingsResponse.java | 14 +- .../responses/UpdateThreatFeedsResponse.java | 14 +- ...asPolicyCustomProtectionRulesResponse.java | 14 +- .../responses/UpdateWaasPolicyResponse.java | 14 +- .../UpdateWafAddressRateLimitingResponse.java | 14 +- .../responses/UpdateWafConfigResponse.java | 14 +- .../responses/UpdateWhitelistsResponse.java | 14 +- bmc-waf/pom.xml | 4 +- bmc-workrequests/pom.xml | 4 +- pom.xml | 2 +- 855 files changed, 169533 insertions(+), 5015 deletions(-) create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/Capabilities.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/Capability.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ModelTypeInfo.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedHealthNluModelDetails.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedKeyPhraseExtractionModelDetails.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedLanguageDetectionModelDetails.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedNamedEntityRecognitionModelDetails.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedPhiModelDetails.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedPiiModelDetails.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedSentimentAnalysisModelDetails.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedSummarization.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedTextClassificationModelDetails.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedUniversalModel.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/requests/GetModelTypeRequest.java create mode 100644 bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/responses/GetModelTypeResponse.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CancelDeploymentUpgradeDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CancelDeploymentUpgradeType.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMaintenanceConfigurationDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DefaultCancelDeploymentUpgradeDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/MaintenanceConfiguration.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RescheduleDeploymentUpgradeDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RescheduleDeploymentUpgradeToDateDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RescheduleDeploymentUpgradeType.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateMaintenanceConfigurationDetails.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/CancelDeploymentUpgradeRequest.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/RescheduleDeploymentUpgradeRequest.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/CancelDeploymentUpgradeResponse.java create mode 100644 bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/RescheduleDeploymentUpgradeResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfo.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoMatchingOwners.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoObjectClass.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoOwner.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoResourceType.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoSearchRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoUserWalletArtifact.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfos.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountRecoverySetting.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountRecoverySettings.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/App.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAccounts.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAdminRoles.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAliasApps.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAllowAuthzPolicy.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAllowedScopes.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAllowedTags.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAppResources.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAppSignonPolicy.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAppsNetworkPerimeters.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAsOPCService.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAttrRenderingMetadata.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppBasedOnTemplate.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppBundleConfigurationProperties.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppBundlePoolConfiguration.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppCertificates.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppCloudControlProperties.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppConnectorBundle.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppDenyAuthzPolicy.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppDomainApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppEditableAttributes.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionDbcsApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionEnterpriseAppApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionFormFillAppApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionFormFillAppTemplateAppTemplate.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionKerberosRealmApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionManagedappApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionMulticloudServiceAppApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionOpcServiceApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionRadiusAppApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionRequestableApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionSamlServiceProviderApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionWebTierPolicyApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppFlatFileBundleConfigurationProperties.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppFlatFileConnectorBundle.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppFormFillUrlMatch.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGrantedAppRoles.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGrants.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGroupAssertionAttributes.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGroupMembershipToReturn.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppIdentityBridges.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppIdentityProviders.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppIdpPolicy.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppObjectClasses.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppOutboundAssertionAttributes.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppProtectableSecondaryAudiences.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRadiusPolicy.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRole.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoleApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoleMembers.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoleSearchRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoles.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppSamlServiceProvider.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppScopes.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppSearchRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppServiceParams.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppSignonPolicy.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppStatusChanger.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppTermsOfUse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppThreeLeggedOAuthCredential.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppTrustPolicies.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppUserAssertionAttributes.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppUserRoles.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Apps.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Grant.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantAppEntitlementCollection.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantEntitlement.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantGrantee.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantGrantor.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantSearchRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Grants.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySetting.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettings.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsMyProfile.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsPOSIXGid.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsPOSIXUid.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsSearchRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsTokens.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppApp.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppOwner.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppSearchRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppUserWalletArtifact.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApps.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestRequesting.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestRequestor.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestSearchRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroup.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroupMembers.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroupSearchRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroups.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequests.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ResourceTypeSchemaAttribute.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ResourceTypeSchemaAttributeSearchRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ResourceTypeSchemaAttributes.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestion.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionQuestionText.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSearchRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSetting.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSettings.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSettingsSearchRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestions.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSetting.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSettings.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSettingsAttributeSettings.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSettingsSearchRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateAppRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateAppRoleRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateGrantRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateMyRequestRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateSecurityQuestionRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteAppRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteAppRoleRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteGrantRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteSecurityQuestionRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAccountMgmtInfoRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAccountRecoverySettingRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAppRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAppRoleRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetGrantRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetIdentitySettingRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetSecurityQuestionRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetSecurityQuestionSettingRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetUserAttributesSettingRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAccountMgmtInfosRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAccountRecoverySettingsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAppRolesRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAppsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListGrantsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListIdentitySettingsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListMyAppsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListMyRequestableGroupsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListMyRequestsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListResourceTypeSchemaAttributesRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListSecurityQuestionSettingsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListSecurityQuestionsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListUserAttributesSettingsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchAccountRecoverySettingRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchAppRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchAppRoleRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchGrantRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchIdentitySettingRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchSecurityQuestionRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchSecurityQuestionSettingRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchUserAttributesSettingRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutAccountRecoverySettingRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutAppRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutAppStatusChangerRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutIdentitySettingRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutSecurityQuestionSettingRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchAccountMgmtInfosRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchAppRolesRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchAppsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchGrantsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchIdentitySettingsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchMyAppsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchMyRequestableGroupsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchMyRequestsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchResourceTypeSchemaAttributesRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchSecurityQuestionSettingsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchSecurityQuestionsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchUserAttributesSettingsRequest.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateAppResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateAppRoleResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateGrantResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateMyRequestResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateSecurityQuestionResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteAppResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteAppRoleResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteGrantResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteSecurityQuestionResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAccountMgmtInfoResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAccountRecoverySettingResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAppResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAppRoleResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetGrantResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetIdentitySettingResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetSecurityQuestionResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetSecurityQuestionSettingResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetUserAttributesSettingResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAccountMgmtInfosResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAccountRecoverySettingsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAppRolesResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAppsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListGrantsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListIdentitySettingsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListMyAppsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListMyRequestableGroupsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListMyRequestsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListResourceTypeSchemaAttributesResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListSecurityQuestionSettingsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListSecurityQuestionsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListUserAttributesSettingsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchAccountRecoverySettingResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchAppResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchAppRoleResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchGrantResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchIdentitySettingResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchSecurityQuestionResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchSecurityQuestionSettingResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchUserAttributesSettingResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutAccountRecoverySettingResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutAppResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutAppStatusChangerResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutIdentitySettingResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutSecurityQuestionSettingResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchAccountMgmtInfosResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchAppRolesResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchAppsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchGrantsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchIdentitySettingsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchMyAppsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchMyRequestableGroupsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchMyRequestsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchResourceTypeSchemaAttributesResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchSecurityQuestionSettingsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchSecurityQuestionsResponse.java create mode 100644 bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchUserAttributesSettingsResponse.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddPublicIpPoolCapacityDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddSubnetIpv6CidrDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddVcnCidrDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddVcnIpv6CidrDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AllowedIkeIPSecParameters.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AllowedPhaseOneParameters.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AllowedPhaseTwoParameters.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/BgpSessionInfo.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipAllocatedRangeCollection.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipAllocatedRangeSummary.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRange.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRangeCollection.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRangeSummary.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRangeVcnIpv6AllocationSummary.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Byoipv6CidrDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CaptureFilter.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeByoipRangeCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCaptureFilterCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCpeCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCrossConnectCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCrossConnectGroupCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeDhcpOptionsCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeDrgCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeIPSecConnectionCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeInternetGatewayCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeLocalPeeringGatewayCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeNatGatewayCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeNetworkSecurityGroupCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangePublicIpCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangePublicIpPoolCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeRemotePeeringConnectionCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeRouteTableCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeSecurityListCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeServiceGatewayCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeSubnetCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVcnCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVirtualCircuitCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVlanCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVtapCompartmentDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceConfigAnswer.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceConfigQuestion.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceInfo.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceShapeDetail.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceShapeSummary.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateByoipRangeDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCaptureFilterDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecConnectionTunnelDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecTunnelBgpSessionDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecTunnelEncryptionDomainDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateMacsecKey.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateMacsecProperties.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateNatGatewayDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreatePublicIpPoolDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVlanDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVtapDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectMappingDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectMappingDetailsCollection.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DefaultPhaseOneParameters.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DefaultPhaseTwoParameters.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DpdConfig.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRedundancyStatus.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/EncryptionDomainConfig.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/FastConnectProviderServiceKey.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionTunnel.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionTunnelErrorDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionTunnelSharedSecret.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecEncryptionCipher.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecKey.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecProperties.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecState.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ModifyVcnCidrDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/NatGateway.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PhaseOneConfigDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PhaseTwoConfigDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIpPool.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIpPoolCollection.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIpPoolSummary.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemovePublicIpPoolCapacityDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemoveSubnetIpv6CidrDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemoveVcnCidrDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemoveVcnIpv6CidrDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelCpeDeviceConfig.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelPhaseOneDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelPhaseTwoDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelRouteSummary.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelSecurityAssociationSummary.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateByoipRangeDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCaptureFilterDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecConnectionTunnelDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecConnectionTunnelSharedSecretDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecTunnelBgpSessionDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecTunnelEncryptionDomainDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateMacsecKey.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateMacsecProperties.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateNatGatewayDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdatePublicIpPoolDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateTunnelCpeDeviceConfigDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVlanDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVtapDetails.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDnsResolverAssociation.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VirtualCircuitIpMtu.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vlan.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vtap.java create mode 100644 bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VtapCaptureFilterRuleDetails.java diff --git a/CHANGELOG.md b/CHANGELOG.md index e47ab3dd59f..ca1841a9f6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,29 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 3.23.0 - 2023-08-08 +### Added +- Support for backup retention on autonomous database create operations in the Database service +- Support for exclude tables for replication in the Database Migration service +- Support for adding and updating auto failover maximum data loss limits for local autonomous data guards in the Database service +- Support for limiting networking diagram ingestion in the Networking Monitoring service +- Support for new operations for deployment upgrades in the GoldenGate service +- Support for getting model type information and base model versions while creating language custom models in the AI Language service +- Support for support field in class metric in the AI Language service +- Support for Compute Cloud at Customer resource type in the Operator Access Control service +- Support for managing account management info, account recovery settings, app roles, apps, app status changers, grants, identity propagation trusts and settings, request-able groups, requests, security questions, OAuth tokens, and user attribute settings in the Identity Domains service + +### Breaking Changes +- Support for retries by default on operations in the Operator Access Control service +- Method `public java.lang.Boolean getIsInternetAccessAllowed()` has been removed from the model ` com.oracle.bmc.vnmonitoring.model.CreateIpv6Details` in the Networking Monitoring service +- Method `public java.lang.String getIpv6CidrBlock()` has been removed from the model `com.oracle.bmc.vnmonitoring.model.CreateVcnDetails` in the Networking Monitoring service +- Method `public java.lang.Boolean getIsInternetAccessAllowed()` has been removed from the model `com.oracle.bmc.vnmonitoring.model.Ipv6` in the Networking Monitoring service +- Method `public java.lang.String getPublicIpAddress()` has been removed from the model `com.oracle.bmc.vnmonitoring.model.Ipv6` in the Networking Monitoring service +- Method `public java.lang.String getIpv6PublicCidrBlock()` has been removed from the model `com.oracle.bmc.vnmonitoring.model.Subnet` in the Networking Monitoring service +- Method `public java.lang.Boolean getIsInternetAccessAllowed()` has been removed from the model `com.oracle.bmc.vnmonitoring.model.UpdateIpv6Details` in the Networking Monitoring service +- Method `public java.lang.String getIpv6CidrBlock()` has been removed from the model `com.oracle.bmc.vnmonitoring.model.Vcn` in the Networking Monitoring service +- Method `public java.lang.String getIpv6PublicCidrBlock()` has been removed from the model `com.oracle.bmc.vnmonitoring.model.Vcn` in the Networking Monitoring service + ## 3.22.0 - 2023-08-01 ### Added - Support for the Exadata Fleet Update service diff --git a/bmc-accessgovernancecp/pom.xml b/bmc-accessgovernancecp/pom.xml index cae152bd96b..efbe05f69bf 100644 --- a/bmc-accessgovernancecp/pom.xml +++ b/bmc-accessgovernancecp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-accessgovernancecp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml b/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml index 045e5ab1826..1efd2f7dd73 100644 --- a/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml +++ b/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.22.0 + 3.23.0 ../pom.xml @@ -17,14 +17,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.22.0 + 3.23.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.22.0 + 3.23.0 pom import diff --git a/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml b/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml index 93ddba1c6c8..9641853c012 100644 --- a/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml +++ b/bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.22.0 + 3.23.0 ../pom.xml @@ -17,14 +17,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.22.0 + 3.23.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.22.0 + 3.23.0 pom import diff --git a/bmc-addons/bmc-apache-connector-provider/pom.xml b/bmc-addons/bmc-apache-connector-provider/pom.xml index 6958f4301e0..a9597911d56 100644 --- a/bmc-addons/bmc-apache-connector-provider/pom.xml +++ b/bmc-addons/bmc-apache-connector-provider/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.22.0 + 3.23.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-addons/bmc-graalvm-addon/pom.xml b/bmc-addons/bmc-graalvm-addon/pom.xml index 3e276e7ecf6..3a1e0c805f0 100644 --- a/bmc-addons/bmc-graalvm-addon/pom.xml +++ b/bmc-addons/bmc-graalvm-addon/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-addons-graalvm @@ -141,37 +141,37 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 provided com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.22.0 + 3.23.0 provided com.oracle.oci.sdk oci-java-sdk-core - 3.22.0 + 3.23.0 test com.oracle.oci.sdk oci-java-sdk-identity - 3.22.0 + 3.23.0 test com.oracle.oci.sdk oci-java-sdk-objectstorage-extensions - 3.22.0 + 3.23.0 test com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.22.0 + 3.23.0 test diff --git a/bmc-addons/bmc-graalvm-jersey3-addon/pom.xml b/bmc-addons/bmc-graalvm-jersey3-addon/pom.xml index ff874e1f77a..51405d32c02 100644 --- a/bmc-addons/bmc-graalvm-jersey3-addon/pom.xml +++ b/bmc-addons/bmc-graalvm-jersey3-addon/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-addons-graalvm-jersey3 @@ -142,37 +142,37 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 provided com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.22.0 + 3.23.0 provided com.oracle.oci.sdk oci-java-sdk-core - 3.22.0 + 3.23.0 test com.oracle.oci.sdk oci-java-sdk-identity - 3.22.0 + 3.23.0 test com.oracle.oci.sdk oci-java-sdk-objectstorage-extensions - 3.22.0 + 3.23.0 test com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.22.0 + 3.23.0 test diff --git a/bmc-addons/bmc-oke-workload-identity/pom.xml b/bmc-addons/bmc-oke-workload-identity/pom.xml index 30b930ede88..b7c09f2a45b 100644 --- a/bmc-addons/bmc-oke-workload-identity/pom.xml +++ b/bmc-addons/bmc-oke-workload-identity/pom.xml @@ -4,7 +4,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.22.0 + 3.23.0 4.0.0 @@ -38,25 +38,25 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 compile com.oracle.oci.sdk oci-java-sdk-core - 3.22.0 + 3.23.0 test com.oracle.oci.sdk oci-java-sdk-identity - 3.22.0 + 3.23.0 test com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.22.0 + 3.23.0 test diff --git a/bmc-addons/bmc-resteasy-client-configurator/pom.xml b/bmc-addons/bmc-resteasy-client-configurator/pom.xml index 1da1ebdbd3b..afcac90a4bc 100644 --- a/bmc-addons/bmc-resteasy-client-configurator/pom.xml +++ b/bmc-addons/bmc-resteasy-client-configurator/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.22.0 + 3.23.0 ../pom.xml @@ -23,7 +23,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-addons/bmc-sasl/pom.xml b/bmc-addons/bmc-sasl/pom.xml index 0aaea2707c7..d4e53e26742 100644 --- a/bmc-addons/bmc-sasl/pom.xml +++ b/bmc-addons/bmc-sasl/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.22.0 + 3.23.0 ../pom.xml @@ -60,7 +60,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-addons/pom.xml b/bmc-addons/pom.xml index 663b4659fa0..490e04c4187 100644 --- a/bmc-addons/pom.xml +++ b/bmc-addons/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml diff --git a/bmc-adm/pom.xml b/bmc-adm/pom.xml index 2ee8f130e83..dc79ee543ca 100644 --- a/bmc-adm/pom.xml +++ b/bmc-adm/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-adm @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-aianomalydetection/pom.xml b/bmc-aianomalydetection/pom.xml index 89d3c9dd301..88c814be38c 100644 --- a/bmc-aianomalydetection/pom.xml +++ b/bmc-aianomalydetection/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-aianomalydetection @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-aidocument/pom.xml b/bmc-aidocument/pom.xml index 0b23e6de10b..7e30d90c075 100644 --- a/bmc-aidocument/pom.xml +++ b/bmc-aidocument/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-aidocument @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-ailanguage/pom.xml b/bmc-ailanguage/pom.xml index bbbd8bf91ad..31e06ba92d3 100644 --- a/bmc-ailanguage/pom.xml +++ b/bmc-ailanguage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-ailanguage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguage.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguage.java index 1903d8ca464..5c8b5df1e1e 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguage.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguage.java @@ -528,6 +528,21 @@ DetectLanguageTextClassificationResponse detectLanguageTextClassification( */ GetModelResponse getModel(GetModelRequest request); + /** + * Gets model capabilities + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use GetModelType API. + */ + GetModelTypeResponse getModelType(GetModelTypeRequest request); + /** * Gets a Project by identifier * diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguageAsync.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguageAsync.java index 46c8c544885..f0c61307244 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguageAsync.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguageAsync.java @@ -519,6 +519,21 @@ java.util.concurrent.Future getModel( GetModelRequest request, com.oracle.bmc.responses.AsyncHandler handler); + /** + * Gets model capabilities + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future getModelType( + GetModelTypeRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + /** * Gets a Project by identifier * diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguageAsyncClient.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguageAsyncClient.java index a060c883595..18d2abded48 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguageAsyncClient.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguageAsyncClient.java @@ -876,6 +876,35 @@ public java.util.concurrent.Future getModel( .callAsync(handler); } + @Override + public java.util.concurrent.Future getModelType( + GetModelTypeRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + Validate.notBlank(request.getModelType(), "modelType must not be blank"); + + return clientCall(request, GetModelTypeResponse::builder) + .logger(LOG, "getModelType") + .serviceDetails( + "AIServiceLanguage", + "GetModelType", + "https://docs.oracle.com/iaas/api/#/en/language/20221001/ModelTypeInfo/GetModelType") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetModelTypeRequest::builder) + .basePath("/20221001") + .appendPathParam("modelTypes") + .appendPathParam(request.getModelType()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .handleBody( + com.oracle.bmc.ailanguage.model.ModelTypeInfo.class, + GetModelTypeResponse.Builder::modelTypeInfo) + .handleResponseHeaderString( + "opc-request-id", GetModelTypeResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future getProject( GetProjectRequest request, diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguageClient.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguageClient.java index c7560d75522..b6cb4b4f29c 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguageClient.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/AIServiceLanguageClient.java @@ -830,6 +830,33 @@ public GetModelResponse getModel(GetModelRequest request) { .callSync(); } + @Override + public GetModelTypeResponse getModelType(GetModelTypeRequest request) { + + Validate.notBlank(request.getModelType(), "modelType must not be blank"); + + return clientCall(request, GetModelTypeResponse::builder) + .logger(LOG, "getModelType") + .serviceDetails( + "AIServiceLanguage", + "GetModelType", + "https://docs.oracle.com/iaas/api/#/en/language/20221001/ModelTypeInfo/GetModelType") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetModelTypeRequest::builder) + .basePath("/20221001") + .appendPathParam("modelTypes") + .appendPathParam(request.getModelType()) + .accept("application/json") + .appendHeader("opc-request-id", request.getOpcRequestId()) + .handleBody( + com.oracle.bmc.ailanguage.model.ModelTypeInfo.class, + GetModelTypeResponse.Builder::modelTypeInfo) + .handleResponseHeaderString( + "opc-request-id", GetModelTypeResponse.Builder::opcRequestId) + .operationUsesDefaultRetries() + .callSync(); + } + @Override public GetProjectResponse getProject(GetProjectRequest request) { diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/BatchLanguageTranslationDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/BatchLanguageTranslationDetails.java index 4b2f9d2c2b4..779d9345f2d 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/BatchLanguageTranslationDetails.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/BatchLanguageTranslationDetails.java @@ -56,21 +56,23 @@ public Builder compartmentId(String compartmentId) { return this; } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("targetLanguageCode") private String targetLanguageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew * * @param targetLanguageCode the value to set * @return this builder @@ -151,21 +153,23 @@ public String getCompartmentId() { } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("targetLanguageCode") private final String targetLanguageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew * * @return the value */ diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/Capabilities.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/Capabilities.java new file mode 100644 index 00000000000..8fdc76346c5 --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/Capabilities.java @@ -0,0 +1,131 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Capabilities supported
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = Capabilities.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class Capabilities extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"capability"}) + public Capabilities(java.util.Map capability) { + super(); + this.capability = capability; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Model information capabilities related to version */ + @com.fasterxml.jackson.annotation.JsonProperty("capability") + private java.util.Map capability; + + /** + * Model information capabilities related to version + * + * @param capability the value to set + * @return this builder + */ + public Builder capability(java.util.Map capability) { + this.capability = capability; + this.__explicitlySet__.add("capability"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public Capabilities build() { + Capabilities model = new Capabilities(this.capability); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(Capabilities model) { + if (model.wasPropertyExplicitlySet("capability")) { + this.capability(model.getCapability()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Model information capabilities related to version */ + @com.fasterxml.jackson.annotation.JsonProperty("capability") + private final java.util.Map capability; + + /** + * Model information capabilities related to version + * + * @return the value + */ + public java.util.Map getCapability() { + return capability; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("Capabilities("); + sb.append("super=").append(super.toString()); + sb.append("capability=").append(String.valueOf(this.capability)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof Capabilities)) { + return false; + } + + Capabilities other = (Capabilities) o; + return java.util.Objects.equals(this.capability, other.capability) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.capability == null ? 43 : this.capability.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/Capability.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/Capability.java new file mode 100644 index 00000000000..7f073bdb6c0 --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/Capability.java @@ -0,0 +1,131 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Capability supported
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = Capability.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class Capability extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"details"}) + public Capability(java.util.List details) { + super(); + this.details = details; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** values */ + @com.fasterxml.jackson.annotation.JsonProperty("details") + private java.util.List details; + + /** + * values + * + * @param details the value to set + * @return this builder + */ + public Builder details(java.util.List details) { + this.details = details; + this.__explicitlySet__.add("details"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public Capability build() { + Capability model = new Capability(this.details); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(Capability model) { + if (model.wasPropertyExplicitlySet("details")) { + this.details(model.getDetails()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** values */ + @com.fasterxml.jackson.annotation.JsonProperty("details") + private final java.util.List details; + + /** + * values + * + * @return the value + */ + public java.util.List getDetails() { + return details; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("Capability("); + sb.append("super=").append(super.toString()); + sb.append("details=").append(String.valueOf(this.details)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof Capability)) { + return false; + } + + Capability other = (Capability) o; + return java.util.Objects.equals(this.details, other.details) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.details == null ? 43 : this.details.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ClassMetrics.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ClassMetrics.java index 03c7ab29404..0064ea4a4f1 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ClassMetrics.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ClassMetrics.java @@ -21,13 +21,14 @@ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) public final class ClassMetrics extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"label", "f1", "precision", "recall"}) - public ClassMetrics(String label, Float f1, Float precision, Float recall) { + @java.beans.ConstructorProperties({"label", "f1", "precision", "recall", "support"}) + public ClassMetrics(String label, Float f1, Float precision, Float recall, Float support) { super(); this.label = label; this.f1 = f1; this.precision = precision; this.recall = recall; + this.support = support; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -102,12 +103,29 @@ public Builder recall(Float recall) { this.__explicitlySet__.add("recall"); return this; } + /** number of samples in the test set */ + @com.fasterxml.jackson.annotation.JsonProperty("support") + private Float support; + + /** + * number of samples in the test set + * + * @param support the value to set + * @return this builder + */ + public Builder support(Float support) { + this.support = support; + this.__explicitlySet__.add("support"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public ClassMetrics build() { - ClassMetrics model = new ClassMetrics(this.label, this.f1, this.precision, this.recall); + ClassMetrics model = + new ClassMetrics( + this.label, this.f1, this.precision, this.recall, this.support); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -128,6 +146,9 @@ public Builder copy(ClassMetrics model) { if (model.wasPropertyExplicitlySet("recall")) { this.recall(model.getRecall()); } + if (model.wasPropertyExplicitlySet("support")) { + this.support(model.getSupport()); + } return this; } } @@ -203,6 +224,19 @@ public Float getRecall() { return recall; } + /** number of samples in the test set */ + @com.fasterxml.jackson.annotation.JsonProperty("support") + private final Float support; + + /** + * number of samples in the test set + * + * @return the value + */ + public Float getSupport() { + return support; + } + @Override public String toString() { return this.toString(true); @@ -222,6 +256,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", f1=").append(String.valueOf(this.f1)); sb.append(", precision=").append(String.valueOf(this.precision)); sb.append(", recall=").append(String.valueOf(this.recall)); + sb.append(", support=").append(String.valueOf(this.support)); sb.append(")"); return sb.toString(); } @@ -240,6 +275,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.f1, other.f1) && java.util.Objects.equals(this.precision, other.precision) && java.util.Objects.equals(this.recall, other.recall) + && java.util.Objects.equals(this.support, other.support) && super.equals(other); } @@ -251,6 +287,7 @@ public int hashCode() { result = (result * PRIME) + (this.f1 == null ? 43 : this.f1.hashCode()); result = (result * PRIME) + (this.precision == null ? 43 : this.precision.hashCode()); result = (result * PRIME) + (this.recall == null ? 43 : this.recall.hashCode()); + result = (result * PRIME) + (this.support == null ? 43 : this.support.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ClassificationMultiClassModeDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ClassificationMultiClassModeDetails.java index f5c063d737c..0c08e4f7081 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ClassificationMultiClassModeDetails.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ClassificationMultiClassModeDetails.java @@ -27,12 +27,32 @@ public final class ClassificationMultiClassModeDetails extends ClassificationType { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + /** + * Optional if nothing specified latest base model will be used for training. Supported + * versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional if nothing specified latest base model will be used for training. Supported + * versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public ClassificationMultiClassModeDetails build() { - ClassificationMultiClassModeDetails model = new ClassificationMultiClassModeDetails(); + ClassificationMultiClassModeDetails model = + new ClassificationMultiClassModeDetails(this.version); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -41,6 +61,9 @@ public ClassificationMultiClassModeDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(ClassificationMultiClassModeDetails model) { + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } return this; } } @@ -55,8 +78,26 @@ public Builder toBuilder() { } @Deprecated - public ClassificationMultiClassModeDetails() { + public ClassificationMultiClassModeDetails(String version) { super(); + this.version = version; + } + + /** + * Optional if nothing specified latest base model will be used for training. Supported versions + * can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional if nothing specified latest base model will be used for training. Supported versions + * can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; } @Override @@ -74,6 +115,7 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("ClassificationMultiClassModeDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); sb.append(")"); return sb.toString(); } @@ -88,13 +130,14 @@ public boolean equals(Object o) { } ClassificationMultiClassModeDetails other = (ClassificationMultiClassModeDetails) o; - return super.equals(other); + return java.util.Objects.equals(this.version, other.version) && super.equals(other); } @Override public int hashCode() { final int PRIME = 59; int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); return result; } } diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ClassificationMultiLabelModeDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ClassificationMultiLabelModeDetails.java index 8c1d7b7db66..faab74977ad 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ClassificationMultiLabelModeDetails.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ClassificationMultiLabelModeDetails.java @@ -27,12 +27,32 @@ public final class ClassificationMultiLabelModeDetails extends ClassificationType { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + /** + * Optional if nothing specified latest base model will be used for training. Supported + * versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional if nothing specified latest base model will be used for training. Supported + * versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public ClassificationMultiLabelModeDetails build() { - ClassificationMultiLabelModeDetails model = new ClassificationMultiLabelModeDetails(); + ClassificationMultiLabelModeDetails model = + new ClassificationMultiLabelModeDetails(this.version); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -41,6 +61,9 @@ public ClassificationMultiLabelModeDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(ClassificationMultiLabelModeDetails model) { + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } return this; } } @@ -55,8 +78,26 @@ public Builder toBuilder() { } @Deprecated - public ClassificationMultiLabelModeDetails() { + public ClassificationMultiLabelModeDetails(String version) { super(); + this.version = version; + } + + /** + * Optional if nothing specified latest base model will be used for training. Supported versions + * can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional if nothing specified latest base model will be used for training. Supported versions + * can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; } @Override @@ -74,6 +115,7 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("ClassificationMultiLabelModeDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); sb.append(")"); return sb.toString(); } @@ -88,13 +130,14 @@ public boolean equals(Object o) { } ClassificationMultiLabelModeDetails other = (ClassificationMultiLabelModeDetails) o; - return super.equals(other); + return java.util.Objects.equals(this.version, other.version) && super.equals(other); } @Override public int hashCode() { final int PRIME = 59; int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); return result; } } diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/EntityDocumentResult.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/EntityDocumentResult.java index d16959b82e0..a5b935bf6cf 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/EntityDocumentResult.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/EntityDocumentResult.java @@ -65,21 +65,23 @@ public Builder entities(java.util.List entities) { return this; } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("languageCode") private String languageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew * * @param languageCode the value to set * @return this builder @@ -153,21 +155,23 @@ public java.util.List getEntities() { } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("languageCode") private final String languageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew * * @return the value */ diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/KeyPhraseDocumentResult.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/KeyPhraseDocumentResult.java index 17c8aaae168..118b36fab8c 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/KeyPhraseDocumentResult.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/KeyPhraseDocumentResult.java @@ -65,21 +65,23 @@ public Builder keyPhrases(java.util.List keyPhrases) { return this; } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("languageCode") private String languageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew * * @param languageCode the value to set * @return this builder @@ -153,21 +155,23 @@ public java.util.List getKeyPhrases() { } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("languageCode") private final String languageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew * * @return the value */ diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/Model.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/Model.java index ae42465805f..6c5fbd527df 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/Model.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/Model.java @@ -268,17 +268,19 @@ public Builder testStrategy(TestStrategy testStrategy) { return this; } /** - * Identifying the model by model id is difficult. This param provides ease of use for end - * customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 + * For pre trained models this will identify model type version used for model creation For + * custom identifying the model by model id is difficult. This param provides ease of use + * for end customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 */ @com.fasterxml.jackson.annotation.JsonProperty("version") private String version; /** - * Identifying the model by model id is difficult. This param provides ease of use for end - * customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 + * For pre trained models this will identify model type version used for model creation For + * custom identifying the model by model id is difficult. This param provides ease of use + * for end customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 * * @param version the value to set * @return this builder @@ -654,17 +656,19 @@ public TestStrategy getTestStrategy() { } /** - * Identifying the model by model id is difficult. This param provides ease of use for end - * customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 + * For pre trained models this will identify model type version used for model creation For + * custom identifying the model by model id is difficult. This param provides ease of use for + * end customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 */ @com.fasterxml.jackson.annotation.JsonProperty("version") private final String version; /** - * Identifying the model by model id is difficult. This param provides ease of use for end - * customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 + * For pre trained models this will identify model type version used for model creation For + * custom identifying the model by model id is difficult. This param provides ease of use for + * end customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 * * @return the value */ diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ModelDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ModelDetails.java index 1a136a882ef..bae5c5294dc 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ModelDetails.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ModelDetails.java @@ -22,12 +22,42 @@ property = "modelType", defaultImpl = ModelDetails.class) @com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PreTrainedKeyPhraseExtractionModelDetails.class, + name = "PRE_TRAINED_KEYPHRASE_EXTRACTION"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PreTrainedHealthNluModelDetails.class, + name = "PRE_TRAINED_HEALTH_NLU"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PreTrainedUniversalModel.class, + name = "PRE_TRAINED_UNIVERSAL"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = NamedEntityRecognitionModelDetails.class, name = "NAMED_ENTITY_RECOGNITION"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PreTrainedLanguageDetectionModelDetails.class, + name = "PRE_TRAINED_LANGUAGE_DETECTION"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PreTrainedNamedEntityRecognitionModelDetails.class, + name = "PRE_TRAINED_NAMED_ENTITY_RECOGNITION"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PreTrainedSentimentAnalysisModelDetails.class, + name = "PRE_TRAINED_SENTIMENT_ANALYSIS"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PreTrainedPhiModelDetails.class, + name = "PRE_TRAINED_PHI"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PreTrainedTextClassificationModelDetails.class, + name = "PRE_TRAINED_TEXT_CLASSIFICATION"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = TextClassificationModelDetails.class, - name = "TEXT_CLASSIFICATION") + name = "TEXT_CLASSIFICATION"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PreTrainedSummarization.class, + name = "PRE_TRAINED_SUMMARIZATION"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = PreTrainedPiiModelDetails.class, + name = "PRE_TRAINED_PII") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) @@ -99,6 +129,16 @@ public int hashCode() { public enum ModelType implements com.oracle.bmc.http.internal.BmcEnum { NamedEntityRecognition("NAMED_ENTITY_RECOGNITION"), TextClassification("TEXT_CLASSIFICATION"), + PreTrainedNamedEntityRecognition("PRE_TRAINED_NAMED_ENTITY_RECOGNITION"), + PreTrainedTextClassification("PRE_TRAINED_TEXT_CLASSIFICATION"), + PreTrainedSentimentAnalysis("PRE_TRAINED_SENTIMENT_ANALYSIS"), + PreTrainedKeyphraseExtraction("PRE_TRAINED_KEYPHRASE_EXTRACTION"), + PreTrainedLanguageDetection("PRE_TRAINED_LANGUAGE_DETECTION"), + PreTrainedPii("PRE_TRAINED_PII"), + PreTrainedTranslation("PRE_TRAINED_TRANSLATION"), + PreTrainedHealthNlu("PRE_TRAINED_HEALTH_NLU"), + PreTrainedSummarization("PRE_TRAINED_SUMMARIZATION"), + PreTrainedUniversal("PRE_TRAINED_UNIVERSAL"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ModelSummary.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ModelSummary.java index 73da7ff31d3..d49a2be1e55 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ModelSummary.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ModelSummary.java @@ -214,17 +214,19 @@ public Builder projectId(String projectId) { return this; } /** - * Identifying the model by model id is difficult. This param provides ease of use for end - * customer. <>::<>-<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 + * For pre trained models this will identify model type version used for model creation For + * custom identifying the model by model id is difficult. This param provides ease of use + * for end customer. <>::<>-<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 */ @com.fasterxml.jackson.annotation.JsonProperty("version") private String version; /** - * Identifying the model by model id is difficult. This param provides ease of use for end - * customer. <>::<>-<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 + * For pre trained models this will identify model type version used for model creation For + * custom identifying the model by model id is difficult. This param provides ease of use + * for end customer. <>::<>-<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 * * @param version the value to set * @return this builder @@ -500,17 +502,19 @@ public String getProjectId() { } /** - * Identifying the model by model id is difficult. This param provides ease of use for end - * customer. <>::<>-<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 + * For pre trained models this will identify model type version used for model creation For + * custom identifying the model by model id is difficult. This param provides ease of use for + * end customer. <>::<>-<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 */ @com.fasterxml.jackson.annotation.JsonProperty("version") private final String version; /** - * Identifying the model by model id is difficult. This param provides ease of use for end - * customer. <>::<>-<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 + * For pre trained models this will identify model type version used for model creation For + * custom identifying the model by model id is difficult. This param provides ease of use for + * end customer. <>::<>-<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 * * @return the value */ diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ModelTypeInfo.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ModelTypeInfo.java new file mode 100644 index 00000000000..55ebb6a012b --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/ModelTypeInfo.java @@ -0,0 +1,168 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Model information like versions and capabilities
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = ModelTypeInfo.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ModelTypeInfo extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"versions", "capabilities"}) + public ModelTypeInfo( + java.util.List versions, java.util.Map capabilities) { + super(); + this.versions = versions; + this.capabilities = capabilities; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Model versions available for this model type */ + @com.fasterxml.jackson.annotation.JsonProperty("versions") + private java.util.List versions; + + /** + * Model versions available for this model type + * + * @param versions the value to set + * @return this builder + */ + public Builder versions(java.util.List versions) { + this.versions = versions; + this.__explicitlySet__.add("versions"); + return this; + } + /** Model information capabilities related to version */ + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + private java.util.Map capabilities; + + /** + * Model information capabilities related to version + * + * @param capabilities the value to set + * @return this builder + */ + public Builder capabilities(java.util.Map capabilities) { + this.capabilities = capabilities; + this.__explicitlySet__.add("capabilities"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ModelTypeInfo build() { + ModelTypeInfo model = new ModelTypeInfo(this.versions, this.capabilities); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ModelTypeInfo model) { + if (model.wasPropertyExplicitlySet("versions")) { + this.versions(model.getVersions()); + } + if (model.wasPropertyExplicitlySet("capabilities")) { + this.capabilities(model.getCapabilities()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Model versions available for this model type */ + @com.fasterxml.jackson.annotation.JsonProperty("versions") + private final java.util.List versions; + + /** + * Model versions available for this model type + * + * @return the value + */ + public java.util.List getVersions() { + return versions; + } + + /** Model information capabilities related to version */ + @com.fasterxml.jackson.annotation.JsonProperty("capabilities") + private final java.util.Map capabilities; + + /** + * Model information capabilities related to version + * + * @return the value + */ + public java.util.Map getCapabilities() { + return capabilities; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ModelTypeInfo("); + sb.append("super=").append(super.toString()); + sb.append("versions=").append(String.valueOf(this.versions)); + sb.append(", capabilities=").append(String.valueOf(this.capabilities)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ModelTypeInfo)) { + return false; + } + + ModelTypeInfo other = (ModelTypeInfo) o; + return java.util.Objects.equals(this.versions, other.versions) + && java.util.Objects.equals(this.capabilities, other.capabilities) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.versions == null ? 43 : this.versions.hashCode()); + result = (result * PRIME) + (this.capabilities == null ? 43 : this.capabilities.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/NamedEntityRecognitionModelDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/NamedEntityRecognitionModelDetails.java index b973ab253f4..52555d85a65 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/NamedEntityRecognitionModelDetails.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/NamedEntityRecognitionModelDetails.java @@ -35,13 +35,32 @@ public Builder languageCode(String languageCode) { this.__explicitlySet__.add("languageCode"); return this; } + /** + * Optional if nothing specified latest base model will be used for training. Supported + * versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional if nothing specified latest base model will be used for training. Supported + * versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public NamedEntityRecognitionModelDetails build() { NamedEntityRecognitionModelDetails model = - new NamedEntityRecognitionModelDetails(this.languageCode); + new NamedEntityRecognitionModelDetails(this.languageCode, this.version); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -53,6 +72,9 @@ public Builder copy(NamedEntityRecognitionModelDetails model) { if (model.wasPropertyExplicitlySet("languageCode")) { this.languageCode(model.getLanguageCode()); } + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } return this; } } @@ -67,8 +89,26 @@ public Builder toBuilder() { } @Deprecated - public NamedEntityRecognitionModelDetails(String languageCode) { + public NamedEntityRecognitionModelDetails(String languageCode, String version) { super(languageCode); + this.version = version; + } + + /** + * Optional if nothing specified latest base model will be used for training. Supported versions + * can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional if nothing specified latest base model will be used for training. Supported versions + * can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; } @Override @@ -86,6 +126,7 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("NamedEntityRecognitionModelDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); sb.append(")"); return sb.toString(); } @@ -100,13 +141,14 @@ public boolean equals(Object o) { } NamedEntityRecognitionModelDetails other = (NamedEntityRecognitionModelDetails) o; - return super.equals(other); + return java.util.Objects.equals(this.version, other.version) && super.equals(other); } @Override public int hashCode() { final int PRIME = 59; int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); return result; } } diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PiiEntityDocumentResult.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PiiEntityDocumentResult.java index 2991e562f5c..370060eee05 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PiiEntityDocumentResult.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PiiEntityDocumentResult.java @@ -84,21 +84,23 @@ public Builder maskedText(String maskedText) { return this; } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("languageCode") private String languageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew * * @param languageCode the value to set * @return this builder @@ -189,21 +191,23 @@ public String getMaskedText() { } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("languageCode") private final String languageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew * * @return the value */ diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedHealthNluModelDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedHealthNluModelDetails.java new file mode 100644 index 00000000000..d5e77391e81 --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedHealthNluModelDetails.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Possible pre trained health NLU model information
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PreTrainedHealthNluModelDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "modelType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PreTrainedHealthNluModelDetails extends ModelDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("languageCode") + private String languageCode; + + public Builder languageCode(String languageCode) { + this.languageCode = languageCode; + this.__explicitlySet__.add("languageCode"); + return this; + } + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PreTrainedHealthNluModelDetails build() { + PreTrainedHealthNluModelDetails model = + new PreTrainedHealthNluModelDetails(this.languageCode, this.version); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PreTrainedHealthNluModelDetails model) { + if (model.wasPropertyExplicitlySet("languageCode")) { + this.languageCode(model.getLanguageCode()); + } + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PreTrainedHealthNluModelDetails(String languageCode, String version) { + super(languageCode); + this.version = version; + } + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PreTrainedHealthNluModelDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PreTrainedHealthNluModelDetails)) { + return false; + } + + PreTrainedHealthNluModelDetails other = (PreTrainedHealthNluModelDetails) o; + return java.util.Objects.equals(this.version, other.version) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedKeyPhraseExtractionModelDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedKeyPhraseExtractionModelDetails.java new file mode 100644 index 00000000000..3d83866f43b --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedKeyPhraseExtractionModelDetails.java @@ -0,0 +1,155 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Possible pre trained TXT model information
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PreTrainedKeyPhraseExtractionModelDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "modelType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PreTrainedKeyPhraseExtractionModelDetails extends ModelDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("languageCode") + private String languageCode; + + public Builder languageCode(String languageCode) { + this.languageCode = languageCode; + this.__explicitlySet__.add("languageCode"); + return this; + } + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PreTrainedKeyPhraseExtractionModelDetails build() { + PreTrainedKeyPhraseExtractionModelDetails model = + new PreTrainedKeyPhraseExtractionModelDetails(this.languageCode, this.version); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PreTrainedKeyPhraseExtractionModelDetails model) { + if (model.wasPropertyExplicitlySet("languageCode")) { + this.languageCode(model.getLanguageCode()); + } + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PreTrainedKeyPhraseExtractionModelDetails(String languageCode, String version) { + super(languageCode); + this.version = version; + } + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PreTrainedKeyPhraseExtractionModelDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PreTrainedKeyPhraseExtractionModelDetails)) { + return false; + } + + PreTrainedKeyPhraseExtractionModelDetails other = + (PreTrainedKeyPhraseExtractionModelDetails) o; + return java.util.Objects.equals(this.version, other.version) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedLanguageDetectionModelDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedLanguageDetectionModelDetails.java new file mode 100644 index 00000000000..27bc9dbf505 --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedLanguageDetectionModelDetails.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Possible pre trained TXT model information
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PreTrainedLanguageDetectionModelDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "modelType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PreTrainedLanguageDetectionModelDetails extends ModelDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("languageCode") + private String languageCode; + + public Builder languageCode(String languageCode) { + this.languageCode = languageCode; + this.__explicitlySet__.add("languageCode"); + return this; + } + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PreTrainedLanguageDetectionModelDetails build() { + PreTrainedLanguageDetectionModelDetails model = + new PreTrainedLanguageDetectionModelDetails(this.languageCode, this.version); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PreTrainedLanguageDetectionModelDetails model) { + if (model.wasPropertyExplicitlySet("languageCode")) { + this.languageCode(model.getLanguageCode()); + } + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PreTrainedLanguageDetectionModelDetails(String languageCode, String version) { + super(languageCode); + this.version = version; + } + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PreTrainedLanguageDetectionModelDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PreTrainedLanguageDetectionModelDetails)) { + return false; + } + + PreTrainedLanguageDetectionModelDetails other = (PreTrainedLanguageDetectionModelDetails) o; + return java.util.Objects.equals(this.version, other.version) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedNamedEntityRecognitionModelDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedNamedEntityRecognitionModelDetails.java new file mode 100644 index 00000000000..64b2f44293c --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedNamedEntityRecognitionModelDetails.java @@ -0,0 +1,156 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Possible pre trained NER model information
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PreTrainedNamedEntityRecognitionModelDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "modelType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PreTrainedNamedEntityRecognitionModelDetails extends ModelDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("languageCode") + private String languageCode; + + public Builder languageCode(String languageCode) { + this.languageCode = languageCode; + this.__explicitlySet__.add("languageCode"); + return this; + } + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PreTrainedNamedEntityRecognitionModelDetails build() { + PreTrainedNamedEntityRecognitionModelDetails model = + new PreTrainedNamedEntityRecognitionModelDetails( + this.languageCode, this.version); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PreTrainedNamedEntityRecognitionModelDetails model) { + if (model.wasPropertyExplicitlySet("languageCode")) { + this.languageCode(model.getLanguageCode()); + } + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PreTrainedNamedEntityRecognitionModelDetails(String languageCode, String version) { + super(languageCode); + this.version = version; + } + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PreTrainedNamedEntityRecognitionModelDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PreTrainedNamedEntityRecognitionModelDetails)) { + return false; + } + + PreTrainedNamedEntityRecognitionModelDetails other = + (PreTrainedNamedEntityRecognitionModelDetails) o; + return java.util.Objects.equals(this.version, other.version) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedPhiModelDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedPhiModelDetails.java new file mode 100644 index 00000000000..6c669a7ef3a --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedPhiModelDetails.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Possible pre trained PHI model information
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PreTrainedPhiModelDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "modelType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PreTrainedPhiModelDetails extends ModelDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("languageCode") + private String languageCode; + + public Builder languageCode(String languageCode) { + this.languageCode = languageCode; + this.__explicitlySet__.add("languageCode"); + return this; + } + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PreTrainedPhiModelDetails build() { + PreTrainedPhiModelDetails model = + new PreTrainedPhiModelDetails(this.languageCode, this.version); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PreTrainedPhiModelDetails model) { + if (model.wasPropertyExplicitlySet("languageCode")) { + this.languageCode(model.getLanguageCode()); + } + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PreTrainedPhiModelDetails(String languageCode, String version) { + super(languageCode); + this.version = version; + } + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PreTrainedPhiModelDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PreTrainedPhiModelDetails)) { + return false; + } + + PreTrainedPhiModelDetails other = (PreTrainedPhiModelDetails) o; + return java.util.Objects.equals(this.version, other.version) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedPiiModelDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedPiiModelDetails.java new file mode 100644 index 00000000000..17b61ed41c2 --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedPiiModelDetails.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Possible pre trained PII model information
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PreTrainedPiiModelDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "modelType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PreTrainedPiiModelDetails extends ModelDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("languageCode") + private String languageCode; + + public Builder languageCode(String languageCode) { + this.languageCode = languageCode; + this.__explicitlySet__.add("languageCode"); + return this; + } + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PreTrainedPiiModelDetails build() { + PreTrainedPiiModelDetails model = + new PreTrainedPiiModelDetails(this.languageCode, this.version); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PreTrainedPiiModelDetails model) { + if (model.wasPropertyExplicitlySet("languageCode")) { + this.languageCode(model.getLanguageCode()); + } + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PreTrainedPiiModelDetails(String languageCode, String version) { + super(languageCode); + this.version = version; + } + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PreTrainedPiiModelDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PreTrainedPiiModelDetails)) { + return false; + } + + PreTrainedPiiModelDetails other = (PreTrainedPiiModelDetails) o; + return java.util.Objects.equals(this.version, other.version) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedSentimentAnalysisModelDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedSentimentAnalysisModelDetails.java new file mode 100644 index 00000000000..edcf7278c36 --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedSentimentAnalysisModelDetails.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Possible pre trained TXT model information
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PreTrainedSentimentAnalysisModelDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "modelType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PreTrainedSentimentAnalysisModelDetails extends ModelDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("languageCode") + private String languageCode; + + public Builder languageCode(String languageCode) { + this.languageCode = languageCode; + this.__explicitlySet__.add("languageCode"); + return this; + } + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PreTrainedSentimentAnalysisModelDetails build() { + PreTrainedSentimentAnalysisModelDetails model = + new PreTrainedSentimentAnalysisModelDetails(this.languageCode, this.version); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PreTrainedSentimentAnalysisModelDetails model) { + if (model.wasPropertyExplicitlySet("languageCode")) { + this.languageCode(model.getLanguageCode()); + } + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PreTrainedSentimentAnalysisModelDetails(String languageCode, String version) { + super(languageCode); + this.version = version; + } + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PreTrainedSentimentAnalysisModelDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PreTrainedSentimentAnalysisModelDetails)) { + return false; + } + + PreTrainedSentimentAnalysisModelDetails other = (PreTrainedSentimentAnalysisModelDetails) o; + return java.util.Objects.equals(this.version, other.version) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedSummarization.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedSummarization.java new file mode 100644 index 00000000000..475e3bc84df --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedSummarization.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Possible pre trained summarization information
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PreTrainedSummarization.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "modelType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PreTrainedSummarization extends ModelDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("languageCode") + private String languageCode; + + public Builder languageCode(String languageCode) { + this.languageCode = languageCode; + this.__explicitlySet__.add("languageCode"); + return this; + } + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PreTrainedSummarization build() { + PreTrainedSummarization model = + new PreTrainedSummarization(this.languageCode, this.version); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PreTrainedSummarization model) { + if (model.wasPropertyExplicitlySet("languageCode")) { + this.languageCode(model.getLanguageCode()); + } + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PreTrainedSummarization(String languageCode, String version) { + super(languageCode); + this.version = version; + } + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PreTrainedSummarization("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PreTrainedSummarization)) { + return false; + } + + PreTrainedSummarization other = (PreTrainedSummarization) o; + return java.util.Objects.equals(this.version, other.version) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedTextClassificationModelDetails.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedTextClassificationModelDetails.java new file mode 100644 index 00000000000..f29cb11ca52 --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedTextClassificationModelDetails.java @@ -0,0 +1,155 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Possible pre trained TXT model information
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PreTrainedTextClassificationModelDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "modelType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PreTrainedTextClassificationModelDetails extends ModelDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("languageCode") + private String languageCode; + + public Builder languageCode(String languageCode) { + this.languageCode = languageCode; + this.__explicitlySet__.add("languageCode"); + return this; + } + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PreTrainedTextClassificationModelDetails build() { + PreTrainedTextClassificationModelDetails model = + new PreTrainedTextClassificationModelDetails(this.languageCode, this.version); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PreTrainedTextClassificationModelDetails model) { + if (model.wasPropertyExplicitlySet("languageCode")) { + this.languageCode(model.getLanguageCode()); + } + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PreTrainedTextClassificationModelDetails(String languageCode, String version) { + super(languageCode); + this.version = version; + } + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PreTrainedTextClassificationModelDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PreTrainedTextClassificationModelDetails)) { + return false; + } + + PreTrainedTextClassificationModelDetails other = + (PreTrainedTextClassificationModelDetails) o; + return java.util.Objects.equals(this.version, other.version) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedUniversalModel.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedUniversalModel.java new file mode 100644 index 00000000000..7021782e121 --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/PreTrainedUniversalModel.java @@ -0,0 +1,154 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.model; + +/** + * Possible pre trained universal model information
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PreTrainedUniversalModel.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "modelType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PreTrainedUniversalModel extends ModelDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + @com.fasterxml.jackson.annotation.JsonProperty("languageCode") + private String languageCode; + + public Builder languageCode(String languageCode) { + this.languageCode = languageCode; + this.__explicitlySet__.add("languageCode"); + return this; + } + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @param version the value to set + * @return this builder + */ + public Builder version(String version) { + this.version = version; + this.__explicitlySet__.add("version"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PreTrainedUniversalModel build() { + PreTrainedUniversalModel model = + new PreTrainedUniversalModel(this.languageCode, this.version); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PreTrainedUniversalModel model) { + if (model.wasPropertyExplicitlySet("languageCode")) { + this.languageCode(model.getLanguageCode()); + } + if (model.wasPropertyExplicitlySet("version")) { + this.version(model.getVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public PreTrainedUniversalModel(String languageCode, String version) { + super(languageCode); + this.version = version; + } + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + */ + @com.fasterxml.jackson.annotation.JsonProperty("version") + private final String version; + + /** + * Optional pre trained model version. if nothing specified latest pre trained model will be + * used. Supported versions can be found at /modelTypes/{modelType} + * + * @return the value + */ + public String getVersion() { + return version; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PreTrainedUniversalModel("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", version=").append(String.valueOf(this.version)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PreTrainedUniversalModel)) { + return false; + } + + PreTrainedUniversalModel other = (PreTrainedUniversalModel) o; + return java.util.Objects.equals(this.version, other.version) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.version == null ? 43 : this.version.hashCode()); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/SentimentDocumentResult.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/SentimentDocumentResult.java index 1311913dc2e..b99cbd8a4a9 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/SentimentDocumentResult.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/SentimentDocumentResult.java @@ -125,21 +125,23 @@ public Builder sentences(java.util.List sentences) { return this; } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("languageCode") private String languageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew * * @param languageCode the value to set * @return this builder @@ -267,21 +269,23 @@ public java.util.List getSentences() { } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("languageCode") private final String languageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew * * @return the value */ diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/TextClassificationDocumentResult.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/TextClassificationDocumentResult.java index 98e3ad17763..f23b6108c2f 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/TextClassificationDocumentResult.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/TextClassificationDocumentResult.java @@ -67,21 +67,23 @@ public Builder textClassification(java.util.List textClassif return this; } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("languageCode") private String languageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew * * @param languageCode the value to set * @return this builder @@ -156,21 +158,23 @@ public java.util.List getTextClassification() { } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("languageCode") private final String languageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew * * @return the value */ diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/TextDocument.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/TextDocument.java index b65a6d63597..0241c402e1b 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/TextDocument.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/TextDocument.java @@ -62,21 +62,17 @@ public Builder text(String text) { return this; } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code of the document. Please refer to respective model [API + * documentation](https://docs.cloud.oracle.com/iaas/language/using/overview.htm) for + * supported languages. */ @com.fasterxml.jackson.annotation.JsonProperty("languageCode") private String languageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code of the document. Please refer to respective model [API + * documentation](https://docs.cloud.oracle.com/iaas/language/using/overview.htm) for + * supported languages. * * @param languageCode the value to set * @return this builder @@ -149,21 +145,17 @@ public String getText() { } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code of the document. Please refer to respective model [API + * documentation](https://docs.cloud.oracle.com/iaas/language/using/overview.htm) for supported + * languages. */ @com.fasterxml.jackson.annotation.JsonProperty("languageCode") private final String languageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code of the document. Please refer to respective model [API + * documentation](https://docs.cloud.oracle.com/iaas/language/using/overview.htm) for supported + * languages. * * @return the value */ diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/TranslationDocumentResult.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/TranslationDocumentResult.java index ee599d8b6d7..07c4a43657a 100644 --- a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/TranslationDocumentResult.java +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/model/TranslationDocumentResult.java @@ -74,21 +74,23 @@ public Builder translatedText(String translatedText) { return this; } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("sourceLanguageCode") private String sourceLanguageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew * * @param sourceLanguageCode the value to set * @return this builder @@ -99,21 +101,23 @@ public Builder sourceLanguageCode(String sourceLanguageCode) { return this; } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("targetLanguageCode") private String targetLanguageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian - * Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - - * fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - - * no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv - * Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : + * Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : + * Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : + * Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : + * Turkish - el : Greek - he : Hebrew * * @param targetLanguageCode the value to set * @return this builder @@ -194,21 +198,23 @@ public String getTranslatedText() { } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("sourceLanguageCode") private final String sourceLanguageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew * * @return the value */ @@ -217,21 +223,23 @@ public String getSourceLanguageCode() { } /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew */ @com.fasterxml.jackson.annotation.JsonProperty("targetLanguageCode") private final String targetLanguageCode; /** - * Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - * - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian - * French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl - * Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - - * zh-TW Turkish - tr Greek - el Hebrew - he + * Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : + * Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - + * fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : + * Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : + * Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : + * Hebrew * * @return the value */ diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/requests/GetModelTypeRequest.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/requests/GetModelTypeRequest.java new file mode 100644 index 00000000000..ab57c7df851 --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/requests/GetModelTypeRequest.java @@ -0,0 +1,190 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.requests; + +import com.oracle.bmc.ailanguage.model.*; +/** + * Example: Click here to see how to use GetModelTypeRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +public class GetModelTypeRequest extends com.oracle.bmc.requests.BmcRequest { + + /** Results like version and model supported info by specifying model type */ + private String modelType; + + /** Results like version and model supported info by specifying model type */ + public String getModelType() { + return modelType; + } + /** The client request ID for tracing. */ + private String opcRequestId; + + /** The client request ID for tracing. */ + public String getOpcRequestId() { + return opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetModelTypeRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** Results like version and model supported info by specifying model type */ + private String modelType = null; + + /** + * Results like version and model supported info by specifying model type + * + * @param modelType the value to set + * @return this builder instance + */ + public Builder modelType(String modelType) { + this.modelType = modelType; + return this; + } + + /** The client request ID for tracing. */ + private String opcRequestId = null; + + /** + * The client request ID for tracing. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetModelTypeRequest o) { + modelType(o.getModelType()); + opcRequestId(o.getOpcRequestId()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetModelTypeRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetModelTypeRequest + */ + public GetModelTypeRequest build() { + GetModelTypeRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetModelTypeRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetModelTypeRequest + */ + public GetModelTypeRequest buildWithoutInvocationCallback() { + GetModelTypeRequest request = new GetModelTypeRequest(); + request.modelType = modelType; + request.opcRequestId = opcRequestId; + return request; + // new GetModelTypeRequest(modelType, opcRequestId); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder().modelType(modelType).opcRequestId(opcRequestId); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",modelType=").append(String.valueOf(this.modelType)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetModelTypeRequest)) { + return false; + } + + GetModelTypeRequest other = (GetModelTypeRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.modelType, other.modelType) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.modelType == null ? 43 : this.modelType.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/responses/GetModelTypeResponse.java b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/responses/GetModelTypeResponse.java new file mode 100644 index 00000000000..ac9e46fa80e --- /dev/null +++ b/bmc-ailanguage/src/main/java/com/oracle/bmc/ailanguage/responses/GetModelTypeResponse.java @@ -0,0 +1,177 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.ailanguage.responses; + +import com.oracle.bmc.ailanguage.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20221001") +public class GetModelTypeResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned ModelTypeInfo instance. */ + private com.oracle.bmc.ailanguage.model.ModelTypeInfo modelTypeInfo; + + /** + * The returned ModelTypeInfo instance. + * + * @return the value + */ + public com.oracle.bmc.ailanguage.model.ModelTypeInfo getModelTypeInfo() { + return modelTypeInfo; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "modelTypeInfo" + }) + private GetModelTypeResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + com.oracle.bmc.ailanguage.model.ModelTypeInfo modelTypeInfo) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.modelTypeInfo = modelTypeInfo; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned ModelTypeInfo instance. */ + private com.oracle.bmc.ailanguage.model.ModelTypeInfo modelTypeInfo; + + /** + * The returned ModelTypeInfo instance. + * + * @param modelTypeInfo the value to set + * @return this builder + */ + public Builder modelTypeInfo(com.oracle.bmc.ailanguage.model.ModelTypeInfo modelTypeInfo) { + this.modelTypeInfo = modelTypeInfo; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetModelTypeResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + modelTypeInfo(o.getModelTypeInfo()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetModelTypeResponse build() { + return new GetModelTypeResponse( + __httpStatusCode__, headers, opcRequestId, modelTypeInfo); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",modelTypeInfo=").append(String.valueOf(modelTypeInfo)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetModelTypeResponse)) { + return false; + } + + GetModelTypeResponse other = (GetModelTypeResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.modelTypeInfo, other.modelTypeInfo); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.modelTypeInfo == null ? 43 : this.modelTypeInfo.hashCode()); + return result; + } +} diff --git a/bmc-aispeech/pom.xml b/bmc-aispeech/pom.xml index 09e9753e551..5ec8d65e208 100644 --- a/bmc-aispeech/pom.xml +++ b/bmc-aispeech/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-aispeech @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-aivision/pom.xml b/bmc-aivision/pom.xml index 76f4df66614..47e9f5aa66b 100644 --- a/bmc-aivision/pom.xml +++ b/bmc-aivision/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-aivision @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-analytics/pom.xml b/bmc-analytics/pom.xml index dd98515108b..4cc9e386ee5 100644 --- a/bmc-analytics/pom.xml +++ b/bmc-analytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-analytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-announcementsservice/pom.xml b/bmc-announcementsservice/pom.xml index 0dcf5f5b6af..babb8f5c4aa 100644 --- a/bmc-announcementsservice/pom.xml +++ b/bmc-announcementsservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-announcementsservice @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-apigateway/pom.xml b/bmc-apigateway/pom.xml index 2371fbd897f..09521970555 100644 --- a/bmc-apigateway/pom.xml +++ b/bmc-apigateway/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-apigateway @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-apmconfig/pom.xml b/bmc-apmconfig/pom.xml index 250a94a9eea..822ee264d9c 100644 --- a/bmc-apmconfig/pom.xml +++ b/bmc-apmconfig/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-apmconfig @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-apmcontrolplane/pom.xml b/bmc-apmcontrolplane/pom.xml index 51928964c1a..9bd8ad92076 100644 --- a/bmc-apmcontrolplane/pom.xml +++ b/bmc-apmcontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-apmcontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-apmsynthetics/pom.xml b/bmc-apmsynthetics/pom.xml index 373ac17e27c..57f390b48ac 100644 --- a/bmc-apmsynthetics/pom.xml +++ b/bmc-apmsynthetics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-apmsynthetics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-apmtraces/pom.xml b/bmc-apmtraces/pom.xml index ad5a5440b33..efca7b26cc1 100644 --- a/bmc-apmtraces/pom.xml +++ b/bmc-apmtraces/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-apmtraces @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-applicationmigration/pom.xml b/bmc-applicationmigration/pom.xml index 6476f0a6fcf..1b60444638b 100644 --- a/bmc-applicationmigration/pom.xml +++ b/bmc-applicationmigration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-applicationmigration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-appmgmtcontrol/pom.xml b/bmc-appmgmtcontrol/pom.xml index 0d45acd4881..1024e03b1f1 100644 --- a/bmc-appmgmtcontrol/pom.xml +++ b/bmc-appmgmtcontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-appmgmtcontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-artifacts/pom.xml b/bmc-artifacts/pom.xml index c62d914e78d..69cef4f16ca 100644 --- a/bmc-artifacts/pom.xml +++ b/bmc-artifacts/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-artifacts @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-audit/pom.xml b/bmc-audit/pom.xml index 3812d76ff34..645199f779e 100644 --- a/bmc-audit/pom.xml +++ b/bmc-audit/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-autoscaling/pom.xml b/bmc-autoscaling/pom.xml index d06905481a6..b8cf8ff0294 100644 --- a/bmc-autoscaling/pom.xml +++ b/bmc-autoscaling/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-autoscaling @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-bastion/pom.xml b/bmc-bastion/pom.xml index a8552d7a360..a5ac4762e16 100644 --- a/bmc-bastion/pom.xml +++ b/bmc-bastion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-bastion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-bds/pom.xml b/bmc-bds/pom.xml index 63e2f24c26b..339742e2e97 100644 --- a/bmc-bds/pom.xml +++ b/bmc-bds/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-bds @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-blockchain/pom.xml b/bmc-blockchain/pom.xml index b1fc2d8a95d..305814c5d7e 100644 --- a/bmc-blockchain/pom.xml +++ b/bmc-blockchain/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-blockchain @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-bom/pom.xml b/bmc-bom/pom.xml index c5e41f71ecc..52307b03eaf 100644 --- a/bmc-bom/pom.xml +++ b/bmc-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk - 3.22.0 + 3.23.0 oci-java-sdk-bom pom Oracle Cloud Infrastructure SDK - BOM @@ -38,839 +38,839 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-shaded-full - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-audit - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-containerengine - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-core - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-database - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-dns - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-email - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-filestorage - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-identity - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-loadbalancer - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-objectstorage - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-addons-resteasy-client-configurator - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-addons-sasl - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-addons-oke-workload-identity - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-addons-graalvm - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-resourcesearch - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-addons-apache - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-announcementsservice - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-healthchecks - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-waas - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-streaming - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-resourcemanager - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-monitoring - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-ons - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-autoscaling - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-budget - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-workrequests - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-limits - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-functions - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-events - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-dts - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-oce - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-oda - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-analytics - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-integration - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-osmanagement - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-marketplace - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-apigateway - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-applicationmigration - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-datacatalog - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-dataflow - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-datascience - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-nosql - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-secrets - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-vault - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-bds - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-encryption - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-cims - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-datasafe - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-mysql - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-dataintegration - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-ocvp - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-usageapi - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-blockchain - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-loggingingestion - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-logging - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-loganalytics - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-managementdashboard - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-sch - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-loggingsearch - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-managementagent - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-cloudguard - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-opsi - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-computeinstanceagent - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-optimizer - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-tenantmanagercontrolplane - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-rover - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-databasemanagement - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-artifacts - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-apmsynthetics - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-goldengate - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-apmcontrolplane - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-apmtraces - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-networkloadbalancer - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-vulnerabilityscanning - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-databasemigration - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-servicecatalog - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-ailanguage - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-operatoraccesscontrol - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-bastion - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-genericartifactscontent - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-jms - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-devops - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-aianomalydetection - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-datalabelingservice - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-datalabelingservicedataplane - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-apmconfig - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-waf - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-certificates - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-certificatesmanagement - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-usage - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-databasetools - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-servicemanagerproxy - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-appmgmtcontrol - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-ospgateway - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-identitydataplane - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-visualbuilder - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-osubusage - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-osubsubscription - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-osuborganizationsubscription - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-osubbillingschedule - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-dashboardservice - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-threatintelligence - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-aivision - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-aispeech - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-stackmonitoring - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-servicemesh - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-adm - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-licensemanager - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-onesubscription - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-governancerulescontrolplane - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-waa - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-networkfirewall - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-vnmonitoring - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-emwarehouse - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-lockbox - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-fusionapps - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-mediaservices - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-opa - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-opensearch - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-cloudmigrations - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-cloudbridge - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-disasterrecovery - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-containerinstances - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-aidocument - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-queue - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-recovery - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-vbsinst - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-identitydomains - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-accessgovernancecp - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-ocicontrolcenter - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-osmanagementhub - 3.22.0 + 3.23.0 false com.oracle.oci.sdk oci-java-sdk-fleetsoftwareupdate - 3.22.0 + 3.23.0 false diff --git a/bmc-budget/pom.xml b/bmc-budget/pom.xml index 0a1944be092..5bdfa864706 100644 --- a/bmc-budget/pom.xml +++ b/bmc-budget/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-budget @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-certificates/pom.xml b/bmc-certificates/pom.xml index 0fe6bdef4a9..f294c5d511f 100644 --- a/bmc-certificates/pom.xml +++ b/bmc-certificates/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-certificates @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-certificatesmanagement/pom.xml b/bmc-certificatesmanagement/pom.xml index b3b32feaa5e..22843dd839a 100644 --- a/bmc-certificatesmanagement/pom.xml +++ b/bmc-certificatesmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-certificatesmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-cims/pom.xml b/bmc-cims/pom.xml index 8f32e1e62cb..747d84f3070 100644 --- a/bmc-cims/pom.xml +++ b/bmc-cims/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-cims @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-circuitbreaker/pom.xml b/bmc-circuitbreaker/pom.xml index a9405554275..85e7f86384f 100644 --- a/bmc-circuitbreaker/pom.xml +++ b/bmc-circuitbreaker/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-circuitbreaker diff --git a/bmc-cloudbridge/pom.xml b/bmc-cloudbridge/pom.xml index 474e6179ef8..3b4e6dbce51 100644 --- a/bmc-cloudbridge/pom.xml +++ b/bmc-cloudbridge/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-cloudbridge @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-cloudguard/pom.xml b/bmc-cloudguard/pom.xml index 909a5272466..b199677fffe 100644 --- a/bmc-cloudguard/pom.xml +++ b/bmc-cloudguard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-cloudguard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-cloudmigrations/pom.xml b/bmc-cloudmigrations/pom.xml index 7cbda070a7c..f17c315e979 100644 --- a/bmc-cloudmigrations/pom.xml +++ b/bmc-cloudmigrations/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-cloudmigrations @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml index 02f46df5aea..5c6ea84db43 100644 --- a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml +++ b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-choices - 3.22.0 + 3.23.0 ../pom.xml @@ -68,7 +68,7 @@ com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey - 3.22.0 + 3.23.0 @@ -77,7 +77,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.22.0 + 3.23.0 org.glassfish.jersey.core diff --git a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml index bed473a0ad1..8f28d489713 100644 --- a/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml +++ b/bmc-common-httpclient-choices/bmc-common-httpclient-jersey3/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-choices - 3.22.0 + 3.23.0 ../pom.xml @@ -70,7 +70,7 @@ com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey3 - 3.22.0 + 3.23.0 @@ -79,7 +79,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.22.0 + 3.23.0 jakarta.ws.rs diff --git a/bmc-common-httpclient-choices/pom.xml b/bmc-common-httpclient-choices/pom.xml index 2eabfbcc030..6533aa4c642 100644 --- a/bmc-common-httpclient-choices/pom.xml +++ b/bmc-common-httpclient-choices/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml diff --git a/bmc-common-httpclient/pom.xml b/bmc-common-httpclient/pom.xml index 3f417fabf2c..61e0b2ad425 100644 --- a/bmc-common-httpclient/pom.xml +++ b/bmc-common-httpclient/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml index f2942c27a13..9c36641555a 100644 --- a/bmc-common/pom.xml +++ b/bmc-common/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml @@ -67,18 +67,18 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.22.0 + 3.23.0 test diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml index 99ca940c555..851f15d0370 100644 --- a/bmc-computeinstanceagent/pom.xml +++ b/bmc-computeinstanceagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-computeinstanceagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml index a63674114f8..ff703d0610a 100644 --- a/bmc-containerengine/pom.xml +++ b/bmc-containerengine/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-containerinstances/pom.xml b/bmc-containerinstances/pom.xml index 410f63ead18..3aafc884221 100644 --- a/bmc-containerinstances/pom.xml +++ b/bmc-containerinstances/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-containerinstances @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml index 6dacbbe7dce..a96d27a23f8 100644 --- a/bmc-core/pom.xml +++ b/bmc-core/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.22.0 + 3.23.0 diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/NetworkingTopology.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/NetworkingTopology.java index 12d08332af2..970a6829e6e 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/NetworkingTopology.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/NetworkingTopology.java @@ -45,6 +45,15 @@ public Builder relationships(java.util.List relation return this; } + @com.fasterxml.jackson.annotation.JsonProperty("limitedEntities") + private java.util.List limitedEntities; + + public Builder limitedEntities(java.util.List limitedEntities) { + this.limitedEntities = limitedEntities; + this.__explicitlySet__.add("limitedEntities"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private java.util.Date timeCreated; @@ -59,7 +68,11 @@ public Builder timeCreated(java.util.Date timeCreated) { public NetworkingTopology build() { NetworkingTopology model = - new NetworkingTopology(this.entities, this.relationships, this.timeCreated); + new NetworkingTopology( + this.entities, + this.relationships, + this.limitedEntities, + this.timeCreated); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -74,6 +87,9 @@ public Builder copy(NetworkingTopology model) { if (model.wasPropertyExplicitlySet("relationships")) { this.relationships(model.getRelationships()); } + if (model.wasPropertyExplicitlySet("limitedEntities")) { + this.limitedEntities(model.getLimitedEntities()); + } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } @@ -94,8 +110,9 @@ public Builder toBuilder() { public NetworkingTopology( java.util.List entities, java.util.List relationships, + java.util.List limitedEntities, java.util.Date timeCreated) { - super(entities, relationships, timeCreated); + super(entities, relationships, limitedEntities, timeCreated); } @Override diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/SubnetTopology.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/SubnetTopology.java index 861331b1708..087f6399c98 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/SubnetTopology.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/SubnetTopology.java @@ -44,6 +44,15 @@ public Builder relationships(java.util.List relation return this; } + @com.fasterxml.jackson.annotation.JsonProperty("limitedEntities") + private java.util.List limitedEntities; + + public Builder limitedEntities(java.util.List limitedEntities) { + this.limitedEntities = limitedEntities; + this.__explicitlySet__.add("limitedEntities"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private java.util.Date timeCreated; @@ -78,7 +87,11 @@ public Builder subnetId(String subnetId) { public SubnetTopology build() { SubnetTopology model = new SubnetTopology( - this.entities, this.relationships, this.timeCreated, this.subnetId); + this.entities, + this.relationships, + this.limitedEntities, + this.timeCreated, + this.subnetId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -93,6 +106,9 @@ public Builder copy(SubnetTopology model) { if (model.wasPropertyExplicitlySet("relationships")) { this.relationships(model.getRelationships()); } + if (model.wasPropertyExplicitlySet("limitedEntities")) { + this.limitedEntities(model.getLimitedEntities()); + } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } @@ -116,9 +132,10 @@ public Builder toBuilder() { public SubnetTopology( java.util.List entities, java.util.List relationships, + java.util.List limitedEntities, java.util.Date timeCreated, String subnetId) { - super(entities, relationships, timeCreated); + super(entities, relationships, limitedEntities, timeCreated); this.subnetId = subnetId; } diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/Topology.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/Topology.java index 8081e2f215f..1444d0805eb 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/Topology.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/Topology.java @@ -34,14 +34,21 @@ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) public class Topology extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"entities", "relationships", "timeCreated"}) + @java.beans.ConstructorProperties({ + "entities", + "relationships", + "limitedEntities", + "timeCreated" + }) protected Topology( java.util.List entities, java.util.List relationships, + java.util.List limitedEntities, java.util.Date timeCreated) { super(); this.entities = entities; this.relationships = relationships; + this.limitedEntities = limitedEntities; this.timeCreated = timeCreated; } @@ -71,6 +78,23 @@ public java.util.List getRelationships() { return relationships; } + /** + * Lists entities that are limited during ingestion. The values for the items in the list are + * the entity type names of the limitedEntities. Example: {@code vcn} + */ + @com.fasterxml.jackson.annotation.JsonProperty("limitedEntities") + private final java.util.List limitedEntities; + + /** + * Lists entities that are limited during ingestion. The values for the items in the list are + * the entity type names of the limitedEntities. Example: {@code vcn} + * + * @return the value + */ + public java.util.List getLimitedEntities() { + return limitedEntities; + } + /** * Records when the virtual network topology was created, in * [RFC3339](https://tools.ietf.org/html/rfc3339) format for date and time. @@ -105,6 +129,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("entities=").append(String.valueOf(this.entities)); sb.append(", relationships=").append(String.valueOf(this.relationships)); + sb.append(", limitedEntities=").append(String.valueOf(this.limitedEntities)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(")"); return sb.toString(); @@ -122,6 +147,7 @@ public boolean equals(Object o) { Topology other = (Topology) o; return java.util.Objects.equals(this.entities, other.entities) && java.util.Objects.equals(this.relationships, other.relationships) + && java.util.Objects.equals(this.limitedEntities, other.limitedEntities) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && super.equals(other); } @@ -134,6 +160,9 @@ public int hashCode() { result = (result * PRIME) + (this.relationships == null ? 43 : this.relationships.hashCode()); + result = + (result * PRIME) + + (this.limitedEntities == null ? 43 : this.limitedEntities.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-core/src/main/java/com/oracle/bmc/core/model/VcnTopology.java b/bmc-core/src/main/java/com/oracle/bmc/core/model/VcnTopology.java index 950ae6dc160..eb5a22cf83e 100644 --- a/bmc-core/src/main/java/com/oracle/bmc/core/model/VcnTopology.java +++ b/bmc-core/src/main/java/com/oracle/bmc/core/model/VcnTopology.java @@ -44,6 +44,15 @@ public Builder relationships(java.util.List relation return this; } + @com.fasterxml.jackson.annotation.JsonProperty("limitedEntities") + private java.util.List limitedEntities; + + public Builder limitedEntities(java.util.List limitedEntities) { + this.limitedEntities = limitedEntities; + this.__explicitlySet__.add("limitedEntities"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private java.util.Date timeCreated; @@ -78,7 +87,11 @@ public Builder vcnId(String vcnId) { public VcnTopology build() { VcnTopology model = new VcnTopology( - this.entities, this.relationships, this.timeCreated, this.vcnId); + this.entities, + this.relationships, + this.limitedEntities, + this.timeCreated, + this.vcnId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -93,6 +106,9 @@ public Builder copy(VcnTopology model) { if (model.wasPropertyExplicitlySet("relationships")) { this.relationships(model.getRelationships()); } + if (model.wasPropertyExplicitlySet("limitedEntities")) { + this.limitedEntities(model.getLimitedEntities()); + } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } @@ -116,9 +132,10 @@ public Builder toBuilder() { public VcnTopology( java.util.List entities, java.util.List relationships, + java.util.List limitedEntities, java.util.Date timeCreated, String vcnId) { - super(entities, relationships, timeCreated); + super(entities, relationships, limitedEntities, timeCreated); this.vcnId = vcnId; } diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml index 79f48e6a4c0..27d7c9ee848 100644 --- a/bmc-dashboardservice/pom.xml +++ b/bmc-dashboardservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-dashboardservice @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml index e9216f285a4..426aef647b6 100644 --- a/bmc-database/pom.xml +++ b/bmc-database/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.22.0 + 3.23.0 diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java index a0c224e0c19..30c77b6a713 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabase.java @@ -44,6 +44,7 @@ public final class AutonomousDatabase "backupConfig", "keyHistoryEntry", "cpuCoreCount", + "localAdgAutoFailoverMaxDataLossLimit", "computeModel", "computeCount", "backupRetentionPeriodInDays", @@ -149,6 +150,7 @@ public AutonomousDatabase( AutonomousDatabaseBackupConfig backupConfig, java.util.List keyHistoryEntry, Integer cpuCoreCount, + Integer localAdgAutoFailoverMaxDataLossLimit, ComputeModel computeModel, Float computeCount, Integer backupRetentionPeriodInDays, @@ -253,6 +255,7 @@ public AutonomousDatabase( this.backupConfig = backupConfig; this.keyHistoryEntry = keyHistoryEntry; this.cpuCoreCount = cpuCoreCount; + this.localAdgAutoFailoverMaxDataLossLimit = localAdgAutoFailoverMaxDataLossLimit; this.computeModel = computeModel; this.computeCount = computeCount; this.backupRetentionPeriodInDays = backupRetentionPeriodInDays; @@ -750,6 +753,28 @@ public Builder cpuCoreCount(Integer cpuCoreCount) { this.__explicitlySet__.add("cpuCoreCount"); return this; } + /** + * Parameter that allows users to select an acceptable maximum data loss limit in seconds, + * up to which Automatic Failover will be triggered when necessary for a Local Autonomous + * Data Guard + */ + @com.fasterxml.jackson.annotation.JsonProperty("localAdgAutoFailoverMaxDataLossLimit") + private Integer localAdgAutoFailoverMaxDataLossLimit; + + /** + * Parameter that allows users to select an acceptable maximum data loss limit in seconds, + * up to which Automatic Failover will be triggered when necessary for a Local Autonomous + * Data Guard + * + * @param localAdgAutoFailoverMaxDataLossLimit the value to set + * @return this builder + */ + public Builder localAdgAutoFailoverMaxDataLossLimit( + Integer localAdgAutoFailoverMaxDataLossLimit) { + this.localAdgAutoFailoverMaxDataLossLimit = localAdgAutoFailoverMaxDataLossLimit; + this.__explicitlySet__.add("localAdgAutoFailoverMaxDataLossLimit"); + return this; + } /** * The compute model of the Autonomous Database. This is required if using the {@code * computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify @@ -2588,6 +2613,7 @@ public AutonomousDatabase build() { this.backupConfig, this.keyHistoryEntry, this.cpuCoreCount, + this.localAdgAutoFailoverMaxDataLossLimit, this.computeModel, this.computeCount, this.backupRetentionPeriodInDays, @@ -2741,6 +2767,10 @@ public Builder copy(AutonomousDatabase model) { if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } + if (model.wasPropertyExplicitlySet("localAdgAutoFailoverMaxDataLossLimit")) { + this.localAdgAutoFailoverMaxDataLossLimit( + model.getLocalAdgAutoFailoverMaxDataLossLimit()); + } if (model.wasPropertyExplicitlySet("computeModel")) { this.computeModel(model.getComputeModel()); } @@ -3430,6 +3460,23 @@ public Integer getCpuCoreCount() { return cpuCoreCount; } + /** + * Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to + * which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard + */ + @com.fasterxml.jackson.annotation.JsonProperty("localAdgAutoFailoverMaxDataLossLimit") + private final Integer localAdgAutoFailoverMaxDataLossLimit; + + /** + * Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to + * which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard + * + * @return the value + */ + public Integer getLocalAdgAutoFailoverMaxDataLossLimit() { + return localAdgAutoFailoverMaxDataLossLimit; + } + /** * The compute model of the Autonomous Database. This is required if using the {@code * computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code @@ -5899,6 +5946,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", backupConfig=").append(String.valueOf(this.backupConfig)); sb.append(", keyHistoryEntry=").append(String.valueOf(this.keyHistoryEntry)); sb.append(", cpuCoreCount=").append(String.valueOf(this.cpuCoreCount)); + sb.append(", localAdgAutoFailoverMaxDataLossLimit=") + .append(String.valueOf(this.localAdgAutoFailoverMaxDataLossLimit)); sb.append(", computeModel=").append(String.valueOf(this.computeModel)); sb.append(", computeCount=").append(String.valueOf(this.computeCount)); sb.append(", backupRetentionPeriodInDays=") @@ -6050,6 +6099,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.backupConfig, other.backupConfig) && java.util.Objects.equals(this.keyHistoryEntry, other.keyHistoryEntry) && java.util.Objects.equals(this.cpuCoreCount, other.cpuCoreCount) + && java.util.Objects.equals( + this.localAdgAutoFailoverMaxDataLossLimit, + other.localAdgAutoFailoverMaxDataLossLimit) && java.util.Objects.equals(this.computeModel, other.computeModel) && java.util.Objects.equals(this.computeCount, other.computeCount) && java.util.Objects.equals( @@ -6223,6 +6275,11 @@ public int hashCode() { (result * PRIME) + (this.keyHistoryEntry == null ? 43 : this.keyHistoryEntry.hashCode()); result = (result * PRIME) + (this.cpuCoreCount == null ? 43 : this.cpuCoreCount.hashCode()); + result = + (result * PRIME) + + (this.localAdgAutoFailoverMaxDataLossLimit == null + ? 43 + : this.localAdgAutoFailoverMaxDataLossLimit.hashCode()); result = (result * PRIME) + (this.computeModel == null ? 43 : this.computeModel.hashCode()); result = (result * PRIME) + (this.computeCount == null ? 43 : this.computeCount.hashCode()); result = diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java index e0c4f08c125..3691704bc0e 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/AutonomousDatabaseSummary.java @@ -47,6 +47,7 @@ public final class AutonomousDatabaseSummary "backupConfig", "keyHistoryEntry", "cpuCoreCount", + "localAdgAutoFailoverMaxDataLossLimit", "computeModel", "computeCount", "backupRetentionPeriodInDays", @@ -152,6 +153,7 @@ public AutonomousDatabaseSummary( AutonomousDatabaseBackupConfig backupConfig, java.util.List keyHistoryEntry, Integer cpuCoreCount, + Integer localAdgAutoFailoverMaxDataLossLimit, ComputeModel computeModel, Float computeCount, Integer backupRetentionPeriodInDays, @@ -256,6 +258,7 @@ public AutonomousDatabaseSummary( this.backupConfig = backupConfig; this.keyHistoryEntry = keyHistoryEntry; this.cpuCoreCount = cpuCoreCount; + this.localAdgAutoFailoverMaxDataLossLimit = localAdgAutoFailoverMaxDataLossLimit; this.computeModel = computeModel; this.computeCount = computeCount; this.backupRetentionPeriodInDays = backupRetentionPeriodInDays; @@ -753,6 +756,28 @@ public Builder cpuCoreCount(Integer cpuCoreCount) { this.__explicitlySet__.add("cpuCoreCount"); return this; } + /** + * Parameter that allows users to select an acceptable maximum data loss limit in seconds, + * up to which Automatic Failover will be triggered when necessary for a Local Autonomous + * Data Guard + */ + @com.fasterxml.jackson.annotation.JsonProperty("localAdgAutoFailoverMaxDataLossLimit") + private Integer localAdgAutoFailoverMaxDataLossLimit; + + /** + * Parameter that allows users to select an acceptable maximum data loss limit in seconds, + * up to which Automatic Failover will be triggered when necessary for a Local Autonomous + * Data Guard + * + * @param localAdgAutoFailoverMaxDataLossLimit the value to set + * @return this builder + */ + public Builder localAdgAutoFailoverMaxDataLossLimit( + Integer localAdgAutoFailoverMaxDataLossLimit) { + this.localAdgAutoFailoverMaxDataLossLimit = localAdgAutoFailoverMaxDataLossLimit; + this.__explicitlySet__.add("localAdgAutoFailoverMaxDataLossLimit"); + return this; + } /** * The compute model of the Autonomous Database. This is required if using the {@code * computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify @@ -2591,6 +2616,7 @@ public AutonomousDatabaseSummary build() { this.backupConfig, this.keyHistoryEntry, this.cpuCoreCount, + this.localAdgAutoFailoverMaxDataLossLimit, this.computeModel, this.computeCount, this.backupRetentionPeriodInDays, @@ -2744,6 +2770,10 @@ public Builder copy(AutonomousDatabaseSummary model) { if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } + if (model.wasPropertyExplicitlySet("localAdgAutoFailoverMaxDataLossLimit")) { + this.localAdgAutoFailoverMaxDataLossLimit( + model.getLocalAdgAutoFailoverMaxDataLossLimit()); + } if (model.wasPropertyExplicitlySet("computeModel")) { this.computeModel(model.getComputeModel()); } @@ -3433,6 +3463,23 @@ public Integer getCpuCoreCount() { return cpuCoreCount; } + /** + * Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to + * which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard + */ + @com.fasterxml.jackson.annotation.JsonProperty("localAdgAutoFailoverMaxDataLossLimit") + private final Integer localAdgAutoFailoverMaxDataLossLimit; + + /** + * Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to + * which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard + * + * @return the value + */ + public Integer getLocalAdgAutoFailoverMaxDataLossLimit() { + return localAdgAutoFailoverMaxDataLossLimit; + } + /** * The compute model of the Autonomous Database. This is required if using the {@code * computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code @@ -5902,6 +5949,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", backupConfig=").append(String.valueOf(this.backupConfig)); sb.append(", keyHistoryEntry=").append(String.valueOf(this.keyHistoryEntry)); sb.append(", cpuCoreCount=").append(String.valueOf(this.cpuCoreCount)); + sb.append(", localAdgAutoFailoverMaxDataLossLimit=") + .append(String.valueOf(this.localAdgAutoFailoverMaxDataLossLimit)); sb.append(", computeModel=").append(String.valueOf(this.computeModel)); sb.append(", computeCount=").append(String.valueOf(this.computeCount)); sb.append(", backupRetentionPeriodInDays=") @@ -6053,6 +6102,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.backupConfig, other.backupConfig) && java.util.Objects.equals(this.keyHistoryEntry, other.keyHistoryEntry) && java.util.Objects.equals(this.cpuCoreCount, other.cpuCoreCount) + && java.util.Objects.equals( + this.localAdgAutoFailoverMaxDataLossLimit, + other.localAdgAutoFailoverMaxDataLossLimit) && java.util.Objects.equals(this.computeModel, other.computeModel) && java.util.Objects.equals(this.computeCount, other.computeCount) && java.util.Objects.equals( @@ -6226,6 +6278,11 @@ public int hashCode() { (result * PRIME) + (this.keyHistoryEntry == null ? 43 : this.keyHistoryEntry.hashCode()); result = (result * PRIME) + (this.cpuCoreCount == null ? 43 : this.cpuCoreCount.hashCode()); + result = + (result * PRIME) + + (this.localAdgAutoFailoverMaxDataLossLimit == null + ? 43 + : this.localAdgAutoFailoverMaxDataLossLimit.hashCode()); result = (result * PRIME) + (this.computeModel == null ? 43 : this.computeModel.hashCode()); result = (result * PRIME) + (this.computeCount == null ? 43 : this.computeCount.hashCode()); result = diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java index 043446567bb..166c0ec6db1 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseBase.java @@ -64,6 +64,7 @@ public class CreateAutonomousDatabaseBase "ncharacterSet", "dbName", "cpuCoreCount", + "backupRetentionPeriodInDays", "computeModel", "computeCount", "ocpuCount", @@ -110,6 +111,7 @@ protected CreateAutonomousDatabaseBase( String ncharacterSet, String dbName, Integer cpuCoreCount, + Integer backupRetentionPeriodInDays, ComputeModel computeModel, Float computeCount, Float ocpuCount, @@ -155,6 +157,7 @@ protected CreateAutonomousDatabaseBase( this.ncharacterSet = ncharacterSet; this.dbName = dbName; this.cpuCoreCount = cpuCoreCount; + this.backupRetentionPeriodInDays = backupRetentionPeriodInDays; this.computeModel = computeModel; this.computeCount = computeCount; this.ocpuCount = ocpuCount; @@ -339,6 +342,19 @@ public Integer getCpuCoreCount() { return cpuCoreCount; } + /** Retention period, in days, for long-term backups */ + @com.fasterxml.jackson.annotation.JsonProperty("backupRetentionPeriodInDays") + private final Integer backupRetentionPeriodInDays; + + /** + * Retention period, in days, for long-term backups + * + * @return the value + */ + public Integer getBackupRetentionPeriodInDays() { + return backupRetentionPeriodInDays; + } + /** * The compute model of the Autonomous Database. This is required if using the {@code * computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code @@ -1498,6 +1514,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", ncharacterSet=").append(String.valueOf(this.ncharacterSet)); sb.append(", dbName=").append(String.valueOf(this.dbName)); sb.append(", cpuCoreCount=").append(String.valueOf(this.cpuCoreCount)); + sb.append(", backupRetentionPeriodInDays=") + .append(String.valueOf(this.backupRetentionPeriodInDays)); sb.append(", computeModel=").append(String.valueOf(this.computeModel)); sb.append(", computeCount=").append(String.valueOf(this.computeCount)); sb.append(", ocpuCount=").append(String.valueOf(this.ocpuCount)); @@ -1563,6 +1581,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.ncharacterSet, other.ncharacterSet) && java.util.Objects.equals(this.dbName, other.dbName) && java.util.Objects.equals(this.cpuCoreCount, other.cpuCoreCount) + && java.util.Objects.equals( + this.backupRetentionPeriodInDays, other.backupRetentionPeriodInDays) && java.util.Objects.equals(this.computeModel, other.computeModel) && java.util.Objects.equals(this.computeCount, other.computeCount) && java.util.Objects.equals(this.ocpuCount, other.ocpuCount) @@ -1628,6 +1648,11 @@ public int hashCode() { + (this.ncharacterSet == null ? 43 : this.ncharacterSet.hashCode()); result = (result * PRIME) + (this.dbName == null ? 43 : this.dbName.hashCode()); result = (result * PRIME) + (this.cpuCoreCount == null ? 43 : this.cpuCoreCount.hashCode()); + result = + (result * PRIME) + + (this.backupRetentionPeriodInDays == null + ? 43 + : this.backupRetentionPeriodInDays.hashCode()); result = (result * PRIME) + (this.computeModel == null ? 43 : this.computeModel.hashCode()); result = (result * PRIME) + (this.computeCount == null ? 43 : this.computeCount.hashCode()); result = (result * PRIME) + (this.ocpuCount == null ? 43 : this.ocpuCount.hashCode()); diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseCloneDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseCloneDetails.java index 69c8dc55fb6..e5e2afcd4a4 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseCloneDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseCloneDetails.java @@ -72,6 +72,15 @@ public Builder cpuCoreCount(Integer cpuCoreCount) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("backupRetentionPeriodInDays") + private Integer backupRetentionPeriodInDays; + + public Builder backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays) { + this.backupRetentionPeriodInDays = backupRetentionPeriodInDays; + this.__explicitlySet__.add("backupRetentionPeriodInDays"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("computeModel") private ComputeModel computeModel; @@ -473,6 +482,7 @@ public CreateAutonomousDatabaseCloneDetails build() { this.ncharacterSet, this.dbName, this.cpuCoreCount, + this.backupRetentionPeriodInDays, this.computeModel, this.computeCount, this.ocpuCount, @@ -537,6 +547,9 @@ public Builder copy(CreateAutonomousDatabaseCloneDetails model) { if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } + if (model.wasPropertyExplicitlySet("backupRetentionPeriodInDays")) { + this.backupRetentionPeriodInDays(model.getBackupRetentionPeriodInDays()); + } if (model.wasPropertyExplicitlySet("computeModel")) { this.computeModel(model.getComputeModel()); } @@ -682,6 +695,7 @@ public CreateAutonomousDatabaseCloneDetails( String ncharacterSet, String dbName, Integer cpuCoreCount, + Integer backupRetentionPeriodInDays, ComputeModel computeModel, Float computeCount, Float ocpuCount, @@ -729,6 +743,7 @@ public CreateAutonomousDatabaseCloneDetails( ncharacterSet, dbName, cpuCoreCount, + backupRetentionPeriodInDays, computeModel, computeCount, ocpuCount, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseDetails.java index e528da27c41..7d5bf7612f3 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseDetails.java @@ -72,6 +72,15 @@ public Builder cpuCoreCount(Integer cpuCoreCount) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("backupRetentionPeriodInDays") + private Integer backupRetentionPeriodInDays; + + public Builder backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays) { + this.backupRetentionPeriodInDays = backupRetentionPeriodInDays; + this.__explicitlySet__.add("backupRetentionPeriodInDays"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("computeModel") private ComputeModel computeModel; @@ -439,6 +448,7 @@ public CreateAutonomousDatabaseDetails build() { this.ncharacterSet, this.dbName, this.cpuCoreCount, + this.backupRetentionPeriodInDays, this.computeModel, this.computeCount, this.ocpuCount, @@ -501,6 +511,9 @@ public Builder copy(CreateAutonomousDatabaseDetails model) { if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } + if (model.wasPropertyExplicitlySet("backupRetentionPeriodInDays")) { + this.backupRetentionPeriodInDays(model.getBackupRetentionPeriodInDays()); + } if (model.wasPropertyExplicitlySet("computeModel")) { this.computeModel(model.getComputeModel()); } @@ -640,6 +653,7 @@ public CreateAutonomousDatabaseDetails( String ncharacterSet, String dbName, Integer cpuCoreCount, + Integer backupRetentionPeriodInDays, ComputeModel computeModel, Float computeCount, Float ocpuCount, @@ -685,6 +699,7 @@ public CreateAutonomousDatabaseDetails( ncharacterSet, dbName, cpuCoreCount, + backupRetentionPeriodInDays, computeModel, computeCount, ocpuCount, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupDetails.java index 67a6b4bc2bf..f144aea84e0 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupDetails.java @@ -73,6 +73,15 @@ public Builder cpuCoreCount(Integer cpuCoreCount) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("backupRetentionPeriodInDays") + private Integer backupRetentionPeriodInDays; + + public Builder backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays) { + this.backupRetentionPeriodInDays = backupRetentionPeriodInDays; + this.__explicitlySet__.add("backupRetentionPeriodInDays"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("computeModel") private ComputeModel computeModel; @@ -476,6 +485,7 @@ public CreateAutonomousDatabaseFromBackupDetails build() { this.ncharacterSet, this.dbName, this.cpuCoreCount, + this.backupRetentionPeriodInDays, this.computeModel, this.computeCount, this.ocpuCount, @@ -540,6 +550,9 @@ public Builder copy(CreateAutonomousDatabaseFromBackupDetails model) { if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } + if (model.wasPropertyExplicitlySet("backupRetentionPeriodInDays")) { + this.backupRetentionPeriodInDays(model.getBackupRetentionPeriodInDays()); + } if (model.wasPropertyExplicitlySet("computeModel")) { this.computeModel(model.getComputeModel()); } @@ -685,6 +698,7 @@ public CreateAutonomousDatabaseFromBackupDetails( String ncharacterSet, String dbName, Integer cpuCoreCount, + Integer backupRetentionPeriodInDays, ComputeModel computeModel, Float computeCount, Float ocpuCount, @@ -732,6 +746,7 @@ public CreateAutonomousDatabaseFromBackupDetails( ncharacterSet, dbName, cpuCoreCount, + backupRetentionPeriodInDays, computeModel, computeCount, ocpuCount, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupTimestampDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupTimestampDetails.java index 75bef32f2db..4059dce3909 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupTimestampDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateAutonomousDatabaseFromBackupTimestampDetails.java @@ -74,6 +74,15 @@ public Builder cpuCoreCount(Integer cpuCoreCount) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("backupRetentionPeriodInDays") + private Integer backupRetentionPeriodInDays; + + public Builder backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays) { + this.backupRetentionPeriodInDays = backupRetentionPeriodInDays; + this.__explicitlySet__.add("backupRetentionPeriodInDays"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("computeModel") private ComputeModel computeModel; @@ -510,6 +519,7 @@ public CreateAutonomousDatabaseFromBackupTimestampDetails build() { this.ncharacterSet, this.dbName, this.cpuCoreCount, + this.backupRetentionPeriodInDays, this.computeModel, this.computeCount, this.ocpuCount, @@ -576,6 +586,9 @@ public Builder copy(CreateAutonomousDatabaseFromBackupTimestampDetails model) { if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } + if (model.wasPropertyExplicitlySet("backupRetentionPeriodInDays")) { + this.backupRetentionPeriodInDays(model.getBackupRetentionPeriodInDays()); + } if (model.wasPropertyExplicitlySet("computeModel")) { this.computeModel(model.getComputeModel()); } @@ -728,6 +741,7 @@ public CreateAutonomousDatabaseFromBackupTimestampDetails( String ncharacterSet, String dbName, Integer cpuCoreCount, + Integer backupRetentionPeriodInDays, ComputeModel computeModel, Float computeCount, Float ocpuCount, @@ -777,6 +791,7 @@ public CreateAutonomousDatabaseFromBackupTimestampDetails( ncharacterSet, dbName, cpuCoreCount, + backupRetentionPeriodInDays, computeModel, computeCount, ocpuCount, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionAutonomousDatabaseDataGuardDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionAutonomousDatabaseDataGuardDetails.java index aa8f0d1261f..b3b9fed16b8 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionAutonomousDatabaseDataGuardDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionAutonomousDatabaseDataGuardDetails.java @@ -98,6 +98,15 @@ public Builder cpuCoreCount(Integer cpuCoreCount) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("backupRetentionPeriodInDays") + private Integer backupRetentionPeriodInDays; + + public Builder backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays) { + this.backupRetentionPeriodInDays = backupRetentionPeriodInDays; + this.__explicitlySet__.add("backupRetentionPeriodInDays"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("computeModel") private ComputeModel computeModel; @@ -486,6 +495,7 @@ public CreateCrossRegionAutonomousDatabaseDataGuardDetails build() { this.ncharacterSet, this.dbName, this.cpuCoreCount, + this.backupRetentionPeriodInDays, this.computeModel, this.computeCount, this.ocpuCount, @@ -549,6 +559,9 @@ public Builder copy(CreateCrossRegionAutonomousDatabaseDataGuardDetails model) { if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } + if (model.wasPropertyExplicitlySet("backupRetentionPeriodInDays")) { + this.backupRetentionPeriodInDays(model.getBackupRetentionPeriodInDays()); + } if (model.wasPropertyExplicitlySet("computeModel")) { this.computeModel(model.getComputeModel()); } @@ -691,6 +704,7 @@ public CreateCrossRegionAutonomousDatabaseDataGuardDetails( String ncharacterSet, String dbName, Integer cpuCoreCount, + Integer backupRetentionPeriodInDays, ComputeModel computeModel, Float computeCount, Float ocpuCount, @@ -737,6 +751,7 @@ public CreateCrossRegionAutonomousDatabaseDataGuardDetails( ncharacterSet, dbName, cpuCoreCount, + backupRetentionPeriodInDays, computeModel, computeCount, ocpuCount, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionDisasterRecoveryDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionDisasterRecoveryDetails.java index 6b983303f81..e88b4f8a123 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionDisasterRecoveryDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateCrossRegionDisasterRecoveryDetails.java @@ -96,6 +96,15 @@ public Builder cpuCoreCount(Integer cpuCoreCount) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("backupRetentionPeriodInDays") + private Integer backupRetentionPeriodInDays; + + public Builder backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays) { + this.backupRetentionPeriodInDays = backupRetentionPeriodInDays; + this.__explicitlySet__.add("backupRetentionPeriodInDays"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("computeModel") private ComputeModel computeModel; @@ -508,6 +517,7 @@ public CreateCrossRegionDisasterRecoveryDetails build() { this.ncharacterSet, this.dbName, this.cpuCoreCount, + this.backupRetentionPeriodInDays, this.computeModel, this.computeCount, this.ocpuCount, @@ -572,6 +582,9 @@ public Builder copy(CreateCrossRegionDisasterRecoveryDetails model) { if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } + if (model.wasPropertyExplicitlySet("backupRetentionPeriodInDays")) { + this.backupRetentionPeriodInDays(model.getBackupRetentionPeriodInDays()); + } if (model.wasPropertyExplicitlySet("computeModel")) { this.computeModel(model.getComputeModel()); } @@ -717,6 +730,7 @@ public CreateCrossRegionDisasterRecoveryDetails( String ncharacterSet, String dbName, Integer cpuCoreCount, + Integer backupRetentionPeriodInDays, ComputeModel computeModel, Float computeCount, Float ocpuCount, @@ -764,6 +778,7 @@ public CreateCrossRegionDisasterRecoveryDetails( ncharacterSet, dbName, cpuCoreCount, + backupRetentionPeriodInDays, computeModel, computeCount, ocpuCount, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateRefreshableAutonomousDatabaseCloneDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateRefreshableAutonomousDatabaseCloneDetails.java index 6f1b3bdf90e..20494f0b967 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateRefreshableAutonomousDatabaseCloneDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/CreateRefreshableAutonomousDatabaseCloneDetails.java @@ -73,6 +73,15 @@ public Builder cpuCoreCount(Integer cpuCoreCount) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("backupRetentionPeriodInDays") + private Integer backupRetentionPeriodInDays; + + public Builder backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays) { + this.backupRetentionPeriodInDays = backupRetentionPeriodInDays; + this.__explicitlySet__.add("backupRetentionPeriodInDays"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("computeModel") private ComputeModel computeModel; @@ -478,6 +487,7 @@ public CreateRefreshableAutonomousDatabaseCloneDetails build() { this.ncharacterSet, this.dbName, this.cpuCoreCount, + this.backupRetentionPeriodInDays, this.computeModel, this.computeCount, this.ocpuCount, @@ -542,6 +552,9 @@ public Builder copy(CreateRefreshableAutonomousDatabaseCloneDetails model) { if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } + if (model.wasPropertyExplicitlySet("backupRetentionPeriodInDays")) { + this.backupRetentionPeriodInDays(model.getBackupRetentionPeriodInDays()); + } if (model.wasPropertyExplicitlySet("computeModel")) { this.computeModel(model.getComputeModel()); } @@ -687,6 +700,7 @@ public CreateRefreshableAutonomousDatabaseCloneDetails( String ncharacterSet, String dbName, Integer cpuCoreCount, + Integer backupRetentionPeriodInDays, ComputeModel computeModel, Float computeCount, Float ocpuCount, @@ -734,6 +748,7 @@ public CreateRefreshableAutonomousDatabaseCloneDetails( ncharacterSet, dbName, cpuCoreCount, + backupRetentionPeriodInDays, computeModel, computeCount, ocpuCount, diff --git a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java index 2a50ee1bfbe..2dfd8ab5a37 100644 --- a/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java +++ b/bmc-database/src/main/java/com/oracle/bmc/database/model/UpdateAutonomousDatabaseDetails.java @@ -31,6 +31,9 @@ public final class UpdateAutonomousDatabaseDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({ + "backupRetentionPeriodInDays", + "computeModel", + "localAdgAutoFailoverMaxDataLossLimit", "cpuCoreCount", "longTermBackupSchedule", "computeCount", @@ -73,6 +76,9 @@ public final class UpdateAutonomousDatabaseDetails "secretVersionNumber" }) public UpdateAutonomousDatabaseDetails( + Integer backupRetentionPeriodInDays, + ComputeModel computeModel, + Integer localAdgAutoFailoverMaxDataLossLimit, Integer cpuCoreCount, LongTermBackUpScheduleDetails longTermBackupSchedule, Float computeCount, @@ -114,6 +120,9 @@ public UpdateAutonomousDatabaseDetails( String secretId, Integer secretVersionNumber) { super(); + this.backupRetentionPeriodInDays = backupRetentionPeriodInDays; + this.computeModel = computeModel; + this.localAdgAutoFailoverMaxDataLossLimit = localAdgAutoFailoverMaxDataLossLimit; this.cpuCoreCount = cpuCoreCount; this.longTermBackupSchedule = longTermBackupSchedule; this.computeCount = computeCount; @@ -158,6 +167,64 @@ public UpdateAutonomousDatabaseDetails( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + /** Retention period, in days, for long-term backups */ + @com.fasterxml.jackson.annotation.JsonProperty("backupRetentionPeriodInDays") + private Integer backupRetentionPeriodInDays; + + /** + * Retention period, in days, for long-term backups + * + * @param backupRetentionPeriodInDays the value to set + * @return this builder + */ + public Builder backupRetentionPeriodInDays(Integer backupRetentionPeriodInDays) { + this.backupRetentionPeriodInDays = backupRetentionPeriodInDays; + this.__explicitlySet__.add("backupRetentionPeriodInDays"); + return this; + } + /** + * The compute model of the Autonomous Database. This is required if using the {@code + * computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify + * {@code computeModel} to a non-null value. + */ + @com.fasterxml.jackson.annotation.JsonProperty("computeModel") + private ComputeModel computeModel; + + /** + * The compute model of the Autonomous Database. This is required if using the {@code + * computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify + * {@code computeModel} to a non-null value. + * + * @param computeModel the value to set + * @return this builder + */ + public Builder computeModel(ComputeModel computeModel) { + this.computeModel = computeModel; + this.__explicitlySet__.add("computeModel"); + return this; + } + /** + * Parameter that allows users to select an acceptable maximum data loss limit in seconds, + * up to which Automatic Failover will be triggered when necessary for a Local Autonomous + * Data Guard + */ + @com.fasterxml.jackson.annotation.JsonProperty("localAdgAutoFailoverMaxDataLossLimit") + private Integer localAdgAutoFailoverMaxDataLossLimit; + + /** + * Parameter that allows users to select an acceptable maximum data loss limit in seconds, + * up to which Automatic Failover will be triggered when necessary for a Local Autonomous + * Data Guard + * + * @param localAdgAutoFailoverMaxDataLossLimit the value to set + * @return this builder + */ + public Builder localAdgAutoFailoverMaxDataLossLimit( + Integer localAdgAutoFailoverMaxDataLossLimit) { + this.localAdgAutoFailoverMaxDataLossLimit = localAdgAutoFailoverMaxDataLossLimit; + this.__explicitlySet__.add("localAdgAutoFailoverMaxDataLossLimit"); + return this; + } /** * The number of CPUs to be made available to the Autonomous Database.
* For Autonomous Databases on Dedicated Exadata Infrastructure: - The CPU type (OCPUs or @@ -1432,6 +1499,9 @@ public Builder secretVersionNumber(Integer secretVersionNumber) { public UpdateAutonomousDatabaseDetails build() { UpdateAutonomousDatabaseDetails model = new UpdateAutonomousDatabaseDetails( + this.backupRetentionPeriodInDays, + this.computeModel, + this.localAdgAutoFailoverMaxDataLossLimit, this.cpuCoreCount, this.longTermBackupSchedule, this.computeCount, @@ -1480,6 +1550,16 @@ public UpdateAutonomousDatabaseDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(UpdateAutonomousDatabaseDetails model) { + if (model.wasPropertyExplicitlySet("backupRetentionPeriodInDays")) { + this.backupRetentionPeriodInDays(model.getBackupRetentionPeriodInDays()); + } + if (model.wasPropertyExplicitlySet("computeModel")) { + this.computeModel(model.getComputeModel()); + } + if (model.wasPropertyExplicitlySet("localAdgAutoFailoverMaxDataLossLimit")) { + this.localAdgAutoFailoverMaxDataLossLimit( + model.getLocalAdgAutoFailoverMaxDataLossLimit()); + } if (model.wasPropertyExplicitlySet("cpuCoreCount")) { this.cpuCoreCount(model.getCpuCoreCount()); } @@ -1613,6 +1693,92 @@ public Builder toBuilder() { return new Builder().copy(this); } + /** Retention period, in days, for long-term backups */ + @com.fasterxml.jackson.annotation.JsonProperty("backupRetentionPeriodInDays") + private final Integer backupRetentionPeriodInDays; + + /** + * Retention period, in days, for long-term backups + * + * @return the value + */ + public Integer getBackupRetentionPeriodInDays() { + return backupRetentionPeriodInDays; + } + + /** + * The compute model of the Autonomous Database. This is required if using the {@code + * computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code + * computeModel} to a non-null value. + */ + public enum ComputeModel implements com.oracle.bmc.http.internal.BmcEnum { + Ecpu("ECPU"), + Ocpu("OCPU"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ComputeModel v : ComputeModel.values()) { + map.put(v.getValue(), v); + } + } + + ComputeModel(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ComputeModel create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid ComputeModel: " + key); + } + }; + /** + * The compute model of the Autonomous Database. This is required if using the {@code + * computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code + * computeModel} to a non-null value. + */ + @com.fasterxml.jackson.annotation.JsonProperty("computeModel") + private final ComputeModel computeModel; + + /** + * The compute model of the Autonomous Database. This is required if using the {@code + * computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code + * computeModel} to a non-null value. + * + * @return the value + */ + public ComputeModel getComputeModel() { + return computeModel; + } + + /** + * Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to + * which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard + */ + @com.fasterxml.jackson.annotation.JsonProperty("localAdgAutoFailoverMaxDataLossLimit") + private final Integer localAdgAutoFailoverMaxDataLossLimit; + + /** + * Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to + * which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard + * + * @return the value + */ + public Integer getLocalAdgAutoFailoverMaxDataLossLimit() { + return localAdgAutoFailoverMaxDataLossLimit; + } + /** * The number of CPUs to be made available to the Autonomous Database.
* For Autonomous Databases on Dedicated Exadata Infrastructure: - The CPU type (OCPUs or ECPUs) @@ -2982,7 +3148,12 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("UpdateAutonomousDatabaseDetails("); sb.append("super=").append(super.toString()); - sb.append("cpuCoreCount=").append(String.valueOf(this.cpuCoreCount)); + sb.append("backupRetentionPeriodInDays=") + .append(String.valueOf(this.backupRetentionPeriodInDays)); + sb.append(", computeModel=").append(String.valueOf(this.computeModel)); + sb.append(", localAdgAutoFailoverMaxDataLossLimit=") + .append(String.valueOf(this.localAdgAutoFailoverMaxDataLossLimit)); + sb.append(", cpuCoreCount=").append(String.valueOf(this.cpuCoreCount)); sb.append(", longTermBackupSchedule=").append(String.valueOf(this.longTermBackupSchedule)); sb.append(", computeCount=").append(String.valueOf(this.computeCount)); sb.append(", ocpuCount=").append(String.valueOf(this.ocpuCount)); @@ -3040,7 +3211,13 @@ public boolean equals(Object o) { } UpdateAutonomousDatabaseDetails other = (UpdateAutonomousDatabaseDetails) o; - return java.util.Objects.equals(this.cpuCoreCount, other.cpuCoreCount) + return java.util.Objects.equals( + this.backupRetentionPeriodInDays, other.backupRetentionPeriodInDays) + && java.util.Objects.equals(this.computeModel, other.computeModel) + && java.util.Objects.equals( + this.localAdgAutoFailoverMaxDataLossLimit, + other.localAdgAutoFailoverMaxDataLossLimit) + && java.util.Objects.equals(this.cpuCoreCount, other.cpuCoreCount) && java.util.Objects.equals( this.longTermBackupSchedule, other.longTermBackupSchedule) && java.util.Objects.equals(this.computeCount, other.computeCount) @@ -3093,6 +3270,17 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = 1; + result = + (result * PRIME) + + (this.backupRetentionPeriodInDays == null + ? 43 + : this.backupRetentionPeriodInDays.hashCode()); + result = (result * PRIME) + (this.computeModel == null ? 43 : this.computeModel.hashCode()); + result = + (result * PRIME) + + (this.localAdgAutoFailoverMaxDataLossLimit == null + ? 43 + : this.localAdgAutoFailoverMaxDataLossLimit.hashCode()); result = (result * PRIME) + (this.cpuCoreCount == null ? 43 : this.cpuCoreCount.hashCode()); result = (result * PRIME) diff --git a/bmc-databasemanagement/pom.xml b/bmc-databasemanagement/pom.xml index e979634687b..7de9e2eea43 100644 --- a/bmc-databasemanagement/pom.xml +++ b/bmc-databasemanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-databasemanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-databasemigration/pom.xml b/bmc-databasemigration/pom.xml index 2acb09ca577..daa97096317 100644 --- a/bmc-databasemigration/pom.xml +++ b/bmc-databasemigration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-databasemigration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/DatabaseObject.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/DatabaseObject.java index b191241bcdb..14cb9ff52a1 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/DatabaseObject.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/DatabaseObject.java @@ -22,12 +22,22 @@ public final class DatabaseObject extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"owner", "objectName", "type"}) - public DatabaseObject(String owner, String objectName, String type) { + @java.beans.ConstructorProperties({ + "owner", + "objectName", + "type", + "isOmitExcludedTableFromReplication" + }) + public DatabaseObject( + String owner, + String objectName, + String type, + Boolean isOmitExcludedTableFromReplication) { super(); this.owner = owner; this.objectName = objectName; this.type = type; + this.isOmitExcludedTableFromReplication = isOmitExcludedTableFromReplication; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -81,12 +91,37 @@ public Builder type(String type) { this.__explicitlySet__.add("type"); return this; } + /** + * Whether an excluded table should be omitted from replication. Only valid for database + * objects that have are of type TABLE and that are included in the exludeObjects. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOmitExcludedTableFromReplication") + private Boolean isOmitExcludedTableFromReplication; + + /** + * Whether an excluded table should be omitted from replication. Only valid for database + * objects that have are of type TABLE and that are included in the exludeObjects. + * + * @param isOmitExcludedTableFromReplication the value to set + * @return this builder + */ + public Builder isOmitExcludedTableFromReplication( + Boolean isOmitExcludedTableFromReplication) { + this.isOmitExcludedTableFromReplication = isOmitExcludedTableFromReplication; + this.__explicitlySet__.add("isOmitExcludedTableFromReplication"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public DatabaseObject build() { - DatabaseObject model = new DatabaseObject(this.owner, this.objectName, this.type); + DatabaseObject model = + new DatabaseObject( + this.owner, + this.objectName, + this.type, + this.isOmitExcludedTableFromReplication); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -104,6 +139,10 @@ public Builder copy(DatabaseObject model) { if (model.wasPropertyExplicitlySet("type")) { this.type(model.getType()); } + if (model.wasPropertyExplicitlySet("isOmitExcludedTableFromReplication")) { + this.isOmitExcludedTableFromReplication( + model.getIsOmitExcludedTableFromReplication()); + } return this; } } @@ -160,6 +199,23 @@ public String getType() { return type; } + /** + * Whether an excluded table should be omitted from replication. Only valid for database objects + * that have are of type TABLE and that are included in the exludeObjects. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOmitExcludedTableFromReplication") + private final Boolean isOmitExcludedTableFromReplication; + + /** + * Whether an excluded table should be omitted from replication. Only valid for database objects + * that have are of type TABLE and that are included in the exludeObjects. + * + * @return the value + */ + public Boolean getIsOmitExcludedTableFromReplication() { + return isOmitExcludedTableFromReplication; + } + @Override public String toString() { return this.toString(true); @@ -178,6 +234,8 @@ public String toString(boolean includeByteArrayContents) { sb.append("owner=").append(String.valueOf(this.owner)); sb.append(", objectName=").append(String.valueOf(this.objectName)); sb.append(", type=").append(String.valueOf(this.type)); + sb.append(", isOmitExcludedTableFromReplication=") + .append(String.valueOf(this.isOmitExcludedTableFromReplication)); sb.append(")"); return sb.toString(); } @@ -195,6 +253,9 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.owner, other.owner) && java.util.Objects.equals(this.objectName, other.objectName) && java.util.Objects.equals(this.type, other.type) + && java.util.Objects.equals( + this.isOmitExcludedTableFromReplication, + other.isOmitExcludedTableFromReplication) && super.equals(other); } @@ -205,6 +266,11 @@ public int hashCode() { result = (result * PRIME) + (this.owner == null ? 43 : this.owner.hashCode()); result = (result * PRIME) + (this.objectName == null ? 43 : this.objectName.hashCode()); result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = + (result * PRIME) + + (this.isOmitExcludedTableFromReplication == null + ? 43 + : this.isOmitExcludedTableFromReplication.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/MigrationObjectSummary.java b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/MigrationObjectSummary.java index 3ece9d7d3fb..35f50a6448c 100644 --- a/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/MigrationObjectSummary.java +++ b/bmc-databasemigration/src/main/java/com/oracle/bmc/databasemigration/model/MigrationObjectSummary.java @@ -23,14 +23,25 @@ public final class MigrationObjectSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"owner", "objectName", "type", "objectStatus"}) + @java.beans.ConstructorProperties({ + "owner", + "objectName", + "type", + "objectStatus", + "isOmitExcludedTableFromReplication" + }) public MigrationObjectSummary( - String owner, String objectName, String type, ObjectStatus objectStatus) { + String owner, + String objectName, + String type, + ObjectStatus objectStatus, + Boolean isOmitExcludedTableFromReplication) { super(); this.owner = owner; this.objectName = objectName; this.type = type; this.objectStatus = objectStatus; + this.isOmitExcludedTableFromReplication = isOmitExcludedTableFromReplication; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -99,6 +110,26 @@ public Builder objectStatus(ObjectStatus objectStatus) { this.__explicitlySet__.add("objectStatus"); return this; } + /** + * Whether an excluded table should be omitted from replication. Only valid for database + * objects that have are of type TABLE and object status EXCLUDE. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOmitExcludedTableFromReplication") + private Boolean isOmitExcludedTableFromReplication; + + /** + * Whether an excluded table should be omitted from replication. Only valid for database + * objects that have are of type TABLE and object status EXCLUDE. + * + * @param isOmitExcludedTableFromReplication the value to set + * @return this builder + */ + public Builder isOmitExcludedTableFromReplication( + Boolean isOmitExcludedTableFromReplication) { + this.isOmitExcludedTableFromReplication = isOmitExcludedTableFromReplication; + this.__explicitlySet__.add("isOmitExcludedTableFromReplication"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -106,7 +137,11 @@ public Builder objectStatus(ObjectStatus objectStatus) { public MigrationObjectSummary build() { MigrationObjectSummary model = new MigrationObjectSummary( - this.owner, this.objectName, this.type, this.objectStatus); + this.owner, + this.objectName, + this.type, + this.objectStatus, + this.isOmitExcludedTableFromReplication); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -127,6 +162,10 @@ public Builder copy(MigrationObjectSummary model) { if (model.wasPropertyExplicitlySet("objectStatus")) { this.objectStatus(model.getObjectStatus()); } + if (model.wasPropertyExplicitlySet("isOmitExcludedTableFromReplication")) { + this.isOmitExcludedTableFromReplication( + model.getIsOmitExcludedTableFromReplication()); + } return this; } } @@ -196,6 +235,23 @@ public ObjectStatus getObjectStatus() { return objectStatus; } + /** + * Whether an excluded table should be omitted from replication. Only valid for database objects + * that have are of type TABLE and object status EXCLUDE. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOmitExcludedTableFromReplication") + private final Boolean isOmitExcludedTableFromReplication; + + /** + * Whether an excluded table should be omitted from replication. Only valid for database objects + * that have are of type TABLE and object status EXCLUDE. + * + * @return the value + */ + public Boolean getIsOmitExcludedTableFromReplication() { + return isOmitExcludedTableFromReplication; + } + @Override public String toString() { return this.toString(true); @@ -215,6 +271,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", objectName=").append(String.valueOf(this.objectName)); sb.append(", type=").append(String.valueOf(this.type)); sb.append(", objectStatus=").append(String.valueOf(this.objectStatus)); + sb.append(", isOmitExcludedTableFromReplication=") + .append(String.valueOf(this.isOmitExcludedTableFromReplication)); sb.append(")"); return sb.toString(); } @@ -233,6 +291,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.objectName, other.objectName) && java.util.Objects.equals(this.type, other.type) && java.util.Objects.equals(this.objectStatus, other.objectStatus) + && java.util.Objects.equals( + this.isOmitExcludedTableFromReplication, + other.isOmitExcludedTableFromReplication) && super.equals(other); } @@ -244,6 +305,11 @@ public int hashCode() { result = (result * PRIME) + (this.objectName == null ? 43 : this.objectName.hashCode()); result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); result = (result * PRIME) + (this.objectStatus == null ? 43 : this.objectStatus.hashCode()); + result = + (result * PRIME) + + (this.isOmitExcludedTableFromReplication == null + ? 43 + : this.isOmitExcludedTableFromReplication.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-databasetools/pom.xml b/bmc-databasetools/pom.xml index 5128a6d321d..ff5fe162a4f 100644 --- a/bmc-databasetools/pom.xml +++ b/bmc-databasetools/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-databasetools @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml index 7494fe63e83..0c3c50b1e2a 100644 --- a/bmc-datacatalog/pom.xml +++ b/bmc-datacatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-datacatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml index 4910678afd9..e9514baf4fc 100644 --- a/bmc-dataflow/pom.xml +++ b/bmc-dataflow/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-dataflow @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml index 1bf696b7021..7683af2126a 100644 --- a/bmc-dataintegration/pom.xml +++ b/bmc-dataintegration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-dataintegration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-datalabelingservice/pom.xml b/bmc-datalabelingservice/pom.xml index 3cba6e757fd..d15db97853d 100644 --- a/bmc-datalabelingservice/pom.xml +++ b/bmc-datalabelingservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-datalabelingservice @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-datalabelingservicedataplane/pom.xml b/bmc-datalabelingservicedataplane/pom.xml index e148e799306..de3c4de09c8 100644 --- a/bmc-datalabelingservicedataplane/pom.xml +++ b/bmc-datalabelingservicedataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-datalabelingservicedataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml index db35e5c09d2..c5337cd1b48 100644 --- a/bmc-datasafe/pom.xml +++ b/bmc-datasafe/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-datasafe @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml index 406814c882a..bf78925b6ba 100644 --- a/bmc-datascience/pom.xml +++ b/bmc-datascience/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-datascience @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-devops/pom.xml b/bmc-devops/pom.xml index 96c3f597190..c18af13281a 100644 --- a/bmc-devops/pom.xml +++ b/bmc-devops/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-devops @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-disasterrecovery/pom.xml b/bmc-disasterrecovery/pom.xml index 89a8fe94845..6896eb21174 100644 --- a/bmc-disasterrecovery/pom.xml +++ b/bmc-disasterrecovery/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-disasterrecovery @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-dns/pom.xml b/bmc-dns/pom.xml index b45a1272078..6d8097968d1 100644 --- a/bmc-dns/pom.xml +++ b/bmc-dns/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-dts/pom.xml b/bmc-dts/pom.xml index 14dc47999eb..5f7aa300c1b 100644 --- a/bmc-dts/pom.xml +++ b/bmc-dts/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-dts @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-email/pom.xml b/bmc-email/pom.xml index c23e6efd223..45ce421d0c0 100644 --- a/bmc-email/pom.xml +++ b/bmc-email/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-emwarehouse/pom.xml b/bmc-emwarehouse/pom.xml index 35598fcdffe..1fe1116bd55 100644 --- a/bmc-emwarehouse/pom.xml +++ b/bmc-emwarehouse/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-emwarehouse @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-encryption/pom.xml b/bmc-encryption/pom.xml index a87f16081c2..bf62977a63c 100644 --- a/bmc-encryption/pom.xml +++ b/bmc-encryption/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml @@ -18,17 +18,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.22.0 + 3.23.0 com.fasterxml.jackson.core @@ -43,7 +43,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.22.0 + 3.23.0 test diff --git a/bmc-enforcer-rules/pom.xml b/bmc-enforcer-rules/pom.xml index b140b61c857..f4d6d16894a 100644 --- a/bmc-enforcer-rules/pom.xml +++ b/bmc-enforcer-rules/pom.xml @@ -6,7 +6,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 oci-java-sdk-enforcer-rules diff --git a/bmc-events/pom.xml b/bmc-events/pom.xml index 96e8f761882..3a81ae14d0b 100644 --- a/bmc-events/pom.xml +++ b/bmc-events/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-events @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-examples/pom.xml b/bmc-examples/pom.xml index b5589f17c29..7205447fb89 100644 --- a/bmc-examples/pom.xml +++ b/bmc-examples/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-examples @@ -71,14 +71,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.22.0 + 3.23.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.22.0 + 3.23.0 pom import diff --git a/bmc-filestorage/pom.xml b/bmc-filestorage/pom.xml index 021a2a20034..c1274327909 100644 --- a/bmc-filestorage/pom.xml +++ b/bmc-filestorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-fleetsoftwareupdate/pom.xml b/bmc-fleetsoftwareupdate/pom.xml index c48871bb395..807aef1128b 100644 --- a/bmc-fleetsoftwareupdate/pom.xml +++ b/bmc-fleetsoftwareupdate/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-fleetsoftwareupdate @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-fleetsoftwareupdate/src/main/java/com/oracle/bmc/fleetsoftwareupdate/FleetSoftwareUpdateAsyncClient.java b/bmc-fleetsoftwareupdate/src/main/java/com/oracle/bmc/fleetsoftwareupdate/FleetSoftwareUpdateAsyncClient.java index 166b22e4a01..0c47d0d3fad 100644 --- a/bmc-fleetsoftwareupdate/src/main/java/com/oracle/bmc/fleetsoftwareupdate/FleetSoftwareUpdateAsyncClient.java +++ b/bmc-fleetsoftwareupdate/src/main/java/com/oracle/bmc/fleetsoftwareupdate/FleetSoftwareUpdateAsyncClient.java @@ -133,7 +133,10 @@ public java.util.concurrent.Future abortFsuDiscovery( return clientCall(request, AbortFsuDiscoveryResponse::builder) .logger(LOG, "abortFsuDiscovery") - .serviceDetails("FleetSoftwareUpdate", "AbortFsuDiscovery", "") + .serviceDetails( + "FleetSoftwareUpdate", + "AbortFsuDiscovery", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuDiscovery/AbortFsuDiscovery") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(AbortFsuDiscoveryRequest::builder) .basePath("/20220528") @@ -164,7 +167,10 @@ public java.util.concurrent.Future addFsuCollec return clientCall(request, AddFsuCollectionTargetsResponse::builder) .logger(LOG, "addFsuCollectionTargets") - .serviceDetails("FleetSoftwareUpdate", "AddFsuCollectionTargets", "") + .serviceDetails( + "FleetSoftwareUpdate", + "AddFsuCollectionTargets", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollection/AddFsuCollectionTargets") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(AddFsuCollectionTargetsRequest::builder) .basePath("/20220528") @@ -195,7 +201,10 @@ public java.util.concurrent.Future cancelFsuAction( return clientCall(request, CancelFsuActionResponse::builder) .logger(LOG, "cancelFsuAction") - .serviceDetails("FleetSoftwareUpdate", "CancelFsuAction", "") + .serviceDetails( + "FleetSoftwareUpdate", + "CancelFsuAction", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/CancelFsuAction") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CancelFsuActionRequest::builder) .basePath("/20220528") @@ -228,7 +237,10 @@ public java.util.concurrent.Future cancelFsuAction( return clientCall(request, ChangeFsuActionCompartmentResponse::builder) .logger(LOG, "changeFsuActionCompartment") - .serviceDetails("FleetSoftwareUpdate", "ChangeFsuActionCompartment", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ChangeFsuActionCompartment", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/ChangeFsuActionCompartment") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(ChangeFsuActionCompartmentRequest::builder) .basePath("/20220528") @@ -265,7 +277,10 @@ public java.util.concurrent.Future cancelFsuAction( return clientCall(request, ChangeFsuCollectionCompartmentResponse::builder) .logger(LOG, "changeFsuCollectionCompartment") - .serviceDetails("FleetSoftwareUpdate", "ChangeFsuCollectionCompartment", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ChangeFsuCollectionCompartment", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollection/ChangeFsuCollectionCompartment") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(ChangeFsuCollectionCompartmentRequest::builder) .basePath("/20220528") @@ -301,7 +316,10 @@ public java.util.concurrent.Future changeFsuC return clientCall(request, ChangeFsuCycleCompartmentResponse::builder) .logger(LOG, "changeFsuCycleCompartment") - .serviceDetails("FleetSoftwareUpdate", "ChangeFsuCycleCompartment", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ChangeFsuCycleCompartment", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCycle/ChangeFsuCycleCompartment") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(ChangeFsuCycleCompartmentRequest::builder) .basePath("/20220528") @@ -338,7 +356,10 @@ public java.util.concurrent.Future changeFsuC return clientCall(request, ChangeFsuDiscoveryCompartmentResponse::builder) .logger(LOG, "changeFsuDiscoveryCompartment") - .serviceDetails("FleetSoftwareUpdate", "ChangeFsuDiscoveryCompartment", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ChangeFsuDiscoveryCompartment", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuDiscovery/ChangeFsuDiscoveryCompartment") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(ChangeFsuDiscoveryCompartmentRequest::builder) .basePath("/20220528") @@ -369,7 +390,10 @@ public java.util.concurrent.Future cloneFsuCycle( return clientCall(request, CloneFsuCycleResponse::builder) .logger(LOG, "cloneFsuCycle") - .serviceDetails("FleetSoftwareUpdate", "CloneFsuCycle", "") + .serviceDetails( + "FleetSoftwareUpdate", + "CloneFsuCycle", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCycle/CloneFsuCycle") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CloneFsuCycleRequest::builder) .basePath("/20220528") @@ -535,7 +559,10 @@ public java.util.concurrent.Future deleteFsuAction( return clientCall(request, DeleteFsuActionResponse::builder) .logger(LOG, "deleteFsuAction") - .serviceDetails("FleetSoftwareUpdate", "DeleteFsuAction", "") + .serviceDetails( + "FleetSoftwareUpdate", + "DeleteFsuAction", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/DeleteFsuAction") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteFsuActionRequest::builder) .basePath("/20220528") @@ -562,7 +589,10 @@ public java.util.concurrent.Future deleteFsuCollect return clientCall(request, DeleteFsuCollectionResponse::builder) .logger(LOG, "deleteFsuCollection") - .serviceDetails("FleetSoftwareUpdate", "DeleteFsuCollection", "") + .serviceDetails( + "FleetSoftwareUpdate", + "DeleteFsuCollection", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollection/DeleteFsuCollection") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteFsuCollectionRequest::builder) .basePath("/20220528") @@ -590,7 +620,10 @@ public java.util.concurrent.Future deleteFsuCycle( return clientCall(request, DeleteFsuCycleResponse::builder) .logger(LOG, "deleteFsuCycle") - .serviceDetails("FleetSoftwareUpdate", "DeleteFsuCycle", "") + .serviceDetails( + "FleetSoftwareUpdate", + "DeleteFsuCycle", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCycle/DeleteFsuCycle") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteFsuCycleRequest::builder) .basePath("/20220528") @@ -617,7 +650,10 @@ public java.util.concurrent.Future deleteFsuDiscover return clientCall(request, DeleteFsuDiscoveryResponse::builder) .logger(LOG, "deleteFsuDiscovery") - .serviceDetails("FleetSoftwareUpdate", "DeleteFsuDiscovery", "") + .serviceDetails( + "FleetSoftwareUpdate", + "DeleteFsuDiscovery", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuDiscovery/DeleteFsuDiscovery") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteFsuDiscoveryRequest::builder) .basePath("/20220528") @@ -643,7 +679,10 @@ public java.util.concurrent.Future deleteFsuJob( return clientCall(request, DeleteFsuJobResponse::builder) .logger(LOG, "deleteFsuJob") - .serviceDetails("FleetSoftwareUpdate", "DeleteFsuJob", "") + .serviceDetails( + "FleetSoftwareUpdate", + "DeleteFsuJob", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJob/DeleteFsuJob") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteFsuJobRequest::builder) .basePath("/20220528") @@ -667,7 +706,10 @@ public java.util.concurrent.Future getFsuAction( return clientCall(request, GetFsuActionResponse::builder) .logger(LOG, "getFsuAction") - .serviceDetails("FleetSoftwareUpdate", "GetFsuAction", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuAction", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/GetFsuAction") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuActionRequest::builder) .basePath("/20220528") @@ -695,7 +737,10 @@ public java.util.concurrent.Future getFsuActi return clientCall(request, GetFsuActionOutputContentResponse::builder) .logger(LOG, "getFsuActionOutputContent") - .serviceDetails("FleetSoftwareUpdate", "GetFsuActionOutputContent", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuActionOutputContent", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/GetFsuActionOutputContent") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuActionOutputContentRequest::builder) .basePath("/20220528") @@ -724,7 +769,10 @@ public java.util.concurrent.Future getFsuCollection( return clientCall(request, GetFsuCollectionResponse::builder) .logger(LOG, "getFsuCollection") - .serviceDetails("FleetSoftwareUpdate", "GetFsuCollection", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuCollection", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollection/GetFsuCollection") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuCollectionRequest::builder) .basePath("/20220528") @@ -751,7 +799,10 @@ public java.util.concurrent.Future getFsuCycle( return clientCall(request, GetFsuCycleResponse::builder) .logger(LOG, "getFsuCycle") - .serviceDetails("FleetSoftwareUpdate", "GetFsuCycle", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuCycle", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCycle/GetFsuCycle") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuCycleRequest::builder) .basePath("/20220528") @@ -779,7 +830,10 @@ public java.util.concurrent.Future getFsuDiscovery( return clientCall(request, GetFsuDiscoveryResponse::builder) .logger(LOG, "getFsuDiscovery") - .serviceDetails("FleetSoftwareUpdate", "GetFsuDiscovery", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuDiscovery", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuDiscovery/GetFsuDiscovery") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuDiscoveryRequest::builder) .basePath("/20220528") @@ -806,7 +860,10 @@ public java.util.concurrent.Future getFsuJob( return clientCall(request, GetFsuJobResponse::builder) .logger(LOG, "getFsuJob") - .serviceDetails("FleetSoftwareUpdate", "GetFsuJob", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuJob", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJob/GetFsuJob") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuJobRequest::builder) .basePath("/20220528") @@ -834,7 +891,10 @@ public java.util.concurrent.Future getFsuJobOutp return clientCall(request, GetFsuJobOutputContentResponse::builder) .logger(LOG, "getFsuJobOutputContent") - .serviceDetails("FleetSoftwareUpdate", "GetFsuJobOutputContent", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuJobOutputContent", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJob/GetFsuJobOutputContent") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuJobOutputContentRequest::builder) .basePath("/20220528") @@ -863,7 +923,10 @@ public java.util.concurrent.Future getWorkRequest( return clientCall(request, GetWorkRequestResponse::builder) .logger(LOG, "getWorkRequest") - .serviceDetails("FleetSoftwareUpdate", "GetWorkRequest", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetWorkRequest", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/WorkRequest/GetWorkRequest") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetWorkRequestRequest::builder) .basePath("/20220528") @@ -892,7 +955,10 @@ public java.util.concurrent.Future listFsuActions( return clientCall(request, ListFsuActionsResponse::builder) .logger(LOG, "listFsuActions") - .serviceDetails("FleetSoftwareUpdate", "ListFsuActions", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuActions", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuActionSummaryCollection/ListFsuActions") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuActionsRequest::builder) .basePath("/20220528") @@ -929,7 +995,10 @@ public java.util.concurrent.Future listFsuColl return clientCall(request, ListFsuCollectionTargetsResponse::builder) .logger(LOG, "listFsuCollectionTargets") - .serviceDetails("FleetSoftwareUpdate", "ListFsuCollectionTargets", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuCollectionTargets", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/TargetSummaryCollection/ListFsuCollectionTargets") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuCollectionTargetsRequest::builder) .basePath("/20220528") @@ -965,7 +1034,10 @@ public java.util.concurrent.Future listFsuCollection return clientCall(request, ListFsuCollectionsResponse::builder) .logger(LOG, "listFsuCollections") - .serviceDetails("FleetSoftwareUpdate", "ListFsuCollections", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuCollections", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollectionSummaryCollection/ListFsuCollections") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuCollectionsRequest::builder) .basePath("/20220528") @@ -1000,7 +1072,10 @@ public java.util.concurrent.Future listFsuCycles( return clientCall(request, ListFsuCyclesResponse::builder) .logger(LOG, "listFsuCycles") - .serviceDetails("FleetSoftwareUpdate", "ListFsuCycles", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuCycles", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCycleSummary/ListFsuCycles") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuCyclesRequest::builder) .basePath("/20220528") @@ -1037,7 +1112,10 @@ public java.util.concurrent.Future listFsuDiscoverie return clientCall(request, ListFsuDiscoveriesResponse::builder) .logger(LOG, "listFsuDiscoveries") - .serviceDetails("FleetSoftwareUpdate", "ListFsuDiscoveries", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuDiscoveries", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuDiscoverySummary/ListFsuDiscoveries") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuDiscoveriesRequest::builder) .basePath("/20220528") @@ -1073,7 +1151,10 @@ public java.util.concurrent.Future listFsuDisco return clientCall(request, ListFsuDiscoveryTargetsResponse::builder) .logger(LOG, "listFsuDiscoveryTargets") - .serviceDetails("FleetSoftwareUpdate", "ListFsuDiscoveryTargets", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuDiscoveryTargets", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/TargetSummaryCollection/ListFsuDiscoveryTargets") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuDiscoveryTargetsRequest::builder) .basePath("/20220528") @@ -1110,7 +1191,10 @@ public java.util.concurrent.Future listFsuJobOutputs( return clientCall(request, ListFsuJobOutputsResponse::builder) .logger(LOG, "listFsuJobOutputs") - .serviceDetails("FleetSoftwareUpdate", "ListFsuJobOutputs", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuJobOutputs", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJobOutputSummary/ListFsuJobOutputs") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuJobOutputsRequest::builder) .basePath("/20220528") @@ -1141,7 +1225,10 @@ public java.util.concurrent.Future listFsuJobs( return clientCall(request, ListFsuJobsResponse::builder) .logger(LOG, "listFsuJobs") - .serviceDetails("FleetSoftwareUpdate", "ListFsuJobs", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuJobs", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJobSummary/ListFsuJobs") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuJobsRequest::builder) .basePath("/20220528") @@ -1176,7 +1263,10 @@ public java.util.concurrent.Future listWorkReques return clientCall(request, ListWorkRequestErrorsResponse::builder) .logger(LOG, "listWorkRequestErrors") - .serviceDetails("FleetSoftwareUpdate", "ListWorkRequestErrors", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListWorkRequestErrors", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/WorkRequestError/ListWorkRequestErrors") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListWorkRequestErrorsRequest::builder) .basePath("/20220528") @@ -1210,7 +1300,10 @@ public java.util.concurrent.Future listWorkRequestL return clientCall(request, ListWorkRequestLogsResponse::builder) .logger(LOG, "listWorkRequestLogs") - .serviceDetails("FleetSoftwareUpdate", "ListWorkRequestLogs", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListWorkRequestLogs", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/WorkRequestLogEntry/ListWorkRequestLogs") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListWorkRequestLogsRequest::builder) .basePath("/20220528") @@ -1244,7 +1337,10 @@ public java.util.concurrent.Future listWorkRequests( return clientCall(request, ListWorkRequestsResponse::builder) .logger(LOG, "listWorkRequests") - .serviceDetails("FleetSoftwareUpdate", "ListWorkRequests", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListWorkRequests", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/WorkRequest/ListWorkRequests") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListWorkRequestsRequest::builder) .basePath("/20220528") @@ -1285,7 +1381,10 @@ public java.util.concurrent.Future listWorkRequests( return clientCall(request, RemoveFsuCollectionTargetsResponse::builder) .logger(LOG, "removeFsuCollectionTargets") - .serviceDetails("FleetSoftwareUpdate", "RemoveFsuCollectionTargets", "") + .serviceDetails( + "FleetSoftwareUpdate", + "RemoveFsuCollectionTargets", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollection/RemoveFsuCollectionTargets") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(RemoveFsuCollectionTargetsRequest::builder) .basePath("/20220528") @@ -1316,7 +1415,10 @@ public java.util.concurrent.Future resumeFsuAction( return clientCall(request, ResumeFsuActionResponse::builder) .logger(LOG, "resumeFsuAction") - .serviceDetails("FleetSoftwareUpdate", "ResumeFsuAction", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ResumeFsuAction", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/ResumeFsuAction") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(ResumeFsuActionRequest::builder) .basePath("/20220528") @@ -1343,7 +1445,10 @@ public java.util.concurrent.Future retryFsuJob( return clientCall(request, RetryFsuJobResponse::builder) .logger(LOG, "retryFsuJob") - .serviceDetails("FleetSoftwareUpdate", "RetryFsuJob", "") + .serviceDetails( + "FleetSoftwareUpdate", + "RetryFsuJob", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJob/RetryFsuJob") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(RetryFsuJobRequest::builder) .basePath("/20220528") @@ -1373,7 +1478,10 @@ public java.util.concurrent.Future updateFsuAction( return clientCall(request, UpdateFsuActionResponse::builder) .logger(LOG, "updateFsuAction") - .serviceDetails("FleetSoftwareUpdate", "UpdateFsuAction", "") + .serviceDetails( + "FleetSoftwareUpdate", + "UpdateFsuAction", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/UpdateFsuAction") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(UpdateFsuActionRequest::builder) .basePath("/20220528") @@ -1403,7 +1511,10 @@ public java.util.concurrent.Future updateFsuCollect return clientCall(request, UpdateFsuCollectionResponse::builder) .logger(LOG, "updateFsuCollection") - .serviceDetails("FleetSoftwareUpdate", "UpdateFsuCollection", "") + .serviceDetails( + "FleetSoftwareUpdate", + "UpdateFsuCollection", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollection/UpdateFsuCollection") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(UpdateFsuCollectionRequest::builder) .basePath("/20220528") @@ -1434,7 +1545,10 @@ public java.util.concurrent.Future updateFsuCycle( return clientCall(request, UpdateFsuCycleResponse::builder) .logger(LOG, "updateFsuCycle") - .serviceDetails("FleetSoftwareUpdate", "UpdateFsuCycle", "") + .serviceDetails( + "FleetSoftwareUpdate", + "UpdateFsuCycle", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCycle/UpdateFsuCycle") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(UpdateFsuCycleRequest::builder) .basePath("/20220528") @@ -1464,7 +1578,10 @@ public java.util.concurrent.Future updateFsuDiscover return clientCall(request, UpdateFsuDiscoveryResponse::builder) .logger(LOG, "updateFsuDiscovery") - .serviceDetails("FleetSoftwareUpdate", "UpdateFsuDiscovery", "") + .serviceDetails( + "FleetSoftwareUpdate", + "UpdateFsuDiscovery", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuDiscovery/UpdateFsuDiscovery") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(UpdateFsuDiscoveryRequest::builder) .basePath("/20220528") @@ -1490,7 +1607,10 @@ public java.util.concurrent.Future updateFsuJob( return clientCall(request, UpdateFsuJobResponse::builder) .logger(LOG, "updateFsuJob") - .serviceDetails("FleetSoftwareUpdate", "UpdateFsuJob", "") + .serviceDetails( + "FleetSoftwareUpdate", + "UpdateFsuJob", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJob/UpdateFsuJob") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(UpdateFsuJobRequest::builder) .basePath("/20220528") diff --git a/bmc-fleetsoftwareupdate/src/main/java/com/oracle/bmc/fleetsoftwareupdate/FleetSoftwareUpdateClient.java b/bmc-fleetsoftwareupdate/src/main/java/com/oracle/bmc/fleetsoftwareupdate/FleetSoftwareUpdateClient.java index 3f063a35a32..2619dadee9e 100644 --- a/bmc-fleetsoftwareupdate/src/main/java/com/oracle/bmc/fleetsoftwareupdate/FleetSoftwareUpdateClient.java +++ b/bmc-fleetsoftwareupdate/src/main/java/com/oracle/bmc/fleetsoftwareupdate/FleetSoftwareUpdateClient.java @@ -156,7 +156,10 @@ public AbortFsuDiscoveryResponse abortFsuDiscovery(AbortFsuDiscoveryRequest requ return clientCall(request, AbortFsuDiscoveryResponse::builder) .logger(LOG, "abortFsuDiscovery") - .serviceDetails("FleetSoftwareUpdate", "AbortFsuDiscovery", "") + .serviceDetails( + "FleetSoftwareUpdate", + "AbortFsuDiscovery", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuDiscovery/AbortFsuDiscovery") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(AbortFsuDiscoveryRequest::builder) .basePath("/20220528") @@ -185,7 +188,10 @@ public AddFsuCollectionTargetsResponse addFsuCollectionTargets( return clientCall(request, AddFsuCollectionTargetsResponse::builder) .logger(LOG, "addFsuCollectionTargets") - .serviceDetails("FleetSoftwareUpdate", "AddFsuCollectionTargets", "") + .serviceDetails( + "FleetSoftwareUpdate", + "AddFsuCollectionTargets", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollection/AddFsuCollectionTargets") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(AddFsuCollectionTargetsRequest::builder) .basePath("/20220528") @@ -213,7 +219,10 @@ public CancelFsuActionResponse cancelFsuAction(CancelFsuActionRequest request) { return clientCall(request, CancelFsuActionResponse::builder) .logger(LOG, "cancelFsuAction") - .serviceDetails("FleetSoftwareUpdate", "CancelFsuAction", "") + .serviceDetails( + "FleetSoftwareUpdate", + "CancelFsuAction", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/CancelFsuAction") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CancelFsuActionRequest::builder) .basePath("/20220528") @@ -242,7 +251,10 @@ public ChangeFsuActionCompartmentResponse changeFsuActionCompartment( return clientCall(request, ChangeFsuActionCompartmentResponse::builder) .logger(LOG, "changeFsuActionCompartment") - .serviceDetails("FleetSoftwareUpdate", "ChangeFsuActionCompartment", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ChangeFsuActionCompartment", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/ChangeFsuActionCompartment") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(ChangeFsuActionCompartmentRequest::builder) .basePath("/20220528") @@ -275,7 +287,10 @@ public ChangeFsuCollectionCompartmentResponse changeFsuCollectionCompartment( return clientCall(request, ChangeFsuCollectionCompartmentResponse::builder) .logger(LOG, "changeFsuCollectionCompartment") - .serviceDetails("FleetSoftwareUpdate", "ChangeFsuCollectionCompartment", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ChangeFsuCollectionCompartment", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollection/ChangeFsuCollectionCompartment") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(ChangeFsuCollectionCompartmentRequest::builder) .basePath("/20220528") @@ -309,7 +324,10 @@ public ChangeFsuCycleCompartmentResponse changeFsuCycleCompartment( return clientCall(request, ChangeFsuCycleCompartmentResponse::builder) .logger(LOG, "changeFsuCycleCompartment") - .serviceDetails("FleetSoftwareUpdate", "ChangeFsuCycleCompartment", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ChangeFsuCycleCompartment", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCycle/ChangeFsuCycleCompartment") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(ChangeFsuCycleCompartmentRequest::builder) .basePath("/20220528") @@ -342,7 +360,10 @@ public ChangeFsuDiscoveryCompartmentResponse changeFsuDiscoveryCompartment( return clientCall(request, ChangeFsuDiscoveryCompartmentResponse::builder) .logger(LOG, "changeFsuDiscoveryCompartment") - .serviceDetails("FleetSoftwareUpdate", "ChangeFsuDiscoveryCompartment", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ChangeFsuDiscoveryCompartment", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuDiscovery/ChangeFsuDiscoveryCompartment") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(ChangeFsuDiscoveryCompartmentRequest::builder) .basePath("/20220528") @@ -371,7 +392,10 @@ public CloneFsuCycleResponse cloneFsuCycle(CloneFsuCycleRequest request) { return clientCall(request, CloneFsuCycleResponse::builder) .logger(LOG, "cloneFsuCycle") - .serviceDetails("FleetSoftwareUpdate", "CloneFsuCycle", "") + .serviceDetails( + "FleetSoftwareUpdate", + "CloneFsuCycle", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCycle/CloneFsuCycle") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CloneFsuCycleRequest::builder) .basePath("/20220528") @@ -522,7 +546,10 @@ public DeleteFsuActionResponse deleteFsuAction(DeleteFsuActionRequest request) { return clientCall(request, DeleteFsuActionResponse::builder) .logger(LOG, "deleteFsuAction") - .serviceDetails("FleetSoftwareUpdate", "DeleteFsuAction", "") + .serviceDetails( + "FleetSoftwareUpdate", + "DeleteFsuAction", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/DeleteFsuAction") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteFsuActionRequest::builder) .basePath("/20220528") @@ -546,7 +573,10 @@ public DeleteFsuCollectionResponse deleteFsuCollection(DeleteFsuCollectionReques return clientCall(request, DeleteFsuCollectionResponse::builder) .logger(LOG, "deleteFsuCollection") - .serviceDetails("FleetSoftwareUpdate", "DeleteFsuCollection", "") + .serviceDetails( + "FleetSoftwareUpdate", + "DeleteFsuCollection", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollection/DeleteFsuCollection") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteFsuCollectionRequest::builder) .basePath("/20220528") @@ -571,7 +601,10 @@ public DeleteFsuCycleResponse deleteFsuCycle(DeleteFsuCycleRequest request) { return clientCall(request, DeleteFsuCycleResponse::builder) .logger(LOG, "deleteFsuCycle") - .serviceDetails("FleetSoftwareUpdate", "DeleteFsuCycle", "") + .serviceDetails( + "FleetSoftwareUpdate", + "DeleteFsuCycle", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCycle/DeleteFsuCycle") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteFsuCycleRequest::builder) .basePath("/20220528") @@ -595,7 +628,10 @@ public DeleteFsuDiscoveryResponse deleteFsuDiscovery(DeleteFsuDiscoveryRequest r return clientCall(request, DeleteFsuDiscoveryResponse::builder) .logger(LOG, "deleteFsuDiscovery") - .serviceDetails("FleetSoftwareUpdate", "DeleteFsuDiscovery", "") + .serviceDetails( + "FleetSoftwareUpdate", + "DeleteFsuDiscovery", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuDiscovery/DeleteFsuDiscovery") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteFsuDiscoveryRequest::builder) .basePath("/20220528") @@ -619,7 +655,10 @@ public DeleteFsuJobResponse deleteFsuJob(DeleteFsuJobRequest request) { return clientCall(request, DeleteFsuJobResponse::builder) .logger(LOG, "deleteFsuJob") - .serviceDetails("FleetSoftwareUpdate", "DeleteFsuJob", "") + .serviceDetails( + "FleetSoftwareUpdate", + "DeleteFsuJob", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJob/DeleteFsuJob") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteFsuJobRequest::builder) .basePath("/20220528") @@ -641,7 +680,10 @@ public GetFsuActionResponse getFsuAction(GetFsuActionRequest request) { return clientCall(request, GetFsuActionResponse::builder) .logger(LOG, "getFsuAction") - .serviceDetails("FleetSoftwareUpdate", "GetFsuAction", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuAction", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/GetFsuAction") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuActionRequest::builder) .basePath("/20220528") @@ -667,7 +709,10 @@ public GetFsuActionOutputContentResponse getFsuActionOutputContent( return clientCall(request, GetFsuActionOutputContentResponse::builder) .logger(LOG, "getFsuActionOutputContent") - .serviceDetails("FleetSoftwareUpdate", "GetFsuActionOutputContent", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuActionOutputContent", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/GetFsuActionOutputContent") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuActionOutputContentRequest::builder) .basePath("/20220528") @@ -693,7 +738,10 @@ public GetFsuCollectionResponse getFsuCollection(GetFsuCollectionRequest request return clientCall(request, GetFsuCollectionResponse::builder) .logger(LOG, "getFsuCollection") - .serviceDetails("FleetSoftwareUpdate", "GetFsuCollection", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuCollection", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollection/GetFsuCollection") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuCollectionRequest::builder) .basePath("/20220528") @@ -718,7 +766,10 @@ public GetFsuCycleResponse getFsuCycle(GetFsuCycleRequest request) { return clientCall(request, GetFsuCycleResponse::builder) .logger(LOG, "getFsuCycle") - .serviceDetails("FleetSoftwareUpdate", "GetFsuCycle", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuCycle", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCycle/GetFsuCycle") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuCycleRequest::builder) .basePath("/20220528") @@ -743,7 +794,10 @@ public GetFsuDiscoveryResponse getFsuDiscovery(GetFsuDiscoveryRequest request) { return clientCall(request, GetFsuDiscoveryResponse::builder) .logger(LOG, "getFsuDiscovery") - .serviceDetails("FleetSoftwareUpdate", "GetFsuDiscovery", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuDiscovery", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuDiscovery/GetFsuDiscovery") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuDiscoveryRequest::builder) .basePath("/20220528") @@ -768,7 +822,10 @@ public GetFsuJobResponse getFsuJob(GetFsuJobRequest request) { return clientCall(request, GetFsuJobResponse::builder) .logger(LOG, "getFsuJob") - .serviceDetails("FleetSoftwareUpdate", "GetFsuJob", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuJob", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJob/GetFsuJob") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuJobRequest::builder) .basePath("/20220528") @@ -794,7 +851,10 @@ public GetFsuJobOutputContentResponse getFsuJobOutputContent( return clientCall(request, GetFsuJobOutputContentResponse::builder) .logger(LOG, "getFsuJobOutputContent") - .serviceDetails("FleetSoftwareUpdate", "GetFsuJobOutputContent", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetFsuJobOutputContent", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJob/GetFsuJobOutputContent") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetFsuJobOutputContentRequest::builder) .basePath("/20220528") @@ -820,7 +880,10 @@ public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) { return clientCall(request, GetWorkRequestResponse::builder) .logger(LOG, "getWorkRequest") - .serviceDetails("FleetSoftwareUpdate", "GetWorkRequest", "") + .serviceDetails( + "FleetSoftwareUpdate", + "GetWorkRequest", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/WorkRequest/GetWorkRequest") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetWorkRequestRequest::builder) .basePath("/20220528") @@ -846,7 +909,10 @@ public ListFsuActionsResponse listFsuActions(ListFsuActionsRequest request) { return clientCall(request, ListFsuActionsResponse::builder) .logger(LOG, "listFsuActions") - .serviceDetails("FleetSoftwareUpdate", "ListFsuActions", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuActions", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuActionSummaryCollection/ListFsuActions") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuActionsRequest::builder) .basePath("/20220528") @@ -881,7 +947,10 @@ public ListFsuCollectionTargetsResponse listFsuCollectionTargets( return clientCall(request, ListFsuCollectionTargetsResponse::builder) .logger(LOG, "listFsuCollectionTargets") - .serviceDetails("FleetSoftwareUpdate", "ListFsuCollectionTargets", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuCollectionTargets", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/TargetSummaryCollection/ListFsuCollectionTargets") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuCollectionTargetsRequest::builder) .basePath("/20220528") @@ -914,7 +983,10 @@ public ListFsuCollectionsResponse listFsuCollections(ListFsuCollectionsRequest r return clientCall(request, ListFsuCollectionsResponse::builder) .logger(LOG, "listFsuCollections") - .serviceDetails("FleetSoftwareUpdate", "ListFsuCollections", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuCollections", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollectionSummaryCollection/ListFsuCollections") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuCollectionsRequest::builder) .basePath("/20220528") @@ -947,7 +1019,10 @@ public ListFsuCyclesResponse listFsuCycles(ListFsuCyclesRequest request) { return clientCall(request, ListFsuCyclesResponse::builder) .logger(LOG, "listFsuCycles") - .serviceDetails("FleetSoftwareUpdate", "ListFsuCycles", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuCycles", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCycleSummary/ListFsuCycles") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuCyclesRequest::builder) .basePath("/20220528") @@ -981,7 +1056,10 @@ public ListFsuDiscoveriesResponse listFsuDiscoveries(ListFsuDiscoveriesRequest r return clientCall(request, ListFsuDiscoveriesResponse::builder) .logger(LOG, "listFsuDiscoveries") - .serviceDetails("FleetSoftwareUpdate", "ListFsuDiscoveries", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuDiscoveries", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuDiscoverySummary/ListFsuDiscoveries") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuDiscoveriesRequest::builder) .basePath("/20220528") @@ -1015,7 +1093,10 @@ public ListFsuDiscoveryTargetsResponse listFsuDiscoveryTargets( return clientCall(request, ListFsuDiscoveryTargetsResponse::builder) .logger(LOG, "listFsuDiscoveryTargets") - .serviceDetails("FleetSoftwareUpdate", "ListFsuDiscoveryTargets", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuDiscoveryTargets", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/TargetSummaryCollection/ListFsuDiscoveryTargets") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuDiscoveryTargetsRequest::builder) .basePath("/20220528") @@ -1049,7 +1130,10 @@ public ListFsuJobOutputsResponse listFsuJobOutputs(ListFsuJobOutputsRequest requ return clientCall(request, ListFsuJobOutputsResponse::builder) .logger(LOG, "listFsuJobOutputs") - .serviceDetails("FleetSoftwareUpdate", "ListFsuJobOutputs", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuJobOutputs", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJobOutputSummary/ListFsuJobOutputs") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuJobOutputsRequest::builder) .basePath("/20220528") @@ -1078,7 +1162,10 @@ public ListFsuJobsResponse listFsuJobs(ListFsuJobsRequest request) { return clientCall(request, ListFsuJobsResponse::builder) .logger(LOG, "listFsuJobs") - .serviceDetails("FleetSoftwareUpdate", "ListFsuJobs", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListFsuJobs", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJobSummary/ListFsuJobs") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListFsuJobsRequest::builder) .basePath("/20220528") @@ -1111,7 +1198,10 @@ public ListWorkRequestErrorsResponse listWorkRequestErrors( return clientCall(request, ListWorkRequestErrorsResponse::builder) .logger(LOG, "listWorkRequestErrors") - .serviceDetails("FleetSoftwareUpdate", "ListWorkRequestErrors", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListWorkRequestErrors", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/WorkRequestError/ListWorkRequestErrors") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListWorkRequestErrorsRequest::builder) .basePath("/20220528") @@ -1142,7 +1232,10 @@ public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsReques return clientCall(request, ListWorkRequestLogsResponse::builder) .logger(LOG, "listWorkRequestLogs") - .serviceDetails("FleetSoftwareUpdate", "ListWorkRequestLogs", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListWorkRequestLogs", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/WorkRequestLogEntry/ListWorkRequestLogs") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListWorkRequestLogsRequest::builder) .basePath("/20220528") @@ -1173,7 +1266,10 @@ public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request return clientCall(request, ListWorkRequestsResponse::builder) .logger(LOG, "listWorkRequests") - .serviceDetails("FleetSoftwareUpdate", "ListWorkRequests", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ListWorkRequests", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/WorkRequest/ListWorkRequests") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListWorkRequestsRequest::builder) .basePath("/20220528") @@ -1210,7 +1306,10 @@ public RemoveFsuCollectionTargetsResponse removeFsuCollectionTargets( return clientCall(request, RemoveFsuCollectionTargetsResponse::builder) .logger(LOG, "removeFsuCollectionTargets") - .serviceDetails("FleetSoftwareUpdate", "RemoveFsuCollectionTargets", "") + .serviceDetails( + "FleetSoftwareUpdate", + "RemoveFsuCollectionTargets", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollection/RemoveFsuCollectionTargets") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(RemoveFsuCollectionTargetsRequest::builder) .basePath("/20220528") @@ -1238,7 +1337,10 @@ public ResumeFsuActionResponse resumeFsuAction(ResumeFsuActionRequest request) { return clientCall(request, ResumeFsuActionResponse::builder) .logger(LOG, "resumeFsuAction") - .serviceDetails("FleetSoftwareUpdate", "ResumeFsuAction", "") + .serviceDetails( + "FleetSoftwareUpdate", + "ResumeFsuAction", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/ResumeFsuAction") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(ResumeFsuActionRequest::builder) .basePath("/20220528") @@ -1263,7 +1365,10 @@ public RetryFsuJobResponse retryFsuJob(RetryFsuJobRequest request) { return clientCall(request, RetryFsuJobResponse::builder) .logger(LOG, "retryFsuJob") - .serviceDetails("FleetSoftwareUpdate", "RetryFsuJob", "") + .serviceDetails( + "FleetSoftwareUpdate", + "RetryFsuJob", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJob/RetryFsuJob") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(RetryFsuJobRequest::builder) .basePath("/20220528") @@ -1290,7 +1395,10 @@ public UpdateFsuActionResponse updateFsuAction(UpdateFsuActionRequest request) { return clientCall(request, UpdateFsuActionResponse::builder) .logger(LOG, "updateFsuAction") - .serviceDetails("FleetSoftwareUpdate", "UpdateFsuAction", "") + .serviceDetails( + "FleetSoftwareUpdate", + "UpdateFsuAction", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuAction/UpdateFsuAction") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(UpdateFsuActionRequest::builder) .basePath("/20220528") @@ -1317,7 +1425,10 @@ public UpdateFsuCollectionResponse updateFsuCollection(UpdateFsuCollectionReques return clientCall(request, UpdateFsuCollectionResponse::builder) .logger(LOG, "updateFsuCollection") - .serviceDetails("FleetSoftwareUpdate", "UpdateFsuCollection", "") + .serviceDetails( + "FleetSoftwareUpdate", + "UpdateFsuCollection", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCollection/UpdateFsuCollection") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(UpdateFsuCollectionRequest::builder) .basePath("/20220528") @@ -1345,7 +1456,10 @@ public UpdateFsuCycleResponse updateFsuCycle(UpdateFsuCycleRequest request) { return clientCall(request, UpdateFsuCycleResponse::builder) .logger(LOG, "updateFsuCycle") - .serviceDetails("FleetSoftwareUpdate", "UpdateFsuCycle", "") + .serviceDetails( + "FleetSoftwareUpdate", + "UpdateFsuCycle", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuCycle/UpdateFsuCycle") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(UpdateFsuCycleRequest::builder) .basePath("/20220528") @@ -1372,7 +1486,10 @@ public UpdateFsuDiscoveryResponse updateFsuDiscovery(UpdateFsuDiscoveryRequest r return clientCall(request, UpdateFsuDiscoveryResponse::builder) .logger(LOG, "updateFsuDiscovery") - .serviceDetails("FleetSoftwareUpdate", "UpdateFsuDiscovery", "") + .serviceDetails( + "FleetSoftwareUpdate", + "UpdateFsuDiscovery", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuDiscovery/UpdateFsuDiscovery") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(UpdateFsuDiscoveryRequest::builder) .basePath("/20220528") @@ -1396,7 +1513,10 @@ public UpdateFsuJobResponse updateFsuJob(UpdateFsuJobRequest request) { return clientCall(request, UpdateFsuJobResponse::builder) .logger(LOG, "updateFsuJob") - .serviceDetails("FleetSoftwareUpdate", "UpdateFsuJob", "") + .serviceDetails( + "FleetSoftwareUpdate", + "UpdateFsuJob", + "https://docs.oracle.com/iaas/api/#/en/edsfu/20220528/FsuJob/UpdateFsuJob") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(UpdateFsuJobRequest::builder) .basePath("/20220528") diff --git a/bmc-full/pom.xml b/bmc-full/pom.xml index 25d8ed5fbb8..3110ed5160d 100644 --- a/bmc-full/pom.xml +++ b/bmc-full/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-full @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.22.0 + 3.23.0 pom import diff --git a/bmc-functions/pom.xml b/bmc-functions/pom.xml index a7f0eb904b6..f94b7e34d33 100644 --- a/bmc-functions/pom.xml +++ b/bmc-functions/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-functions @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-fusionapps/pom.xml b/bmc-fusionapps/pom.xml index 28649bc8d00..50606360942 100644 --- a/bmc-fusionapps/pom.xml +++ b/bmc-fusionapps/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-fusionapps @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-genericartifactscontent/pom.xml b/bmc-genericartifactscontent/pom.xml index cfad3374d39..00caf7d7198 100644 --- a/bmc-genericartifactscontent/pom.xml +++ b/bmc-genericartifactscontent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-genericartifactscontent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-goldengate/pom.xml b/bmc-goldengate/pom.xml index 439017ff85f..1c7666f46ff 100644 --- a/bmc-goldengate/pom.xml +++ b/bmc-goldengate/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-goldengate @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGate.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGate.java index 181d3e243c7..083b5fb69b4 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGate.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGate.java @@ -80,6 +80,23 @@ public interface GoldenGate extends AutoCloseable { */ CancelDeploymentBackupResponse cancelDeploymentBackup(CancelDeploymentBackupRequest request); + /** + * Cancels a DeploymentUpgrade, applicable only for DeploymentUpgrade in Waiting state. When + * provided, If-Match is checked against ETag values of the resource. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * CancelDeploymentUpgrade API. + */ + CancelDeploymentUpgradeResponse cancelDeploymentUpgrade(CancelDeploymentUpgradeRequest request); + /** * Cancel snooze of a DeploymentUpgrade. When provided, If-Match is checked against ETag values * of the resource. @@ -780,6 +797,24 @@ ListDeploymentWalletsOperationsResponse listDeploymentWalletsOperations( */ ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request); + /** + * Reschedules a DeploymentUpgrade, applicable only for DeploymentUpgrade in Waiting state. When + * provided, If-Match is checked against ETag values of the resource. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * RescheduleDeploymentUpgrade API. + */ + RescheduleDeploymentUpgradeResponse rescheduleDeploymentUpgrade( + RescheduleDeploymentUpgradeRequest request); + /** * Restores a Deployment from a Deployment Backup created from the same Deployment. * diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsync.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsync.java index a0e50dc7bbf..1fc623599a1 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsync.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsync.java @@ -75,6 +75,23 @@ java.util.concurrent.Future cancelDeploymentBack CancelDeploymentBackupRequest, CancelDeploymentBackupResponse> handler); + /** + * Cancels a DeploymentUpgrade, applicable only for DeploymentUpgrade in Waiting state. When + * provided, If-Match is checked against ETag values of the resource. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future cancelDeploymentUpgrade( + CancelDeploymentUpgradeRequest request, + com.oracle.bmc.responses.AsyncHandler< + CancelDeploymentUpgradeRequest, CancelDeploymentUpgradeResponse> + handler); + /** * Cancel snooze of a DeploymentUpgrade. When provided, If-Match is checked against ETag values * of the resource. @@ -763,6 +780,23 @@ java.util.concurrent.Future listWorkRequests( com.oracle.bmc.responses.AsyncHandler handler); + /** + * Reschedules a DeploymentUpgrade, applicable only for DeploymentUpgrade in Waiting state. When + * provided, If-Match is checked against ETag values of the resource. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future rescheduleDeploymentUpgrade( + RescheduleDeploymentUpgradeRequest request, + com.oracle.bmc.responses.AsyncHandler< + RescheduleDeploymentUpgradeRequest, RescheduleDeploymentUpgradeResponse> + handler); + /** * Restores a Deployment from a Deployment Backup created from the same Deployment. * diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsyncClient.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsyncClient.java index adda3b8c33d..63077d226ad 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsyncClient.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateAsyncClient.java @@ -130,6 +130,46 @@ public java.util.concurrent.Future cancelDeploym .callAsync(handler); } + @Override + public java.util.concurrent.Future cancelDeploymentUpgrade( + CancelDeploymentUpgradeRequest request, + final com.oracle.bmc.responses.AsyncHandler< + CancelDeploymentUpgradeRequest, CancelDeploymentUpgradeResponse> + handler) { + + Validate.notBlank( + request.getDeploymentUpgradeId(), "deploymentUpgradeId must not be blank"); + Objects.requireNonNull( + request.getCancelDeploymentUpgradeDetails(), + "cancelDeploymentUpgradeDetails is required"); + + return clientCall(request, CancelDeploymentUpgradeResponse::builder) + .logger(LOG, "cancelDeploymentUpgrade") + .serviceDetails( + "GoldenGate", + "CancelDeploymentUpgrade", + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentUpgrade/CancelDeploymentUpgrade") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CancelDeploymentUpgradeRequest::builder) + .basePath("/20200407") + .appendPathParam("deploymentUpgrades") + .appendPathParam(request.getDeploymentUpgradeId()) + .appendPathParam("actions") + .appendPathParam("cancel") + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.goldengate.model.DeploymentUpgrade.class, + CancelDeploymentUpgradeResponse.Builder::deploymentUpgrade) + .handleResponseHeaderString("etag", CancelDeploymentUpgradeResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", CancelDeploymentUpgradeResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future cancelSnoozeDeploymentUpgrade( @@ -1661,6 +1701,49 @@ public java.util.concurrent.Future listWorkRequests( .callAsync(handler); } + @Override + public java.util.concurrent.Future + rescheduleDeploymentUpgrade( + RescheduleDeploymentUpgradeRequest request, + final com.oracle.bmc.responses.AsyncHandler< + RescheduleDeploymentUpgradeRequest, + RescheduleDeploymentUpgradeResponse> + handler) { + + Validate.notBlank( + request.getDeploymentUpgradeId(), "deploymentUpgradeId must not be blank"); + Objects.requireNonNull( + request.getRescheduleDeploymentUpgradeDetails(), + "rescheduleDeploymentUpgradeDetails is required"); + + return clientCall(request, RescheduleDeploymentUpgradeResponse::builder) + .logger(LOG, "rescheduleDeploymentUpgrade") + .serviceDetails( + "GoldenGate", + "RescheduleDeploymentUpgrade", + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentUpgrade/RescheduleDeploymentUpgrade") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(RescheduleDeploymentUpgradeRequest::builder) + .basePath("/20200407") + .appendPathParam("deploymentUpgrades") + .appendPathParam(request.getDeploymentUpgradeId()) + .appendPathParam("actions") + .appendPathParam("reschedule") + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.goldengate.model.DeploymentUpgrade.class, + RescheduleDeploymentUpgradeResponse.Builder::deploymentUpgrade) + .handleResponseHeaderString( + "etag", RescheduleDeploymentUpgradeResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", RescheduleDeploymentUpgradeResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future restoreDeployment( RestoreDeploymentRequest request, diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateClient.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateClient.java index 7859ae2dd83..174d8edd300 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateClient.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/GoldenGateClient.java @@ -156,6 +156,44 @@ public CancelDeploymentBackupResponse cancelDeploymentBackup( .callSync(); } + @Override + public CancelDeploymentUpgradeResponse cancelDeploymentUpgrade( + CancelDeploymentUpgradeRequest request) { + + Validate.notBlank( + request.getDeploymentUpgradeId(), "deploymentUpgradeId must not be blank"); + Objects.requireNonNull( + request.getCancelDeploymentUpgradeDetails(), + "cancelDeploymentUpgradeDetails is required"); + + return clientCall(request, CancelDeploymentUpgradeResponse::builder) + .logger(LOG, "cancelDeploymentUpgrade") + .serviceDetails( + "GoldenGate", + "CancelDeploymentUpgrade", + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentUpgrade/CancelDeploymentUpgrade") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CancelDeploymentUpgradeRequest::builder) + .basePath("/20200407") + .appendPathParam("deploymentUpgrades") + .appendPathParam(request.getDeploymentUpgradeId()) + .appendPathParam("actions") + .appendPathParam("cancel") + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.goldengate.model.DeploymentUpgrade.class, + CancelDeploymentUpgradeResponse.Builder::deploymentUpgrade) + .handleResponseHeaderString("etag", CancelDeploymentUpgradeResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", CancelDeploymentUpgradeResponse.Builder::opcRequestId) + .operationUsesDefaultRetries() + .callSync(); + } + @Override public CancelSnoozeDeploymentUpgradeResponse cancelSnoozeDeploymentUpgrade( CancelSnoozeDeploymentUpgradeRequest request) { @@ -1566,6 +1604,45 @@ public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request .callSync(); } + @Override + public RescheduleDeploymentUpgradeResponse rescheduleDeploymentUpgrade( + RescheduleDeploymentUpgradeRequest request) { + + Validate.notBlank( + request.getDeploymentUpgradeId(), "deploymentUpgradeId must not be blank"); + Objects.requireNonNull( + request.getRescheduleDeploymentUpgradeDetails(), + "rescheduleDeploymentUpgradeDetails is required"); + + return clientCall(request, RescheduleDeploymentUpgradeResponse::builder) + .logger(LOG, "rescheduleDeploymentUpgrade") + .serviceDetails( + "GoldenGate", + "RescheduleDeploymentUpgrade", + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentUpgrade/RescheduleDeploymentUpgrade") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(RescheduleDeploymentUpgradeRequest::builder) + .basePath("/20200407") + .appendPathParam("deploymentUpgrades") + .appendPathParam(request.getDeploymentUpgradeId()) + .appendPathParam("actions") + .appendPathParam("reschedule") + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.goldengate.model.DeploymentUpgrade.class, + RescheduleDeploymentUpgradeResponse.Builder::deploymentUpgrade) + .handleResponseHeaderString( + "etag", RescheduleDeploymentUpgradeResponse.Builder::etag) + .handleResponseHeaderString( + "opc-request-id", RescheduleDeploymentUpgradeResponse.Builder::opcRequestId) + .operationUsesDefaultRetries() + .callSync(); + } + @Override public RestoreDeploymentResponse restoreDeployment(RestoreDeploymentRequest request) { diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CancelDeploymentUpgradeDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CancelDeploymentUpgradeDetails.java new file mode 100644 index 00000000000..335ce50e399 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CancelDeploymentUpgradeDetails.java @@ -0,0 +1,78 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.model; + +/** + * The information about canceling.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type", + defaultImpl = CancelDeploymentUpgradeDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = DefaultCancelDeploymentUpgradeDetails.class, + name = "DEFAULT") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class CancelDeploymentUpgradeDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected CancelDeploymentUpgradeDetails() { + super(); + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CancelDeploymentUpgradeDetails("); + sb.append("super=").append(super.toString()); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CancelDeploymentUpgradeDetails)) { + return false; + } + + CancelDeploymentUpgradeDetails other = (CancelDeploymentUpgradeDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CancelDeploymentUpgradeType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CancelDeploymentUpgradeType.java new file mode 100644 index 00000000000..9d7d61e783c --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CancelDeploymentUpgradeType.java @@ -0,0 +1,39 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.model; + +/** The cancel type of deploymentUpgrade. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public enum CancelDeploymentUpgradeType implements com.oracle.bmc.http.internal.BmcEnum { + Default("DEFAULT"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (CancelDeploymentUpgradeType v : CancelDeploymentUpgradeType.values()) { + map.put(v.getValue(), v); + } + } + + CancelDeploymentUpgradeType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static CancelDeploymentUpgradeType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid CancelDeploymentUpgradeType: " + key); + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDeploymentDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDeploymentDetails.java index 33b6697530e..04367cce748 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDeploymentDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateDeploymentDetails.java @@ -39,7 +39,8 @@ public final class CreateDeploymentDetails "isAutoScalingEnabled", "deploymentType", "oggData", - "maintenanceWindow" + "maintenanceWindow", + "maintenanceConfiguration" }) public CreateDeploymentDetails( String displayName, @@ -57,7 +58,8 @@ public CreateDeploymentDetails( Boolean isAutoScalingEnabled, DeploymentType deploymentType, CreateOggDeploymentDetails oggData, - CreateMaintenanceWindowDetails maintenanceWindow) { + CreateMaintenanceWindowDetails maintenanceWindow, + CreateMaintenanceConfigurationDetails maintenanceConfiguration) { super(); this.displayName = displayName; this.licenseModel = licenseModel; @@ -75,6 +77,7 @@ public CreateDeploymentDetails( this.deploymentType = deploymentType; this.oggData = oggData; this.maintenanceWindow = maintenanceWindow; + this.maintenanceConfiguration = maintenanceConfiguration; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -345,6 +348,16 @@ public Builder maintenanceWindow(CreateMaintenanceWindowDetails maintenanceWindo return this; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceConfiguration") + private CreateMaintenanceConfigurationDetails maintenanceConfiguration; + + public Builder maintenanceConfiguration( + CreateMaintenanceConfigurationDetails maintenanceConfiguration) { + this.maintenanceConfiguration = maintenanceConfiguration; + this.__explicitlySet__.add("maintenanceConfiguration"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -366,7 +379,8 @@ public CreateDeploymentDetails build() { this.isAutoScalingEnabled, this.deploymentType, this.oggData, - this.maintenanceWindow); + this.maintenanceWindow, + this.maintenanceConfiguration); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -423,6 +437,9 @@ public Builder copy(CreateDeploymentDetails model) { if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } + if (model.wasPropertyExplicitlySet("maintenanceConfiguration")) { + this.maintenanceConfiguration(model.getMaintenanceConfiguration()); + } return this; } } @@ -668,6 +685,13 @@ public CreateMaintenanceWindowDetails getMaintenanceWindow() { return maintenanceWindow; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceConfiguration") + private final CreateMaintenanceConfigurationDetails maintenanceConfiguration; + + public CreateMaintenanceConfigurationDetails getMaintenanceConfiguration() { + return maintenanceConfiguration; + } + @Override public String toString() { return this.toString(true); @@ -699,6 +723,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", deploymentType=").append(String.valueOf(this.deploymentType)); sb.append(", oggData=").append(String.valueOf(this.oggData)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); + sb.append(", maintenanceConfiguration=") + .append(String.valueOf(this.maintenanceConfiguration)); sb.append(")"); return sb.toString(); } @@ -729,6 +755,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.deploymentType, other.deploymentType) && java.util.Objects.equals(this.oggData, other.oggData) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) + && java.util.Objects.equals( + this.maintenanceConfiguration, other.maintenanceConfiguration) && super.equals(other); } @@ -766,6 +794,11 @@ public int hashCode() { result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); + result = + (result * PRIME) + + (this.maintenanceConfiguration == null + ? 43 + : this.maintenanceConfiguration.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMaintenanceConfigurationDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMaintenanceConfigurationDetails.java new file mode 100644 index 00000000000..586353afd88 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/CreateMaintenanceConfigurationDetails.java @@ -0,0 +1,385 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.model; + +/** + * Defines the maintenance configuration for create operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateMaintenanceConfigurationDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateMaintenanceConfigurationDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "isInterimReleaseAutoUpgradeEnabled", + "interimReleaseUpgradePeriodInDays", + "bundleReleaseUpgradePeriodInDays", + "majorReleaseUpgradePeriodInDays", + "securityPatchUpgradePeriodInDays" + }) + public CreateMaintenanceConfigurationDetails( + Boolean isInterimReleaseAutoUpgradeEnabled, + Integer interimReleaseUpgradePeriodInDays, + Integer bundleReleaseUpgradePeriodInDays, + Integer majorReleaseUpgradePeriodInDays, + Integer securityPatchUpgradePeriodInDays) { + super(); + this.isInterimReleaseAutoUpgradeEnabled = isInterimReleaseAutoUpgradeEnabled; + this.interimReleaseUpgradePeriodInDays = interimReleaseUpgradePeriodInDays; + this.bundleReleaseUpgradePeriodInDays = bundleReleaseUpgradePeriodInDays; + this.majorReleaseUpgradePeriodInDays = majorReleaseUpgradePeriodInDays; + this.securityPatchUpgradePeriodInDays = securityPatchUpgradePeriodInDays; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled + * for interim release, you have to specify interimReleaseUpgradePeriodInDays too. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isInterimReleaseAutoUpgradeEnabled") + private Boolean isInterimReleaseAutoUpgradeEnabled; + + /** + * By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled + * for interim release, you have to specify interimReleaseUpgradePeriodInDays too. + * + * @param isInterimReleaseAutoUpgradeEnabled the value to set + * @return this builder + */ + public Builder isInterimReleaseAutoUpgradeEnabled( + Boolean isInterimReleaseAutoUpgradeEnabled) { + this.isInterimReleaseAutoUpgradeEnabled = isInterimReleaseAutoUpgradeEnabled; + this.__explicitlySet__.add("isInterimReleaseAutoUpgradeEnabled"); + return this; + } + /** + * Defines auto upgrade period for interim releases. This period must be shorter or equal to + * bundle release upgrade period. + */ + @com.fasterxml.jackson.annotation.JsonProperty("interimReleaseUpgradePeriodInDays") + private Integer interimReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for interim releases. This period must be shorter or equal to + * bundle release upgrade period. + * + * @param interimReleaseUpgradePeriodInDays the value to set + * @return this builder + */ + public Builder interimReleaseUpgradePeriodInDays( + Integer interimReleaseUpgradePeriodInDays) { + this.interimReleaseUpgradePeriodInDays = interimReleaseUpgradePeriodInDays; + this.__explicitlySet__.add("interimReleaseUpgradePeriodInDays"); + return this; + } + /** + * Defines auto upgrade period for bundle releases. Manually configured period cannot be + * longer than service defined period for bundle releases. This period must be shorter or + * equal to major release upgrade period. Not passing this field during create will equate + * to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bundleReleaseUpgradePeriodInDays") + private Integer bundleReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for bundle releases. Manually configured period cannot be + * longer than service defined period for bundle releases. This period must be shorter or + * equal to major release upgrade period. Not passing this field during create will equate + * to using the service default. + * + * @param bundleReleaseUpgradePeriodInDays the value to set + * @return this builder + */ + public Builder bundleReleaseUpgradePeriodInDays(Integer bundleReleaseUpgradePeriodInDays) { + this.bundleReleaseUpgradePeriodInDays = bundleReleaseUpgradePeriodInDays; + this.__explicitlySet__.add("bundleReleaseUpgradePeriodInDays"); + return this; + } + /** + * Defines auto upgrade period for major releases. Manually configured period cannot be + * longer than service defined period for major releases. Not passing this field during + * create will equate to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("majorReleaseUpgradePeriodInDays") + private Integer majorReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for major releases. Manually configured period cannot be + * longer than service defined period for major releases. Not passing this field during + * create will equate to using the service default. + * + * @param majorReleaseUpgradePeriodInDays the value to set + * @return this builder + */ + public Builder majorReleaseUpgradePeriodInDays(Integer majorReleaseUpgradePeriodInDays) { + this.majorReleaseUpgradePeriodInDays = majorReleaseUpgradePeriodInDays; + this.__explicitlySet__.add("majorReleaseUpgradePeriodInDays"); + return this; + } + /** + * Defines auto upgrade period for releases with security fix. Manually configured period + * cannot be longer than service defined period for security releases. Not passing this + * field during create will equate to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityPatchUpgradePeriodInDays") + private Integer securityPatchUpgradePeriodInDays; + + /** + * Defines auto upgrade period for releases with security fix. Manually configured period + * cannot be longer than service defined period for security releases. Not passing this + * field during create will equate to using the service default. + * + * @param securityPatchUpgradePeriodInDays the value to set + * @return this builder + */ + public Builder securityPatchUpgradePeriodInDays(Integer securityPatchUpgradePeriodInDays) { + this.securityPatchUpgradePeriodInDays = securityPatchUpgradePeriodInDays; + this.__explicitlySet__.add("securityPatchUpgradePeriodInDays"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateMaintenanceConfigurationDetails build() { + CreateMaintenanceConfigurationDetails model = + new CreateMaintenanceConfigurationDetails( + this.isInterimReleaseAutoUpgradeEnabled, + this.interimReleaseUpgradePeriodInDays, + this.bundleReleaseUpgradePeriodInDays, + this.majorReleaseUpgradePeriodInDays, + this.securityPatchUpgradePeriodInDays); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateMaintenanceConfigurationDetails model) { + if (model.wasPropertyExplicitlySet("isInterimReleaseAutoUpgradeEnabled")) { + this.isInterimReleaseAutoUpgradeEnabled( + model.getIsInterimReleaseAutoUpgradeEnabled()); + } + if (model.wasPropertyExplicitlySet("interimReleaseUpgradePeriodInDays")) { + this.interimReleaseUpgradePeriodInDays( + model.getInterimReleaseUpgradePeriodInDays()); + } + if (model.wasPropertyExplicitlySet("bundleReleaseUpgradePeriodInDays")) { + this.bundleReleaseUpgradePeriodInDays(model.getBundleReleaseUpgradePeriodInDays()); + } + if (model.wasPropertyExplicitlySet("majorReleaseUpgradePeriodInDays")) { + this.majorReleaseUpgradePeriodInDays(model.getMajorReleaseUpgradePeriodInDays()); + } + if (model.wasPropertyExplicitlySet("securityPatchUpgradePeriodInDays")) { + this.securityPatchUpgradePeriodInDays(model.getSecurityPatchUpgradePeriodInDays()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled for + * interim release, you have to specify interimReleaseUpgradePeriodInDays too. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isInterimReleaseAutoUpgradeEnabled") + private final Boolean isInterimReleaseAutoUpgradeEnabled; + + /** + * By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled for + * interim release, you have to specify interimReleaseUpgradePeriodInDays too. + * + * @return the value + */ + public Boolean getIsInterimReleaseAutoUpgradeEnabled() { + return isInterimReleaseAutoUpgradeEnabled; + } + + /** + * Defines auto upgrade period for interim releases. This period must be shorter or equal to + * bundle release upgrade period. + */ + @com.fasterxml.jackson.annotation.JsonProperty("interimReleaseUpgradePeriodInDays") + private final Integer interimReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for interim releases. This period must be shorter or equal to + * bundle release upgrade period. + * + * @return the value + */ + public Integer getInterimReleaseUpgradePeriodInDays() { + return interimReleaseUpgradePeriodInDays; + } + + /** + * Defines auto upgrade period for bundle releases. Manually configured period cannot be longer + * than service defined period for bundle releases. This period must be shorter or equal to + * major release upgrade period. Not passing this field during create will equate to using the + * service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bundleReleaseUpgradePeriodInDays") + private final Integer bundleReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for bundle releases. Manually configured period cannot be longer + * than service defined period for bundle releases. This period must be shorter or equal to + * major release upgrade period. Not passing this field during create will equate to using the + * service default. + * + * @return the value + */ + public Integer getBundleReleaseUpgradePeriodInDays() { + return bundleReleaseUpgradePeriodInDays; + } + + /** + * Defines auto upgrade period for major releases. Manually configured period cannot be longer + * than service defined period for major releases. Not passing this field during create will + * equate to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("majorReleaseUpgradePeriodInDays") + private final Integer majorReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for major releases. Manually configured period cannot be longer + * than service defined period for major releases. Not passing this field during create will + * equate to using the service default. + * + * @return the value + */ + public Integer getMajorReleaseUpgradePeriodInDays() { + return majorReleaseUpgradePeriodInDays; + } + + /** + * Defines auto upgrade period for releases with security fix. Manually configured period cannot + * be longer than service defined period for security releases. Not passing this field during + * create will equate to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityPatchUpgradePeriodInDays") + private final Integer securityPatchUpgradePeriodInDays; + + /** + * Defines auto upgrade period for releases with security fix. Manually configured period cannot + * be longer than service defined period for security releases. Not passing this field during + * create will equate to using the service default. + * + * @return the value + */ + public Integer getSecurityPatchUpgradePeriodInDays() { + return securityPatchUpgradePeriodInDays; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CreateMaintenanceConfigurationDetails("); + sb.append("super=").append(super.toString()); + sb.append("isInterimReleaseAutoUpgradeEnabled=") + .append(String.valueOf(this.isInterimReleaseAutoUpgradeEnabled)); + sb.append(", interimReleaseUpgradePeriodInDays=") + .append(String.valueOf(this.interimReleaseUpgradePeriodInDays)); + sb.append(", bundleReleaseUpgradePeriodInDays=") + .append(String.valueOf(this.bundleReleaseUpgradePeriodInDays)); + sb.append(", majorReleaseUpgradePeriodInDays=") + .append(String.valueOf(this.majorReleaseUpgradePeriodInDays)); + sb.append(", securityPatchUpgradePeriodInDays=") + .append(String.valueOf(this.securityPatchUpgradePeriodInDays)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateMaintenanceConfigurationDetails)) { + return false; + } + + CreateMaintenanceConfigurationDetails other = (CreateMaintenanceConfigurationDetails) o; + return java.util.Objects.equals( + this.isInterimReleaseAutoUpgradeEnabled, + other.isInterimReleaseAutoUpgradeEnabled) + && java.util.Objects.equals( + this.interimReleaseUpgradePeriodInDays, + other.interimReleaseUpgradePeriodInDays) + && java.util.Objects.equals( + this.bundleReleaseUpgradePeriodInDays, + other.bundleReleaseUpgradePeriodInDays) + && java.util.Objects.equals( + this.majorReleaseUpgradePeriodInDays, other.majorReleaseUpgradePeriodInDays) + && java.util.Objects.equals( + this.securityPatchUpgradePeriodInDays, + other.securityPatchUpgradePeriodInDays) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.isInterimReleaseAutoUpgradeEnabled == null + ? 43 + : this.isInterimReleaseAutoUpgradeEnabled.hashCode()); + result = + (result * PRIME) + + (this.interimReleaseUpgradePeriodInDays == null + ? 43 + : this.interimReleaseUpgradePeriodInDays.hashCode()); + result = + (result * PRIME) + + (this.bundleReleaseUpgradePeriodInDays == null + ? 43 + : this.bundleReleaseUpgradePeriodInDays.hashCode()); + result = + (result * PRIME) + + (this.majorReleaseUpgradePeriodInDays == null + ? 43 + : this.majorReleaseUpgradePeriodInDays.hashCode()); + result = + (result * PRIME) + + (this.securityPatchUpgradePeriodInDays == null + ? 43 + : this.securityPatchUpgradePeriodInDays.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DefaultCancelDeploymentUpgradeDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DefaultCancelDeploymentUpgradeDetails.java new file mode 100644 index 00000000000..e617497786c --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DefaultCancelDeploymentUpgradeDetails.java @@ -0,0 +1,101 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.model; + +/** + * Definition of the additional attributes for default deployment upgrade cancel.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = DefaultCancelDeploymentUpgradeDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class DefaultCancelDeploymentUpgradeDetails extends CancelDeploymentUpgradeDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public DefaultCancelDeploymentUpgradeDetails build() { + DefaultCancelDeploymentUpgradeDetails model = + new DefaultCancelDeploymentUpgradeDetails(); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(DefaultCancelDeploymentUpgradeDetails model) { + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public DefaultCancelDeploymentUpgradeDetails() { + super(); + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("DefaultCancelDeploymentUpgradeDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DefaultCancelDeploymentUpgradeDetails)) { + return false; + } + + DefaultCancelDeploymentUpgradeDetails other = (DefaultCancelDeploymentUpgradeDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Deployment.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Deployment.java index 57da788b59a..a7c7f493b6d 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Deployment.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/Deployment.java @@ -57,7 +57,9 @@ public final class Deployment extends com.oracle.bmc.http.client.internal.Explic "maintenanceWindow", "timeOfNextMaintenance", "nextMaintenanceActionType", - "nextMaintenanceDescription" + "nextMaintenanceDescription", + "maintenanceConfiguration", + "timeOggVersionSupportedUntil" }) public Deployment( String id, @@ -94,7 +96,9 @@ public Deployment( MaintenanceWindow maintenanceWindow, java.util.Date timeOfNextMaintenance, MaintenanceActionType nextMaintenanceActionType, - String nextMaintenanceDescription) { + String nextMaintenanceDescription, + MaintenanceConfiguration maintenanceConfiguration, + java.util.Date timeOggVersionSupportedUntil) { super(); this.id = id; this.displayName = displayName; @@ -131,6 +135,8 @@ public Deployment( this.timeOfNextMaintenance = timeOfNextMaintenance; this.nextMaintenanceActionType = nextMaintenanceActionType; this.nextMaintenanceDescription = nextMaintenanceDescription; + this.maintenanceConfiguration = maintenanceConfiguration; + this.timeOggVersionSupportedUntil = timeOggVersionSupportedUntil; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -735,6 +741,36 @@ public Builder nextMaintenanceDescription(String nextMaintenanceDescription) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceConfiguration") + private MaintenanceConfiguration maintenanceConfiguration; + + public Builder maintenanceConfiguration(MaintenanceConfiguration maintenanceConfiguration) { + this.maintenanceConfiguration = maintenanceConfiguration; + this.__explicitlySet__.add("maintenanceConfiguration"); + return this; + } + /** + * The time until OGG version is supported. After this date has passed OGG version will not + * be available anymore. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeOggVersionSupportedUntil") + private java.util.Date timeOggVersionSupportedUntil; + + /** + * The time until OGG version is supported. After this date has passed OGG version will not + * be available anymore. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + * + * @param timeOggVersionSupportedUntil the value to set + * @return this builder + */ + public Builder timeOggVersionSupportedUntil(java.util.Date timeOggVersionSupportedUntil) { + this.timeOggVersionSupportedUntil = timeOggVersionSupportedUntil; + this.__explicitlySet__.add("timeOggVersionSupportedUntil"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -775,7 +811,9 @@ public Deployment build() { this.maintenanceWindow, this.timeOfNextMaintenance, this.nextMaintenanceActionType, - this.nextMaintenanceDescription); + this.nextMaintenanceDescription, + this.maintenanceConfiguration, + this.timeOggVersionSupportedUntil); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -890,6 +928,12 @@ public Builder copy(Deployment model) { if (model.wasPropertyExplicitlySet("nextMaintenanceDescription")) { this.nextMaintenanceDescription(model.getNextMaintenanceDescription()); } + if (model.wasPropertyExplicitlySet("maintenanceConfiguration")) { + this.maintenanceConfiguration(model.getMaintenanceConfiguration()); + } + if (model.wasPropertyExplicitlySet("timeOggVersionSupportedUntil")) { + this.timeOggVersionSupportedUntil(model.getTimeOggVersionSupportedUntil()); + } return this; } } @@ -1430,6 +1474,32 @@ public String getNextMaintenanceDescription() { return nextMaintenanceDescription; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceConfiguration") + private final MaintenanceConfiguration maintenanceConfiguration; + + public MaintenanceConfiguration getMaintenanceConfiguration() { + return maintenanceConfiguration; + } + + /** + * The time until OGG version is supported. After this date has passed OGG version will not be + * available anymore. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * such as {@code 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeOggVersionSupportedUntil") + private final java.util.Date timeOggVersionSupportedUntil; + + /** + * The time until OGG version is supported. After this date has passed OGG version will not be + * available anymore. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * such as {@code 2016-08-25T21:10:29.600Z}. + * + * @return the value + */ + public java.util.Date getTimeOggVersionSupportedUntil() { + return timeOggVersionSupportedUntil; + } + @Override public String toString() { return this.toString(true); @@ -1485,6 +1555,10 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.nextMaintenanceActionType)); sb.append(", nextMaintenanceDescription=") .append(String.valueOf(this.nextMaintenanceDescription)); + sb.append(", maintenanceConfiguration=") + .append(String.valueOf(this.maintenanceConfiguration)); + sb.append(", timeOggVersionSupportedUntil=") + .append(String.valueOf(this.timeOggVersionSupportedUntil)); sb.append(")"); return sb.toString(); } @@ -1540,6 +1614,10 @@ public boolean equals(Object o) { this.nextMaintenanceActionType, other.nextMaintenanceActionType) && java.util.Objects.equals( this.nextMaintenanceDescription, other.nextMaintenanceDescription) + && java.util.Objects.equals( + this.maintenanceConfiguration, other.maintenanceConfiguration) + && java.util.Objects.equals( + this.timeOggVersionSupportedUntil, other.timeOggVersionSupportedUntil) && super.equals(other); } @@ -1638,6 +1716,16 @@ public int hashCode() { + (this.nextMaintenanceDescription == null ? 43 : this.nextMaintenanceDescription.hashCode()); + result = + (result * PRIME) + + (this.maintenanceConfiguration == null + ? 43 + : this.maintenanceConfiguration.hashCode()); + result = + (result * PRIME) + + (this.timeOggVersionSupportedUntil == null + ? 43 + : this.timeOggVersionSupportedUntil.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentUpgrade.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentUpgrade.java index d8db5248292..22801dde8ce 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentUpgrade.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentUpgrade.java @@ -48,7 +48,11 @@ public final class DeploymentUpgrade "timeReleased", "releaseType", "isSecurityFix", - "isRollbackAllowed" + "isRollbackAllowed", + "timeOggVersionSupportedUntil", + "isCancelAllowed", + "isRescheduleAllowed", + "timeScheduleMax" }) public DeploymentUpgrade( String id, @@ -75,7 +79,11 @@ public DeploymentUpgrade( java.util.Date timeReleased, ReleaseType releaseType, Boolean isSecurityFix, - Boolean isRollbackAllowed) { + Boolean isRollbackAllowed, + java.util.Date timeOggVersionSupportedUntil, + Boolean isCancelAllowed, + Boolean isRescheduleAllowed, + java.util.Date timeScheduleMax) { super(); this.id = id; this.displayName = displayName; @@ -102,6 +110,10 @@ public DeploymentUpgrade( this.releaseType = releaseType; this.isSecurityFix = isSecurityFix; this.isRollbackAllowed = isRollbackAllowed; + this.timeOggVersionSupportedUntil = timeOggVersionSupportedUntil; + this.isCancelAllowed = isCancelAllowed; + this.isRescheduleAllowed = isRescheduleAllowed; + this.timeScheduleMax = timeScheduleMax; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -558,6 +570,86 @@ public Builder isRollbackAllowed(Boolean isRollbackAllowed) { this.__explicitlySet__.add("isRollbackAllowed"); return this; } + /** + * The time until OGG version is supported. After this date has passed OGG version will not + * be available anymore. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeOggVersionSupportedUntil") + private java.util.Date timeOggVersionSupportedUntil; + + /** + * The time until OGG version is supported. After this date has passed OGG version will not + * be available anymore. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + * + * @param timeOggVersionSupportedUntil the value to set + * @return this builder + */ + public Builder timeOggVersionSupportedUntil(java.util.Date timeOggVersionSupportedUntil) { + this.timeOggVersionSupportedUntil = timeOggVersionSupportedUntil; + this.__explicitlySet__.add("timeOggVersionSupportedUntil"); + return this; + } + /** + * Indicates if cancel is allowed. Scheduled upgrade can be cancelled only if target version + * is not forced by service, otherwise only reschedule allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isCancelAllowed") + private Boolean isCancelAllowed; + + /** + * Indicates if cancel is allowed. Scheduled upgrade can be cancelled only if target version + * is not forced by service, otherwise only reschedule allowed. + * + * @param isCancelAllowed the value to set + * @return this builder + */ + public Builder isCancelAllowed(Boolean isCancelAllowed) { + this.isCancelAllowed = isCancelAllowed; + this.__explicitlySet__.add("isCancelAllowed"); + return this; + } + /** + * Indicates if reschedule is allowed. Upgrade can be rescheduled postponed until the end of + * the service defined auto-upgrade period. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isRescheduleAllowed") + private Boolean isRescheduleAllowed; + + /** + * Indicates if reschedule is allowed. Upgrade can be rescheduled postponed until the end of + * the service defined auto-upgrade period. + * + * @param isRescheduleAllowed the value to set + * @return this builder + */ + public Builder isRescheduleAllowed(Boolean isRescheduleAllowed) { + this.isRescheduleAllowed = isRescheduleAllowed; + this.__explicitlySet__.add("isRescheduleAllowed"); + return this; + } + /** + * Indicates the latest time until the deployment upgrade could be rescheduled. The format + * is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code + * 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeScheduleMax") + private java.util.Date timeScheduleMax; + + /** + * Indicates the latest time until the deployment upgrade could be rescheduled. The format + * is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code + * 2016-08-25T21:10:29.600Z}. + * + * @param timeScheduleMax the value to set + * @return this builder + */ + public Builder timeScheduleMax(java.util.Date timeScheduleMax) { + this.timeScheduleMax = timeScheduleMax; + this.__explicitlySet__.add("timeScheduleMax"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -589,7 +681,11 @@ public DeploymentUpgrade build() { this.timeReleased, this.releaseType, this.isSecurityFix, - this.isRollbackAllowed); + this.isRollbackAllowed, + this.timeOggVersionSupportedUntil, + this.isCancelAllowed, + this.isRescheduleAllowed, + this.timeScheduleMax); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -673,6 +769,18 @@ public Builder copy(DeploymentUpgrade model) { if (model.wasPropertyExplicitlySet("isRollbackAllowed")) { this.isRollbackAllowed(model.getIsRollbackAllowed()); } + if (model.wasPropertyExplicitlySet("timeOggVersionSupportedUntil")) { + this.timeOggVersionSupportedUntil(model.getTimeOggVersionSupportedUntil()); + } + if (model.wasPropertyExplicitlySet("isCancelAllowed")) { + this.isCancelAllowed(model.getIsCancelAllowed()); + } + if (model.wasPropertyExplicitlySet("isRescheduleAllowed")) { + this.isRescheduleAllowed(model.getIsRescheduleAllowed()); + } + if (model.wasPropertyExplicitlySet("timeScheduleMax")) { + this.timeScheduleMax(model.getTimeScheduleMax()); + } return this; } } @@ -1087,6 +1195,78 @@ public Boolean getIsRollbackAllowed() { return isRollbackAllowed; } + /** + * The time until OGG version is supported. After this date has passed OGG version will not be + * available anymore. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * such as {@code 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeOggVersionSupportedUntil") + private final java.util.Date timeOggVersionSupportedUntil; + + /** + * The time until OGG version is supported. After this date has passed OGG version will not be + * available anymore. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * such as {@code 2016-08-25T21:10:29.600Z}. + * + * @return the value + */ + public java.util.Date getTimeOggVersionSupportedUntil() { + return timeOggVersionSupportedUntil; + } + + /** + * Indicates if cancel is allowed. Scheduled upgrade can be cancelled only if target version is + * not forced by service, otherwise only reschedule allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isCancelAllowed") + private final Boolean isCancelAllowed; + + /** + * Indicates if cancel is allowed. Scheduled upgrade can be cancelled only if target version is + * not forced by service, otherwise only reschedule allowed. + * + * @return the value + */ + public Boolean getIsCancelAllowed() { + return isCancelAllowed; + } + + /** + * Indicates if reschedule is allowed. Upgrade can be rescheduled postponed until the end of the + * service defined auto-upgrade period. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isRescheduleAllowed") + private final Boolean isRescheduleAllowed; + + /** + * Indicates if reschedule is allowed. Upgrade can be rescheduled postponed until the end of the + * service defined auto-upgrade period. + * + * @return the value + */ + public Boolean getIsRescheduleAllowed() { + return isRescheduleAllowed; + } + + /** + * Indicates the latest time until the deployment upgrade could be rescheduled. The format is + * defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code + * 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeScheduleMax") + private final java.util.Date timeScheduleMax; + + /** + * Indicates the latest time until the deployment upgrade could be rescheduled. The format is + * defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code + * 2016-08-25T21:10:29.600Z}. + * + * @return the value + */ + public java.util.Date getTimeScheduleMax() { + return timeScheduleMax; + } + @Override public String toString() { return this.toString(true); @@ -1127,6 +1307,11 @@ public String toString(boolean includeByteArrayContents) { sb.append(", releaseType=").append(String.valueOf(this.releaseType)); sb.append(", isSecurityFix=").append(String.valueOf(this.isSecurityFix)); sb.append(", isRollbackAllowed=").append(String.valueOf(this.isRollbackAllowed)); + sb.append(", timeOggVersionSupportedUntil=") + .append(String.valueOf(this.timeOggVersionSupportedUntil)); + sb.append(", isCancelAllowed=").append(String.valueOf(this.isCancelAllowed)); + sb.append(", isRescheduleAllowed=").append(String.valueOf(this.isRescheduleAllowed)); + sb.append(", timeScheduleMax=").append(String.valueOf(this.timeScheduleMax)); sb.append(")"); return sb.toString(); } @@ -1166,6 +1351,11 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.releaseType, other.releaseType) && java.util.Objects.equals(this.isSecurityFix, other.isSecurityFix) && java.util.Objects.equals(this.isRollbackAllowed, other.isRollbackAllowed) + && java.util.Objects.equals( + this.timeOggVersionSupportedUntil, other.timeOggVersionSupportedUntil) + && java.util.Objects.equals(this.isCancelAllowed, other.isCancelAllowed) + && java.util.Objects.equals(this.isRescheduleAllowed, other.isRescheduleAllowed) + && java.util.Objects.equals(this.timeScheduleMax, other.timeScheduleMax) && super.equals(other); } @@ -1220,6 +1410,22 @@ public int hashCode() { result = (result * PRIME) + (this.isRollbackAllowed == null ? 43 : this.isRollbackAllowed.hashCode()); + result = + (result * PRIME) + + (this.timeOggVersionSupportedUntil == null + ? 43 + : this.timeOggVersionSupportedUntil.hashCode()); + result = + (result * PRIME) + + (this.isCancelAllowed == null ? 43 : this.isCancelAllowed.hashCode()); + result = + (result * PRIME) + + (this.isRescheduleAllowed == null + ? 43 + : this.isRescheduleAllowed.hashCode()); + result = + (result * PRIME) + + (this.timeScheduleMax == null ? 43 : this.timeScheduleMax.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentUpgradeSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentUpgradeSummary.java index 4155bb4fdca..ea1a81c2744 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentUpgradeSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentUpgradeSummary.java @@ -48,7 +48,11 @@ public final class DeploymentUpgradeSummary "timeReleased", "releaseType", "isSecurityFix", - "isRollbackAllowed" + "isRollbackAllowed", + "timeOggVersionSupportedUntil", + "isCancelAllowed", + "isRescheduleAllowed", + "timeScheduleMax" }) public DeploymentUpgradeSummary( String id, @@ -75,7 +79,11 @@ public DeploymentUpgradeSummary( java.util.Date timeReleased, ReleaseType releaseType, Boolean isSecurityFix, - Boolean isRollbackAllowed) { + Boolean isRollbackAllowed, + java.util.Date timeOggVersionSupportedUntil, + Boolean isCancelAllowed, + Boolean isRescheduleAllowed, + java.util.Date timeScheduleMax) { super(); this.id = id; this.displayName = displayName; @@ -102,6 +110,10 @@ public DeploymentUpgradeSummary( this.releaseType = releaseType; this.isSecurityFix = isSecurityFix; this.isRollbackAllowed = isRollbackAllowed; + this.timeOggVersionSupportedUntil = timeOggVersionSupportedUntil; + this.isCancelAllowed = isCancelAllowed; + this.isRescheduleAllowed = isRescheduleAllowed; + this.timeScheduleMax = timeScheduleMax; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -558,6 +570,86 @@ public Builder isRollbackAllowed(Boolean isRollbackAllowed) { this.__explicitlySet__.add("isRollbackAllowed"); return this; } + /** + * The time until OGG version is supported. After this date has passed OGG version will not + * be available anymore. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeOggVersionSupportedUntil") + private java.util.Date timeOggVersionSupportedUntil; + + /** + * The time until OGG version is supported. After this date has passed OGG version will not + * be available anymore. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + * + * @param timeOggVersionSupportedUntil the value to set + * @return this builder + */ + public Builder timeOggVersionSupportedUntil(java.util.Date timeOggVersionSupportedUntil) { + this.timeOggVersionSupportedUntil = timeOggVersionSupportedUntil; + this.__explicitlySet__.add("timeOggVersionSupportedUntil"); + return this; + } + /** + * Indicates if cancel is allowed. Scheduled upgrade can be cancelled only if target version + * is not forced by service, otherwise only reschedule allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isCancelAllowed") + private Boolean isCancelAllowed; + + /** + * Indicates if cancel is allowed. Scheduled upgrade can be cancelled only if target version + * is not forced by service, otherwise only reschedule allowed. + * + * @param isCancelAllowed the value to set + * @return this builder + */ + public Builder isCancelAllowed(Boolean isCancelAllowed) { + this.isCancelAllowed = isCancelAllowed; + this.__explicitlySet__.add("isCancelAllowed"); + return this; + } + /** + * Indicates if reschedule is allowed. Upgrade can be rescheduled postponed until the end of + * the service defined auto-upgrade period. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isRescheduleAllowed") + private Boolean isRescheduleAllowed; + + /** + * Indicates if reschedule is allowed. Upgrade can be rescheduled postponed until the end of + * the service defined auto-upgrade period. + * + * @param isRescheduleAllowed the value to set + * @return this builder + */ + public Builder isRescheduleAllowed(Boolean isRescheduleAllowed) { + this.isRescheduleAllowed = isRescheduleAllowed; + this.__explicitlySet__.add("isRescheduleAllowed"); + return this; + } + /** + * Indicates the latest time until the deployment upgrade could be rescheduled. The format + * is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code + * 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeScheduleMax") + private java.util.Date timeScheduleMax; + + /** + * Indicates the latest time until the deployment upgrade could be rescheduled. The format + * is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code + * 2016-08-25T21:10:29.600Z}. + * + * @param timeScheduleMax the value to set + * @return this builder + */ + public Builder timeScheduleMax(java.util.Date timeScheduleMax) { + this.timeScheduleMax = timeScheduleMax; + this.__explicitlySet__.add("timeScheduleMax"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -589,7 +681,11 @@ public DeploymentUpgradeSummary build() { this.timeReleased, this.releaseType, this.isSecurityFix, - this.isRollbackAllowed); + this.isRollbackAllowed, + this.timeOggVersionSupportedUntil, + this.isCancelAllowed, + this.isRescheduleAllowed, + this.timeScheduleMax); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -673,6 +769,18 @@ public Builder copy(DeploymentUpgradeSummary model) { if (model.wasPropertyExplicitlySet("isRollbackAllowed")) { this.isRollbackAllowed(model.getIsRollbackAllowed()); } + if (model.wasPropertyExplicitlySet("timeOggVersionSupportedUntil")) { + this.timeOggVersionSupportedUntil(model.getTimeOggVersionSupportedUntil()); + } + if (model.wasPropertyExplicitlySet("isCancelAllowed")) { + this.isCancelAllowed(model.getIsCancelAllowed()); + } + if (model.wasPropertyExplicitlySet("isRescheduleAllowed")) { + this.isRescheduleAllowed(model.getIsRescheduleAllowed()); + } + if (model.wasPropertyExplicitlySet("timeScheduleMax")) { + this.timeScheduleMax(model.getTimeScheduleMax()); + } return this; } } @@ -1087,6 +1195,78 @@ public Boolean getIsRollbackAllowed() { return isRollbackAllowed; } + /** + * The time until OGG version is supported. After this date has passed OGG version will not be + * available anymore. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * such as {@code 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeOggVersionSupportedUntil") + private final java.util.Date timeOggVersionSupportedUntil; + + /** + * The time until OGG version is supported. After this date has passed OGG version will not be + * available anymore. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * such as {@code 2016-08-25T21:10:29.600Z}. + * + * @return the value + */ + public java.util.Date getTimeOggVersionSupportedUntil() { + return timeOggVersionSupportedUntil; + } + + /** + * Indicates if cancel is allowed. Scheduled upgrade can be cancelled only if target version is + * not forced by service, otherwise only reschedule allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isCancelAllowed") + private final Boolean isCancelAllowed; + + /** + * Indicates if cancel is allowed. Scheduled upgrade can be cancelled only if target version is + * not forced by service, otherwise only reschedule allowed. + * + * @return the value + */ + public Boolean getIsCancelAllowed() { + return isCancelAllowed; + } + + /** + * Indicates if reschedule is allowed. Upgrade can be rescheduled postponed until the end of the + * service defined auto-upgrade period. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isRescheduleAllowed") + private final Boolean isRescheduleAllowed; + + /** + * Indicates if reschedule is allowed. Upgrade can be rescheduled postponed until the end of the + * service defined auto-upgrade period. + * + * @return the value + */ + public Boolean getIsRescheduleAllowed() { + return isRescheduleAllowed; + } + + /** + * Indicates the latest time until the deployment upgrade could be rescheduled. The format is + * defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code + * 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeScheduleMax") + private final java.util.Date timeScheduleMax; + + /** + * Indicates the latest time until the deployment upgrade could be rescheduled. The format is + * defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code + * 2016-08-25T21:10:29.600Z}. + * + * @return the value + */ + public java.util.Date getTimeScheduleMax() { + return timeScheduleMax; + } + @Override public String toString() { return this.toString(true); @@ -1127,6 +1307,11 @@ public String toString(boolean includeByteArrayContents) { sb.append(", releaseType=").append(String.valueOf(this.releaseType)); sb.append(", isSecurityFix=").append(String.valueOf(this.isSecurityFix)); sb.append(", isRollbackAllowed=").append(String.valueOf(this.isRollbackAllowed)); + sb.append(", timeOggVersionSupportedUntil=") + .append(String.valueOf(this.timeOggVersionSupportedUntil)); + sb.append(", isCancelAllowed=").append(String.valueOf(this.isCancelAllowed)); + sb.append(", isRescheduleAllowed=").append(String.valueOf(this.isRescheduleAllowed)); + sb.append(", timeScheduleMax=").append(String.valueOf(this.timeScheduleMax)); sb.append(")"); return sb.toString(); } @@ -1166,6 +1351,11 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.releaseType, other.releaseType) && java.util.Objects.equals(this.isSecurityFix, other.isSecurityFix) && java.util.Objects.equals(this.isRollbackAllowed, other.isRollbackAllowed) + && java.util.Objects.equals( + this.timeOggVersionSupportedUntil, other.timeOggVersionSupportedUntil) + && java.util.Objects.equals(this.isCancelAllowed, other.isCancelAllowed) + && java.util.Objects.equals(this.isRescheduleAllowed, other.isRescheduleAllowed) + && java.util.Objects.equals(this.timeScheduleMax, other.timeScheduleMax) && super.equals(other); } @@ -1220,6 +1410,22 @@ public int hashCode() { result = (result * PRIME) + (this.isRollbackAllowed == null ? 43 : this.isRollbackAllowed.hashCode()); + result = + (result * PRIME) + + (this.timeOggVersionSupportedUntil == null + ? 43 + : this.timeOggVersionSupportedUntil.hashCode()); + result = + (result * PRIME) + + (this.isCancelAllowed == null ? 43 : this.isCancelAllowed.hashCode()); + result = + (result * PRIME) + + (this.isRescheduleAllowed == null + ? 43 + : this.isRescheduleAllowed.hashCode()); + result = + (result * PRIME) + + (this.timeScheduleMax == null ? 43 : this.timeScheduleMax.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentVersionSummary.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentVersionSummary.java index e41655e7d71..2ce7344836e 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentVersionSummary.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/DeploymentVersionSummary.java @@ -28,20 +28,23 @@ public final class DeploymentVersionSummary "deploymentType", "timeReleased", "releaseType", - "isSecurityFix" + "isSecurityFix", + "timeSupportedUntil" }) public DeploymentVersionSummary( String oggVersion, DeploymentType deploymentType, java.util.Date timeReleased, ReleaseType releaseType, - Boolean isSecurityFix) { + Boolean isSecurityFix, + java.util.Date timeSupportedUntil) { super(); this.oggVersion = oggVersion; this.deploymentType = deploymentType; this.timeReleased = timeReleased; this.releaseType = releaseType; this.isSecurityFix = isSecurityFix; + this.timeSupportedUntil = timeSupportedUntil; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -131,6 +134,27 @@ public Builder isSecurityFix(Boolean isSecurityFix) { this.__explicitlySet__.add("isSecurityFix"); return this; } + /** + * The time until OGG version is supported. After this date has passed OGG version will not + * be available anymore. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeSupportedUntil") + private java.util.Date timeSupportedUntil; + + /** + * The time until OGG version is supported. After this date has passed OGG version will not + * be available anymore. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + * + * @param timeSupportedUntil the value to set + * @return this builder + */ + public Builder timeSupportedUntil(java.util.Date timeSupportedUntil) { + this.timeSupportedUntil = timeSupportedUntil; + this.__explicitlySet__.add("timeSupportedUntil"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -142,7 +166,8 @@ public DeploymentVersionSummary build() { this.deploymentType, this.timeReleased, this.releaseType, - this.isSecurityFix); + this.isSecurityFix, + this.timeSupportedUntil); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -166,6 +191,9 @@ public Builder copy(DeploymentVersionSummary model) { if (model.wasPropertyExplicitlySet("isSecurityFix")) { this.isSecurityFix(model.getIsSecurityFix()); } + if (model.wasPropertyExplicitlySet("timeSupportedUntil")) { + this.timeSupportedUntil(model.getTimeSupportedUntil()); + } return this; } } @@ -254,6 +282,25 @@ public Boolean getIsSecurityFix() { return isSecurityFix; } + /** + * The time until OGG version is supported. After this date has passed OGG version will not be + * available anymore. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * such as {@code 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeSupportedUntil") + private final java.util.Date timeSupportedUntil; + + /** + * The time until OGG version is supported. After this date has passed OGG version will not be + * available anymore. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * such as {@code 2016-08-25T21:10:29.600Z}. + * + * @return the value + */ + public java.util.Date getTimeSupportedUntil() { + return timeSupportedUntil; + } + @Override public String toString() { return this.toString(true); @@ -274,6 +321,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", timeReleased=").append(String.valueOf(this.timeReleased)); sb.append(", releaseType=").append(String.valueOf(this.releaseType)); sb.append(", isSecurityFix=").append(String.valueOf(this.isSecurityFix)); + sb.append(", timeSupportedUntil=").append(String.valueOf(this.timeSupportedUntil)); sb.append(")"); return sb.toString(); } @@ -293,6 +341,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.timeReleased, other.timeReleased) && java.util.Objects.equals(this.releaseType, other.releaseType) && java.util.Objects.equals(this.isSecurityFix, other.isSecurityFix) + && java.util.Objects.equals(this.timeSupportedUntil, other.timeSupportedUntil) && super.equals(other); } @@ -309,6 +358,11 @@ public int hashCode() { result = (result * PRIME) + (this.isSecurityFix == null ? 43 : this.isSecurityFix.hashCode()); + result = + (result * PRIME) + + (this.timeSupportedUntil == null + ? 43 + : this.timeSupportedUntil.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/MaintenanceConfiguration.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/MaintenanceConfiguration.java new file mode 100644 index 00000000000..d248bc175b9 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/MaintenanceConfiguration.java @@ -0,0 +1,385 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.model; + +/** + * Attributes for configuring automatic deployment maintenance.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MaintenanceConfiguration.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MaintenanceConfiguration + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "isInterimReleaseAutoUpgradeEnabled", + "interimReleaseUpgradePeriodInDays", + "bundleReleaseUpgradePeriodInDays", + "majorReleaseUpgradePeriodInDays", + "securityPatchUpgradePeriodInDays" + }) + public MaintenanceConfiguration( + Boolean isInterimReleaseAutoUpgradeEnabled, + Integer interimReleaseUpgradePeriodInDays, + Integer bundleReleaseUpgradePeriodInDays, + Integer majorReleaseUpgradePeriodInDays, + Integer securityPatchUpgradePeriodInDays) { + super(); + this.isInterimReleaseAutoUpgradeEnabled = isInterimReleaseAutoUpgradeEnabled; + this.interimReleaseUpgradePeriodInDays = interimReleaseUpgradePeriodInDays; + this.bundleReleaseUpgradePeriodInDays = bundleReleaseUpgradePeriodInDays; + this.majorReleaseUpgradePeriodInDays = majorReleaseUpgradePeriodInDays; + this.securityPatchUpgradePeriodInDays = securityPatchUpgradePeriodInDays; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled + * for interim release, you have to specify interimReleaseUpgradePeriodInDays too. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isInterimReleaseAutoUpgradeEnabled") + private Boolean isInterimReleaseAutoUpgradeEnabled; + + /** + * By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled + * for interim release, you have to specify interimReleaseUpgradePeriodInDays too. + * + * @param isInterimReleaseAutoUpgradeEnabled the value to set + * @return this builder + */ + public Builder isInterimReleaseAutoUpgradeEnabled( + Boolean isInterimReleaseAutoUpgradeEnabled) { + this.isInterimReleaseAutoUpgradeEnabled = isInterimReleaseAutoUpgradeEnabled; + this.__explicitlySet__.add("isInterimReleaseAutoUpgradeEnabled"); + return this; + } + /** + * Defines auto upgrade period for interim releases. This period must be shorter or equal to + * bundle release upgrade period. + */ + @com.fasterxml.jackson.annotation.JsonProperty("interimReleaseUpgradePeriodInDays") + private Integer interimReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for interim releases. This period must be shorter or equal to + * bundle release upgrade period. + * + * @param interimReleaseUpgradePeriodInDays the value to set + * @return this builder + */ + public Builder interimReleaseUpgradePeriodInDays( + Integer interimReleaseUpgradePeriodInDays) { + this.interimReleaseUpgradePeriodInDays = interimReleaseUpgradePeriodInDays; + this.__explicitlySet__.add("interimReleaseUpgradePeriodInDays"); + return this; + } + /** + * Defines auto upgrade period for bundle releases. Manually configured period cannot be + * longer than service defined period for bundle releases. This period must be shorter or + * equal to major release upgrade period. Not passing this field during create will equate + * to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bundleReleaseUpgradePeriodInDays") + private Integer bundleReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for bundle releases. Manually configured period cannot be + * longer than service defined period for bundle releases. This period must be shorter or + * equal to major release upgrade period. Not passing this field during create will equate + * to using the service default. + * + * @param bundleReleaseUpgradePeriodInDays the value to set + * @return this builder + */ + public Builder bundleReleaseUpgradePeriodInDays(Integer bundleReleaseUpgradePeriodInDays) { + this.bundleReleaseUpgradePeriodInDays = bundleReleaseUpgradePeriodInDays; + this.__explicitlySet__.add("bundleReleaseUpgradePeriodInDays"); + return this; + } + /** + * Defines auto upgrade period for major releases. Manually configured period cannot be + * longer than service defined period for major releases. Not passing this field during + * create will equate to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("majorReleaseUpgradePeriodInDays") + private Integer majorReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for major releases. Manually configured period cannot be + * longer than service defined period for major releases. Not passing this field during + * create will equate to using the service default. + * + * @param majorReleaseUpgradePeriodInDays the value to set + * @return this builder + */ + public Builder majorReleaseUpgradePeriodInDays(Integer majorReleaseUpgradePeriodInDays) { + this.majorReleaseUpgradePeriodInDays = majorReleaseUpgradePeriodInDays; + this.__explicitlySet__.add("majorReleaseUpgradePeriodInDays"); + return this; + } + /** + * Defines auto upgrade period for releases with security fix. Manually configured period + * cannot be longer than service defined period for security releases. Not passing this + * field during create will equate to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityPatchUpgradePeriodInDays") + private Integer securityPatchUpgradePeriodInDays; + + /** + * Defines auto upgrade period for releases with security fix. Manually configured period + * cannot be longer than service defined period for security releases. Not passing this + * field during create will equate to using the service default. + * + * @param securityPatchUpgradePeriodInDays the value to set + * @return this builder + */ + public Builder securityPatchUpgradePeriodInDays(Integer securityPatchUpgradePeriodInDays) { + this.securityPatchUpgradePeriodInDays = securityPatchUpgradePeriodInDays; + this.__explicitlySet__.add("securityPatchUpgradePeriodInDays"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MaintenanceConfiguration build() { + MaintenanceConfiguration model = + new MaintenanceConfiguration( + this.isInterimReleaseAutoUpgradeEnabled, + this.interimReleaseUpgradePeriodInDays, + this.bundleReleaseUpgradePeriodInDays, + this.majorReleaseUpgradePeriodInDays, + this.securityPatchUpgradePeriodInDays); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MaintenanceConfiguration model) { + if (model.wasPropertyExplicitlySet("isInterimReleaseAutoUpgradeEnabled")) { + this.isInterimReleaseAutoUpgradeEnabled( + model.getIsInterimReleaseAutoUpgradeEnabled()); + } + if (model.wasPropertyExplicitlySet("interimReleaseUpgradePeriodInDays")) { + this.interimReleaseUpgradePeriodInDays( + model.getInterimReleaseUpgradePeriodInDays()); + } + if (model.wasPropertyExplicitlySet("bundleReleaseUpgradePeriodInDays")) { + this.bundleReleaseUpgradePeriodInDays(model.getBundleReleaseUpgradePeriodInDays()); + } + if (model.wasPropertyExplicitlySet("majorReleaseUpgradePeriodInDays")) { + this.majorReleaseUpgradePeriodInDays(model.getMajorReleaseUpgradePeriodInDays()); + } + if (model.wasPropertyExplicitlySet("securityPatchUpgradePeriodInDays")) { + this.securityPatchUpgradePeriodInDays(model.getSecurityPatchUpgradePeriodInDays()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled for + * interim release, you have to specify interimReleaseUpgradePeriodInDays too. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isInterimReleaseAutoUpgradeEnabled") + private final Boolean isInterimReleaseAutoUpgradeEnabled; + + /** + * By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled for + * interim release, you have to specify interimReleaseUpgradePeriodInDays too. + * + * @return the value + */ + public Boolean getIsInterimReleaseAutoUpgradeEnabled() { + return isInterimReleaseAutoUpgradeEnabled; + } + + /** + * Defines auto upgrade period for interim releases. This period must be shorter or equal to + * bundle release upgrade period. + */ + @com.fasterxml.jackson.annotation.JsonProperty("interimReleaseUpgradePeriodInDays") + private final Integer interimReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for interim releases. This period must be shorter or equal to + * bundle release upgrade period. + * + * @return the value + */ + public Integer getInterimReleaseUpgradePeriodInDays() { + return interimReleaseUpgradePeriodInDays; + } + + /** + * Defines auto upgrade period for bundle releases. Manually configured period cannot be longer + * than service defined period for bundle releases. This period must be shorter or equal to + * major release upgrade period. Not passing this field during create will equate to using the + * service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bundleReleaseUpgradePeriodInDays") + private final Integer bundleReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for bundle releases. Manually configured period cannot be longer + * than service defined period for bundle releases. This period must be shorter or equal to + * major release upgrade period. Not passing this field during create will equate to using the + * service default. + * + * @return the value + */ + public Integer getBundleReleaseUpgradePeriodInDays() { + return bundleReleaseUpgradePeriodInDays; + } + + /** + * Defines auto upgrade period for major releases. Manually configured period cannot be longer + * than service defined period for major releases. Not passing this field during create will + * equate to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("majorReleaseUpgradePeriodInDays") + private final Integer majorReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for major releases. Manually configured period cannot be longer + * than service defined period for major releases. Not passing this field during create will + * equate to using the service default. + * + * @return the value + */ + public Integer getMajorReleaseUpgradePeriodInDays() { + return majorReleaseUpgradePeriodInDays; + } + + /** + * Defines auto upgrade period for releases with security fix. Manually configured period cannot + * be longer than service defined period for security releases. Not passing this field during + * create will equate to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityPatchUpgradePeriodInDays") + private final Integer securityPatchUpgradePeriodInDays; + + /** + * Defines auto upgrade period for releases with security fix. Manually configured period cannot + * be longer than service defined period for security releases. Not passing this field during + * create will equate to using the service default. + * + * @return the value + */ + public Integer getSecurityPatchUpgradePeriodInDays() { + return securityPatchUpgradePeriodInDays; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MaintenanceConfiguration("); + sb.append("super=").append(super.toString()); + sb.append("isInterimReleaseAutoUpgradeEnabled=") + .append(String.valueOf(this.isInterimReleaseAutoUpgradeEnabled)); + sb.append(", interimReleaseUpgradePeriodInDays=") + .append(String.valueOf(this.interimReleaseUpgradePeriodInDays)); + sb.append(", bundleReleaseUpgradePeriodInDays=") + .append(String.valueOf(this.bundleReleaseUpgradePeriodInDays)); + sb.append(", majorReleaseUpgradePeriodInDays=") + .append(String.valueOf(this.majorReleaseUpgradePeriodInDays)); + sb.append(", securityPatchUpgradePeriodInDays=") + .append(String.valueOf(this.securityPatchUpgradePeriodInDays)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MaintenanceConfiguration)) { + return false; + } + + MaintenanceConfiguration other = (MaintenanceConfiguration) o; + return java.util.Objects.equals( + this.isInterimReleaseAutoUpgradeEnabled, + other.isInterimReleaseAutoUpgradeEnabled) + && java.util.Objects.equals( + this.interimReleaseUpgradePeriodInDays, + other.interimReleaseUpgradePeriodInDays) + && java.util.Objects.equals( + this.bundleReleaseUpgradePeriodInDays, + other.bundleReleaseUpgradePeriodInDays) + && java.util.Objects.equals( + this.majorReleaseUpgradePeriodInDays, other.majorReleaseUpgradePeriodInDays) + && java.util.Objects.equals( + this.securityPatchUpgradePeriodInDays, + other.securityPatchUpgradePeriodInDays) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.isInterimReleaseAutoUpgradeEnabled == null + ? 43 + : this.isInterimReleaseAutoUpgradeEnabled.hashCode()); + result = + (result * PRIME) + + (this.interimReleaseUpgradePeriodInDays == null + ? 43 + : this.interimReleaseUpgradePeriodInDays.hashCode()); + result = + (result * PRIME) + + (this.bundleReleaseUpgradePeriodInDays == null + ? 43 + : this.bundleReleaseUpgradePeriodInDays.hashCode()); + result = + (result * PRIME) + + (this.majorReleaseUpgradePeriodInDays == null + ? 43 + : this.majorReleaseUpgradePeriodInDays.hashCode()); + result = + (result * PRIME) + + (this.securityPatchUpgradePeriodInDays == null + ? 43 + : this.securityPatchUpgradePeriodInDays.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/MysqlConnection.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/MysqlConnection.java index 323b621a43f..635c313a816 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/MysqlConnection.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/MysqlConnection.java @@ -545,6 +545,8 @@ public enum TechnologyType implements com.oracle.bmc.http.internal.BmcEnum { Mariadb("MARIADB"), MysqlServer("MYSQL_SERVER"), OciMysql("OCI_MYSQL"), + Singlestoredb("SINGLESTOREDB"), + SinglestoredbCloud("SINGLESTOREDB_CLOUD"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RescheduleDeploymentUpgradeDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RescheduleDeploymentUpgradeDetails.java new file mode 100644 index 00000000000..f30dcf927ad --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RescheduleDeploymentUpgradeDetails.java @@ -0,0 +1,78 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.model; + +/** + * The information about canceling.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type", + defaultImpl = RescheduleDeploymentUpgradeDetails.class) +@com.fasterxml.jackson.annotation.JsonSubTypes({ + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = RescheduleDeploymentUpgradeToDateDetails.class, + name = "RESCHEDULE_TO_DATE") +}) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public class RescheduleDeploymentUpgradeDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({}) + protected RescheduleDeploymentUpgradeDetails() { + super(); + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("RescheduleDeploymentUpgradeDetails("); + sb.append("super=").append(super.toString()); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RescheduleDeploymentUpgradeDetails)) { + return false; + } + + RescheduleDeploymentUpgradeDetails other = (RescheduleDeploymentUpgradeDetails) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RescheduleDeploymentUpgradeToDateDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RescheduleDeploymentUpgradeToDateDetails.java new file mode 100644 index 00000000000..9e9db609bf5 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RescheduleDeploymentUpgradeToDateDetails.java @@ -0,0 +1,146 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.model; + +/** + * Definition of the additional attributes for default deployment upgrade cancel.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = RescheduleDeploymentUpgradeToDateDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "type") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class RescheduleDeploymentUpgradeToDateDetails + extends RescheduleDeploymentUpgradeDetails { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The time of upgrade schedule. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeSchedule") + private java.util.Date timeSchedule; + + /** + * The time of upgrade schedule. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + * + * @param timeSchedule the value to set + * @return this builder + */ + public Builder timeSchedule(java.util.Date timeSchedule) { + this.timeSchedule = timeSchedule; + this.__explicitlySet__.add("timeSchedule"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public RescheduleDeploymentUpgradeToDateDetails build() { + RescheduleDeploymentUpgradeToDateDetails model = + new RescheduleDeploymentUpgradeToDateDetails(this.timeSchedule); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(RescheduleDeploymentUpgradeToDateDetails model) { + if (model.wasPropertyExplicitlySet("timeSchedule")) { + this.timeSchedule(model.getTimeSchedule()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public RescheduleDeploymentUpgradeToDateDetails(java.util.Date timeSchedule) { + super(); + this.timeSchedule = timeSchedule; + } + + /** + * The time of upgrade schedule. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeSchedule") + private final java.util.Date timeSchedule; + + /** + * The time of upgrade schedule. The format is defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + * + * @return the value + */ + public java.util.Date getTimeSchedule() { + return timeSchedule; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("RescheduleDeploymentUpgradeToDateDetails("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(", timeSchedule=").append(String.valueOf(this.timeSchedule)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RescheduleDeploymentUpgradeToDateDetails)) { + return false; + } + + RescheduleDeploymentUpgradeToDateDetails other = + (RescheduleDeploymentUpgradeToDateDetails) o; + return java.util.Objects.equals(this.timeSchedule, other.timeSchedule) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.timeSchedule == null ? 43 : this.timeSchedule.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RescheduleDeploymentUpgradeType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RescheduleDeploymentUpgradeType.java new file mode 100644 index 00000000000..e362b7be45b --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/RescheduleDeploymentUpgradeType.java @@ -0,0 +1,39 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.model; + +/** The reschedule type of deploymentUpgrade. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public enum RescheduleDeploymentUpgradeType implements com.oracle.bmc.http.internal.BmcEnum { + RescheduleToDate("RESCHEDULE_TO_DATE"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (RescheduleDeploymentUpgradeType v : RescheduleDeploymentUpgradeType.values()) { + map.put(v.getValue(), v); + } + } + + RescheduleDeploymentUpgradeType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static RescheduleDeploymentUpgradeType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid RescheduleDeploymentUpgradeType: " + key); + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/TechnologyType.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/TechnologyType.java index 7b887ad5a9b..917da10a10f 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/TechnologyType.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/TechnologyType.java @@ -44,6 +44,8 @@ public enum TechnologyType implements com.oracle.bmc.http.internal.BmcEnum { Mongodb("MONGODB"), MysqlServer("MYSQL_SERVER"), PostgresqlServer("POSTGRESQL_SERVER"), + Singlestoredb("SINGLESTOREDB"), + SinglestoredbCloud("SINGLESTOREDB_CLOUD"), Snowflake("SNOWFLAKE"), ; diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateDeploymentDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateDeploymentDetails.java index b0e0077bf7c..29e25fdc762 100644 --- a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateDeploymentDetails.java +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateDeploymentDetails.java @@ -36,7 +36,8 @@ public final class UpdateDeploymentDetails "cpuCoreCount", "isAutoScalingEnabled", "oggData", - "maintenanceWindow" + "maintenanceWindow", + "maintenanceConfiguration" }) public UpdateDeploymentDetails( String displayName, @@ -51,7 +52,8 @@ public UpdateDeploymentDetails( Integer cpuCoreCount, Boolean isAutoScalingEnabled, UpdateOggDeploymentDetails oggData, - UpdateMaintenanceWindowDetails maintenanceWindow) { + UpdateMaintenanceWindowDetails maintenanceWindow, + UpdateMaintenanceConfigurationDetails maintenanceConfiguration) { super(); this.displayName = displayName; this.licenseModel = licenseModel; @@ -66,6 +68,7 @@ public UpdateDeploymentDetails( this.isAutoScalingEnabled = isAutoScalingEnabled; this.oggData = oggData; this.maintenanceWindow = maintenanceWindow; + this.maintenanceConfiguration = maintenanceConfiguration; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -277,6 +280,16 @@ public Builder maintenanceWindow(UpdateMaintenanceWindowDetails maintenanceWindo return this; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceConfiguration") + private UpdateMaintenanceConfigurationDetails maintenanceConfiguration; + + public Builder maintenanceConfiguration( + UpdateMaintenanceConfigurationDetails maintenanceConfiguration) { + this.maintenanceConfiguration = maintenanceConfiguration; + this.__explicitlySet__.add("maintenanceConfiguration"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -295,7 +308,8 @@ public UpdateDeploymentDetails build() { this.cpuCoreCount, this.isAutoScalingEnabled, this.oggData, - this.maintenanceWindow); + this.maintenanceWindow, + this.maintenanceConfiguration); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -343,6 +357,9 @@ public Builder copy(UpdateDeploymentDetails model) { if (model.wasPropertyExplicitlySet("maintenanceWindow")) { this.maintenanceWindow(model.getMaintenanceWindow()); } + if (model.wasPropertyExplicitlySet("maintenanceConfiguration")) { + this.maintenanceConfiguration(model.getMaintenanceConfiguration()); + } return this; } } @@ -535,6 +552,13 @@ public UpdateMaintenanceWindowDetails getMaintenanceWindow() { return maintenanceWindow; } + @com.fasterxml.jackson.annotation.JsonProperty("maintenanceConfiguration") + private final UpdateMaintenanceConfigurationDetails maintenanceConfiguration; + + public UpdateMaintenanceConfigurationDetails getMaintenanceConfiguration() { + return maintenanceConfiguration; + } + @Override public String toString() { return this.toString(true); @@ -563,6 +587,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", isAutoScalingEnabled=").append(String.valueOf(this.isAutoScalingEnabled)); sb.append(", oggData=").append(String.valueOf(this.oggData)); sb.append(", maintenanceWindow=").append(String.valueOf(this.maintenanceWindow)); + sb.append(", maintenanceConfiguration=") + .append(String.valueOf(this.maintenanceConfiguration)); sb.append(")"); return sb.toString(); } @@ -590,6 +616,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.isAutoScalingEnabled, other.isAutoScalingEnabled) && java.util.Objects.equals(this.oggData, other.oggData) && java.util.Objects.equals(this.maintenanceWindow, other.maintenanceWindow) + && java.util.Objects.equals( + this.maintenanceConfiguration, other.maintenanceConfiguration) && super.equals(other); } @@ -616,6 +644,11 @@ public int hashCode() { result = (result * PRIME) + (this.maintenanceWindow == null ? 43 : this.maintenanceWindow.hashCode()); + result = + (result * PRIME) + + (this.maintenanceConfiguration == null + ? 43 + : this.maintenanceConfiguration.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateMaintenanceConfigurationDetails.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateMaintenanceConfigurationDetails.java new file mode 100644 index 00000000000..20f0b0de3e4 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/model/UpdateMaintenanceConfigurationDetails.java @@ -0,0 +1,385 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.model; + +/** + * Defines the maintenance configuration for update operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateMaintenanceConfigurationDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateMaintenanceConfigurationDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "isInterimReleaseAutoUpgradeEnabled", + "interimReleaseUpgradePeriodInDays", + "bundleReleaseUpgradePeriodInDays", + "majorReleaseUpgradePeriodInDays", + "securityPatchUpgradePeriodInDays" + }) + public UpdateMaintenanceConfigurationDetails( + Boolean isInterimReleaseAutoUpgradeEnabled, + Integer interimReleaseUpgradePeriodInDays, + Integer bundleReleaseUpgradePeriodInDays, + Integer majorReleaseUpgradePeriodInDays, + Integer securityPatchUpgradePeriodInDays) { + super(); + this.isInterimReleaseAutoUpgradeEnabled = isInterimReleaseAutoUpgradeEnabled; + this.interimReleaseUpgradePeriodInDays = interimReleaseUpgradePeriodInDays; + this.bundleReleaseUpgradePeriodInDays = bundleReleaseUpgradePeriodInDays; + this.majorReleaseUpgradePeriodInDays = majorReleaseUpgradePeriodInDays; + this.securityPatchUpgradePeriodInDays = securityPatchUpgradePeriodInDays; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled + * for interim release, you have to specify interimReleaseUpgradePeriodInDays too. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isInterimReleaseAutoUpgradeEnabled") + private Boolean isInterimReleaseAutoUpgradeEnabled; + + /** + * By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled + * for interim release, you have to specify interimReleaseUpgradePeriodInDays too. + * + * @param isInterimReleaseAutoUpgradeEnabled the value to set + * @return this builder + */ + public Builder isInterimReleaseAutoUpgradeEnabled( + Boolean isInterimReleaseAutoUpgradeEnabled) { + this.isInterimReleaseAutoUpgradeEnabled = isInterimReleaseAutoUpgradeEnabled; + this.__explicitlySet__.add("isInterimReleaseAutoUpgradeEnabled"); + return this; + } + /** + * Defines auto upgrade period for interim releases. This period must be shorter or equal to + * bundle release upgrade period. + */ + @com.fasterxml.jackson.annotation.JsonProperty("interimReleaseUpgradePeriodInDays") + private Integer interimReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for interim releases. This period must be shorter or equal to + * bundle release upgrade period. + * + * @param interimReleaseUpgradePeriodInDays the value to set + * @return this builder + */ + public Builder interimReleaseUpgradePeriodInDays( + Integer interimReleaseUpgradePeriodInDays) { + this.interimReleaseUpgradePeriodInDays = interimReleaseUpgradePeriodInDays; + this.__explicitlySet__.add("interimReleaseUpgradePeriodInDays"); + return this; + } + /** + * Defines auto upgrade period for bundle releases. Manually configured period cannot be + * longer than service defined period for bundle releases. This period must be shorter or + * equal to major release upgrade period. Not passing this field during create will equate + * to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bundleReleaseUpgradePeriodInDays") + private Integer bundleReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for bundle releases. Manually configured period cannot be + * longer than service defined period for bundle releases. This period must be shorter or + * equal to major release upgrade period. Not passing this field during create will equate + * to using the service default. + * + * @param bundleReleaseUpgradePeriodInDays the value to set + * @return this builder + */ + public Builder bundleReleaseUpgradePeriodInDays(Integer bundleReleaseUpgradePeriodInDays) { + this.bundleReleaseUpgradePeriodInDays = bundleReleaseUpgradePeriodInDays; + this.__explicitlySet__.add("bundleReleaseUpgradePeriodInDays"); + return this; + } + /** + * Defines auto upgrade period for major releases. Manually configured period cannot be + * longer than service defined period for major releases. Not passing this field during + * create will equate to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("majorReleaseUpgradePeriodInDays") + private Integer majorReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for major releases. Manually configured period cannot be + * longer than service defined period for major releases. Not passing this field during + * create will equate to using the service default. + * + * @param majorReleaseUpgradePeriodInDays the value to set + * @return this builder + */ + public Builder majorReleaseUpgradePeriodInDays(Integer majorReleaseUpgradePeriodInDays) { + this.majorReleaseUpgradePeriodInDays = majorReleaseUpgradePeriodInDays; + this.__explicitlySet__.add("majorReleaseUpgradePeriodInDays"); + return this; + } + /** + * Defines auto upgrade period for releases with security fix. Manually configured period + * cannot be longer than service defined period for security releases. Not passing this + * field during create will equate to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityPatchUpgradePeriodInDays") + private Integer securityPatchUpgradePeriodInDays; + + /** + * Defines auto upgrade period for releases with security fix. Manually configured period + * cannot be longer than service defined period for security releases. Not passing this + * field during create will equate to using the service default. + * + * @param securityPatchUpgradePeriodInDays the value to set + * @return this builder + */ + public Builder securityPatchUpgradePeriodInDays(Integer securityPatchUpgradePeriodInDays) { + this.securityPatchUpgradePeriodInDays = securityPatchUpgradePeriodInDays; + this.__explicitlySet__.add("securityPatchUpgradePeriodInDays"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateMaintenanceConfigurationDetails build() { + UpdateMaintenanceConfigurationDetails model = + new UpdateMaintenanceConfigurationDetails( + this.isInterimReleaseAutoUpgradeEnabled, + this.interimReleaseUpgradePeriodInDays, + this.bundleReleaseUpgradePeriodInDays, + this.majorReleaseUpgradePeriodInDays, + this.securityPatchUpgradePeriodInDays); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateMaintenanceConfigurationDetails model) { + if (model.wasPropertyExplicitlySet("isInterimReleaseAutoUpgradeEnabled")) { + this.isInterimReleaseAutoUpgradeEnabled( + model.getIsInterimReleaseAutoUpgradeEnabled()); + } + if (model.wasPropertyExplicitlySet("interimReleaseUpgradePeriodInDays")) { + this.interimReleaseUpgradePeriodInDays( + model.getInterimReleaseUpgradePeriodInDays()); + } + if (model.wasPropertyExplicitlySet("bundleReleaseUpgradePeriodInDays")) { + this.bundleReleaseUpgradePeriodInDays(model.getBundleReleaseUpgradePeriodInDays()); + } + if (model.wasPropertyExplicitlySet("majorReleaseUpgradePeriodInDays")) { + this.majorReleaseUpgradePeriodInDays(model.getMajorReleaseUpgradePeriodInDays()); + } + if (model.wasPropertyExplicitlySet("securityPatchUpgradePeriodInDays")) { + this.securityPatchUpgradePeriodInDays(model.getSecurityPatchUpgradePeriodInDays()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled for + * interim release, you have to specify interimReleaseUpgradePeriodInDays too. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isInterimReleaseAutoUpgradeEnabled") + private final Boolean isInterimReleaseAutoUpgradeEnabled; + + /** + * By default auto upgrade for interim releases are not enabled. If auto-upgrade is enabled for + * interim release, you have to specify interimReleaseUpgradePeriodInDays too. + * + * @return the value + */ + public Boolean getIsInterimReleaseAutoUpgradeEnabled() { + return isInterimReleaseAutoUpgradeEnabled; + } + + /** + * Defines auto upgrade period for interim releases. This period must be shorter or equal to + * bundle release upgrade period. + */ + @com.fasterxml.jackson.annotation.JsonProperty("interimReleaseUpgradePeriodInDays") + private final Integer interimReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for interim releases. This period must be shorter or equal to + * bundle release upgrade period. + * + * @return the value + */ + public Integer getInterimReleaseUpgradePeriodInDays() { + return interimReleaseUpgradePeriodInDays; + } + + /** + * Defines auto upgrade period for bundle releases. Manually configured period cannot be longer + * than service defined period for bundle releases. This period must be shorter or equal to + * major release upgrade period. Not passing this field during create will equate to using the + * service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bundleReleaseUpgradePeriodInDays") + private final Integer bundleReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for bundle releases. Manually configured period cannot be longer + * than service defined period for bundle releases. This period must be shorter or equal to + * major release upgrade period. Not passing this field during create will equate to using the + * service default. + * + * @return the value + */ + public Integer getBundleReleaseUpgradePeriodInDays() { + return bundleReleaseUpgradePeriodInDays; + } + + /** + * Defines auto upgrade period for major releases. Manually configured period cannot be longer + * than service defined period for major releases. Not passing this field during create will + * equate to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("majorReleaseUpgradePeriodInDays") + private final Integer majorReleaseUpgradePeriodInDays; + + /** + * Defines auto upgrade period for major releases. Manually configured period cannot be longer + * than service defined period for major releases. Not passing this field during create will + * equate to using the service default. + * + * @return the value + */ + public Integer getMajorReleaseUpgradePeriodInDays() { + return majorReleaseUpgradePeriodInDays; + } + + /** + * Defines auto upgrade period for releases with security fix. Manually configured period cannot + * be longer than service defined period for security releases. Not passing this field during + * create will equate to using the service default. + */ + @com.fasterxml.jackson.annotation.JsonProperty("securityPatchUpgradePeriodInDays") + private final Integer securityPatchUpgradePeriodInDays; + + /** + * Defines auto upgrade period for releases with security fix. Manually configured period cannot + * be longer than service defined period for security releases. Not passing this field during + * create will equate to using the service default. + * + * @return the value + */ + public Integer getSecurityPatchUpgradePeriodInDays() { + return securityPatchUpgradePeriodInDays; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateMaintenanceConfigurationDetails("); + sb.append("super=").append(super.toString()); + sb.append("isInterimReleaseAutoUpgradeEnabled=") + .append(String.valueOf(this.isInterimReleaseAutoUpgradeEnabled)); + sb.append(", interimReleaseUpgradePeriodInDays=") + .append(String.valueOf(this.interimReleaseUpgradePeriodInDays)); + sb.append(", bundleReleaseUpgradePeriodInDays=") + .append(String.valueOf(this.bundleReleaseUpgradePeriodInDays)); + sb.append(", majorReleaseUpgradePeriodInDays=") + .append(String.valueOf(this.majorReleaseUpgradePeriodInDays)); + sb.append(", securityPatchUpgradePeriodInDays=") + .append(String.valueOf(this.securityPatchUpgradePeriodInDays)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateMaintenanceConfigurationDetails)) { + return false; + } + + UpdateMaintenanceConfigurationDetails other = (UpdateMaintenanceConfigurationDetails) o; + return java.util.Objects.equals( + this.isInterimReleaseAutoUpgradeEnabled, + other.isInterimReleaseAutoUpgradeEnabled) + && java.util.Objects.equals( + this.interimReleaseUpgradePeriodInDays, + other.interimReleaseUpgradePeriodInDays) + && java.util.Objects.equals( + this.bundleReleaseUpgradePeriodInDays, + other.bundleReleaseUpgradePeriodInDays) + && java.util.Objects.equals( + this.majorReleaseUpgradePeriodInDays, other.majorReleaseUpgradePeriodInDays) + && java.util.Objects.equals( + this.securityPatchUpgradePeriodInDays, + other.securityPatchUpgradePeriodInDays) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.isInterimReleaseAutoUpgradeEnabled == null + ? 43 + : this.isInterimReleaseAutoUpgradeEnabled.hashCode()); + result = + (result * PRIME) + + (this.interimReleaseUpgradePeriodInDays == null + ? 43 + : this.interimReleaseUpgradePeriodInDays.hashCode()); + result = + (result * PRIME) + + (this.bundleReleaseUpgradePeriodInDays == null + ? 43 + : this.bundleReleaseUpgradePeriodInDays.hashCode()); + result = + (result * PRIME) + + (this.majorReleaseUpgradePeriodInDays == null + ? 43 + : this.majorReleaseUpgradePeriodInDays.hashCode()); + result = + (result * PRIME) + + (this.securityPatchUpgradePeriodInDays == null + ? 43 + : this.securityPatchUpgradePeriodInDays.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/CancelDeploymentUpgradeRequest.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/CancelDeploymentUpgradeRequest.java new file mode 100644 index 00000000000..11e99c9d572 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/CancelDeploymentUpgradeRequest.java @@ -0,0 +1,368 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.requests; + +import com.oracle.bmc.goldengate.model.*; +/** + * Example: Click here to see how to use + * CancelDeploymentUpgradeRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public class CancelDeploymentUpgradeRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.goldengate.model.CancelDeploymentUpgradeDetails> { + + /** A unique Deployment Upgrade identifier. */ + private String deploymentUpgradeId; + + /** A unique Deployment Upgrade identifier. */ + public String getDeploymentUpgradeId() { + return deploymentUpgradeId; + } + /** + * A placeholder for any additional metadata to describe the cancel snooze of deployment + * upgrade. + */ + private com.oracle.bmc.goldengate.model.CancelDeploymentUpgradeDetails + cancelDeploymentUpgradeDetails; + + /** + * A placeholder for any additional metadata to describe the cancel snooze of deployment + * upgrade. + */ + public com.oracle.bmc.goldengate.model.CancelDeploymentUpgradeDetails + getCancelDeploymentUpgradeDetails() { + return cancelDeploymentUpgradeDetails; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + /** The client request ID for tracing. */ + private String opcRequestId; + + /** The client request ID for tracing. */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire after + * 24 hours but can be invalidated before then due to conflicting operations. For example, if a + * resource was deleted and purged from the system, then a retry of the original creation + * request is rejected. + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire after + * 24 hours but can be invalidated before then due to conflicting operations. For example, if a + * resource was deleted and purged from the system, then a retry of the original creation + * request is rejected. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.goldengate.model.CancelDeploymentUpgradeDetails getBody$() { + return cancelDeploymentUpgradeDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + CancelDeploymentUpgradeRequest, + com.oracle.bmc.goldengate.model.CancelDeploymentUpgradeDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** A unique Deployment Upgrade identifier. */ + private String deploymentUpgradeId = null; + + /** + * A unique Deployment Upgrade identifier. + * + * @param deploymentUpgradeId the value to set + * @return this builder instance + */ + public Builder deploymentUpgradeId(String deploymentUpgradeId) { + this.deploymentUpgradeId = deploymentUpgradeId; + return this; + } + + /** + * A placeholder for any additional metadata to describe the cancel snooze of deployment + * upgrade. + */ + private com.oracle.bmc.goldengate.model.CancelDeploymentUpgradeDetails + cancelDeploymentUpgradeDetails = null; + + /** + * A placeholder for any additional metadata to describe the cancel snooze of deployment + * upgrade. + * + * @param cancelDeploymentUpgradeDetails the value to set + * @return this builder instance + */ + public Builder cancelDeploymentUpgradeDetails( + com.oracle.bmc.goldengate.model.CancelDeploymentUpgradeDetails + cancelDeploymentUpgradeDetails) { + this.cancelDeploymentUpgradeDetails = cancelDeploymentUpgradeDetails; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the etag you provide + * matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** The client request ID for tracing. */ + private String opcRequestId = null; + + /** + * The client request ID for tracing. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire + * after 24 hours but can be invalidated before then due to conflicting operations. For + * example, if a resource was deleted and purged from the system, then a retry of the + * original creation request is rejected. + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire + * after 24 hours but can be invalidated before then due to conflicting operations. For + * example, if a resource was deleted and purged from the system, then a retry of the + * original creation request is rejected. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(CancelDeploymentUpgradeRequest o) { + deploymentUpgradeId(o.getDeploymentUpgradeId()); + cancelDeploymentUpgradeDetails(o.getCancelDeploymentUpgradeDetails()); + ifMatch(o.getIfMatch()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of CancelDeploymentUpgradeRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of CancelDeploymentUpgradeRequest + */ + public CancelDeploymentUpgradeRequest build() { + CancelDeploymentUpgradeRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.goldengate.model.CancelDeploymentUpgradeDetails body) { + cancelDeploymentUpgradeDetails(body); + return this; + } + + /** + * Build the instance of CancelDeploymentUpgradeRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of CancelDeploymentUpgradeRequest + */ + public CancelDeploymentUpgradeRequest buildWithoutInvocationCallback() { + CancelDeploymentUpgradeRequest request = new CancelDeploymentUpgradeRequest(); + request.deploymentUpgradeId = deploymentUpgradeId; + request.cancelDeploymentUpgradeDetails = cancelDeploymentUpgradeDetails; + request.ifMatch = ifMatch; + request.opcRequestId = opcRequestId; + request.opcRetryToken = opcRetryToken; + return request; + // new CancelDeploymentUpgradeRequest(deploymentUpgradeId, + // cancelDeploymentUpgradeDetails, ifMatch, opcRequestId, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .deploymentUpgradeId(deploymentUpgradeId) + .cancelDeploymentUpgradeDetails(cancelDeploymentUpgradeDetails) + .ifMatch(ifMatch) + .opcRequestId(opcRequestId) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",deploymentUpgradeId=").append(String.valueOf(this.deploymentUpgradeId)); + sb.append(",cancelDeploymentUpgradeDetails=") + .append(String.valueOf(this.cancelDeploymentUpgradeDetails)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CancelDeploymentUpgradeRequest)) { + return false; + } + + CancelDeploymentUpgradeRequest other = (CancelDeploymentUpgradeRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.deploymentUpgradeId, other.deploymentUpgradeId) + && java.util.Objects.equals( + this.cancelDeploymentUpgradeDetails, other.cancelDeploymentUpgradeDetails) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.deploymentUpgradeId == null + ? 43 + : this.deploymentUpgradeId.hashCode()); + result = + (result * PRIME) + + (this.cancelDeploymentUpgradeDetails == null + ? 43 + : this.cancelDeploymentUpgradeDetails.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/RescheduleDeploymentUpgradeRequest.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/RescheduleDeploymentUpgradeRequest.java new file mode 100644 index 00000000000..b5455968338 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/requests/RescheduleDeploymentUpgradeRequest.java @@ -0,0 +1,360 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.requests; + +import com.oracle.bmc.goldengate.model.*; +/** + * Example: Click here to see how to use + * RescheduleDeploymentUpgradeRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public class RescheduleDeploymentUpgradeRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.goldengate.model.RescheduleDeploymentUpgradeDetails> { + + /** A unique Deployment Upgrade identifier. */ + private String deploymentUpgradeId; + + /** A unique Deployment Upgrade identifier. */ + public String getDeploymentUpgradeId() { + return deploymentUpgradeId; + } + /** Properties to reschedule DeploymentUpgrade. */ + private com.oracle.bmc.goldengate.model.RescheduleDeploymentUpgradeDetails + rescheduleDeploymentUpgradeDetails; + + /** Properties to reschedule DeploymentUpgrade. */ + public com.oracle.bmc.goldengate.model.RescheduleDeploymentUpgradeDetails + getRescheduleDeploymentUpgradeDetails() { + return rescheduleDeploymentUpgradeDetails; + } + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + private String ifMatch; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code + * if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + /** The client request ID for tracing. */ + private String opcRequestId; + + /** The client request ID for tracing. */ + public String getOpcRequestId() { + return opcRequestId; + } + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire after + * 24 hours but can be invalidated before then due to conflicting operations. For example, if a + * resource was deleted and purged from the system, then a retry of the original creation + * request is rejected. + */ + private String opcRetryToken; + + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire after + * 24 hours but can be invalidated before then due to conflicting operations. For example, if a + * resource was deleted and purged from the system, then a retry of the original creation + * request is rejected. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.goldengate.model.RescheduleDeploymentUpgradeDetails getBody$() { + return rescheduleDeploymentUpgradeDetails; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + RescheduleDeploymentUpgradeRequest, + com.oracle.bmc.goldengate.model.RescheduleDeploymentUpgradeDetails> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** A unique Deployment Upgrade identifier. */ + private String deploymentUpgradeId = null; + + /** + * A unique Deployment Upgrade identifier. + * + * @param deploymentUpgradeId the value to set + * @return this builder instance + */ + public Builder deploymentUpgradeId(String deploymentUpgradeId) { + this.deploymentUpgradeId = deploymentUpgradeId; + return this; + } + + /** Properties to reschedule DeploymentUpgrade. */ + private com.oracle.bmc.goldengate.model.RescheduleDeploymentUpgradeDetails + rescheduleDeploymentUpgradeDetails = null; + + /** + * Properties to reschedule DeploymentUpgrade. + * + * @param rescheduleDeploymentUpgradeDetails the value to set + * @return this builder instance + */ + public Builder rescheduleDeploymentUpgradeDetails( + com.oracle.bmc.goldengate.model.RescheduleDeploymentUpgradeDetails + rescheduleDeploymentUpgradeDetails) { + this.rescheduleDeploymentUpgradeDetails = rescheduleDeploymentUpgradeDetails; + return this; + } + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the etag you provide + * matches the resource's current etag value. + */ + private String ifMatch = null; + + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response + * for that resource. The resource is updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** The client request ID for tracing. */ + private String opcRequestId = null; + + /** + * The client request ID for tracing. + * + * @param opcRequestId the value to set + * @return this builder instance + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire + * after 24 hours but can be invalidated before then due to conflicting operations. For + * example, if a resource was deleted and purged from the system, then a retry of the + * original creation request is rejected. + */ + private String opcRetryToken = null; + + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or + * server error, without the risk of executing that same action again. Retry tokens expire + * after 24 hours but can be invalidated before then due to conflicting operations. For + * example, if a resource was deleted and purged from the system, then a retry of the + * original creation request is rejected. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(RescheduleDeploymentUpgradeRequest o) { + deploymentUpgradeId(o.getDeploymentUpgradeId()); + rescheduleDeploymentUpgradeDetails(o.getRescheduleDeploymentUpgradeDetails()); + ifMatch(o.getIfMatch()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of RescheduleDeploymentUpgradeRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of RescheduleDeploymentUpgradeRequest + */ + public RescheduleDeploymentUpgradeRequest build() { + RescheduleDeploymentUpgradeRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.goldengate.model.RescheduleDeploymentUpgradeDetails body) { + rescheduleDeploymentUpgradeDetails(body); + return this; + } + + /** + * Build the instance of RescheduleDeploymentUpgradeRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of RescheduleDeploymentUpgradeRequest + */ + public RescheduleDeploymentUpgradeRequest buildWithoutInvocationCallback() { + RescheduleDeploymentUpgradeRequest request = new RescheduleDeploymentUpgradeRequest(); + request.deploymentUpgradeId = deploymentUpgradeId; + request.rescheduleDeploymentUpgradeDetails = rescheduleDeploymentUpgradeDetails; + request.ifMatch = ifMatch; + request.opcRequestId = opcRequestId; + request.opcRetryToken = opcRetryToken; + return request; + // new RescheduleDeploymentUpgradeRequest(deploymentUpgradeId, + // rescheduleDeploymentUpgradeDetails, ifMatch, opcRequestId, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .deploymentUpgradeId(deploymentUpgradeId) + .rescheduleDeploymentUpgradeDetails(rescheduleDeploymentUpgradeDetails) + .ifMatch(ifMatch) + .opcRequestId(opcRequestId) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",deploymentUpgradeId=").append(String.valueOf(this.deploymentUpgradeId)); + sb.append(",rescheduleDeploymentUpgradeDetails=") + .append(String.valueOf(this.rescheduleDeploymentUpgradeDetails)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RescheduleDeploymentUpgradeRequest)) { + return false; + } + + RescheduleDeploymentUpgradeRequest other = (RescheduleDeploymentUpgradeRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.deploymentUpgradeId, other.deploymentUpgradeId) + && java.util.Objects.equals( + this.rescheduleDeploymentUpgradeDetails, + other.rescheduleDeploymentUpgradeDetails) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.deploymentUpgradeId == null + ? 43 + : this.deploymentUpgradeId.hashCode()); + result = + (result * PRIME) + + (this.rescheduleDeploymentUpgradeDetails == null + ? 43 + : this.rescheduleDeploymentUpgradeDetails.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/CancelDeploymentUpgradeResponse.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/CancelDeploymentUpgradeResponse.java new file mode 100644 index 00000000000..e277180e034 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/CancelDeploymentUpgradeResponse.java @@ -0,0 +1,212 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.responses; + +import com.oracle.bmc.goldengate.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public class CancelDeploymentUpgradeResponse extends com.oracle.bmc.responses.BmcResponse { + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + */ + private String opcRequestId; + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned DeploymentUpgrade instance. */ + private com.oracle.bmc.goldengate.model.DeploymentUpgrade deploymentUpgrade; + + /** + * The returned DeploymentUpgrade instance. + * + * @return the value + */ + public com.oracle.bmc.goldengate.model.DeploymentUpgrade getDeploymentUpgrade() { + return deploymentUpgrade; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "etag", + "opcRequestId", + "deploymentUpgrade" + }) + private CancelDeploymentUpgradeResponse( + int __httpStatusCode__, + java.util.Map> headers, + String etag, + String opcRequestId, + com.oracle.bmc.goldengate.model.DeploymentUpgrade deploymentUpgrade) { + super(__httpStatusCode__, headers); + this.etag = etag; + this.opcRequestId = opcRequestId; + this.deploymentUpgrade = deploymentUpgrade; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + CancelDeploymentUpgradeResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please include the request ID. + */ + private String opcRequestId; + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please include the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned DeploymentUpgrade instance. */ + private com.oracle.bmc.goldengate.model.DeploymentUpgrade deploymentUpgrade; + + /** + * The returned DeploymentUpgrade instance. + * + * @param deploymentUpgrade the value to set + * @return this builder + */ + public Builder deploymentUpgrade( + com.oracle.bmc.goldengate.model.DeploymentUpgrade deploymentUpgrade) { + this.deploymentUpgrade = deploymentUpgrade; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(CancelDeploymentUpgradeResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + etag(o.getEtag()); + opcRequestId(o.getOpcRequestId()); + deploymentUpgrade(o.getDeploymentUpgrade()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public CancelDeploymentUpgradeResponse build() { + return new CancelDeploymentUpgradeResponse( + __httpStatusCode__, headers, etag, opcRequestId, deploymentUpgrade); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",deploymentUpgrade=").append(String.valueOf(deploymentUpgrade)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CancelDeploymentUpgradeResponse)) { + return false; + } + + CancelDeploymentUpgradeResponse other = (CancelDeploymentUpgradeResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.deploymentUpgrade, other.deploymentUpgrade); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.deploymentUpgrade == null ? 43 : this.deploymentUpgrade.hashCode()); + return result; + } +} diff --git a/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/RescheduleDeploymentUpgradeResponse.java b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/RescheduleDeploymentUpgradeResponse.java new file mode 100644 index 00000000000..33d1d4ed213 --- /dev/null +++ b/bmc-goldengate/src/main/java/com/oracle/bmc/goldengate/responses/RescheduleDeploymentUpgradeResponse.java @@ -0,0 +1,212 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.goldengate.responses; + +import com.oracle.bmc.goldengate.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200407") +public class RescheduleDeploymentUpgradeResponse extends com.oracle.bmc.responses.BmcResponse { + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + */ + private String opcRequestId; + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned DeploymentUpgrade instance. */ + private com.oracle.bmc.goldengate.model.DeploymentUpgrade deploymentUpgrade; + + /** + * The returned DeploymentUpgrade instance. + * + * @return the value + */ + public com.oracle.bmc.goldengate.model.DeploymentUpgrade getDeploymentUpgrade() { + return deploymentUpgrade; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "etag", + "opcRequestId", + "deploymentUpgrade" + }) + private RescheduleDeploymentUpgradeResponse( + int __httpStatusCode__, + java.util.Map> headers, + String etag, + String opcRequestId, + com.oracle.bmc.goldengate.model.DeploymentUpgrade deploymentUpgrade) { + super(__httpStatusCode__, headers); + this.etag = etag; + this.opcRequestId = opcRequestId; + this.deploymentUpgrade = deploymentUpgrade; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + RescheduleDeploymentUpgradeResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please include the request ID. + */ + private String opcRequestId; + + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please include the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned DeploymentUpgrade instance. */ + private com.oracle.bmc.goldengate.model.DeploymentUpgrade deploymentUpgrade; + + /** + * The returned DeploymentUpgrade instance. + * + * @param deploymentUpgrade the value to set + * @return this builder + */ + public Builder deploymentUpgrade( + com.oracle.bmc.goldengate.model.DeploymentUpgrade deploymentUpgrade) { + this.deploymentUpgrade = deploymentUpgrade; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(RescheduleDeploymentUpgradeResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + etag(o.getEtag()); + opcRequestId(o.getOpcRequestId()); + deploymentUpgrade(o.getDeploymentUpgrade()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public RescheduleDeploymentUpgradeResponse build() { + return new RescheduleDeploymentUpgradeResponse( + __httpStatusCode__, headers, etag, opcRequestId, deploymentUpgrade); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",deploymentUpgrade=").append(String.valueOf(deploymentUpgrade)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RescheduleDeploymentUpgradeResponse)) { + return false; + } + + RescheduleDeploymentUpgradeResponse other = (RescheduleDeploymentUpgradeResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.deploymentUpgrade, other.deploymentUpgrade); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.deploymentUpgrade == null ? 43 : this.deploymentUpgrade.hashCode()); + return result; + } +} diff --git a/bmc-governancerulescontrolplane/pom.xml b/bmc-governancerulescontrolplane/pom.xml index b252398e928..2cb7ebc79c5 100644 --- a/bmc-governancerulescontrolplane/pom.xml +++ b/bmc-governancerulescontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-governancerulescontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-healthchecks/pom.xml b/bmc-healthchecks/pom.xml index 9a5a7790712..0a1cdba6ce9 100644 --- a/bmc-healthchecks/pom.xml +++ b/bmc-healthchecks/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-healthchecks @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-identity/pom.xml b/bmc-identity/pom.xml index 670e94a0e74..bc5701b0863 100644 --- a/bmc-identity/pom.xml +++ b/bmc-identity/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-identitydataplane/pom.xml b/bmc-identitydataplane/pom.xml index 7e7351aeddc..4f5d3a078a9 100644 --- a/bmc-identitydataplane/pom.xml +++ b/bmc-identitydataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-identitydataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-identitydomains/pom.xml b/bmc-identitydomains/pom.xml index 969caba94ba..74922134ab9 100644 --- a/bmc-identitydomains/pom.xml +++ b/bmc-identitydomains/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-identitydomains @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomains.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomains.java index 7838e5f86ea..ae3487fe1e0 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomains.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomains.java @@ -33,7 +33,7 @@ public interface IdentityDomains extends AutoCloseable { String getEndpoint(); /** - * Add a user's api key + * Create a user's API key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -48,7 +48,37 @@ public interface IdentityDomains extends AutoCloseable { CreateApiKeyResponse createApiKey(CreateApiKeyRequest request); /** - * Add a user's auth token + * Create an App + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use CreateApp API. + */ + CreateAppResponse createApp(CreateAppRequest request); + + /** + * Create an AppRole + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use CreateAppRole API. + */ + CreateAppRoleResponse createAppRole(CreateAppRoleRequest request); + + /** + * Create a user's Auth token. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -81,7 +111,7 @@ CreateAuthenticationFactorsRemoverResponse createAuthenticationFactorsRemover( CreateAuthenticationFactorsRemoverRequest request); /** - * Add a user's customer secret key + * Create a user's customer secret key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -97,7 +127,7 @@ CreateAuthenticationFactorsRemoverResponse createAuthenticationFactorsRemover( CreateCustomerSecretKeyResponse createCustomerSecretKey(CreateCustomerSecretKeyRequest request); /** - * Create a DynamicResourceGroup + * Create a Dynamic Resource Group. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -114,7 +144,22 @@ CreateDynamicResourceGroupResponse createDynamicResourceGroup( CreateDynamicResourceGroupRequest request); /** - * Create a Group + * Add a Grantee to an AppRole + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use CreateGrant API. + */ + CreateGrantResponse createGrant(CreateGrantRequest request); + + /** + * Create a group. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -145,7 +190,7 @@ CreateDynamicResourceGroupResponse createDynamicResourceGroup( CreateIdentityProviderResponse createIdentityProvider(CreateIdentityProviderRequest request); /** - * Self Register + * Self register a user. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -160,7 +205,7 @@ CreateDynamicResourceGroupResponse createDynamicResourceGroup( CreateMeResponse createMe(CreateMeRequest request); /** - * Add a user's api key + * Add a user's own API key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -175,7 +220,7 @@ CreateDynamicResourceGroupResponse createDynamicResourceGroup( CreateMyApiKeyResponse createMyApiKey(CreateMyApiKeyRequest request); /** - * Add user's auth token + * Create a user's own Auth token. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -242,7 +287,7 @@ CreateMyAuthenticationFactorsRemoverResponse createMyAuthenticationFactorsRemove CreateMyAuthenticationFactorsRemoverRequest request); /** - * Add a user's customer secret key + * Add a user's own customer secret key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -259,7 +304,7 @@ CreateMyCustomerSecretKeyResponse createMyCustomerSecretKey( CreateMyCustomerSecretKeyRequest request); /** - * Add a user's oauth2 client credential + * Create a user's own OAuth2 client credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -276,7 +321,23 @@ CreateMyOAuth2ClientCredentialResponse createMyOAuth2ClientCredential( CreateMyOAuth2ClientCredentialRequest request); /** - * Add a user's smtp credenials + * Create a Request + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use CreateMyRequest + * API. + */ + CreateMyRequestResponse createMyRequest(CreateMyRequestRequest request); + + /** + * Create a user's own SMTP credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -292,7 +353,7 @@ CreateMyOAuth2ClientCredentialResponse createMyOAuth2ClientCredential( CreateMySmtpCredentialResponse createMySmtpCredential(CreateMySmtpCredentialRequest request); /** - * Create a Support Account + * Create a user's own support account. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -308,7 +369,7 @@ CreateMyOAuth2ClientCredentialResponse createMyOAuth2ClientCredential( CreateMySupportAccountResponse createMySupportAccount(CreateMySupportAccountRequest request); /** - * Set a User's DbCredential + * Create a user's own database (DB) credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -325,7 +386,7 @@ CreateMyUserDbCredentialResponse createMyUserDbCredential( CreateMyUserDbCredentialRequest request); /** - * Add a user's oauth2 client credential + * Add a user's OAuth2 client credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -342,7 +403,7 @@ CreateOAuth2ClientCredentialResponse createOAuth2ClientCredential( CreateOAuth2ClientCredentialRequest request); /** - * Create a Password Policy + * Create a password policy. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -358,7 +419,23 @@ CreateOAuth2ClientCredentialResponse createOAuth2ClientCredential( CreatePasswordPolicyResponse createPasswordPolicy(CreatePasswordPolicyRequest request); /** - * Add a user's smtp credenials + * Create a security question. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * CreateSecurityQuestion API. + */ + CreateSecurityQuestionResponse createSecurityQuestion(CreateSecurityQuestionRequest request); + + /** + * Create a user's SMTP credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -374,7 +451,7 @@ CreateOAuth2ClientCredentialResponse createOAuth2ClientCredential( CreateSmtpCredentialResponse createSmtpCredential(CreateSmtpCredentialRequest request); /** - * Create a User + * Create a user. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -389,7 +466,7 @@ CreateOAuth2ClientCredentialResponse createOAuth2ClientCredential( CreateUserResponse createUser(CreateUserRequest request); /** - * Set a User's DbCredential + * Create a user's database (DB) credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -405,7 +482,7 @@ CreateOAuth2ClientCredentialResponse createOAuth2ClientCredential( CreateUserDbCredentialResponse createUserDbCredential(CreateUserDbCredentialRequest request); /** - * Delete user's api key + * Delete a user's API key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -420,7 +497,37 @@ CreateOAuth2ClientCredentialResponse createOAuth2ClientCredential( DeleteApiKeyResponse deleteApiKey(DeleteApiKeyRequest request); /** - * Delete user's auth token + * Delete an App + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use DeleteApp API. + */ + DeleteAppResponse deleteApp(DeleteAppRequest request); + + /** + * Delete an AppRole + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use DeleteAppRole API. + */ + DeleteAppRoleResponse deleteAppRole(DeleteAppRoleRequest request); + + /** + * Delete a user's Auth token. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -436,7 +543,7 @@ CreateOAuth2ClientCredentialResponse createOAuth2ClientCredential( DeleteAuthTokenResponse deleteAuthToken(DeleteAuthTokenRequest request); /** - * Delete user's customer secret key + * Delete a user's customer secret key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -452,7 +559,7 @@ CreateOAuth2ClientCredentialResponse createOAuth2ClientCredential( DeleteCustomerSecretKeyResponse deleteCustomerSecretKey(DeleteCustomerSecretKeyRequest request); /** - * Delete a DynamicResourceGroup + * Delete a Dynamic Resource Group. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -469,7 +576,22 @@ DeleteDynamicResourceGroupResponse deleteDynamicResourceGroup( DeleteDynamicResourceGroupRequest request); /** - * Delete a Group + * Remove a Grantee from an AppRole + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use DeleteGrant API. + */ + DeleteGrantResponse deleteGrant(DeleteGrantRequest request); + + /** + * Delete a group. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -500,7 +622,7 @@ DeleteDynamicResourceGroupResponse deleteDynamicResourceGroup( DeleteIdentityProviderResponse deleteIdentityProvider(DeleteIdentityProviderRequest request); /** - * Delete user's api key + * Delete a user's own API key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -515,7 +637,7 @@ DeleteDynamicResourceGroupResponse deleteDynamicResourceGroup( DeleteMyApiKeyResponse deleteMyApiKey(DeleteMyApiKeyRequest request); /** - * Delete user's auth token + * Delete a user's own Auth token. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -531,7 +653,7 @@ DeleteDynamicResourceGroupResponse deleteDynamicResourceGroup( DeleteMyAuthTokenResponse deleteMyAuthToken(DeleteMyAuthTokenRequest request); /** - * Delete user's customer secret key + * Delete a user's own customer secret key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -563,7 +685,7 @@ DeleteMyCustomerSecretKeyResponse deleteMyCustomerSecretKey( DeleteMyDeviceResponse deleteMyDevice(DeleteMyDeviceRequest request); /** - * Delete user's oauth2 client credential + * Delete a user's own OAuth2 client credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -580,7 +702,7 @@ DeleteMyOAuth2ClientCredentialResponse deleteMyOAuth2ClientCredential( DeleteMyOAuth2ClientCredentialRequest request); /** - * Delete user's smtp credenials + * Delete a user's own SMTP credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -596,7 +718,7 @@ DeleteMyOAuth2ClientCredentialResponse deleteMyOAuth2ClientCredential( DeleteMySmtpCredentialResponse deleteMySmtpCredential(DeleteMySmtpCredentialRequest request); /** - * Delete a Support Account + * Delete a user's own support account. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -629,7 +751,7 @@ DeleteMyTrustedUserAgentResponse deleteMyTrustedUserAgent( DeleteMyTrustedUserAgentRequest request); /** - * Remove a User's DbCredential + * Delete a user's own database (DB) credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -646,7 +768,7 @@ DeleteMyUserDbCredentialResponse deleteMyUserDbCredential( DeleteMyUserDbCredentialRequest request); /** - * Delete user's oauth2 client credential + * Delete a user's OAuth2 client credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -663,7 +785,7 @@ DeleteOAuth2ClientCredentialResponse deleteOAuth2ClientCredential( DeleteOAuth2ClientCredentialRequest request); /** - * Delete a Password Policy + * Delete a password policy. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -679,7 +801,23 @@ DeleteOAuth2ClientCredentialResponse deleteOAuth2ClientCredential( DeletePasswordPolicyResponse deletePasswordPolicy(DeletePasswordPolicyRequest request); /** - * Delete user's smtp credenials + * Delete a security question. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * DeleteSecurityQuestion API. + */ + DeleteSecurityQuestionResponse deleteSecurityQuestion(DeleteSecurityQuestionRequest request); + + /** + * Delete a user's SMTP credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -695,7 +833,7 @@ DeleteOAuth2ClientCredentialResponse deleteOAuth2ClientCredential( DeleteSmtpCredentialResponse deleteSmtpCredential(DeleteSmtpCredentialRequest request); /** - * Delete a User + * Delete a user. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -710,7 +848,7 @@ DeleteOAuth2ClientCredentialResponse deleteOAuth2ClientCredential( DeleteUserResponse deleteUser(DeleteUserRequest request); /** - * Remove a User's DbCredential + * Delete a user's database (DB) credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -726,7 +864,40 @@ DeleteOAuth2ClientCredentialResponse deleteOAuth2ClientCredential( DeleteUserDbCredentialResponse deleteUserDbCredential(DeleteUserDbCredentialRequest request); /** - * Get user's api key + * Get Account Mgmt Info + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use GetAccountMgmtInfo + * API. + */ + GetAccountMgmtInfoResponse getAccountMgmtInfo(GetAccountMgmtInfoRequest request); + + /** + * Get an account recovery setting. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * GetAccountRecoverySetting API. + */ + GetAccountRecoverySettingResponse getAccountRecoverySetting( + GetAccountRecoverySettingRequest request); + + /** + * Get a user's API key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -741,7 +912,37 @@ DeleteOAuth2ClientCredentialResponse deleteOAuth2ClientCredential( GetApiKeyResponse getApiKey(GetApiKeyRequest request); /** - * Get user's auth token + * Get an App + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use GetApp API. + */ + GetAppResponse getApp(GetAppRequest request); + + /** + * Get an AppRole + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use GetAppRole API. + */ + GetAppRoleResponse getAppRole(GetAppRoleRequest request); + + /** + * Get a user's Auth token. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -773,7 +974,7 @@ GetAuthenticationFactorSettingResponse getAuthenticationFactorSetting( GetAuthenticationFactorSettingRequest request); /** - * Get user's customer secret key + * Get a user's customer secret key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -789,7 +990,7 @@ GetAuthenticationFactorSettingResponse getAuthenticationFactorSetting( GetCustomerSecretKeyResponse getCustomerSecretKey(GetCustomerSecretKeyRequest request); /** - * Get a DynamicResourceGroup + * Get a Dynamic Resource Group. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -805,9 +1006,24 @@ GetAuthenticationFactorSettingResponse getAuthenticationFactorSetting( GetDynamicResourceGroupResponse getDynamicResourceGroup(GetDynamicResourceGroupRequest request); /** - * Get a Group - The Group search and get operations on users/members will throw an exception if - * it has more than 10K members, to avoid the exception use the pagination filter to get or - * search group members + * Get a Grant + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use GetGrant API. + */ + GetGrantResponse getGrant(GetGrantRequest request); + + /** + * Get a group. Important: The Group SEARCH and GET operations on users and members will + * throw an exception if the response has more than 10,000 members. To avoid the exception, use + * the pagination filter to GET or SEARCH group members. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -837,6 +1053,22 @@ GetAuthenticationFactorSettingResponse getAuthenticationFactorSetting( */ GetIdentityProviderResponse getIdentityProvider(GetIdentityProviderRequest request); + /** + * Get an Identity setting. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use GetIdentitySetting + * API. + */ + GetIdentitySettingResponse getIdentitySetting(GetIdentitySettingRequest request); + /** * Get KmsiSettings * @@ -853,7 +1085,7 @@ GetAuthenticationFactorSettingResponse getAuthenticationFactorSetting( GetKmsiSettingResponse getKmsiSetting(GetKmsiSettingRequest request); /** - * Get User Info + * Get a user's own information. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -868,7 +1100,7 @@ GetAuthenticationFactorSettingResponse getAuthenticationFactorSetting( GetMeResponse getMe(GetMeRequest request); /** - * Get user's api key + * Get a user's own API key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -883,7 +1115,7 @@ GetAuthenticationFactorSettingResponse getAuthenticationFactorSetting( GetMyApiKeyResponse getMyApiKey(GetMyApiKeyRequest request); /** - * Get user's auth token + * Get a user's own Auth token. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -898,7 +1130,7 @@ GetAuthenticationFactorSettingResponse getAuthenticationFactorSetting( GetMyAuthTokenResponse getMyAuthToken(GetMyAuthTokenRequest request); /** - * Get user's customer secret key + * Get a user's own customer secret key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -929,7 +1161,7 @@ GetAuthenticationFactorSettingResponse getAuthenticationFactorSetting( GetMyDeviceResponse getMyDevice(GetMyDeviceRequest request); /** - * Get user's oauth2 client credential + * Get a user's own OAuth2 client credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -946,7 +1178,7 @@ GetMyOAuth2ClientCredentialResponse getMyOAuth2ClientCredential( GetMyOAuth2ClientCredentialRequest request); /** - * Get user's smtp credentials + * Get a user's own SMTP credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -962,7 +1194,7 @@ GetMyOAuth2ClientCredentialResponse getMyOAuth2ClientCredential( GetMySmtpCredentialResponse getMySmtpCredential(GetMySmtpCredentialRequest request); /** - * Get a Support Account + * Get a user's own support account. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -994,7 +1226,7 @@ GetMyOAuth2ClientCredentialResponse getMyOAuth2ClientCredential( GetMyTrustedUserAgentResponse getMyTrustedUserAgent(GetMyTrustedUserAgentRequest request); /** - * Get a User's DbCredentials + * Get a user's own database (DB) credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1010,7 +1242,7 @@ GetMyOAuth2ClientCredentialResponse getMyOAuth2ClientCredential( GetMyUserDbCredentialResponse getMyUserDbCredential(GetMyUserDbCredentialRequest request); /** - * Get user's oauth2 client credential + * Get a user's OAuth2 client credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1027,7 +1259,7 @@ GetOAuth2ClientCredentialResponse getOAuth2ClientCredential( GetOAuth2ClientCredentialRequest request); /** - * Get a Password Policy + * Get a password policy. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1043,7 +1275,7 @@ GetOAuth2ClientCredentialResponse getOAuth2ClientCredential( GetPasswordPolicyResponse getPasswordPolicy(GetPasswordPolicyRequest request); /** - * Get user's smtp credentials + * Get a security question. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1052,14 +1284,14 @@ GetOAuth2ClientCredentialResponse getOAuth2ClientCredential( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use GetSmtpCredential + * href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/identitydomains/GetSecurityQuestionExample.java.html" + * target="_blank" rel="noopener noreferrer" >here to see how to use GetSecurityQuestion * API. */ - GetSmtpCredentialResponse getSmtpCredential(GetSmtpCredentialRequest request); + GetSecurityQuestionResponse getSecurityQuestion(GetSecurityQuestionRequest request); /** - * Get a User + * Get a security question setting. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1068,13 +1300,15 @@ GetOAuth2ClientCredentialResponse getOAuth2ClientCredential( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use GetUser API. + * href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/identitydomains/GetSecurityQuestionSettingExample.java.html" + * target="_blank" rel="noopener noreferrer" >here to see how to use + * GetSecurityQuestionSetting API. */ - GetUserResponse getUser(GetUserRequest request); + GetSecurityQuestionSettingResponse getSecurityQuestionSetting( + GetSecurityQuestionSettingRequest request); /** - * Get a User's DbCredentials + * Get a user's SMTP credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1083,14 +1317,14 @@ GetOAuth2ClientCredentialResponse getOAuth2ClientCredential( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use GetUserDbCredential + * href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/identitydomains/GetSmtpCredentialExample.java.html" + * target="_blank" rel="noopener noreferrer" >here to see how to use GetSmtpCredential * API. */ - GetUserDbCredentialResponse getUserDbCredential(GetUserDbCredentialRequest request); + GetSmtpCredentialResponse getSmtpCredential(GetSmtpCredentialRequest request); /** - * Search Api Key + * Get a user. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1099,13 +1333,13 @@ GetOAuth2ClientCredentialResponse getOAuth2ClientCredential( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use ListApiKeys API. + * href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/identitydomains/GetUserExample.java.html" + * target="_blank" rel="noopener noreferrer" >here to see how to use GetUser API. */ - ListApiKeysResponse listApiKeys(ListApiKeysRequest request); + GetUserResponse getUser(GetUserRequest request); /** - * Search AuthTokens + * Get User Schema Attribute Settings * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1114,13 +1348,15 @@ GetOAuth2ClientCredentialResponse getOAuth2ClientCredential( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use ListAuthTokens API. + * href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/identitydomains/GetUserAttributesSettingExample.java.html" + * target="_blank" rel="noopener noreferrer" >here to see how to use + * GetUserAttributesSetting API. */ - ListAuthTokensResponse listAuthTokens(ListAuthTokensRequest request); + GetUserAttributesSettingResponse getUserAttributesSetting( + GetUserAttributesSettingRequest request); /** - * Search Authentication Factor Settings + * Get a user's database (DB) credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1129,15 +1365,14 @@ GetOAuth2ClientCredentialResponse getOAuth2ClientCredential( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use - * ListAuthenticationFactorSettings API. + * href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/identitydomains/GetUserDbCredentialExample.java.html" + * target="_blank" rel="noopener noreferrer" >here to see how to use GetUserDbCredential + * API. */ - ListAuthenticationFactorSettingsResponse listAuthenticationFactorSettings( - ListAuthenticationFactorSettingsRequest request); + GetUserDbCredentialResponse getUserDbCredential(GetUserDbCredentialRequest request); /** - * Search user's customer secret key + * Search Account Mgmt Info * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1146,14 +1381,14 @@ ListAuthenticationFactorSettingsResponse listAuthenticationFactorSettings( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use - * ListCustomerSecretKeys API. + * ListAccountMgmtInfos API. */ - ListCustomerSecretKeysResponse listCustomerSecretKeys(ListCustomerSecretKeysRequest request); + ListAccountMgmtInfosResponse listAccountMgmtInfos(ListAccountMgmtInfosRequest request); /** - * Search DynamicResourceGroups + * Search for account recovery settings. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1162,17 +1397,15 @@ ListAuthenticationFactorSettingsResponse listAuthenticationFactorSettings( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use - * ListDynamicResourceGroups API. + * ListAccountRecoverySettings API. */ - ListDynamicResourceGroupsResponse listDynamicResourceGroups( - ListDynamicResourceGroupsRequest request); + ListAccountRecoverySettingsResponse listAccountRecoverySettings( + ListAccountRecoverySettingsRequest request); /** - * Search Groups.The Group search and get operations on users/members will throw an exception if - * it has more than 10K members, to avoid the exception use the pagination filter to get or - * search group members + * Search API keys. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1181,13 +1414,13 @@ ListDynamicResourceGroupsResponse listDynamicResourceGroups( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use ListGroups API. + * href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/identitydomains/ListApiKeysExample.java.html" + * target="_blank" rel="noopener noreferrer" >here to see how to use ListApiKeys API. */ - ListGroupsResponse listGroups(ListGroupsRequest request); + ListApiKeysResponse listApiKeys(ListApiKeysRequest request); /** - * Search Identity Providers + * Search AppRoles * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1196,14 +1429,13 @@ ListDynamicResourceGroupsResponse listDynamicResourceGroups( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use - * ListIdentityProviders API. + * href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/identitydomains/ListAppRolesExample.java.html" + * target="_blank" rel="noopener noreferrer" >here to see how to use ListAppRoles API. */ - ListIdentityProvidersResponse listIdentityProviders(ListIdentityProvidersRequest request); + ListAppRolesResponse listAppRoles(ListAppRolesRequest request); /** - * Search KmsiSettings + * Search Apps * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1212,14 +1444,13 @@ ListDynamicResourceGroupsResponse listDynamicResourceGroups( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use ListKmsiSettings - * API. + * href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/identitydomains/ListAppsExample.java.html" + * target="_blank" rel="noopener noreferrer" >here to see how to use ListApps API. */ - ListKmsiSettingsResponse listKmsiSettings(ListKmsiSettingsRequest request); + ListAppsResponse listApps(ListAppsRequest request); /** - * Search Api Key + * Search for Auth tokens. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1228,13 +1459,13 @@ ListDynamicResourceGroupsResponse listDynamicResourceGroups( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use ListMyApiKeys API. + * href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/identitydomains/ListAuthTokensExample.java.html" + * target="_blank" rel="noopener noreferrer" >here to see how to use ListAuthTokens API. */ - ListMyApiKeysResponse listMyApiKeys(ListMyApiKeysRequest request); + ListAuthTokensResponse listAuthTokens(ListAuthTokensRequest request); /** - * Search AuthTokens + * Search Authentication Factor Settings * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1243,14 +1474,15 @@ ListDynamicResourceGroupsResponse listDynamicResourceGroups( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use ListMyAuthTokens - * API. + * href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/identitydomains/ListAuthenticationFactorSettingsExample.java.html" + * target="_blank" rel="noopener noreferrer" >here to see how to use + * ListAuthenticationFactorSettings API. */ - ListMyAuthTokensResponse listMyAuthTokens(ListMyAuthTokensRequest request); + ListAuthenticationFactorSettingsResponse listAuthenticationFactorSettings( + ListAuthenticationFactorSettingsRequest request); /** - * Search user's customer secret key + * Search for a user's customer secret keys. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1259,15 +1491,14 @@ ListDynamicResourceGroupsResponse listDynamicResourceGroups( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use - * ListMyCustomerSecretKeys API. + * ListCustomerSecretKeys API. */ - ListMyCustomerSecretKeysResponse listMyCustomerSecretKeys( - ListMyCustomerSecretKeysRequest request); + ListCustomerSecretKeysResponse listCustomerSecretKeys(ListCustomerSecretKeysRequest request); /** - * Search Devices + * Search for Dynamic Resource Groups. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1276,13 +1507,173 @@ ListMyCustomerSecretKeysResponse listMyCustomerSecretKeys( * enable retries for it. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click here to see how to use ListMyDevices API. + * href="https://docs.cloud.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/identitydomains/ListDynamicResourceGroupsExample.java.html" + * target="_blank" rel="noopener noreferrer" >here to see how to use + * ListDynamicResourceGroups API. + */ + ListDynamicResourceGroupsResponse listDynamicResourceGroups( + ListDynamicResourceGroupsRequest request); + + /** + * Search Grants + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use ListGrants API. + */ + ListGrantsResponse listGrants(ListGrantsRequest request); + + /** + * Search for groups. Important: The Group SEARCH and GET operations on users and members + * will throw an exception if the response has more than 10,000 members. To avoid the exception, + * use the pagination filter to GET or SEARCH group members. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use ListGroups API. + */ + ListGroupsResponse listGroups(ListGroupsRequest request); + + /** + * Search Identity Providers + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ListIdentityProviders API. + */ + ListIdentityProvidersResponse listIdentityProviders(ListIdentityProvidersRequest request); + + /** + * Search for Identity settings. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ListIdentitySettings API. + */ + ListIdentitySettingsResponse listIdentitySettings(ListIdentitySettingsRequest request); + + /** + * Search KmsiSettings + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use ListKmsiSettings + * API. + */ + ListKmsiSettingsResponse listKmsiSettings(ListKmsiSettingsRequest request); + + /** + * Search for a user's own API key. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use ListMyApiKeys API. + */ + ListMyApiKeysResponse listMyApiKeys(ListMyApiKeysRequest request); + + /** + * Search My Apps + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use ListMyApps API. + */ + ListMyAppsResponse listMyApps(ListMyAppsRequest request); + + /** + * Search for a user's own Auth token. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use ListMyAuthTokens + * API. + */ + ListMyAuthTokensResponse listMyAuthTokens(ListMyAuthTokensRequest request); + + /** + * Search for a user's own customer secret key. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ListMyCustomerSecretKeys API. + */ + ListMyCustomerSecretKeysResponse listMyCustomerSecretKeys( + ListMyCustomerSecretKeysRequest request); + + /** + * Search Devices + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use ListMyDevices API. */ ListMyDevicesResponse listMyDevices(ListMyDevicesRequest request); /** - * Search My Groups + * Search for 'My Groups'. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1297,7 +1688,7 @@ ListMyCustomerSecretKeysResponse listMyCustomerSecretKeys( ListMyGroupsResponse listMyGroups(ListMyGroupsRequest request); /** - * Search oauth2 client credentials + * Search for a user's own OAuth2 client credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1314,7 +1705,38 @@ ListMyOAuth2ClientCredentialsResponse listMyOAuth2ClientCredentials( ListMyOAuth2ClientCredentialsRequest request); /** - * Search smtp credentials + * Search My Requestable Groups + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ListMyRequestableGroups API. + */ + ListMyRequestableGroupsResponse listMyRequestableGroups(ListMyRequestableGroupsRequest request); + + /** + * Search My Requests + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use ListMyRequests API. + */ + ListMyRequestsResponse listMyRequests(ListMyRequestsRequest request); + + /** + * Search for a user's own SMTP credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1330,7 +1752,7 @@ ListMyOAuth2ClientCredentialsResponse listMyOAuth2ClientCredentials( ListMySmtpCredentialsResponse listMySmtpCredentials(ListMySmtpCredentialsRequest request); /** - * Search Support Accounts + * Search for a user's own support account. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1362,7 +1784,7 @@ ListMyOAuth2ClientCredentialsResponse listMyOAuth2ClientCredentials( ListMyTrustedUserAgentsResponse listMyTrustedUserAgents(ListMyTrustedUserAgentsRequest request); /** - * Search a User's DBCredentials + * Search for a user's own database (DB) credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1378,7 +1800,7 @@ ListMyOAuth2ClientCredentialsResponse listMyOAuth2ClientCredentials( ListMyUserDbCredentialsResponse listMyUserDbCredentials(ListMyUserDbCredentialsRequest request); /** - * Search oauth2 client credentials + * Search for a user's OAuth2 client credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1395,7 +1817,7 @@ ListOAuth2ClientCredentialsResponse listOAuth2ClientCredentials( ListOAuth2ClientCredentialsRequest request); /** - * Search Password Policies + * Search for password policies. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1411,7 +1833,57 @@ ListOAuth2ClientCredentialsResponse listOAuth2ClientCredentials( ListPasswordPoliciesResponse listPasswordPolicies(ListPasswordPoliciesRequest request); /** - * Search smtp credentials + * Search Resource Type Schema Attributes + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ListResourceTypeSchemaAttributes API. + */ + ListResourceTypeSchemaAttributesResponse listResourceTypeSchemaAttributes( + ListResourceTypeSchemaAttributesRequest request); + + /** + * Search for security question settings. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ListSecurityQuestionSettings API. + */ + ListSecurityQuestionSettingsResponse listSecurityQuestionSettings( + ListSecurityQuestionSettingsRequest request); + + /** + * Search for security questions. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ListSecurityQuestions API. + */ + ListSecurityQuestionsResponse listSecurityQuestions(ListSecurityQuestionsRequest request); + + /** + * Search for SMTP credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1427,7 +1899,24 @@ ListOAuth2ClientCredentialsResponse listOAuth2ClientCredentials( ListSmtpCredentialsResponse listSmtpCredentials(ListSmtpCredentialsRequest request); /** - * Search a User's DBCredentials + * Search User Schema Attribute Settings + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * ListUserAttributesSettings API. + */ + ListUserAttributesSettingsResponse listUserAttributesSettings( + ListUserAttributesSettingsRequest request); + + /** + * Search for a user's database (DB) credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1443,7 +1932,7 @@ ListOAuth2ClientCredentialsResponse listOAuth2ClientCredentials( ListUserDbCredentialsResponse listUserDbCredentials(ListUserDbCredentialsRequest request); /** - * Search Users + * Search for users. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1458,7 +1947,24 @@ ListOAuth2ClientCredentialsResponse listOAuth2ClientCredentials( ListUsersResponse listUsers(ListUsersRequest request); /** - * Update user's api key + * Update an account recovery setting. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * PatchAccountRecoverySetting API. + */ + PatchAccountRecoverySettingResponse patchAccountRecoverySetting( + PatchAccountRecoverySettingRequest request); + + /** + * Update a user's API key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1473,7 +1979,37 @@ ListOAuth2ClientCredentialsResponse listOAuth2ClientCredentials( PatchApiKeyResponse patchApiKey(PatchApiKeyRequest request); /** - * Update user's AuthToken + * Update an App + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use PatchApp API. + */ + PatchAppResponse patchApp(PatchAppRequest request); + + /** + * Update an AppRole + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use PatchAppRole API. + */ + PatchAppRoleResponse patchAppRole(PatchAppRoleRequest request); + + /** + * Update a user's Auth token. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1488,7 +2024,7 @@ ListOAuth2ClientCredentialsResponse listOAuth2ClientCredentials( PatchAuthTokenResponse patchAuthToken(PatchAuthTokenRequest request); /** - * Update user's customer secret key + * Update a user's customer secret key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1504,7 +2040,7 @@ ListOAuth2ClientCredentialsResponse listOAuth2ClientCredentials( PatchCustomerSecretKeyResponse patchCustomerSecretKey(PatchCustomerSecretKeyRequest request); /** - * Update a DynamicResourceGroup + * Update a Dynamic Resource Group. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1521,7 +2057,22 @@ PatchDynamicResourceGroupResponse patchDynamicResourceGroup( PatchDynamicResourceGroupRequest request); /** - * Update a Group + * Update a Grant + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use PatchGrant API. + */ + PatchGrantResponse patchGrant(PatchGrantRequest request); + + /** + * Update a group. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1551,6 +2102,22 @@ PatchDynamicResourceGroupResponse patchDynamicResourceGroup( */ PatchIdentityProviderResponse patchIdentityProvider(PatchIdentityProviderRequest request); + /** + * Update an Identity setting. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * PatchIdentitySetting API. + */ + PatchIdentitySettingResponse patchIdentitySetting(PatchIdentitySettingRequest request); + /** * Update a Setting * @@ -1568,7 +2135,7 @@ PatchDynamicResourceGroupResponse patchDynamicResourceGroup( PatchKmsiSettingResponse patchKmsiSetting(PatchKmsiSettingRequest request); /** - * Update User Info + * Update a user's own information. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1583,7 +2150,7 @@ PatchDynamicResourceGroupResponse patchDynamicResourceGroup( PatchMeResponse patchMe(PatchMeRequest request); /** - * Update user's api key + * Update a user's own API key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1598,7 +2165,7 @@ PatchDynamicResourceGroupResponse patchDynamicResourceGroup( PatchMyApiKeyResponse patchMyApiKey(PatchMyApiKeyRequest request); /** - * Update user's AuthToken + * Update a user's own Auth token. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1614,7 +2181,7 @@ PatchDynamicResourceGroupResponse patchDynamicResourceGroup( PatchMyAuthTokenResponse patchMyAuthToken(PatchMyAuthTokenRequest request); /** - * Update user's customer secret key + * Update a user's own customer secret key. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1646,7 +2213,7 @@ PatchMyCustomerSecretKeyResponse patchMyCustomerSecretKey( PatchMyDeviceResponse patchMyDevice(PatchMyDeviceRequest request); /** - * Update user's oauth2 client credential + * Update a user's own OAuth2 client credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1663,7 +2230,7 @@ PatchMyOAuth2ClientCredentialResponse patchMyOAuth2ClientCredential( PatchMyOAuth2ClientCredentialRequest request); /** - * Update user's smtp credentials + * Update a user's own SMTP credential. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1679,7 +2246,7 @@ PatchMyOAuth2ClientCredentialResponse patchMyOAuth2ClientCredential( PatchMySmtpCredentialResponse patchMySmtpCredential(PatchMySmtpCredentialRequest request); /** - * Update user's oauth2 client credential + * Update a user's OAuth2 client credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1696,7 +2263,7 @@ PatchOAuth2ClientCredentialResponse patchOAuth2ClientCredential( PatchOAuth2ClientCredentialRequest request); /** - * Update a Password Policy + * Update a password policy. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1712,7 +2279,40 @@ PatchOAuth2ClientCredentialResponse patchOAuth2ClientCredential( PatchPasswordPolicyResponse patchPasswordPolicy(PatchPasswordPolicyRequest request); /** - * Update user's smtp credentials + * Update a security question. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * PatchSecurityQuestion API. + */ + PatchSecurityQuestionResponse patchSecurityQuestion(PatchSecurityQuestionRequest request); + + /** + * Update a security question setting. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * PatchSecurityQuestionSetting API. + */ + PatchSecurityQuestionSettingResponse patchSecurityQuestionSetting( + PatchSecurityQuestionSettingRequest request); + + /** + * Update a user's SMTP credentials. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1728,7 +2328,7 @@ PatchOAuth2ClientCredentialResponse patchOAuth2ClientCredential( PatchSmtpCredentialResponse patchSmtpCredential(PatchSmtpCredentialRequest request); /** - * Update a User + * Update a user. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1742,6 +2342,71 @@ PatchOAuth2ClientCredentialResponse patchOAuth2ClientCredential( */ PatchUserResponse patchUser(PatchUserRequest request); + /** + * Update User Schema Attribute Settings + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * PatchUserAttributesSetting API. + */ + PatchUserAttributesSettingResponse patchUserAttributesSetting( + PatchUserAttributesSettingRequest request); + + /** + * Replace an account recovery setting. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * PutAccountRecoverySetting API. + */ + PutAccountRecoverySettingResponse putAccountRecoverySetting( + PutAccountRecoverySettingRequest request); + + /** + * Replace an App + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use PutApp API. + */ + PutAppResponse putApp(PutAppRequest request); + + /** + * Activate/Deactivate an App + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use PutAppStatusChanger + * API. + */ + PutAppStatusChangerResponse putAppStatusChanger(PutAppStatusChangerRequest request); + /** * Replace Authentication Factor Settings * @@ -1760,7 +2425,7 @@ PutAuthenticationFactorSettingResponse putAuthenticationFactorSetting( PutAuthenticationFactorSettingRequest request); /** - * Replace a DynamicResourceGroup + * Replace a Dynamic Resource Group. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1776,7 +2441,7 @@ PutAuthenticationFactorSettingResponse putAuthenticationFactorSetting( PutDynamicResourceGroupResponse putDynamicResourceGroup(PutDynamicResourceGroupRequest request); /** - * Replace a Group + * Replace a group. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1806,6 +2471,22 @@ PutAuthenticationFactorSettingResponse putAuthenticationFactorSetting( */ PutIdentityProviderResponse putIdentityProvider(PutIdentityProviderRequest request); + /** + * Replace an Identity setting. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use PutIdentitySetting + * API. + */ + PutIdentitySettingResponse putIdentitySetting(PutIdentitySettingRequest request); + /** * Replace KmsiSettings * @@ -1822,7 +2503,7 @@ PutAuthenticationFactorSettingResponse putAuthenticationFactorSetting( PutKmsiSettingResponse putKmsiSetting(PutKmsiSettingRequest request); /** - * Replace User Info + * Replace a user's own information. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1837,7 +2518,7 @@ PutAuthenticationFactorSettingResponse putAuthenticationFactorSetting( PutMeResponse putMe(PutMeRequest request); /** - * Self-Service Password Update + * Update a user's own password. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1853,7 +2534,7 @@ PutAuthenticationFactorSettingResponse putAuthenticationFactorSetting( PutMePasswordChangerResponse putMePasswordChanger(PutMePasswordChangerRequest request); /** - * Replace a Password Policy + * Replace a password policy. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1869,7 +2550,24 @@ PutAuthenticationFactorSettingResponse putAuthenticationFactorSetting( PutPasswordPolicyResponse putPasswordPolicy(PutPasswordPolicyRequest request); /** - * Replace a User + * Replace a security question setting. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * PutSecurityQuestionSetting API. + */ + PutSecurityQuestionSettingResponse putSecurityQuestionSetting( + PutSecurityQuestionSettingRequest request); + + /** + * Replace a user. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1884,7 +2582,7 @@ PutAuthenticationFactorSettingResponse putAuthenticationFactorSetting( PutUserResponse putUser(PutUserRequest request); /** - * Change user capabilities + * Change a user's capabilities. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1901,7 +2599,7 @@ PutUserCapabilitiesChangerResponse putUserCapabilitiesChanger( PutUserCapabilitiesChangerRequest request); /** - * Change a User Password (Known Value) + * Change a user's password to a known value. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1917,7 +2615,7 @@ PutUserCapabilitiesChangerResponse putUserCapabilitiesChanger( PutUserPasswordChangerResponse putUserPasswordChanger(PutUserPasswordChangerRequest request); /** - * Reset a User Password (Random Value) + * Reset a user's password to a randomly-generated value. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1933,7 +2631,7 @@ PutUserCapabilitiesChangerResponse putUserCapabilitiesChanger( PutUserPasswordResetterResponse putUserPasswordResetter(PutUserPasswordResetterRequest request); /** - * Change User Status + * Change a user's status. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1948,6 +2646,22 @@ PutUserCapabilitiesChangerResponse putUserCapabilitiesChanger( */ PutUserStatusChangerResponse putUserStatusChanger(PutUserStatusChangerRequest request); + /** + * Search Account Mgmt Info Using POST + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * SearchAccountMgmtInfos API. + */ + SearchAccountMgmtInfosResponse searchAccountMgmtInfos(SearchAccountMgmtInfosRequest request); + /** * Search ApiKeys Using POST * @@ -1964,7 +2678,37 @@ PutUserCapabilitiesChangerResponse putUserCapabilitiesChanger( SearchApiKeysResponse searchApiKeys(SearchApiKeysRequest request); /** - * Search AuthTokens Using POST + * Search AppRoles Using POST + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use SearchAppRoles API. + */ + SearchAppRolesResponse searchAppRoles(SearchAppRolesRequest request); + + /** + * Search Apps Using POST + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use SearchApps API. + */ + SearchAppsResponse searchApps(SearchAppsRequest request); + + /** + * Search for Auth tokens using POST. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1997,7 +2741,7 @@ SearchAuthenticationFactorSettingsResponse searchAuthenticationFactorSettings( SearchAuthenticationFactorSettingsRequest request); /** - * Search CustomerSecretKeys Using POST + * Search for customer secret keys using POST. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2014,7 +2758,7 @@ SearchCustomerSecretKeysResponse searchCustomerSecretKeys( SearchCustomerSecretKeysRequest request); /** - * Search DynamicResourceGroups Using POST + * Search for Dynamic Resource Groups using POST. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2031,7 +2775,22 @@ SearchDynamicResourceGroupsResponse searchDynamicResourceGroups( SearchDynamicResourceGroupsRequest request); /** - * Search Groups Using POST + * Search Grants Using POST + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use SearchGrants API. + */ + SearchGrantsResponse searchGrants(SearchGrantsRequest request); + + /** + * Search for groups using POST. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2061,6 +2820,22 @@ SearchDynamicResourceGroupsResponse searchDynamicResourceGroups( */ SearchIdentityProvidersResponse searchIdentityProviders(SearchIdentityProvidersRequest request); + /** + * Search for Identity settings using POST. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * SearchIdentitySettings API. + */ + SearchIdentitySettingsResponse searchIdentitySettings(SearchIdentitySettingsRequest request); + /** * Search KmsiSettings Using POST * @@ -2078,7 +2853,22 @@ SearchDynamicResourceGroupsResponse searchDynamicResourceGroups( SearchKmsiSettingsResponse searchKmsiSettings(SearchKmsiSettingsRequest request); /** - * Search My Groups Using POST + * Search My Apps Using POST + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use SearchMyApps API. + */ + SearchMyAppsResponse searchMyApps(SearchMyAppsRequest request); + + /** + * Search for 'My Groups' using POST. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2093,7 +2883,40 @@ SearchDynamicResourceGroupsResponse searchDynamicResourceGroups( SearchMyGroupsResponse searchMyGroups(SearchMyGroupsRequest request); /** - * Search Oauth2Clients Using POST + * Search My Requestable Groups Using POST + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * SearchMyRequestableGroups API. + */ + SearchMyRequestableGroupsResponse searchMyRequestableGroups( + SearchMyRequestableGroupsRequest request); + + /** + * Search My Requests Using POST + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use SearchMyRequests + * API. + */ + SearchMyRequestsResponse searchMyRequests(SearchMyRequestsRequest request); + + /** + * Search for OAuth2 client credentials using POST. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2110,7 +2933,7 @@ SearchOAuth2ClientCredentialsResponse searchOAuth2ClientCredentials( SearchOAuth2ClientCredentialsRequest request); /** - * Search Password Policies Using POST + * Search for password policies using POST. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2126,7 +2949,57 @@ SearchOAuth2ClientCredentialsResponse searchOAuth2ClientCredentials( SearchPasswordPoliciesResponse searchPasswordPolicies(SearchPasswordPoliciesRequest request); /** - * Search smtp credentials Using POST + * Search Resource Type Schema Attributes Using POST + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * SearchResourceTypeSchemaAttributes API. + */ + SearchResourceTypeSchemaAttributesResponse searchResourceTypeSchemaAttributes( + SearchResourceTypeSchemaAttributesRequest request); + + /** + * Search for security question settings using POST. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * SearchSecurityQuestionSettings API. + */ + SearchSecurityQuestionSettingsResponse searchSecurityQuestionSettings( + SearchSecurityQuestionSettingsRequest request); + + /** + * Search for security questions using POST. + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * SearchSecurityQuestions API. + */ + SearchSecurityQuestionsResponse searchSecurityQuestions(SearchSecurityQuestionsRequest request); + + /** + * Search for SMTP credentials using POST. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2142,7 +3015,24 @@ SearchOAuth2ClientCredentialsResponse searchOAuth2ClientCredentials( SearchSmtpCredentialsResponse searchSmtpCredentials(SearchSmtpCredentialsRequest request); /** - * Search a User's DBCredentials using POST + * Search User Schema Attribute Settings Using POST + * + * @param request The request object containing the details to send + * @return A response object containing details about the completed operation + * @throws BmcException when an error occurs. This operation will not retry by default, users + * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to + * enable retries for it. The specifics of the default retry strategy are described here + * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries + *

Example: Click here to see how to use + * SearchUserAttributesSettings API. + */ + SearchUserAttributesSettingsResponse searchUserAttributesSettings( + SearchUserAttributesSettingsRequest request); + + /** + * Search for a user's database (DB) credentials using POST. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2158,7 +3048,7 @@ SearchOAuth2ClientCredentialsResponse searchOAuth2ClientCredentials( SearchUserDbCredentialsResponse searchUserDbCredentials(SearchUserDbCredentialsRequest request); /** - * Search Users Using POST + * Search for users using POST. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomainsAsync.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomainsAsync.java index cd786d16233..1d17ceaa1a9 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomainsAsync.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomainsAsync.java @@ -31,7 +31,7 @@ public interface IdentityDomainsAsync extends AutoCloseable { String getEndpoint(); /** - * Add a user's api key + * Create a user's API key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -46,7 +46,36 @@ java.util.concurrent.Future createApiKey( handler); /** - * Add a user's auth token + * Create an App + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future createApp( + CreateAppRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Create an AppRole + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future createAppRole( + CreateAppRoleRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Create a user's Auth token. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -79,7 +108,7 @@ java.util.concurrent.Future createAuthToken( handler); /** - * Add a user's customer secret key + * Create a user's customer secret key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -95,7 +124,7 @@ java.util.concurrent.Future createCustomerSecre handler); /** - * Create a DynamicResourceGroup + * Create a Dynamic Resource Group. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -111,7 +140,21 @@ java.util.concurrent.Future createDynamicRes handler); /** - * Create a Group + * Add a Grantee to an AppRole + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future createGrant( + CreateGrantRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Create a group. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -141,7 +184,7 @@ java.util.concurrent.Future createIdentityProvid handler); /** - * Self Register + * Self register a user. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -155,7 +198,7 @@ java.util.concurrent.Future createMe( com.oracle.bmc.responses.AsyncHandler handler); /** - * Add a user's api key + * Add a user's own API key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -170,7 +213,7 @@ java.util.concurrent.Future createMyApiKey( handler); /** - * Add user's auth token + * Create a user's own Auth token. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -240,7 +283,7 @@ java.util.concurrent.Future createMyAuthToken( handler); /** - * Add a user's customer secret key + * Add a user's own customer secret key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -256,7 +299,7 @@ java.util.concurrent.Future createMyCustomerS handler); /** - * Add a user's oauth2 client credential + * Create a user's own OAuth2 client credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -274,7 +317,22 @@ java.util.concurrent.Future createMyCustomerS handler); /** - * Add a user's smtp credenials + * Create a Request + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future createMyRequest( + CreateMyRequestRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Create a user's own SMTP credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -290,7 +348,7 @@ java.util.concurrent.Future createMySmtpCredenti handler); /** - * Create a Support Account + * Create a user's own support account. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -306,7 +364,7 @@ java.util.concurrent.Future createMySupportAccou handler); /** - * Set a User's DbCredential + * Create a user's own database (DB) credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -322,7 +380,7 @@ java.util.concurrent.Future createMyUserDbCred handler); /** - * Add a user's oauth2 client credential + * Add a user's OAuth2 client credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -339,7 +397,7 @@ java.util.concurrent.Future createOAuth2Cl handler); /** - * Create a Password Policy + * Create a password policy. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -355,7 +413,23 @@ java.util.concurrent.Future createPasswordPolicy( handler); /** - * Add a user's smtp credenials + * Create a security question. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future createSecurityQuestion( + CreateSecurityQuestionRequest request, + com.oracle.bmc.responses.AsyncHandler< + CreateSecurityQuestionRequest, CreateSecurityQuestionResponse> + handler); + + /** + * Create a user's SMTP credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -371,7 +445,7 @@ java.util.concurrent.Future createSmtpCredential( handler); /** - * Create a User + * Create a user. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -385,7 +459,7 @@ java.util.concurrent.Future createUser( com.oracle.bmc.responses.AsyncHandler handler); /** - * Set a User's DbCredential + * Create a user's database (DB) credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -401,7 +475,7 @@ java.util.concurrent.Future createUserDbCredenti handler); /** - * Delete user's api key + * Delete a user's API key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -416,7 +490,36 @@ java.util.concurrent.Future deleteApiKey( handler); /** - * Delete user's auth token + * Delete an App + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future deleteApp( + DeleteAppRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Delete an AppRole + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future deleteAppRole( + DeleteAppRoleRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Delete a user's Auth token. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -431,7 +534,7 @@ java.util.concurrent.Future deleteAuthToken( handler); /** - * Delete user's customer secret key + * Delete a user's customer secret key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -447,7 +550,7 @@ java.util.concurrent.Future deleteCustomerSecre handler); /** - * Delete a DynamicResourceGroup + * Delete a Dynamic Resource Group. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -463,7 +566,21 @@ java.util.concurrent.Future deleteDynamicRes handler); /** - * Delete a Group + * Remove a Grantee from an AppRole + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future deleteGrant( + DeleteGrantRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Delete a group. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -493,7 +610,7 @@ java.util.concurrent.Future deleteIdentityProvid handler); /** - * Delete user's api key + * Delete a user's own API key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -508,7 +625,7 @@ java.util.concurrent.Future deleteMyApiKey( handler); /** - * Delete user's auth token + * Delete a user's own Auth token. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -524,7 +641,7 @@ java.util.concurrent.Future deleteMyAuthToken( handler); /** - * Delete user's customer secret key + * Delete a user's own customer secret key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -555,7 +672,7 @@ java.util.concurrent.Future deleteMyDevice( handler); /** - * Delete user's oauth2 client credential + * Delete a user's own OAuth2 client credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -573,7 +690,7 @@ java.util.concurrent.Future deleteMyDevice( handler); /** - * Delete user's smtp credenials + * Delete a user's own SMTP credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -589,7 +706,7 @@ java.util.concurrent.Future deleteMySmtpCredenti handler); /** - * Delete a Support Account + * Delete a user's own support account. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -621,7 +738,7 @@ java.util.concurrent.Future deleteMyTrustedUse handler); /** - * Remove a User's DbCredential + * Delete a user's own database (DB) credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -637,7 +754,7 @@ java.util.concurrent.Future deleteMyUserDbCred handler); /** - * Delete user's oauth2 client credential + * Delete a user's OAuth2 client credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -654,7 +771,7 @@ java.util.concurrent.Future deleteOAuth2Cl handler); /** - * Delete a Password Policy + * Delete a password policy. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -670,7 +787,23 @@ java.util.concurrent.Future deletePasswordPolicy( handler); /** - * Delete user's smtp credenials + * Delete a security question. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future deleteSecurityQuestion( + DeleteSecurityQuestionRequest request, + com.oracle.bmc.responses.AsyncHandler< + DeleteSecurityQuestionRequest, DeleteSecurityQuestionResponse> + handler); + + /** + * Delete a user's SMTP credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -686,7 +819,7 @@ java.util.concurrent.Future deleteSmtpCredential( handler); /** - * Delete a User + * Delete a user. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -700,7 +833,7 @@ java.util.concurrent.Future deleteUser( com.oracle.bmc.responses.AsyncHandler handler); /** - * Remove a User's DbCredential + * Delete a user's database (DB) credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -716,7 +849,39 @@ java.util.concurrent.Future deleteUserDbCredenti handler); /** - * Get user's api key + * Get Account Mgmt Info + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future getAccountMgmtInfo( + GetAccountMgmtInfoRequest request, + com.oracle.bmc.responses.AsyncHandler< + GetAccountMgmtInfoRequest, GetAccountMgmtInfoResponse> + handler); + + /** + * Get an account recovery setting. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future getAccountRecoverySetting( + GetAccountRecoverySettingRequest request, + com.oracle.bmc.responses.AsyncHandler< + GetAccountRecoverySettingRequest, GetAccountRecoverySettingResponse> + handler); + + /** + * Get a user's API key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -730,7 +895,35 @@ java.util.concurrent.Future getApiKey( com.oracle.bmc.responses.AsyncHandler handler); /** - * Get user's auth token + * Get an App + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future getApp( + GetAppRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Get an AppRole + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future getAppRole( + GetAppRoleRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Get a user's Auth token. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -763,7 +956,7 @@ java.util.concurrent.Future getAuthToken( handler); /** - * Get user's customer secret key + * Get a user's customer secret key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -779,7 +972,7 @@ java.util.concurrent.Future getCustomerSecretKey( handler); /** - * Get a DynamicResourceGroup + * Get a Dynamic Resource Group. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -795,9 +988,23 @@ java.util.concurrent.Future getDynamicResourceG handler); /** - * Get a Group - The Group search and get operations on users/members will throw an exception if - * it has more than 10K members, to avoid the exception use the pagination filter to get or - * search group members + * Get a Grant + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future getGrant( + GetGrantRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Get a group. Important: The Group SEARCH and GET operations on users and members will + * throw an exception if the response has more than 10,000 members. To avoid the exception, use + * the pagination filter to GET or SEARCH group members. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -826,6 +1033,22 @@ java.util.concurrent.Future getIdentityProvider( GetIdentityProviderRequest, GetIdentityProviderResponse> handler); + /** + * Get an Identity setting. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future getIdentitySetting( + GetIdentitySettingRequest request, + com.oracle.bmc.responses.AsyncHandler< + GetIdentitySettingRequest, GetIdentitySettingResponse> + handler); + /** * Get KmsiSettings * @@ -842,7 +1065,7 @@ java.util.concurrent.Future getKmsiSetting( handler); /** - * Get User Info + * Get a user's own information. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -856,7 +1079,7 @@ java.util.concurrent.Future getMe( com.oracle.bmc.responses.AsyncHandler handler); /** - * Get user's api key + * Get a user's own API key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -870,7 +1093,7 @@ java.util.concurrent.Future getMyApiKey( com.oracle.bmc.responses.AsyncHandler handler); /** - * Get user's auth token + * Get a user's own Auth token. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -885,7 +1108,7 @@ java.util.concurrent.Future getMyAuthToken( handler); /** - * Get user's customer secret key + * Get a user's own customer secret key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -915,7 +1138,7 @@ java.util.concurrent.Future getMyDevice( com.oracle.bmc.responses.AsyncHandler handler); /** - * Get user's oauth2 client credential + * Get a user's own OAuth2 client credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -931,7 +1154,7 @@ java.util.concurrent.Future getMyOAuth2Clie handler); /** - * Get user's smtp credentials + * Get a user's own SMTP credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -947,7 +1170,7 @@ java.util.concurrent.Future getMySmtpCredential( handler); /** - * Get a Support Account + * Get a user's own support account. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -979,7 +1202,7 @@ java.util.concurrent.Future getMyTrustedUserAgent handler); /** - * Get a User's DbCredentials + * Get a user's own database (DB) credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -995,7 +1218,7 @@ java.util.concurrent.Future getMyUserDbCredential handler); /** - * Get user's oauth2 client credential + * Get a user's OAuth2 client credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1011,7 +1234,7 @@ java.util.concurrent.Future getOAuth2ClientCr handler); /** - * Get a Password Policy + * Get a password policy. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1027,7 +1250,7 @@ java.util.concurrent.Future getPasswordPolicy( handler); /** - * Get user's smtp credentials + * Get a security question. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1036,14 +1259,14 @@ java.util.concurrent.Future getPasswordPolicy( * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future getSmtpCredential( - GetSmtpCredentialRequest request, + java.util.concurrent.Future getSecurityQuestion( + GetSecurityQuestionRequest request, com.oracle.bmc.responses.AsyncHandler< - GetSmtpCredentialRequest, GetSmtpCredentialResponse> + GetSecurityQuestionRequest, GetSecurityQuestionResponse> handler); /** - * Get a User + * Get a security question setting. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1052,12 +1275,14 @@ java.util.concurrent.Future getSmtpCredential( * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future getUser( - GetUserRequest request, - com.oracle.bmc.responses.AsyncHandler handler); + java.util.concurrent.Future getSecurityQuestionSetting( + GetSecurityQuestionSettingRequest request, + com.oracle.bmc.responses.AsyncHandler< + GetSecurityQuestionSettingRequest, GetSecurityQuestionSettingResponse> + handler); /** - * Get a User's DbCredentials + * Get a user's SMTP credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1066,14 +1291,14 @@ java.util.concurrent.Future getUser( * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future getUserDbCredential( - GetUserDbCredentialRequest request, + java.util.concurrent.Future getSmtpCredential( + GetSmtpCredentialRequest request, com.oracle.bmc.responses.AsyncHandler< - GetUserDbCredentialRequest, GetUserDbCredentialResponse> + GetSmtpCredentialRequest, GetSmtpCredentialResponse> handler); /** - * Search Api Key + * Get a user. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1082,12 +1307,12 @@ java.util.concurrent.Future getUserDbCredential( * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future listApiKeys( - ListApiKeysRequest request, - com.oracle.bmc.responses.AsyncHandler handler); + java.util.concurrent.Future getUser( + GetUserRequest request, + com.oracle.bmc.responses.AsyncHandler handler); /** - * Search AuthTokens + * Get User Schema Attribute Settings * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1096,13 +1321,14 @@ java.util.concurrent.Future listApiKeys( * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future listAuthTokens( - ListAuthTokensRequest request, - com.oracle.bmc.responses.AsyncHandler + java.util.concurrent.Future getUserAttributesSetting( + GetUserAttributesSettingRequest request, + com.oracle.bmc.responses.AsyncHandler< + GetUserAttributesSettingRequest, GetUserAttributesSettingResponse> handler); /** - * Search Authentication Factor Settings + * Get a user's database (DB) credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1111,16 +1337,14 @@ java.util.concurrent.Future listAuthTokens( * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future - listAuthenticationFactorSettings( - ListAuthenticationFactorSettingsRequest request, - com.oracle.bmc.responses.AsyncHandler< - ListAuthenticationFactorSettingsRequest, - ListAuthenticationFactorSettingsResponse> - handler); + java.util.concurrent.Future getUserDbCredential( + GetUserDbCredentialRequest request, + com.oracle.bmc.responses.AsyncHandler< + GetUserDbCredentialRequest, GetUserDbCredentialResponse> + handler); /** - * Search user's customer secret key + * Search Account Mgmt Info * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1129,14 +1353,14 @@ java.util.concurrent.Future listAuthTokens( * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future listCustomerSecretKeys( - ListCustomerSecretKeysRequest request, + java.util.concurrent.Future listAccountMgmtInfos( + ListAccountMgmtInfosRequest request, com.oracle.bmc.responses.AsyncHandler< - ListCustomerSecretKeysRequest, ListCustomerSecretKeysResponse> + ListAccountMgmtInfosRequest, ListAccountMgmtInfosResponse> handler); /** - * Search DynamicResourceGroups + * Search for account recovery settings. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1145,16 +1369,14 @@ java.util.concurrent.Future listCustomerSecretKe * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future listDynamicResourceGroups( - ListDynamicResourceGroupsRequest request, + java.util.concurrent.Future listAccountRecoverySettings( + ListAccountRecoverySettingsRequest request, com.oracle.bmc.responses.AsyncHandler< - ListDynamicResourceGroupsRequest, ListDynamicResourceGroupsResponse> + ListAccountRecoverySettingsRequest, ListAccountRecoverySettingsResponse> handler); /** - * Search Groups.The Group search and get operations on users/members will throw an exception if - * it has more than 10K members, to avoid the exception use the pagination filter to get or - * search group members + * Search API keys. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1163,12 +1385,12 @@ java.util.concurrent.Future listDynamicResour * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future listGroups( - ListGroupsRequest request, - com.oracle.bmc.responses.AsyncHandler handler); + java.util.concurrent.Future listApiKeys( + ListApiKeysRequest request, + com.oracle.bmc.responses.AsyncHandler handler); /** - * Search Identity Providers + * Search AppRoles * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1177,14 +1399,13 @@ java.util.concurrent.Future listGroups( * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future listIdentityProviders( - ListIdentityProvidersRequest request, - com.oracle.bmc.responses.AsyncHandler< - ListIdentityProvidersRequest, ListIdentityProvidersResponse> + java.util.concurrent.Future listAppRoles( + ListAppRolesRequest request, + com.oracle.bmc.responses.AsyncHandler handler); /** - * Search KmsiSettings + * Search Apps * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1193,13 +1414,12 @@ java.util.concurrent.Future listIdentityProviders * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future listKmsiSettings( - ListKmsiSettingsRequest request, - com.oracle.bmc.responses.AsyncHandler - handler); + java.util.concurrent.Future listApps( + ListAppsRequest request, + com.oracle.bmc.responses.AsyncHandler handler); /** - * Search Api Key + * Search for Auth tokens. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1208,13 +1428,13 @@ java.util.concurrent.Future listKmsiSettings( * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future listMyApiKeys( - ListMyApiKeysRequest request, - com.oracle.bmc.responses.AsyncHandler + java.util.concurrent.Future listAuthTokens( + ListAuthTokensRequest request, + com.oracle.bmc.responses.AsyncHandler handler); /** - * Search AuthTokens + * Search Authentication Factor Settings * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1223,13 +1443,16 @@ java.util.concurrent.Future listMyApiKeys( * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future listMyAuthTokens( - ListMyAuthTokensRequest request, - com.oracle.bmc.responses.AsyncHandler - handler); + java.util.concurrent.Future + listAuthenticationFactorSettings( + ListAuthenticationFactorSettingsRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListAuthenticationFactorSettingsRequest, + ListAuthenticationFactorSettingsResponse> + handler); /** - * Search user's customer secret key + * Search for a user's customer secret keys. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1238,14 +1461,14 @@ java.util.concurrent.Future listMyAuthTokens( * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future listMyCustomerSecretKeys( - ListMyCustomerSecretKeysRequest request, + java.util.concurrent.Future listCustomerSecretKeys( + ListCustomerSecretKeysRequest request, com.oracle.bmc.responses.AsyncHandler< - ListMyCustomerSecretKeysRequest, ListMyCustomerSecretKeysResponse> + ListCustomerSecretKeysRequest, ListCustomerSecretKeysResponse> handler); /** - * Search Devices + * Search for Dynamic Resource Groups. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1254,13 +1477,14 @@ java.util.concurrent.Future listMyCustomerSecr * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future listMyDevices( - ListMyDevicesRequest request, - com.oracle.bmc.responses.AsyncHandler + java.util.concurrent.Future listDynamicResourceGroups( + ListDynamicResourceGroupsRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListDynamicResourceGroupsRequest, ListDynamicResourceGroupsResponse> handler); /** - * Search My Groups + * Search Grants * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1269,13 +1493,165 @@ java.util.concurrent.Future listMyDevices( * java.io.InputStream) may not be able to be read in both places as the underlying stream * may only be consumed once. */ - java.util.concurrent.Future listMyGroups( - ListMyGroupsRequest request, + java.util.concurrent.Future listGrants( + ListGrantsRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Search for groups. Important: The Group SEARCH and GET operations on users and members + * will throw an exception if the response has more than 10,000 members. To avoid the exception, + * use the pagination filter to GET or SEARCH group members. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listGroups( + ListGroupsRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Search Identity Providers + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listIdentityProviders( + ListIdentityProvidersRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListIdentityProvidersRequest, ListIdentityProvidersResponse> + handler); + + /** + * Search for Identity settings. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listIdentitySettings( + ListIdentitySettingsRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListIdentitySettingsRequest, ListIdentitySettingsResponse> + handler); + + /** + * Search KmsiSettings + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listKmsiSettings( + ListKmsiSettingsRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Search for a user's own API key. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listMyApiKeys( + ListMyApiKeysRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Search My Apps + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listMyApps( + ListMyAppsRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Search for a user's own Auth token. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listMyAuthTokens( + ListMyAuthTokensRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Search for a user's own customer secret key. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listMyCustomerSecretKeys( + ListMyCustomerSecretKeysRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListMyCustomerSecretKeysRequest, ListMyCustomerSecretKeysResponse> + handler); + + /** + * Search Devices + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listMyDevices( + ListMyDevicesRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Search for 'My Groups'. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listMyGroups( + ListMyGroupsRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** - * Search oauth2 client credentials + * Search for a user's own OAuth2 client credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1293,7 +1669,38 @@ java.util.concurrent.Future listMyGroups( handler); /** - * Search smtp credentials + * Search My Requestable Groups + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listMyRequestableGroups( + ListMyRequestableGroupsRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListMyRequestableGroupsRequest, ListMyRequestableGroupsResponse> + handler); + + /** + * Search My Requests + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listMyRequests( + ListMyRequestsRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Search for a user's own SMTP credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1309,7 +1716,7 @@ java.util.concurrent.Future listMySmtpCredentials handler); /** - * Search Support Accounts + * Search for a user's own support account. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1341,7 +1748,7 @@ java.util.concurrent.Future listMyTrustedUserAg handler); /** - * Search a User's DBCredentials + * Search for a user's own database (DB) credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1357,7 +1764,7 @@ java.util.concurrent.Future listMyUserDbCredent handler); /** - * Search oauth2 client credentials + * Search for a user's OAuth2 client credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1373,7 +1780,7 @@ java.util.concurrent.Future listOAuth2Clien handler); /** - * Search Password Policies + * Search for password policies. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1389,7 +1796,58 @@ java.util.concurrent.Future listPasswordPolicies( handler); /** - * Search smtp credentials + * Search Resource Type Schema Attributes + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future + listResourceTypeSchemaAttributes( + ListResourceTypeSchemaAttributesRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListResourceTypeSchemaAttributesRequest, + ListResourceTypeSchemaAttributesResponse> + handler); + + /** + * Search for security question settings. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listSecurityQuestionSettings( + ListSecurityQuestionSettingsRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListSecurityQuestionSettingsRequest, + ListSecurityQuestionSettingsResponse> + handler); + + /** + * Search for security questions. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listSecurityQuestions( + ListSecurityQuestionsRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListSecurityQuestionsRequest, ListSecurityQuestionsResponse> + handler); + + /** + * Search for SMTP credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1405,7 +1863,23 @@ java.util.concurrent.Future listSmtpCredentials( handler); /** - * Search a User's DBCredentials + * Search User Schema Attribute Settings + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future listUserAttributesSettings( + ListUserAttributesSettingsRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListUserAttributesSettingsRequest, ListUserAttributesSettingsResponse> + handler); + + /** + * Search for a user's database (DB) credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1421,7 +1895,7 @@ java.util.concurrent.Future listUserDbCredentials handler); /** - * Search Users + * Search for users. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1435,7 +1909,23 @@ java.util.concurrent.Future listUsers( com.oracle.bmc.responses.AsyncHandler handler); /** - * Update user's api key + * Update an account recovery setting. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future patchAccountRecoverySetting( + PatchAccountRecoverySettingRequest request, + com.oracle.bmc.responses.AsyncHandler< + PatchAccountRecoverySettingRequest, PatchAccountRecoverySettingResponse> + handler); + + /** + * Update a user's API key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1449,7 +1939,36 @@ java.util.concurrent.Future patchApiKey( com.oracle.bmc.responses.AsyncHandler handler); /** - * Update user's AuthToken + * Update an App + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future patchApp( + PatchAppRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Update an AppRole + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future patchAppRole( + PatchAppRoleRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Update a user's Auth token. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1464,7 +1983,7 @@ java.util.concurrent.Future patchAuthToken( handler); /** - * Update user's customer secret key + * Update a user's customer secret key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1480,7 +1999,7 @@ java.util.concurrent.Future patchCustomerSecretK handler); /** - * Update a DynamicResourceGroup + * Update a Dynamic Resource Group. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1496,7 +2015,21 @@ java.util.concurrent.Future patchDynamicResou handler); /** - * Update a Group + * Update a Grant + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future patchGrant( + PatchGrantRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Update a group. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1525,6 +2058,22 @@ java.util.concurrent.Future patchIdentityProvider PatchIdentityProviderRequest, PatchIdentityProviderResponse> handler); + /** + * Update an Identity setting. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future patchIdentitySetting( + PatchIdentitySettingRequest request, + com.oracle.bmc.responses.AsyncHandler< + PatchIdentitySettingRequest, PatchIdentitySettingResponse> + handler); + /** * Update a Setting * @@ -1541,7 +2090,7 @@ java.util.concurrent.Future patchKmsiSetting( handler); /** - * Update User Info + * Update a user's own information. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1555,7 +2104,7 @@ java.util.concurrent.Future patchMe( com.oracle.bmc.responses.AsyncHandler handler); /** - * Update user's api key + * Update a user's own API key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1570,7 +2119,7 @@ java.util.concurrent.Future patchMyApiKey( handler); /** - * Update user's AuthToken + * Update a user's own Auth token. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1585,7 +2134,7 @@ java.util.concurrent.Future patchMyAuthToken( handler); /** - * Update user's customer secret key + * Update a user's own customer secret key. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1616,7 +2165,7 @@ java.util.concurrent.Future patchMyDevice( handler); /** - * Update user's oauth2 client credential + * Update a user's own OAuth2 client credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1634,7 +2183,7 @@ java.util.concurrent.Future patchMyDevice( handler); /** - * Update user's smtp credentials + * Update a user's own SMTP credential. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1650,7 +2199,7 @@ java.util.concurrent.Future patchMySmtpCredential handler); /** - * Update user's oauth2 client credential + * Update a user's OAuth2 client credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1666,7 +2215,7 @@ java.util.concurrent.Future patchOAuth2Clie handler); /** - * Update a Password Policy + * Update a password policy. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1682,7 +2231,40 @@ java.util.concurrent.Future patchPasswordPolicy( handler); /** - * Update user's smtp credentials + * Update a security question. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future patchSecurityQuestion( + PatchSecurityQuestionRequest request, + com.oracle.bmc.responses.AsyncHandler< + PatchSecurityQuestionRequest, PatchSecurityQuestionResponse> + handler); + + /** + * Update a security question setting. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future patchSecurityQuestionSetting( + PatchSecurityQuestionSettingRequest request, + com.oracle.bmc.responses.AsyncHandler< + PatchSecurityQuestionSettingRequest, + PatchSecurityQuestionSettingResponse> + handler); + + /** + * Update a user's SMTP credentials. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1698,7 +2280,7 @@ java.util.concurrent.Future patchSmtpCredential( handler); /** - * Update a User + * Update a user. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1711,6 +2293,68 @@ java.util.concurrent.Future patchUser( PatchUserRequest request, com.oracle.bmc.responses.AsyncHandler handler); + /** + * Update User Schema Attribute Settings + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future patchUserAttributesSetting( + PatchUserAttributesSettingRequest request, + com.oracle.bmc.responses.AsyncHandler< + PatchUserAttributesSettingRequest, PatchUserAttributesSettingResponse> + handler); + + /** + * Replace an account recovery setting. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future putAccountRecoverySetting( + PutAccountRecoverySettingRequest request, + com.oracle.bmc.responses.AsyncHandler< + PutAccountRecoverySettingRequest, PutAccountRecoverySettingResponse> + handler); + + /** + * Replace an App + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future putApp( + PutAppRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Activate/Deactivate an App + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future putAppStatusChanger( + PutAppStatusChangerRequest request, + com.oracle.bmc.responses.AsyncHandler< + PutAppStatusChangerRequest, PutAppStatusChangerResponse> + handler); + /** * Replace Authentication Factor Settings * @@ -1730,7 +2374,7 @@ java.util.concurrent.Future patchUser( handler); /** - * Replace a DynamicResourceGroup + * Replace a Dynamic Resource Group. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1746,7 +2390,7 @@ java.util.concurrent.Future putDynamicResourceG handler); /** - * Replace a Group + * Replace a group. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1775,6 +2419,22 @@ java.util.concurrent.Future putIdentityProvider( PutIdentityProviderRequest, PutIdentityProviderResponse> handler); + /** + * Replace an Identity setting. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future putIdentitySetting( + PutIdentitySettingRequest request, + com.oracle.bmc.responses.AsyncHandler< + PutIdentitySettingRequest, PutIdentitySettingResponse> + handler); + /** * Replace KmsiSettings * @@ -1791,7 +2451,7 @@ java.util.concurrent.Future putKmsiSetting( handler); /** - * Replace User Info + * Replace a user's own information. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1805,7 +2465,7 @@ java.util.concurrent.Future putMe( com.oracle.bmc.responses.AsyncHandler handler); /** - * Self-Service Password Update + * Update a user's own password. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1821,7 +2481,7 @@ java.util.concurrent.Future putMePasswordChanger( handler); /** - * Replace a Password Policy + * Replace a password policy. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1837,7 +2497,23 @@ java.util.concurrent.Future putPasswordPolicy( handler); /** - * Replace a User + * Replace a security question setting. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future putSecurityQuestionSetting( + PutSecurityQuestionSettingRequest request, + com.oracle.bmc.responses.AsyncHandler< + PutSecurityQuestionSettingRequest, PutSecurityQuestionSettingResponse> + handler); + + /** + * Replace a user. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1851,7 +2527,7 @@ java.util.concurrent.Future putUser( com.oracle.bmc.responses.AsyncHandler handler); /** - * Change user capabilities + * Change a user's capabilities. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1867,7 +2543,7 @@ java.util.concurrent.Future putUserCapabilit handler); /** - * Change a User Password (Known Value) + * Change a user's password to a known value. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1883,7 +2559,7 @@ java.util.concurrent.Future putUserPasswordChang handler); /** - * Reset a User Password (Random Value) + * Reset a user's password to a randomly-generated value. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1899,7 +2575,7 @@ java.util.concurrent.Future putUserPasswordRese handler); /** - * Change User Status + * Change a user's status. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1914,6 +2590,22 @@ java.util.concurrent.Future putUserStatusChanger( PutUserStatusChangerRequest, PutUserStatusChangerResponse> handler); + /** + * Search Account Mgmt Info Using POST + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future searchAccountMgmtInfos( + SearchAccountMgmtInfosRequest request, + com.oracle.bmc.responses.AsyncHandler< + SearchAccountMgmtInfosRequest, SearchAccountMgmtInfosResponse> + handler); + /** * Search ApiKeys Using POST * @@ -1930,7 +2622,36 @@ java.util.concurrent.Future searchApiKeys( handler); /** - * Search AuthTokens Using POST + * Search AppRoles Using POST + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future searchAppRoles( + SearchAppRolesRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Search Apps Using POST + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future searchApps( + SearchAppsRequest request, + com.oracle.bmc.responses.AsyncHandler handler); + + /** + * Search for Auth tokens using POST. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1963,7 +2684,7 @@ java.util.concurrent.Future searchAuthTokens( handler); /** - * Search CustomerSecretKeys Using POST + * Search for customer secret keys using POST. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1979,7 +2700,7 @@ java.util.concurrent.Future searchCustomerSecr handler); /** - * Search DynamicResourceGroups Using POST + * Search for Dynamic Resource Groups using POST. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1995,7 +2716,22 @@ java.util.concurrent.Future searchDynamicRe handler); /** - * Search Groups Using POST + * Search Grants Using POST + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future searchGrants( + SearchGrantsRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Search for groups using POST. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -2025,6 +2761,22 @@ java.util.concurrent.Future searchIdentityProvi SearchIdentityProvidersRequest, SearchIdentityProvidersResponse> handler); + /** + * Search for Identity settings using POST. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future searchIdentitySettings( + SearchIdentitySettingsRequest request, + com.oracle.bmc.responses.AsyncHandler< + SearchIdentitySettingsRequest, SearchIdentitySettingsResponse> + handler); + /** * Search KmsiSettings Using POST * @@ -2042,7 +2794,22 @@ java.util.concurrent.Future searchKmsiSettings( handler); /** - * Search My Groups Using POST + * Search My Apps Using POST + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future searchMyApps( + SearchMyAppsRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Search for 'My Groups' using POST. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -2057,7 +2824,38 @@ java.util.concurrent.Future searchMyGroups( handler); /** - * Search Oauth2Clients Using POST + * Search My Requestable Groups Using POST + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future searchMyRequestableGroups( + SearchMyRequestableGroupsRequest request, + com.oracle.bmc.responses.AsyncHandler< + SearchMyRequestableGroupsRequest, SearchMyRequestableGroupsResponse> + handler); + + /** + * Search My Requests Using POST + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future searchMyRequests( + SearchMyRequestsRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + + /** + * Search for OAuth2 client credentials using POST. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -2075,7 +2873,7 @@ java.util.concurrent.Future searchMyGroups( handler); /** - * Search Password Policies Using POST + * Search for password policies using POST. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -2091,7 +2889,59 @@ java.util.concurrent.Future searchPasswordPolici handler); /** - * Search smtp credentials Using POST + * Search Resource Type Schema Attributes Using POST + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future + searchResourceTypeSchemaAttributes( + SearchResourceTypeSchemaAttributesRequest request, + com.oracle.bmc.responses.AsyncHandler< + SearchResourceTypeSchemaAttributesRequest, + SearchResourceTypeSchemaAttributesResponse> + handler); + + /** + * Search for security question settings using POST. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future + searchSecurityQuestionSettings( + SearchSecurityQuestionSettingsRequest request, + com.oracle.bmc.responses.AsyncHandler< + SearchSecurityQuestionSettingsRequest, + SearchSecurityQuestionSettingsResponse> + handler); + + /** + * Search for security questions using POST. + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future searchSecurityQuestions( + SearchSecurityQuestionsRequest request, + com.oracle.bmc.responses.AsyncHandler< + SearchSecurityQuestionsRequest, SearchSecurityQuestionsResponse> + handler); + + /** + * Search for SMTP credentials using POST. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -2107,7 +2957,24 @@ java.util.concurrent.Future searchSmtpCredentials handler); /** - * Search a User's DBCredentials using POST + * Search User Schema Attribute Settings Using POST + * + * @param request The request object containing the details to send + * @param handler The request handler to invoke upon completion, may be null. + * @return A Future that can be used to get the response if no AsyncHandler was provided. Note, + * if you provide an AsyncHandler and use the Future, some types of responses (like + * java.io.InputStream) may not be able to be read in both places as the underlying stream + * may only be consumed once. + */ + java.util.concurrent.Future searchUserAttributesSettings( + SearchUserAttributesSettingsRequest request, + com.oracle.bmc.responses.AsyncHandler< + SearchUserAttributesSettingsRequest, + SearchUserAttributesSettingsResponse> + handler); + + /** + * Search for a user's database (DB) credentials using POST. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -2123,7 +2990,7 @@ java.util.concurrent.Future searchUserDbCredent handler); /** - * Search Users Using POST + * Search for users using POST. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomainsAsyncClient.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomainsAsyncClient.java index 6c4d6f1164b..bda7bbbdba0 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomainsAsyncClient.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomainsAsyncClient.java @@ -93,7 +93,9 @@ public java.util.concurrent.Future createApiKey( .serviceDetails("IdentityDomains", "CreateApiKey", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("ApiKeys") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -115,6 +117,76 @@ public java.util.concurrent.Future createApiKey( .callAsync(handler); } + @Override + public java.util.concurrent.Future createApp( + CreateAppRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + return clientCall(request, CreateAppResponse::builder) + .logger(LOG, "createApp") + .serviceDetails("IdentityDomains", "CreateApp", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateAppRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.App.class, + CreateAppResponse.Builder::app) + .handleResponseHeaderString( + "opc-request-id", CreateAppResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", CreateAppResponse.Builder::etag) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future createAppRole( + CreateAppRoleRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + return clientCall(request, CreateAppRoleResponse::builder) + .logger(LOG, "createAppRole") + .serviceDetails("IdentityDomains", "CreateAppRole", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateAppRoleRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppRoles") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AppRole.class, + CreateAppRoleResponse.Builder::appRole) + .handleResponseHeaderString( + "opc-request-id", CreateAppRoleResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", CreateAppRoleResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future createAuthToken( CreateAuthTokenRequest request, @@ -127,7 +199,9 @@ public java.util.concurrent.Future createAuthToken( .serviceDetails("IdentityDomains", "CreateAuthToken", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthTokens") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -163,7 +237,9 @@ public java.util.concurrent.Future createAuthToken( .serviceDetails("IdentityDomains", "CreateAuthenticationFactorsRemover", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateAuthenticationFactorsRemoverRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthenticationFactorsRemover") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -195,7 +271,9 @@ public java.util.concurrent.Future createCustom .serviceDetails("IdentityDomains", "CreateCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("CustomerSecretKeys") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -231,7 +309,9 @@ public java.util.concurrent.Future createCustom .serviceDetails("IdentityDomains", "CreateDynamicResourceGroup", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateDynamicResourceGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -254,6 +334,41 @@ public java.util.concurrent.Future createCustom .callAsync(handler); } + @Override + public java.util.concurrent.Future createGrant( + CreateGrantRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + return clientCall(request, CreateGrantResponse::builder) + .logger(LOG, "createGrant") + .serviceDetails("IdentityDomains", "CreateGrant", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateGrantRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Grants") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.Grant.class, + CreateGrantResponse.Builder::grant) + .handleResponseHeaderString( + "opc-request-id", CreateGrantResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", CreateGrantResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future createGroup( CreateGroupRequest request, @@ -265,7 +380,9 @@ public java.util.concurrent.Future createGroup( .serviceDetails("IdentityDomains", "CreateGroup", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -299,7 +416,9 @@ public java.util.concurrent.Future createIdentit .serviceDetails("IdentityDomains", "CreateIdentityProvider", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateIdentityProviderRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -332,7 +451,9 @@ public java.util.concurrent.Future createMe( .serviceDetails("IdentityDomains", "CreateMe", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMeRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Me") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -365,7 +486,9 @@ public java.util.concurrent.Future createMyApiKey( .serviceDetails("IdentityDomains", "CreateMyApiKey", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyApiKeys") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -394,7 +517,9 @@ public java.util.concurrent.Future createMyAuthToken( .serviceDetails("IdentityDomains", "CreateMyAuthToken", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthTokens") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -425,7 +550,9 @@ public java.util.concurrent.Future createMyAuthToken( .serviceDetails("IdentityDomains", "CreateMyAuthenticationFactorInitiator", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyAuthenticationFactorInitiatorRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthenticationFactorInitiator") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -459,7 +586,9 @@ public java.util.concurrent.Future createMyAuthToken( .serviceDetails("IdentityDomains", "CreateMyAuthenticationFactorValidator", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyAuthenticationFactorValidatorRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthenticationFactorValidator") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -493,7 +622,9 @@ public java.util.concurrent.Future createMyAuthToken( .serviceDetails("IdentityDomains", "CreateMyAuthenticationFactorsRemover", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyAuthenticationFactorsRemoverRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthenticationFactorsRemover") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -525,7 +656,9 @@ public java.util.concurrent.Future createMyCu .serviceDetails("IdentityDomains", "CreateMyCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyCustomerSecretKeys") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -556,7 +689,9 @@ public java.util.concurrent.Future createMyCu .serviceDetails("IdentityDomains", "CreateMyOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyOAuth2ClientCredentials") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -575,6 +710,42 @@ public java.util.concurrent.Future createMyCu .callAsync(handler); } + @Override + public java.util.concurrent.Future createMyRequest( + CreateMyRequestRequest request, + final com.oracle.bmc.responses.AsyncHandler< + CreateMyRequestRequest, CreateMyRequestResponse> + handler) { + + return clientCall(request, CreateMyRequestResponse::builder) + .logger(LOG, "createMyRequest") + .serviceDetails("IdentityDomains", "CreateMyRequest", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateMyRequestRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyRequests") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.MyRequest.class, + CreateMyRequestResponse.Builder::myRequest) + .handleResponseHeaderString( + "opc-request-id", CreateMyRequestResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", CreateMyRequestResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future createMySmtpCredential( CreateMySmtpCredentialRequest request, @@ -587,7 +758,9 @@ public java.util.concurrent.Future createMySmtpC .serviceDetails("IdentityDomains", "CreateMySmtpCredential", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMySmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySmtpCredentials") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -616,7 +789,9 @@ public java.util.concurrent.Future createMySuppo .serviceDetails("IdentityDomains", "CreateMySupportAccount", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMySupportAccountRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySupportAccounts") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -645,7 +820,9 @@ public java.util.concurrent.Future createMyUse .serviceDetails("IdentityDomains", "CreateMyUserDbCredential", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyUserDbCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyUserDbCredentials") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -676,7 +853,9 @@ public java.util.concurrent.Future createMyUse .serviceDetails("IdentityDomains", "CreateOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("OAuth2ClientCredentials") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -712,7 +891,9 @@ public java.util.concurrent.Future createPasswordP .serviceDetails("IdentityDomains", "CreatePasswordPolicy", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreatePasswordPolicyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -734,6 +915,42 @@ public java.util.concurrent.Future createPasswordP .callAsync(handler); } + @Override + public java.util.concurrent.Future createSecurityQuestion( + CreateSecurityQuestionRequest request, + final com.oracle.bmc.responses.AsyncHandler< + CreateSecurityQuestionRequest, CreateSecurityQuestionResponse> + handler) { + + return clientCall(request, CreateSecurityQuestionResponse::builder) + .logger(LOG, "createSecurityQuestion") + .serviceDetails("IdentityDomains", "CreateSecurityQuestion", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateSecurityQuestionRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestions") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestion.class, + CreateSecurityQuestionResponse.Builder::securityQuestion) + .handleResponseHeaderString( + "opc-request-id", CreateSecurityQuestionResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", CreateSecurityQuestionResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future createSmtpCredential( CreateSmtpCredentialRequest request, @@ -746,7 +963,9 @@ public java.util.concurrent.Future createSmtpCrede .serviceDetails("IdentityDomains", "CreateSmtpCredential", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateSmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("SmtpCredentials") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -779,7 +998,9 @@ public java.util.concurrent.Future createUser( .serviceDetails("IdentityDomains", "CreateUser", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateUserRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -813,7 +1034,9 @@ public java.util.concurrent.Future createUserDbC .serviceDetails("IdentityDomains", "CreateUserDbCredential", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateUserDbCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserDbCredentials") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -848,7 +1071,9 @@ public java.util.concurrent.Future deleteApiKey( .serviceDetails("IdentityDomains", "DeleteApiKey", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("ApiKeys") .appendPathParam(request.getApiKeyId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -863,6 +1088,66 @@ public java.util.concurrent.Future deleteApiKey( .callAsync(handler); } + @Override + public java.util.concurrent.Future deleteApp( + DeleteAppRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + Validate.notBlank(request.getAppId(), "appId must not be blank"); + + return clientCall(request, DeleteAppResponse::builder) + .logger(LOG, "deleteApp") + .serviceDetails("IdentityDomains", "DeleteApp", "") + .method(com.oracle.bmc.http.client.Method.DELETE) + .requestBuilder(DeleteAppRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendPathParam(request.getAppId()) + .appendQueryParam("forceDelete", request.getForceDelete()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleResponseHeaderString( + "opc-request-id", DeleteAppResponse.Builder::opcRequestId) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future deleteAppRole( + DeleteAppRoleRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + Validate.notBlank(request.getAppRoleId(), "appRoleId must not be blank"); + + return clientCall(request, DeleteAppRoleResponse::builder) + .logger(LOG, "deleteAppRole") + .serviceDetails("IdentityDomains", "DeleteAppRole", "") + .method(com.oracle.bmc.http.client.Method.DELETE) + .requestBuilder(DeleteAppRoleRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppRoles") + .appendPathParam(request.getAppRoleId()) + .appendQueryParam("forceDelete", request.getForceDelete()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleResponseHeaderString( + "opc-request-id", DeleteAppRoleResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future deleteAuthToken( DeleteAuthTokenRequest request, @@ -877,7 +1162,9 @@ public java.util.concurrent.Future deleteAuthToken( .serviceDetails("IdentityDomains", "DeleteAuthToken", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthTokens") .appendPathParam(request.getAuthTokenId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -907,7 +1194,9 @@ public java.util.concurrent.Future deleteCustom .serviceDetails("IdentityDomains", "DeleteCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("CustomerSecretKeys") .appendPathParam(request.getCustomerSecretKeyId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -939,7 +1228,9 @@ public java.util.concurrent.Future deleteCustom .serviceDetails("IdentityDomains", "DeleteDynamicResourceGroup", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteDynamicResourceGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendPathParam(request.getDynamicResourceGroupId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -954,6 +1245,36 @@ public java.util.concurrent.Future deleteCustom .callAsync(handler); } + @Override + public java.util.concurrent.Future deleteGrant( + DeleteGrantRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + Validate.notBlank(request.getGrantId(), "grantId must not be blank"); + + return clientCall(request, DeleteGrantResponse::builder) + .logger(LOG, "deleteGrant") + .serviceDetails("IdentityDomains", "DeleteGrant", "") + .method(com.oracle.bmc.http.client.Method.DELETE) + .requestBuilder(DeleteGrantRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Grants") + .appendPathParam(request.getGrantId()) + .appendQueryParam("forceDelete", request.getForceDelete()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleResponseHeaderString( + "opc-request-id", DeleteGrantResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future deleteGroup( DeleteGroupRequest request, @@ -967,7 +1288,9 @@ public java.util.concurrent.Future deleteGroup( .serviceDetails("IdentityDomains", "DeleteGroup", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendPathParam(request.getGroupId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -996,7 +1319,9 @@ public java.util.concurrent.Future deleteIdentit .serviceDetails("IdentityDomains", "DeleteIdentityProvider", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteIdentityProviderRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendPathParam(request.getIdentityProviderId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1025,7 +1350,9 @@ public java.util.concurrent.Future deleteMyApiKey( .serviceDetails("IdentityDomains", "DeleteMyApiKey", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyApiKeys") .appendPathParam(request.getMyApiKeyId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1054,7 +1381,9 @@ public java.util.concurrent.Future deleteMyAuthToken( .serviceDetails("IdentityDomains", "DeleteMyAuthToken", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthTokens") .appendPathParam(request.getMyAuthTokenId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1084,7 +1413,9 @@ public java.util.concurrent.Future deleteMyCu .serviceDetails("IdentityDomains", "DeleteMyCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyCustomerSecretKeys") .appendPathParam(request.getMyCustomerSecretKeyId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1113,7 +1444,9 @@ public java.util.concurrent.Future deleteMyDevice( .serviceDetails("IdentityDomains", "DeleteMyDevice", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyDeviceRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyDevices") .appendPathParam(request.getMyDeviceId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1146,7 +1479,9 @@ public java.util.concurrent.Future deleteMyDevice( .serviceDetails("IdentityDomains", "DeleteMyOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyOAuth2ClientCredentials") .appendPathParam(request.getMyOAuth2ClientCredentialId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1176,7 +1511,9 @@ public java.util.concurrent.Future deleteMySmtpC .serviceDetails("IdentityDomains", "DeleteMySmtpCredential", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMySmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySmtpCredentials") .appendPathParam(request.getMySmtpCredentialId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1205,7 +1542,9 @@ public java.util.concurrent.Future deleteMySuppo .serviceDetails("IdentityDomains", "DeleteMySupportAccount", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMySupportAccountRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySupportAccounts") .appendPathParam(request.getMySupportAccountId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1235,7 +1574,9 @@ public java.util.concurrent.Future deleteMyTru .serviceDetails("IdentityDomains", "DeleteMyTrustedUserAgent", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyTrustedUserAgentRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyTrustedUserAgents") .appendPathParam(request.getMyTrustedUserAgentId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1265,7 +1606,9 @@ public java.util.concurrent.Future deleteMyUse .serviceDetails("IdentityDomains", "DeleteMyUserDbCredential", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyUserDbCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyUserDbCredentials") .appendPathParam(request.getMyUserDbCredentialId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1298,7 +1641,9 @@ public java.util.concurrent.Future deleteMyUse .serviceDetails("IdentityDomains", "DeleteOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("OAuth2ClientCredentials") .appendPathParam(request.getOAuth2ClientCredentialId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1328,7 +1673,9 @@ public java.util.concurrent.Future deletePasswordP .serviceDetails("IdentityDomains", "DeletePasswordPolicy", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeletePasswordPolicyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendPathParam(request.getPasswordPolicyId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1343,6 +1690,37 @@ public java.util.concurrent.Future deletePasswordP .callAsync(handler); } + @Override + public java.util.concurrent.Future deleteSecurityQuestion( + DeleteSecurityQuestionRequest request, + final com.oracle.bmc.responses.AsyncHandler< + DeleteSecurityQuestionRequest, DeleteSecurityQuestionResponse> + handler) { + + Validate.notBlank(request.getSecurityQuestionId(), "securityQuestionId must not be blank"); + + return clientCall(request, DeleteSecurityQuestionResponse::builder) + .logger(LOG, "deleteSecurityQuestion") + .serviceDetails("IdentityDomains", "DeleteSecurityQuestion", "") + .method(com.oracle.bmc.http.client.Method.DELETE) + .requestBuilder(DeleteSecurityQuestionRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestions") + .appendPathParam(request.getSecurityQuestionId()) + .appendQueryParam("forceDelete", request.getForceDelete()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleResponseHeaderString( + "opc-request-id", DeleteSecurityQuestionResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future deleteSmtpCredential( DeleteSmtpCredentialRequest request, @@ -1357,7 +1735,9 @@ public java.util.concurrent.Future deleteSmtpCrede .serviceDetails("IdentityDomains", "DeleteSmtpCredential", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteSmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("SmtpCredentials") .appendPathParam(request.getSmtpCredentialId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1385,7 +1765,9 @@ public java.util.concurrent.Future deleteUser( .serviceDetails("IdentityDomains", "DeleteUser", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteUserRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendPathParam(request.getUserId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1414,7 +1796,9 @@ public java.util.concurrent.Future deleteUserDbC .serviceDetails("IdentityDomains", "DeleteUserDbCredential", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteUserDbCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserDbCredentials") .appendPathParam(request.getUserDbCredentialId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1429,6 +1813,82 @@ public java.util.concurrent.Future deleteUserDbC .callAsync(handler); } + @Override + public java.util.concurrent.Future getAccountMgmtInfo( + GetAccountMgmtInfoRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GetAccountMgmtInfoRequest, GetAccountMgmtInfoResponse> + handler) { + + Validate.notBlank(request.getAccountMgmtInfoId(), "accountMgmtInfoId must not be blank"); + + return clientCall(request, GetAccountMgmtInfoResponse::builder) + .logger(LOG, "getAccountMgmtInfo") + .serviceDetails("IdentityDomains", "GetAccountMgmtInfo", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetAccountMgmtInfoRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountMgmtInfos") + .appendPathParam(request.getAccountMgmtInfoId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.AccountMgmtInfo.class, + GetAccountMgmtInfoResponse.Builder::accountMgmtInfo) + .handleResponseHeaderString( + "opc-request-id", GetAccountMgmtInfoResponse.Builder::opcRequestId) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future getAccountRecoverySetting( + GetAccountRecoverySettingRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GetAccountRecoverySettingRequest, GetAccountRecoverySettingResponse> + handler) { + + Validate.notBlank( + request.getAccountRecoverySettingId(), + "accountRecoverySettingId must not be blank"); + + return clientCall(request, GetAccountRecoverySettingResponse::builder) + .logger(LOG, "getAccountRecoverySetting") + .serviceDetails("IdentityDomains", "GetAccountRecoverySetting", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetAccountRecoverySettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountRecoverySettings") + .appendPathParam(request.getAccountRecoverySettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.AccountRecoverySetting.class, + GetAccountRecoverySettingResponse.Builder::accountRecoverySetting) + .handleResponseHeaderString( + "opc-request-id", GetAccountRecoverySettingResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future getApiKey( GetApiKeyRequest request, @@ -1442,7 +1902,9 @@ public java.util.concurrent.Future getApiKey( .serviceDetails("IdentityDomains", "GetApiKey", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("ApiKeys") .appendPathParam(request.getApiKeyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1463,6 +1925,75 @@ public java.util.concurrent.Future getApiKey( .callAsync(handler); } + @Override + public java.util.concurrent.Future getApp( + GetAppRequest request, + final com.oracle.bmc.responses.AsyncHandler handler) { + + Validate.notBlank(request.getAppId(), "appId must not be blank"); + + return clientCall(request, GetAppResponse::builder) + .logger(LOG, "getApp") + .serviceDetails("IdentityDomains", "GetApp", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetAppRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendPathParam(request.getAppId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.App.class, GetAppResponse.Builder::app) + .handleResponseHeaderString("opc-request-id", GetAppResponse.Builder::opcRequestId) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future getAppRole( + GetAppRoleRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + Validate.notBlank(request.getAppRoleId(), "appRoleId must not be blank"); + + return clientCall(request, GetAppRoleResponse::builder) + .logger(LOG, "getAppRole") + .serviceDetails("IdentityDomains", "GetAppRole", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetAppRoleRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppRoles") + .appendPathParam(request.getAppRoleId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.AppRole.class, + GetAppRoleResponse.Builder::appRole) + .handleResponseHeaderString( + "opc-request-id", GetAppRoleResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future getAuthToken( GetAuthTokenRequest request, @@ -1476,7 +2007,9 @@ public java.util.concurrent.Future getAuthToken( .serviceDetails("IdentityDomains", "GetAuthToken", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthTokens") .appendPathParam(request.getAuthTokenId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1515,7 +2048,9 @@ public java.util.concurrent.Future getAuthToken( .serviceDetails("IdentityDomains", "GetAuthenticationFactorSetting", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetAuthenticationFactorSettingRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthenticationFactorSettings") .appendPathParam(request.getAuthenticationFactorSettingId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1552,7 +2087,9 @@ public java.util.concurrent.Future getCustomerSecr .serviceDetails("IdentityDomains", "GetCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("CustomerSecretKeys") .appendPathParam(request.getCustomerSecretKeyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1588,7 +2125,9 @@ public java.util.concurrent.Future getDynamicRe .serviceDetails("IdentityDomains", "GetDynamicResourceGroup", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetDynamicResourceGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendPathParam(request.getDynamicResourceGroupId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1610,19 +2149,57 @@ public java.util.concurrent.Future getDynamicRe } @Override - public java.util.concurrent.Future getGroup( - GetGroupRequest request, - final com.oracle.bmc.responses.AsyncHandler + public java.util.concurrent.Future getGrant( + GetGrantRequest request, + final com.oracle.bmc.responses.AsyncHandler handler) { - Validate.notBlank(request.getGroupId(), "groupId must not be blank"); + Validate.notBlank(request.getGrantId(), "grantId must not be blank"); - return clientCall(request, GetGroupResponse::builder) - .logger(LOG, "getGroup") - .serviceDetails("IdentityDomains", "GetGroup", "") + return clientCall(request, GetGrantResponse::builder) + .logger(LOG, "getGrant") + .serviceDetails("IdentityDomains", "GetGrant", "") .method(com.oracle.bmc.http.client.Method.GET) - .requestBuilder(GetGroupRequest::builder) - .basePath("/admin/v1") + .requestBuilder(GetGrantRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Grants") + .appendPathParam(request.getGrantId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.Grant.class, + GetGrantResponse.Builder::grant) + .handleResponseHeaderString( + "opc-request-id", GetGrantResponse.Builder::opcRequestId) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future getGroup( + GetGroupRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + Validate.notBlank(request.getGroupId(), "groupId must not be blank"); + + return clientCall(request, GetGroupResponse::builder) + .logger(LOG, "getGroup") + .serviceDetails("IdentityDomains", "GetGroup", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetGroupRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendPathParam(request.getGroupId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1657,7 +2234,9 @@ public java.util.concurrent.Future getIdentityProvi .serviceDetails("IdentityDomains", "GetIdentityProvider", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetIdentityProviderRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendPathParam(request.getIdentityProviderId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1678,6 +2257,43 @@ public java.util.concurrent.Future getIdentityProvi .callAsync(handler); } + @Override + public java.util.concurrent.Future getIdentitySetting( + GetIdentitySettingRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GetIdentitySettingRequest, GetIdentitySettingResponse> + handler) { + + Validate.notBlank(request.getIdentitySettingId(), "identitySettingId must not be blank"); + + return clientCall(request, GetIdentitySettingResponse::builder) + .logger(LOG, "getIdentitySetting") + .serviceDetails("IdentityDomains", "GetIdentitySetting", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetIdentitySettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("IdentitySettings") + .appendPathParam(request.getIdentitySettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.IdentitySetting.class, + GetIdentitySettingResponse.Builder::identitySetting) + .handleResponseHeaderString( + "opc-request-id", GetIdentitySettingResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future getKmsiSetting( GetKmsiSettingRequest request, @@ -1692,7 +2308,9 @@ public java.util.concurrent.Future getKmsiSetting( .serviceDetails("IdentityDomains", "GetKmsiSetting", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetKmsiSettingRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("KmsiSettings") .appendPathParam(request.getKmsiSettingId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1723,7 +2341,9 @@ public java.util.concurrent.Future getMe( .serviceDetails("IdentityDomains", "GetMe", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMeRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Me") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -1754,7 +2374,9 @@ public java.util.concurrent.Future getMyApiKey( .serviceDetails("IdentityDomains", "GetMyApiKey", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyApiKeys") .appendPathParam(request.getMyApiKeyId()) .accept("application/json, application/scim+json") @@ -1784,7 +2406,9 @@ public java.util.concurrent.Future getMyAuthToken( .serviceDetails("IdentityDomains", "GetMyAuthToken", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthTokens") .appendPathParam(request.getMyAuthTokenId()) .accept("application/json, application/scim+json") @@ -1815,7 +2439,9 @@ public java.util.concurrent.Future getMyCustomer .serviceDetails("IdentityDomains", "GetMyCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyCustomerSecretKeys") .appendPathParam(request.getMyCustomerSecretKeyId()) .accept("application/json, application/scim+json") @@ -1844,7 +2470,9 @@ public java.util.concurrent.Future getMyDevice( .serviceDetails("IdentityDomains", "GetMyDevice", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyDeviceRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyDevices") .appendPathParam(request.getMyDeviceId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1883,7 +2511,9 @@ public java.util.concurrent.Future getMyDevice( .serviceDetails("IdentityDomains", "GetMyOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyOAuth2ClientCredentials") .appendPathParam(request.getMyOAuth2ClientCredentialId()) .accept("application/json, application/scim+json") @@ -1913,7 +2543,9 @@ public java.util.concurrent.Future getMySmtpCredent .serviceDetails("IdentityDomains", "GetMySmtpCredential", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMySmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySmtpCredentials") .appendPathParam(request.getMySmtpCredentialId()) .accept("application/json, application/scim+json") @@ -1943,7 +2575,9 @@ public java.util.concurrent.Future getMySupportAcco .serviceDetails("IdentityDomains", "GetMySupportAccount", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMySupportAccountRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySupportAccounts") .appendPathParam(request.getMySupportAccountId()) .accept("application/json, application/scim+json") @@ -1974,7 +2608,9 @@ public java.util.concurrent.Future getMyTrustedUs .serviceDetails("IdentityDomains", "GetMyTrustedUserAgent", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyTrustedUserAgentRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyTrustedUserAgents") .appendPathParam(request.getMyTrustedUserAgentId()) .appendQueryParam("attributes", request.getAttributes()) @@ -2010,7 +2646,9 @@ public java.util.concurrent.Future getMyUserDbCre .serviceDetails("IdentityDomains", "GetMyUserDbCredential", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyUserDbCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyUserDbCredentials") .appendPathParam(request.getMyUserDbCredentialId()) .accept("application/json, application/scim+json") @@ -2042,7 +2680,9 @@ public java.util.concurrent.Future getOAuth2C .serviceDetails("IdentityDomains", "GetOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("OAuth2ClientCredentials") .appendPathParam(request.getOAuth2ClientCredentialId()) .appendQueryParam("attributes", request.getAttributes()) @@ -2077,7 +2717,9 @@ public java.util.concurrent.Future getPasswordPolicy( .serviceDetails("IdentityDomains", "GetPasswordPolicy", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetPasswordPolicyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendPathParam(request.getPasswordPolicyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -2098,6 +2740,84 @@ public java.util.concurrent.Future getPasswordPolicy( .callAsync(handler); } + @Override + public java.util.concurrent.Future getSecurityQuestion( + GetSecurityQuestionRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GetSecurityQuestionRequest, GetSecurityQuestionResponse> + handler) { + + Validate.notBlank(request.getSecurityQuestionId(), "securityQuestionId must not be blank"); + + return clientCall(request, GetSecurityQuestionResponse::builder) + .logger(LOG, "getSecurityQuestion") + .serviceDetails("IdentityDomains", "GetSecurityQuestion", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetSecurityQuestionRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestions") + .appendPathParam(request.getSecurityQuestionId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestion.class, + GetSecurityQuestionResponse.Builder::securityQuestion) + .handleResponseHeaderString( + "opc-request-id", GetSecurityQuestionResponse.Builder::opcRequestId) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future + getSecurityQuestionSetting( + GetSecurityQuestionSettingRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GetSecurityQuestionSettingRequest, + GetSecurityQuestionSettingResponse> + handler) { + + Validate.notBlank( + request.getSecurityQuestionSettingId(), + "securityQuestionSettingId must not be blank"); + + return clientCall(request, GetSecurityQuestionSettingResponse::builder) + .logger(LOG, "getSecurityQuestionSetting") + .serviceDetails("IdentityDomains", "GetSecurityQuestionSetting", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetSecurityQuestionSettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestionSettings") + .appendPathParam(request.getSecurityQuestionSettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting.class, + GetSecurityQuestionSettingResponse.Builder::securityQuestionSetting) + .handleResponseHeaderString( + "opc-request-id", GetSecurityQuestionSettingResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future getSmtpCredential( GetSmtpCredentialRequest request, @@ -2112,7 +2832,9 @@ public java.util.concurrent.Future getSmtpCredential( .serviceDetails("IdentityDomains", "GetSmtpCredential", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetSmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("SmtpCredentials") .appendPathParam(request.getSmtpCredentialId()) .appendQueryParam("attributes", request.getAttributes()) @@ -2145,7 +2867,9 @@ public java.util.concurrent.Future getUser( .serviceDetails("IdentityDomains", "GetUser", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetUserRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendPathParam(request.getUserId()) .appendQueryParam("attributes", request.getAttributes()) @@ -2165,6 +2889,44 @@ public java.util.concurrent.Future getUser( .callAsync(handler); } + @Override + public java.util.concurrent.Future getUserAttributesSetting( + GetUserAttributesSettingRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GetUserAttributesSettingRequest, GetUserAttributesSettingResponse> + handler) { + + Validate.notBlank( + request.getUserAttributesSettingId(), "userAttributesSettingId must not be blank"); + + return clientCall(request, GetUserAttributesSettingResponse::builder) + .logger(LOG, "getUserAttributesSetting") + .serviceDetails("IdentityDomains", "GetUserAttributesSetting", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetUserAttributesSettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("UserAttributesSettings") + .appendPathParam(request.getUserAttributesSettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.UserAttributesSetting.class, + GetUserAttributesSettingResponse.Builder::userAttributesSetting) + .handleResponseHeaderString( + "opc-request-id", GetUserAttributesSettingResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future getUserDbCredential( GetUserDbCredentialRequest request, @@ -2179,7 +2941,9 @@ public java.util.concurrent.Future getUserDbCredent .serviceDetails("IdentityDomains", "GetUserDbCredential", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetUserDbCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserDbCredentials") .appendPathParam(request.getUserDbCredentialId()) .appendQueryParam("attributes", request.getAttributes()) @@ -2200,6 +2964,89 @@ public java.util.concurrent.Future getUserDbCredent .callAsync(handler); } + @Override + public java.util.concurrent.Future listAccountMgmtInfos( + ListAccountMgmtInfosRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListAccountMgmtInfosRequest, ListAccountMgmtInfosResponse> + handler) { + + return clientCall(request, ListAccountMgmtInfosResponse::builder) + .logger(LOG, "listAccountMgmtInfos") + .serviceDetails("IdentityDomains", "ListAccountMgmtInfos", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListAccountMgmtInfosRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountMgmtInfos") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.AccountMgmtInfos.class, + ListAccountMgmtInfosResponse.Builder::accountMgmtInfos) + .handleResponseHeaderString( + "opc-request-id", ListAccountMgmtInfosResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListAccountMgmtInfosResponse.Builder::opcNextPage) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future + listAccountRecoverySettings( + ListAccountRecoverySettingsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListAccountRecoverySettingsRequest, + ListAccountRecoverySettingsResponse> + handler) { + + return clientCall(request, ListAccountRecoverySettingsResponse::builder) + .logger(LOG, "listAccountRecoverySettings") + .serviceDetails("IdentityDomains", "ListAccountRecoverySettings", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListAccountRecoverySettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountRecoverySettings") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.AccountRecoverySettings.class, + ListAccountRecoverySettingsResponse.Builder::accountRecoverySettings) + .handleResponseHeaderString( + "opc-request-id", ListAccountRecoverySettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListAccountRecoverySettingsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future listApiKeys( ListApiKeysRequest request, @@ -2211,7 +3058,9 @@ public java.util.concurrent.Future listApiKeys( .serviceDetails("IdentityDomains", "ListApiKeys", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListApiKeysRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("ApiKeys") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2240,6 +3089,89 @@ public java.util.concurrent.Future listApiKeys( .callAsync(handler); } + @Override + public java.util.concurrent.Future listAppRoles( + ListAppRolesRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + return clientCall(request, ListAppRolesResponse::builder) + .logger(LOG, "listAppRoles") + .serviceDetails("IdentityDomains", "ListAppRoles", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListAppRolesRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppRoles") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.AppRoles.class, + ListAppRolesResponse.Builder::appRoles) + .handleResponseHeaderString( + "opc-request-id", ListAppRolesResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListAppRolesResponse.Builder::opcNextPage) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future listApps( + ListAppsRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + return clientCall(request, ListAppsResponse::builder) + .logger(LOG, "listApps") + .serviceDetails("IdentityDomains", "ListApps", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListAppsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.Apps.class, + ListAppsResponse.Builder::apps) + .handleResponseHeaderString( + "opc-request-id", ListAppsResponse.Builder::opcRequestId) + .handleResponseHeaderString("opc-next-page", ListAppsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future listAuthTokens( ListAuthTokensRequest request, @@ -2252,7 +3184,9 @@ public java.util.concurrent.Future listAuthTokens( .serviceDetails("IdentityDomains", "ListAuthTokens", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListAuthTokensRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthTokens") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2295,7 +3229,9 @@ public java.util.concurrent.Future listAuthTokens( .serviceDetails("IdentityDomains", "ListAuthenticationFactorSettings", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListAuthenticationFactorSettingsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthenticationFactorSettings") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -2334,7 +3270,9 @@ public java.util.concurrent.Future listCustomerS .serviceDetails("IdentityDomains", "ListCustomerSecretKeys", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListCustomerSecretKeysRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("CustomerSecretKeys") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2375,7 +3313,9 @@ public java.util.concurrent.Future listDynami .serviceDetails("IdentityDomains", "ListDynamicResourceGroups", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListDynamicResourceGroupsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2404,6 +3344,48 @@ public java.util.concurrent.Future listDynami .callAsync(handler); } + @Override + public java.util.concurrent.Future listGrants( + ListGrantsRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + return clientCall(request, ListGrantsResponse::builder) + .logger(LOG, "listGrants") + .serviceDetails("IdentityDomains", "ListGrants", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListGrantsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Grants") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.Grants.class, + ListGrantsResponse.Builder::grants) + .handleResponseHeaderString( + "opc-request-id", ListGrantsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListGrantsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future listGroups( ListGroupsRequest request, @@ -2415,7 +3397,9 @@ public java.util.concurrent.Future listGroups( .serviceDetails("IdentityDomains", "ListGroups", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListGroupsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2456,7 +3440,9 @@ public java.util.concurrent.Future listIdentityPr .serviceDetails("IdentityDomains", "ListIdentityProviders", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListIdentityProvidersRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2486,19 +3472,21 @@ public java.util.concurrent.Future listIdentityPr } @Override - public java.util.concurrent.Future listKmsiSettings( - ListKmsiSettingsRequest request, + public java.util.concurrent.Future listIdentitySettings( + ListIdentitySettingsRequest request, final com.oracle.bmc.responses.AsyncHandler< - ListKmsiSettingsRequest, ListKmsiSettingsResponse> + ListIdentitySettingsRequest, ListIdentitySettingsResponse> handler) { - return clientCall(request, ListKmsiSettingsResponse::builder) - .logger(LOG, "listKmsiSettings") - .serviceDetails("IdentityDomains", "ListKmsiSettings", "") + return clientCall(request, ListIdentitySettingsResponse::builder) + .logger(LOG, "listIdentitySettings") + .serviceDetails("IdentityDomains", "ListIdentitySettings", "") .method(com.oracle.bmc.http.client.Method.GET) - .requestBuilder(ListKmsiSettingsRequest::builder) - .basePath("/admin/v1") - .appendPathParam("KmsiSettings") + .requestBuilder(ListIdentitySettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("IdentitySettings") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( "attributeSets", @@ -2512,10 +3500,48 @@ public java.util.concurrent.Future listKmsiSettings( "resource_type_schema_version", request.getResourceTypeSchemaVersion()) .appendHeader("opc-retry-token", request.getOpcRetryToken()) .handleBody( - com.oracle.bmc.identitydomains.model.KmsiSettings.class, - ListKmsiSettingsResponse.Builder::kmsiSettings) + com.oracle.bmc.identitydomains.model.IdentitySettings.class, + ListIdentitySettingsResponse.Builder::identitySettings) .handleResponseHeaderString( - "opc-request-id", ListKmsiSettingsResponse.Builder::opcRequestId) + "opc-request-id", ListIdentitySettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListIdentitySettingsResponse.Builder::opcNextPage) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future listKmsiSettings( + ListKmsiSettingsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListKmsiSettingsRequest, ListKmsiSettingsResponse> + handler) { + + return clientCall(request, ListKmsiSettingsResponse::builder) + .logger(LOG, "listKmsiSettings") + .serviceDetails("IdentityDomains", "ListKmsiSettings", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListKmsiSettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("KmsiSettings") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.KmsiSettings.class, + ListKmsiSettingsResponse.Builder::kmsiSettings) + .handleResponseHeaderString( + "opc-request-id", ListKmsiSettingsResponse.Builder::opcRequestId) .handleResponseHeaderString( "opc-next-page", ListKmsiSettingsResponse.Builder::opcNextPage) .callAsync(handler); @@ -2532,7 +3558,9 @@ public java.util.concurrent.Future listMyApiKeys( .serviceDetails("IdentityDomains", "ListMyApiKeys", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyApiKeysRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyApiKeys") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2556,6 +3584,43 @@ public java.util.concurrent.Future listMyApiKeys( .callAsync(handler); } + @Override + public java.util.concurrent.Future listMyApps( + ListMyAppsRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + return clientCall(request, ListMyAppsResponse::builder) + .logger(LOG, "listMyApps") + .serviceDetails("IdentityDomains", "ListMyApps", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListMyAppsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyApps") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.MyApps.class, + ListMyAppsResponse.Builder::myApps) + .handleResponseHeaderString( + "opc-request-id", ListMyAppsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListMyAppsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future listMyAuthTokens( ListMyAuthTokensRequest request, @@ -2568,7 +3633,9 @@ public java.util.concurrent.Future listMyAuthTokens( .serviceDetails("IdentityDomains", "ListMyAuthTokens", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyAuthTokensRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthTokens") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2604,7 +3671,9 @@ public java.util.concurrent.Future listMyCusto .serviceDetails("IdentityDomains", "ListMyCustomerSecretKeys", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyCustomerSecretKeysRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyCustomerSecretKeys") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2639,7 +3708,9 @@ public java.util.concurrent.Future listMyDevices( .serviceDetails("IdentityDomains", "ListMyDevices", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyDevicesRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyDevices") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2679,7 +3750,9 @@ public java.util.concurrent.Future listMyGroups( .serviceDetails("IdentityDomains", "ListMyGroups", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyGroupsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyGroups") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2722,7 +3795,9 @@ public java.util.concurrent.Future listMyGroups( .serviceDetails("IdentityDomains", "ListMyOAuth2ClientCredentials", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyOAuth2ClientCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyOAuth2ClientCredentials") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2747,6 +3822,87 @@ public java.util.concurrent.Future listMyGroups( .callAsync(handler); } + @Override + public java.util.concurrent.Future listMyRequestableGroups( + ListMyRequestableGroupsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListMyRequestableGroupsRequest, ListMyRequestableGroupsResponse> + handler) { + + return clientCall(request, ListMyRequestableGroupsResponse::builder) + .logger(LOG, "listMyRequestableGroups") + .serviceDetails("IdentityDomains", "ListMyRequestableGroups", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListMyRequestableGroupsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyRequestableGroups") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.MyRequestableGroups.class, + ListMyRequestableGroupsResponse.Builder::myRequestableGroups) + .handleResponseHeaderString( + "opc-request-id", ListMyRequestableGroupsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListMyRequestableGroupsResponse.Builder::opcNextPage) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future listMyRequests( + ListMyRequestsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListMyRequestsRequest, ListMyRequestsResponse> + handler) { + + return clientCall(request, ListMyRequestsResponse::builder) + .logger(LOG, "listMyRequests") + .serviceDetails("IdentityDomains", "ListMyRequests", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListMyRequestsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyRequests") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.MyRequests.class, + ListMyRequestsResponse.Builder::myRequests) + .handleResponseHeaderString( + "opc-request-id", ListMyRequestsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListMyRequestsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future listMySmtpCredentials( ListMySmtpCredentialsRequest request, @@ -2759,7 +3915,9 @@ public java.util.concurrent.Future listMySmtpCred .serviceDetails("IdentityDomains", "ListMySmtpCredentials", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMySmtpCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySmtpCredentials") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2795,7 +3953,9 @@ public java.util.concurrent.Future listMySupportA .serviceDetails("IdentityDomains", "ListMySupportAccounts", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMySupportAccountsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySupportAccounts") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2831,7 +3991,9 @@ public java.util.concurrent.Future listMyTruste .serviceDetails("IdentityDomains", "ListMyTrustedUserAgents", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyTrustedUserAgentsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyTrustedUserAgents") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2872,7 +4034,9 @@ public java.util.concurrent.Future listMyUserDb .serviceDetails("IdentityDomains", "ListMyUserDbCredentials", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyUserDbCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyUserDbCredentials") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2910,7 +4074,9 @@ public java.util.concurrent.Future listMyUserDb .serviceDetails("IdentityDomains", "ListOAuth2ClientCredentials", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListOAuth2ClientCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("OAuth2ClientCredentials") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2951,7 +4117,9 @@ public java.util.concurrent.Future listPasswordPol .serviceDetails("IdentityDomains", "ListPasswordPolicies", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListPasswordPoliciesRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2980,6 +4148,138 @@ public java.util.concurrent.Future listPasswordPol .callAsync(handler); } + @Override + public java.util.concurrent.Future + listResourceTypeSchemaAttributes( + ListResourceTypeSchemaAttributesRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListResourceTypeSchemaAttributesRequest, + ListResourceTypeSchemaAttributesResponse> + handler) { + + return clientCall(request, ListResourceTypeSchemaAttributesResponse::builder) + .logger(LOG, "listResourceTypeSchemaAttributes") + .serviceDetails("IdentityDomains", "ListResourceTypeSchemaAttributes", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListResourceTypeSchemaAttributesRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("ResourceTypeSchemaAttributes") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes.class, + ListResourceTypeSchemaAttributesResponse.Builder + ::resourceTypeSchemaAttributes) + .handleResponseHeaderString( + "opc-request-id", + ListResourceTypeSchemaAttributesResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", + ListResourceTypeSchemaAttributesResponse.Builder::opcNextPage) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future + listSecurityQuestionSettings( + ListSecurityQuestionSettingsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListSecurityQuestionSettingsRequest, + ListSecurityQuestionSettingsResponse> + handler) { + + return clientCall(request, ListSecurityQuestionSettingsResponse::builder) + .logger(LOG, "listSecurityQuestionSettings") + .serviceDetails("IdentityDomains", "ListSecurityQuestionSettings", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListSecurityQuestionSettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestionSettings") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestionSettings.class, + ListSecurityQuestionSettingsResponse.Builder::securityQuestionSettings) + .handleResponseHeaderString( + "opc-request-id", + ListSecurityQuestionSettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListSecurityQuestionSettingsResponse.Builder::opcNextPage) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future listSecurityQuestions( + ListSecurityQuestionsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListSecurityQuestionsRequest, ListSecurityQuestionsResponse> + handler) { + + return clientCall(request, ListSecurityQuestionsResponse::builder) + .logger(LOG, "listSecurityQuestions") + .serviceDetails("IdentityDomains", "ListSecurityQuestions", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListSecurityQuestionsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestions") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestions.class, + ListSecurityQuestionsResponse.Builder::securityQuestions) + .handleResponseHeaderString( + "opc-request-id", ListSecurityQuestionsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListSecurityQuestionsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future listSmtpCredentials( ListSmtpCredentialsRequest request, @@ -2992,7 +4292,9 @@ public java.util.concurrent.Future listSmtpCredenti .serviceDetails("IdentityDomains", "ListSmtpCredentials", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListSmtpCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("SmtpCredentials") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -3021,6 +4323,46 @@ public java.util.concurrent.Future listSmtpCredenti .callAsync(handler); } + @Override + public java.util.concurrent.Future + listUserAttributesSettings( + ListUserAttributesSettingsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListUserAttributesSettingsRequest, + ListUserAttributesSettingsResponse> + handler) { + + return clientCall(request, ListUserAttributesSettingsResponse::builder) + .logger(LOG, "listUserAttributesSettings") + .serviceDetails("IdentityDomains", "ListUserAttributesSettings", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListUserAttributesSettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("UserAttributesSettings") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.UserAttributesSettings.class, + ListUserAttributesSettingsResponse.Builder::userAttributesSettings) + .handleResponseHeaderString( + "opc-request-id", ListUserAttributesSettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListUserAttributesSettingsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future listUserDbCredentials( ListUserDbCredentialsRequest request, @@ -3033,7 +4375,9 @@ public java.util.concurrent.Future listUserDbCred .serviceDetails("IdentityDomains", "ListUserDbCredentials", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListUserDbCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserDbCredentials") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -3073,7 +4417,9 @@ public java.util.concurrent.Future listUsers( .serviceDetails("IdentityDomains", "ListUsers", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListUsersRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -3101,6 +4447,51 @@ public java.util.concurrent.Future listUsers( .callAsync(handler); } + @Override + public java.util.concurrent.Future + patchAccountRecoverySetting( + PatchAccountRecoverySettingRequest request, + final com.oracle.bmc.responses.AsyncHandler< + PatchAccountRecoverySettingRequest, + PatchAccountRecoverySettingResponse> + handler) { + + Validate.notBlank( + request.getAccountRecoverySettingId(), + "accountRecoverySettingId must not be blank"); + + return clientCall(request, PatchAccountRecoverySettingResponse::builder) + .logger(LOG, "patchAccountRecoverySetting") + .serviceDetails("IdentityDomains", "PatchAccountRecoverySetting", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchAccountRecoverySettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountRecoverySettings") + .appendPathParam(request.getAccountRecoverySettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AccountRecoverySetting.class, + PatchAccountRecoverySettingResponse.Builder::accountRecoverySetting) + .handleResponseHeaderString( + "opc-request-id", PatchAccountRecoverySettingResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "etag", PatchAccountRecoverySettingResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future patchApiKey( PatchApiKeyRequest request, @@ -3114,7 +4505,9 @@ public java.util.concurrent.Future patchApiKey( .serviceDetails("IdentityDomains", "PatchApiKey", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("ApiKeys") .appendPathParam(request.getApiKeyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3139,22 +4532,23 @@ public java.util.concurrent.Future patchApiKey( } @Override - public java.util.concurrent.Future patchAuthToken( - PatchAuthTokenRequest request, - final com.oracle.bmc.responses.AsyncHandler< - PatchAuthTokenRequest, PatchAuthTokenResponse> + public java.util.concurrent.Future patchApp( + PatchAppRequest request, + final com.oracle.bmc.responses.AsyncHandler handler) { - Validate.notBlank(request.getAuthTokenId(), "authTokenId must not be blank"); + Validate.notBlank(request.getAppId(), "appId must not be blank"); - return clientCall(request, PatchAuthTokenResponse::builder) - .logger(LOG, "patchAuthToken") - .serviceDetails("IdentityDomains", "PatchAuthToken", "") + return clientCall(request, PatchAppResponse::builder) + .logger(LOG, "patchApp") + .serviceDetails("IdentityDomains", "PatchApp", "") .method(com.oracle.bmc.http.client.Method.PATCH) - .requestBuilder(PatchAuthTokenRequest::builder) - .basePath("/admin/v1") - .appendPathParam("AuthTokens") - .appendPathParam(request.getAuthTokenId()) + .requestBuilder(PatchAppRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendPathParam(request.getAppId()) .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( "attributeSets", @@ -3168,19 +4562,98 @@ public java.util.concurrent.Future patchAuthToken( .appendHeader("opc-retry-token", request.getOpcRetryToken()) .hasBody() .handleBody( - com.oracle.bmc.identitydomains.model.AuthToken.class, - PatchAuthTokenResponse.Builder::authToken) + com.oracle.bmc.identitydomains.model.App.class, + PatchAppResponse.Builder::app) .handleResponseHeaderString( - "opc-request-id", PatchAuthTokenResponse.Builder::opcRequestId) - .handleResponseHeaderString("etag", PatchAuthTokenResponse.Builder::etag) + "opc-request-id", PatchAppResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PatchAppResponse.Builder::etag) .callAsync(handler); } @Override - public java.util.concurrent.Future patchCustomerSecretKey( - PatchCustomerSecretKeyRequest request, - final com.oracle.bmc.responses.AsyncHandler< - PatchCustomerSecretKeyRequest, PatchCustomerSecretKeyResponse> + public java.util.concurrent.Future patchAppRole( + PatchAppRoleRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + Validate.notBlank(request.getAppRoleId(), "appRoleId must not be blank"); + + return clientCall(request, PatchAppRoleResponse::builder) + .logger(LOG, "patchAppRole") + .serviceDetails("IdentityDomains", "PatchAppRole", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchAppRoleRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppRoles") + .appendPathParam(request.getAppRoleId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AppRole.class, + PatchAppRoleResponse.Builder::appRole) + .handleResponseHeaderString( + "opc-request-id", PatchAppRoleResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PatchAppRoleResponse.Builder::etag) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future patchAuthToken( + PatchAuthTokenRequest request, + final com.oracle.bmc.responses.AsyncHandler< + PatchAuthTokenRequest, PatchAuthTokenResponse> + handler) { + + Validate.notBlank(request.getAuthTokenId(), "authTokenId must not be blank"); + + return clientCall(request, PatchAuthTokenResponse::builder) + .logger(LOG, "patchAuthToken") + .serviceDetails("IdentityDomains", "PatchAuthToken", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchAuthTokenRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AuthTokens") + .appendPathParam(request.getAuthTokenId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AuthToken.class, + PatchAuthTokenResponse.Builder::authToken) + .handleResponseHeaderString( + "opc-request-id", PatchAuthTokenResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PatchAuthTokenResponse.Builder::etag) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future patchCustomerSecretKey( + PatchCustomerSecretKeyRequest request, + final com.oracle.bmc.responses.AsyncHandler< + PatchCustomerSecretKeyRequest, PatchCustomerSecretKeyResponse> handler) { Validate.notBlank( @@ -3191,7 +4664,9 @@ public java.util.concurrent.Future patchCustomer .serviceDetails("IdentityDomains", "PatchCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("CustomerSecretKeys") .appendPathParam(request.getCustomerSecretKeyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3230,7 +4705,9 @@ public java.util.concurrent.Future patchDynam .serviceDetails("IdentityDomains", "PatchDynamicResourceGroup", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchDynamicResourceGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendPathParam(request.getDynamicResourceGroupId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3254,6 +4731,45 @@ public java.util.concurrent.Future patchDynam .callAsync(handler); } + @Override + public java.util.concurrent.Future patchGrant( + PatchGrantRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + Validate.notBlank(request.getGrantId(), "grantId must not be blank"); + + return clientCall(request, PatchGrantResponse::builder) + .logger(LOG, "patchGrant") + .serviceDetails("IdentityDomains", "PatchGrant", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchGrantRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Grants") + .appendPathParam(request.getGrantId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.Grant.class, + PatchGrantResponse.Builder::grant) + .handleResponseHeaderString( + "opc-request-id", PatchGrantResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PatchGrantResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future patchGroup( PatchGroupRequest request, @@ -3267,7 +4783,9 @@ public java.util.concurrent.Future patchGroup( .serviceDetails("IdentityDomains", "PatchGroup", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendPathParam(request.getGroupId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3305,7 +4823,9 @@ public java.util.concurrent.Future patchIdentityP .serviceDetails("IdentityDomains", "PatchIdentityProvider", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchIdentityProviderRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendPathParam(request.getIdentityProviderId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3329,6 +4849,46 @@ public java.util.concurrent.Future patchIdentityP .callAsync(handler); } + @Override + public java.util.concurrent.Future patchIdentitySetting( + PatchIdentitySettingRequest request, + final com.oracle.bmc.responses.AsyncHandler< + PatchIdentitySettingRequest, PatchIdentitySettingResponse> + handler) { + + Validate.notBlank(request.getIdentitySettingId(), "identitySettingId must not be blank"); + + return clientCall(request, PatchIdentitySettingResponse::builder) + .logger(LOG, "patchIdentitySetting") + .serviceDetails("IdentityDomains", "PatchIdentitySetting", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchIdentitySettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("IdentitySettings") + .appendPathParam(request.getIdentitySettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.IdentitySetting.class, + PatchIdentitySettingResponse.Builder::identitySetting) + .handleResponseHeaderString( + "opc-request-id", PatchIdentitySettingResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PatchIdentitySettingResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future patchKmsiSetting( PatchKmsiSettingRequest request, @@ -3343,7 +4903,9 @@ public java.util.concurrent.Future patchKmsiSetting( .serviceDetails("IdentityDomains", "PatchKmsiSetting", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchKmsiSettingRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("KmsiSettings") .appendPathParam(request.getKmsiSettingId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3377,7 +4939,9 @@ public java.util.concurrent.Future patchMe( .serviceDetails("IdentityDomains", "PatchMe", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMeRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Me") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -3411,7 +4975,9 @@ public java.util.concurrent.Future patchMyApiKey( .serviceDetails("IdentityDomains", "PatchMyApiKey", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMyApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyApiKeys") .appendPathParam(request.getMyApiKeyId()) .accept("application/json, application/scim+json") @@ -3444,7 +5010,9 @@ public java.util.concurrent.Future patchMyAuthToken( .serviceDetails("IdentityDomains", "PatchMyAuthToken", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMyAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthTokens") .appendPathParam(request.getMyAuthTokenId()) .accept("application/json, application/scim+json") @@ -3478,7 +5046,9 @@ public java.util.concurrent.Future patchMyCust .serviceDetails("IdentityDomains", "PatchMyCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMyCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyCustomerSecretKeys") .appendPathParam(request.getMyCustomerSecretKeyId()) .accept("application/json, application/scim+json") @@ -3510,7 +5080,9 @@ public java.util.concurrent.Future patchMyDevice( .serviceDetails("IdentityDomains", "PatchMyDevice", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMyDeviceRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyDevices") .appendPathParam(request.getMyDeviceId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3552,7 +5124,9 @@ public java.util.concurrent.Future patchMyDevice( .serviceDetails("IdentityDomains", "PatchMyOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMyOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyOAuth2ClientCredentials") .appendPathParam(request.getMyOAuth2ClientCredentialId()) .accept("application/json, application/scim+json") @@ -3587,7 +5161,9 @@ public java.util.concurrent.Future patchMySmtpCre .serviceDetails("IdentityDomains", "PatchMySmtpCredential", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMySmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySmtpCredentials") .appendPathParam(request.getMySmtpCredentialId()) .accept("application/json, application/scim+json") @@ -3624,7 +5200,9 @@ public java.util.concurrent.Future patchMySmtpCre .serviceDetails("IdentityDomains", "PatchOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("OAuth2ClientCredentials") .appendPathParam(request.getOAuth2ClientCredentialId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3663,7 +5241,9 @@ public java.util.concurrent.Future patchPasswordPol .serviceDetails("IdentityDomains", "PatchPasswordPolicy", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchPasswordPolicyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendPathParam(request.getPasswordPolicyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3687,6 +5267,92 @@ public java.util.concurrent.Future patchPasswordPol .callAsync(handler); } + @Override + public java.util.concurrent.Future patchSecurityQuestion( + PatchSecurityQuestionRequest request, + final com.oracle.bmc.responses.AsyncHandler< + PatchSecurityQuestionRequest, PatchSecurityQuestionResponse> + handler) { + + Validate.notBlank(request.getSecurityQuestionId(), "securityQuestionId must not be blank"); + + return clientCall(request, PatchSecurityQuestionResponse::builder) + .logger(LOG, "patchSecurityQuestion") + .serviceDetails("IdentityDomains", "PatchSecurityQuestion", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchSecurityQuestionRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestions") + .appendPathParam(request.getSecurityQuestionId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestion.class, + PatchSecurityQuestionResponse.Builder::securityQuestion) + .handleResponseHeaderString( + "opc-request-id", PatchSecurityQuestionResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PatchSecurityQuestionResponse.Builder::etag) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future + patchSecurityQuestionSetting( + PatchSecurityQuestionSettingRequest request, + final com.oracle.bmc.responses.AsyncHandler< + PatchSecurityQuestionSettingRequest, + PatchSecurityQuestionSettingResponse> + handler) { + + Validate.notBlank( + request.getSecurityQuestionSettingId(), + "securityQuestionSettingId must not be blank"); + + return clientCall(request, PatchSecurityQuestionSettingResponse::builder) + .logger(LOG, "patchSecurityQuestionSetting") + .serviceDetails("IdentityDomains", "PatchSecurityQuestionSetting", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchSecurityQuestionSettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestionSettings") + .appendPathParam(request.getSecurityQuestionSettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting.class, + PatchSecurityQuestionSettingResponse.Builder::securityQuestionSetting) + .handleResponseHeaderString( + "opc-request-id", + PatchSecurityQuestionSettingResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "etag", PatchSecurityQuestionSettingResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future patchSmtpCredential( PatchSmtpCredentialRequest request, @@ -3701,7 +5367,9 @@ public java.util.concurrent.Future patchSmtpCredent .serviceDetails("IdentityDomains", "PatchSmtpCredential", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchSmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("SmtpCredentials") .appendPathParam(request.getSmtpCredentialId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3738,7 +5406,9 @@ public java.util.concurrent.Future patchUser( .serviceDetails("IdentityDomains", "PatchUser", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchUserRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendPathParam(request.getUserId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3762,6 +5432,168 @@ public java.util.concurrent.Future patchUser( .callAsync(handler); } + @Override + public java.util.concurrent.Future + patchUserAttributesSetting( + PatchUserAttributesSettingRequest request, + final com.oracle.bmc.responses.AsyncHandler< + PatchUserAttributesSettingRequest, + PatchUserAttributesSettingResponse> + handler) { + + Validate.notBlank( + request.getUserAttributesSettingId(), "userAttributesSettingId must not be blank"); + + return clientCall(request, PatchUserAttributesSettingResponse::builder) + .logger(LOG, "patchUserAttributesSetting") + .serviceDetails("IdentityDomains", "PatchUserAttributesSetting", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchUserAttributesSettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("UserAttributesSettings") + .appendPathParam(request.getUserAttributesSettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.UserAttributesSetting.class, + PatchUserAttributesSettingResponse.Builder::userAttributesSetting) + .handleResponseHeaderString( + "opc-request-id", PatchUserAttributesSettingResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "etag", PatchUserAttributesSettingResponse.Builder::etag) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future putAccountRecoverySetting( + PutAccountRecoverySettingRequest request, + final com.oracle.bmc.responses.AsyncHandler< + PutAccountRecoverySettingRequest, PutAccountRecoverySettingResponse> + handler) { + + Validate.notBlank( + request.getAccountRecoverySettingId(), + "accountRecoverySettingId must not be blank"); + + return clientCall(request, PutAccountRecoverySettingResponse::builder) + .logger(LOG, "putAccountRecoverySetting") + .serviceDetails("IdentityDomains", "PutAccountRecoverySetting", "") + .method(com.oracle.bmc.http.client.Method.PUT) + .requestBuilder(PutAccountRecoverySettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountRecoverySettings") + .appendPathParam(request.getAccountRecoverySettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AccountRecoverySetting.class, + PutAccountRecoverySettingResponse.Builder::accountRecoverySetting) + .handleResponseHeaderString( + "opc-request-id", PutAccountRecoverySettingResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PutAccountRecoverySettingResponse.Builder::etag) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future putApp( + PutAppRequest request, + final com.oracle.bmc.responses.AsyncHandler handler) { + + Validate.notBlank(request.getAppId(), "appId must not be blank"); + + return clientCall(request, PutAppResponse::builder) + .logger(LOG, "putApp") + .serviceDetails("IdentityDomains", "PutApp", "") + .method(com.oracle.bmc.http.client.Method.PUT) + .requestBuilder(PutAppRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendPathParam(request.getAppId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.App.class, PutAppResponse.Builder::app) + .handleResponseHeaderString("opc-request-id", PutAppResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PutAppResponse.Builder::etag) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future putAppStatusChanger( + PutAppStatusChangerRequest request, + final com.oracle.bmc.responses.AsyncHandler< + PutAppStatusChangerRequest, PutAppStatusChangerResponse> + handler) { + + Validate.notBlank(request.getAppStatusChangerId(), "appStatusChangerId must not be blank"); + + return clientCall(request, PutAppStatusChangerResponse::builder) + .logger(LOG, "putAppStatusChanger") + .serviceDetails("IdentityDomains", "PutAppStatusChanger", "") + .method(com.oracle.bmc.http.client.Method.PUT) + .requestBuilder(PutAppStatusChangerRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppStatusChanger") + .appendPathParam(request.getAppStatusChangerId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AppStatusChanger.class, + PutAppStatusChangerResponse.Builder::appStatusChanger) + .handleResponseHeaderString( + "opc-request-id", PutAppStatusChangerResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PutAppStatusChangerResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future putAuthenticationFactorSetting( @@ -3780,7 +5612,9 @@ public java.util.concurrent.Future patchUser( .serviceDetails("IdentityDomains", "PutAuthenticationFactorSetting", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutAuthenticationFactorSettingRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthenticationFactorSettings") .appendPathParam(request.getAuthenticationFactorSettingId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3821,7 +5655,9 @@ public java.util.concurrent.Future putDynamicRe .serviceDetails("IdentityDomains", "PutDynamicResourceGroup", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutDynamicResourceGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendPathParam(request.getDynamicResourceGroupId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3858,7 +5694,9 @@ public java.util.concurrent.Future putGroup( .serviceDetails("IdentityDomains", "PutGroup", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendPathParam(request.getGroupId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3896,7 +5734,9 @@ public java.util.concurrent.Future putIdentityProvi .serviceDetails("IdentityDomains", "PutIdentityProvider", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutIdentityProviderRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendPathParam(request.getIdentityProviderId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3921,20 +5761,62 @@ public java.util.concurrent.Future putIdentityProvi } @Override - public java.util.concurrent.Future putKmsiSetting( - PutKmsiSettingRequest request, + public java.util.concurrent.Future putIdentitySetting( + PutIdentitySettingRequest request, final com.oracle.bmc.responses.AsyncHandler< - PutKmsiSettingRequest, PutKmsiSettingResponse> + PutIdentitySettingRequest, PutIdentitySettingResponse> handler) { - Validate.notBlank(request.getKmsiSettingId(), "kmsiSettingId must not be blank"); + Validate.notBlank(request.getIdentitySettingId(), "identitySettingId must not be blank"); - return clientCall(request, PutKmsiSettingResponse::builder) - .logger(LOG, "putKmsiSetting") - .serviceDetails("IdentityDomains", "PutKmsiSetting", "") + return clientCall(request, PutIdentitySettingResponse::builder) + .logger(LOG, "putIdentitySetting") + .serviceDetails("IdentityDomains", "PutIdentitySetting", "") + .method(com.oracle.bmc.http.client.Method.PUT) + .requestBuilder(PutIdentitySettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("IdentitySettings") + .appendPathParam(request.getIdentitySettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.IdentitySetting.class, + PutIdentitySettingResponse.Builder::identitySetting) + .handleResponseHeaderString( + "opc-request-id", PutIdentitySettingResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PutIdentitySettingResponse.Builder::etag) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future putKmsiSetting( + PutKmsiSettingRequest request, + final com.oracle.bmc.responses.AsyncHandler< + PutKmsiSettingRequest, PutKmsiSettingResponse> + handler) { + + Validate.notBlank(request.getKmsiSettingId(), "kmsiSettingId must not be blank"); + + return clientCall(request, PutKmsiSettingResponse::builder) + .logger(LOG, "putKmsiSetting") + .serviceDetails("IdentityDomains", "PutKmsiSetting", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutKmsiSettingRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("KmsiSettings") .appendPathParam(request.getKmsiSettingId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3968,7 +5850,9 @@ public java.util.concurrent.Future putMe( .serviceDetails("IdentityDomains", "PutMe", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutMeRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Me") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -4001,7 +5885,9 @@ public java.util.concurrent.Future putMePasswordCh .serviceDetails("IdentityDomains", "PutMePasswordChanger", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutMePasswordChangerRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MePasswordChanger") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -4033,7 +5919,9 @@ public java.util.concurrent.Future putPasswordPolicy( .serviceDetails("IdentityDomains", "PutPasswordPolicy", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutPasswordPolicyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendPathParam(request.getPasswordPolicyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -4057,6 +5945,51 @@ public java.util.concurrent.Future putPasswordPolicy( .callAsync(handler); } + @Override + public java.util.concurrent.Future + putSecurityQuestionSetting( + PutSecurityQuestionSettingRequest request, + final com.oracle.bmc.responses.AsyncHandler< + PutSecurityQuestionSettingRequest, + PutSecurityQuestionSettingResponse> + handler) { + + Validate.notBlank( + request.getSecurityQuestionSettingId(), + "securityQuestionSettingId must not be blank"); + + return clientCall(request, PutSecurityQuestionSettingResponse::builder) + .logger(LOG, "putSecurityQuestionSetting") + .serviceDetails("IdentityDomains", "PutSecurityQuestionSetting", "") + .method(com.oracle.bmc.http.client.Method.PUT) + .requestBuilder(PutSecurityQuestionSettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestionSettings") + .appendPathParam(request.getSecurityQuestionSettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting.class, + PutSecurityQuestionSettingResponse.Builder::securityQuestionSetting) + .handleResponseHeaderString( + "opc-request-id", PutSecurityQuestionSettingResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "etag", PutSecurityQuestionSettingResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future putUser( PutUserRequest request, @@ -4069,7 +6002,9 @@ public java.util.concurrent.Future putUser( .serviceDetails("IdentityDomains", "PutUser", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutUserRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendPathParam(request.getUserId()) .appendQueryParam("attributes", request.getAttributes()) @@ -4110,7 +6045,9 @@ public java.util.concurrent.Future putUser( .serviceDetails("IdentityDomains", "PutUserCapabilitiesChanger", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutUserCapabilitiesChangerRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserCapabilitiesChanger") .appendPathParam(request.getUserCapabilitiesChangerId()) .accept("application/json, application/scim+json") @@ -4145,7 +6082,9 @@ public java.util.concurrent.Future putUserPasswo .serviceDetails("IdentityDomains", "PutUserPasswordChanger", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutUserPasswordChangerRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserPasswordChanger") .appendPathParam(request.getUserPasswordChangerId()) .accept("application/json, application/scim+json") @@ -4179,7 +6118,9 @@ public java.util.concurrent.Future putUserPassw .serviceDetails("IdentityDomains", "PutUserPasswordResetter", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutUserPasswordResetterRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserPasswordResetter") .appendPathParam(request.getUserPasswordResetterId()) .accept("application/json, application/scim+json") @@ -4213,7 +6154,9 @@ public java.util.concurrent.Future putUserStatusCh .serviceDetails("IdentityDomains", "PutUserStatusChanger", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutUserStatusChangerRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserStatusChanger") .appendPathParam(request.getUserStatusChangerId()) .appendQueryParam("attributes", request.getAttributes()) @@ -4237,6 +6180,41 @@ public java.util.concurrent.Future putUserStatusCh .callAsync(handler); } + @Override + public java.util.concurrent.Future searchAccountMgmtInfos( + SearchAccountMgmtInfosRequest request, + final com.oracle.bmc.responses.AsyncHandler< + SearchAccountMgmtInfosRequest, SearchAccountMgmtInfosResponse> + handler) { + + return clientCall(request, SearchAccountMgmtInfosResponse::builder) + .logger(LOG, "searchAccountMgmtInfos") + .serviceDetails("IdentityDomains", "SearchAccountMgmtInfos", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchAccountMgmtInfosRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountMgmtInfos") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AccountMgmtInfos.class, + SearchAccountMgmtInfosResponse.Builder::accountMgmtInfos) + .handleResponseHeaderString( + "opc-request-id", SearchAccountMgmtInfosResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchAccountMgmtInfosResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future searchApiKeys( SearchApiKeysRequest request, @@ -4248,7 +6226,9 @@ public java.util.concurrent.Future searchApiKeys( .serviceDetails("IdentityDomains", "SearchApiKeys", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchApiKeysRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("ApiKeys") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4269,6 +6249,75 @@ public java.util.concurrent.Future searchApiKeys( .callAsync(handler); } + @Override + public java.util.concurrent.Future searchAppRoles( + SearchAppRolesRequest request, + final com.oracle.bmc.responses.AsyncHandler< + SearchAppRolesRequest, SearchAppRolesResponse> + handler) { + + return clientCall(request, SearchAppRolesResponse::builder) + .logger(LOG, "searchAppRoles") + .serviceDetails("IdentityDomains", "SearchAppRoles", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchAppRolesRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppRoles") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AppRoles.class, + SearchAppRolesResponse.Builder::appRoles) + .handleResponseHeaderString( + "opc-request-id", SearchAppRolesResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchAppRolesResponse.Builder::opcNextPage) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future searchApps( + SearchAppsRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + return clientCall(request, SearchAppsResponse::builder) + .logger(LOG, "searchApps") + .serviceDetails("IdentityDomains", "SearchApps", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchAppsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.Apps.class, + SearchAppsResponse.Builder::apps) + .handleResponseHeaderString( + "opc-request-id", SearchAppsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchAppsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future searchAuthTokens( SearchAuthTokensRequest request, @@ -4281,7 +6330,9 @@ public java.util.concurrent.Future searchAuthTokens( .serviceDetails("IdentityDomains", "SearchAuthTokens", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchAuthTokensRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthTokens") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4316,7 +6367,9 @@ public java.util.concurrent.Future searchAuthTokens( .serviceDetails("IdentityDomains", "SearchAuthenticationFactorSettings", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchAuthenticationFactorSettingsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthenticationFactorSettings") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4352,7 +6405,9 @@ public java.util.concurrent.Future searchCusto .serviceDetails("IdentityDomains", "SearchCustomerSecretKeys", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchCustomerSecretKeysRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("CustomerSecretKeys") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4387,7 +6442,9 @@ public java.util.concurrent.Future searchCusto .serviceDetails("IdentityDomains", "SearchDynamicResourceGroups", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchDynamicResourceGroupsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4408,6 +6465,40 @@ public java.util.concurrent.Future searchCusto .callAsync(handler); } + @Override + public java.util.concurrent.Future searchGrants( + SearchGrantsRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + return clientCall(request, SearchGrantsResponse::builder) + .logger(LOG, "searchGrants") + .serviceDetails("IdentityDomains", "SearchGrants", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchGrantsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Grants") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.Grants.class, + SearchGrantsResponse.Builder::grants) + .handleResponseHeaderString( + "opc-request-id", SearchGrantsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchGrantsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future searchGroups( SearchGroupsRequest request, @@ -4419,7 +6510,9 @@ public java.util.concurrent.Future searchGroups( .serviceDetails("IdentityDomains", "SearchGroups", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchGroupsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4452,7 +6545,9 @@ public java.util.concurrent.Future searchIdenti .serviceDetails("IdentityDomains", "SearchIdentityProviders", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchIdentityProvidersRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4473,6 +6568,41 @@ public java.util.concurrent.Future searchIdenti .callAsync(handler); } + @Override + public java.util.concurrent.Future searchIdentitySettings( + SearchIdentitySettingsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + SearchIdentitySettingsRequest, SearchIdentitySettingsResponse> + handler) { + + return clientCall(request, SearchIdentitySettingsResponse::builder) + .logger(LOG, "searchIdentitySettings") + .serviceDetails("IdentityDomains", "SearchIdentitySettings", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchIdentitySettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("IdentitySettings") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.IdentitySettings.class, + SearchIdentitySettingsResponse.Builder::identitySettings) + .handleResponseHeaderString( + "opc-request-id", SearchIdentitySettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchIdentitySettingsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future searchKmsiSettings( SearchKmsiSettingsRequest request, @@ -4485,7 +6615,9 @@ public java.util.concurrent.Future searchKmsiSetting .serviceDetails("IdentityDomains", "SearchKmsiSettings", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchKmsiSettingsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("KmsiSettings") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4506,6 +6638,40 @@ public java.util.concurrent.Future searchKmsiSetting .callAsync(handler); } + @Override + public java.util.concurrent.Future searchMyApps( + SearchMyAppsRequest request, + final com.oracle.bmc.responses.AsyncHandler + handler) { + + return clientCall(request, SearchMyAppsResponse::builder) + .logger(LOG, "searchMyApps") + .serviceDetails("IdentityDomains", "SearchMyApps", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchMyAppsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyApps") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.MyApps.class, + SearchMyAppsResponse.Builder::myApps) + .handleResponseHeaderString( + "opc-request-id", SearchMyAppsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchMyAppsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future searchMyGroups( SearchMyGroupsRequest request, @@ -4518,7 +6684,9 @@ public java.util.concurrent.Future searchMyGroups( .serviceDetails("IdentityDomains", "SearchMyGroups", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchMyGroupsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyGroups") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4539,6 +6707,76 @@ public java.util.concurrent.Future searchMyGroups( .callAsync(handler); } + @Override + public java.util.concurrent.Future searchMyRequestableGroups( + SearchMyRequestableGroupsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + SearchMyRequestableGroupsRequest, SearchMyRequestableGroupsResponse> + handler) { + + return clientCall(request, SearchMyRequestableGroupsResponse::builder) + .logger(LOG, "searchMyRequestableGroups") + .serviceDetails("IdentityDomains", "SearchMyRequestableGroups", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchMyRequestableGroupsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyRequestableGroups") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.MyRequestableGroups.class, + SearchMyRequestableGroupsResponse.Builder::myRequestableGroups) + .handleResponseHeaderString( + "opc-request-id", SearchMyRequestableGroupsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchMyRequestableGroupsResponse.Builder::opcNextPage) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future searchMyRequests( + SearchMyRequestsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + SearchMyRequestsRequest, SearchMyRequestsResponse> + handler) { + + return clientCall(request, SearchMyRequestsResponse::builder) + .logger(LOG, "searchMyRequests") + .serviceDetails("IdentityDomains", "SearchMyRequests", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchMyRequestsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyRequests") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.MyRequests.class, + SearchMyRequestsResponse.Builder::myRequests) + .handleResponseHeaderString( + "opc-request-id", SearchMyRequestsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchMyRequestsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future searchOAuth2ClientCredentials( @@ -4553,7 +6791,9 @@ public java.util.concurrent.Future searchMyGroups( .serviceDetails("IdentityDomains", "SearchOAuth2ClientCredentials", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchOAuth2ClientCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("OAuth2ClientCredentials") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4587,7 +6827,9 @@ public java.util.concurrent.Future searchPasswor .serviceDetails("IdentityDomains", "SearchPasswordPolicies", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchPasswordPoliciesRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4608,6 +6850,120 @@ public java.util.concurrent.Future searchPasswor .callAsync(handler); } + @Override + public java.util.concurrent.Future + searchResourceTypeSchemaAttributes( + SearchResourceTypeSchemaAttributesRequest request, + final com.oracle.bmc.responses.AsyncHandler< + SearchResourceTypeSchemaAttributesRequest, + SearchResourceTypeSchemaAttributesResponse> + handler) { + + return clientCall(request, SearchResourceTypeSchemaAttributesResponse::builder) + .logger(LOG, "searchResourceTypeSchemaAttributes") + .serviceDetails("IdentityDomains", "SearchResourceTypeSchemaAttributes", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchResourceTypeSchemaAttributesRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("ResourceTypeSchemaAttributes") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes.class, + SearchResourceTypeSchemaAttributesResponse.Builder + ::resourceTypeSchemaAttributes) + .handleResponseHeaderString( + "opc-request-id", + SearchResourceTypeSchemaAttributesResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", + SearchResourceTypeSchemaAttributesResponse.Builder::opcNextPage) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future + searchSecurityQuestionSettings( + SearchSecurityQuestionSettingsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + SearchSecurityQuestionSettingsRequest, + SearchSecurityQuestionSettingsResponse> + handler) { + + return clientCall(request, SearchSecurityQuestionSettingsResponse::builder) + .logger(LOG, "searchSecurityQuestionSettings") + .serviceDetails("IdentityDomains", "SearchSecurityQuestionSettings", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchSecurityQuestionSettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestionSettings") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestionSettings.class, + SearchSecurityQuestionSettingsResponse.Builder::securityQuestionSettings) + .handleResponseHeaderString( + "opc-request-id", + SearchSecurityQuestionSettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", + SearchSecurityQuestionSettingsResponse.Builder::opcNextPage) + .callAsync(handler); + } + + @Override + public java.util.concurrent.Future searchSecurityQuestions( + SearchSecurityQuestionsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + SearchSecurityQuestionsRequest, SearchSecurityQuestionsResponse> + handler) { + + return clientCall(request, SearchSecurityQuestionsResponse::builder) + .logger(LOG, "searchSecurityQuestions") + .serviceDetails("IdentityDomains", "SearchSecurityQuestions", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchSecurityQuestionsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestions") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestions.class, + SearchSecurityQuestionsResponse.Builder::securityQuestions) + .handleResponseHeaderString( + "opc-request-id", SearchSecurityQuestionsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchSecurityQuestionsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future searchSmtpCredentials( SearchSmtpCredentialsRequest request, @@ -4620,7 +6976,9 @@ public java.util.concurrent.Future searchSmtpCred .serviceDetails("IdentityDomains", "SearchSmtpCredentials", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchSmtpCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("SmtpCredentials") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4641,6 +6999,44 @@ public java.util.concurrent.Future searchSmtpCred .callAsync(handler); } + @Override + public java.util.concurrent.Future + searchUserAttributesSettings( + SearchUserAttributesSettingsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + SearchUserAttributesSettingsRequest, + SearchUserAttributesSettingsResponse> + handler) { + + return clientCall(request, SearchUserAttributesSettingsResponse::builder) + .logger(LOG, "searchUserAttributesSettings") + .serviceDetails("IdentityDomains", "SearchUserAttributesSettings", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchUserAttributesSettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("UserAttributesSettings") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.UserAttributesSettings.class, + SearchUserAttributesSettingsResponse.Builder::userAttributesSettings) + .handleResponseHeaderString( + "opc-request-id", + SearchUserAttributesSettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchUserAttributesSettingsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future searchUserDbCredentials( SearchUserDbCredentialsRequest request, @@ -4653,7 +7049,9 @@ public java.util.concurrent.Future searchUserDb .serviceDetails("IdentityDomains", "SearchUserDbCredentials", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchUserDbCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserDbCredentials") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4685,7 +7083,9 @@ public java.util.concurrent.Future searchUsers( .serviceDetails("IdentityDomains", "SearchUsers", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchUsersRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomainsClient.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomainsClient.java index 73561e4f870..f5ffc09c865 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomainsClient.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/IdentityDomainsClient.java @@ -80,7 +80,9 @@ public CreateApiKeyResponse createApiKey(CreateApiKeyRequest request) { .serviceDetails("IdentityDomains", "CreateApiKey", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("ApiKeys") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -102,6 +104,70 @@ public CreateApiKeyResponse createApiKey(CreateApiKeyRequest request) { .callSync(); } + @Override + public CreateAppResponse createApp(CreateAppRequest request) { + + return clientCall(request, CreateAppResponse::builder) + .logger(LOG, "createApp") + .serviceDetails("IdentityDomains", "CreateApp", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateAppRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.App.class, + CreateAppResponse.Builder::app) + .handleResponseHeaderString( + "opc-request-id", CreateAppResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", CreateAppResponse.Builder::etag) + .callSync(); + } + + @Override + public CreateAppRoleResponse createAppRole(CreateAppRoleRequest request) { + + return clientCall(request, CreateAppRoleResponse::builder) + .logger(LOG, "createAppRole") + .serviceDetails("IdentityDomains", "CreateAppRole", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateAppRoleRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppRoles") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AppRole.class, + CreateAppRoleResponse.Builder::appRole) + .handleResponseHeaderString( + "opc-request-id", CreateAppRoleResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", CreateAppRoleResponse.Builder::etag) + .callSync(); + } + @Override public CreateAuthTokenResponse createAuthToken(CreateAuthTokenRequest request) { @@ -110,7 +176,9 @@ public CreateAuthTokenResponse createAuthToken(CreateAuthTokenRequest request) { .serviceDetails("IdentityDomains", "CreateAuthToken", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthTokens") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -141,7 +209,9 @@ public CreateAuthenticationFactorsRemoverResponse createAuthenticationFactorsRem .serviceDetails("IdentityDomains", "CreateAuthenticationFactorsRemover", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateAuthenticationFactorsRemoverRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthenticationFactorsRemover") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -170,7 +240,9 @@ public CreateCustomerSecretKeyResponse createCustomerSecretKey( .serviceDetails("IdentityDomains", "CreateCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("CustomerSecretKeys") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -201,7 +273,9 @@ public CreateDynamicResourceGroupResponse createDynamicResourceGroup( .serviceDetails("IdentityDomains", "CreateDynamicResourceGroup", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateDynamicResourceGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -224,6 +298,38 @@ public CreateDynamicResourceGroupResponse createDynamicResourceGroup( .callSync(); } + @Override + public CreateGrantResponse createGrant(CreateGrantRequest request) { + + return clientCall(request, CreateGrantResponse::builder) + .logger(LOG, "createGrant") + .serviceDetails("IdentityDomains", "CreateGrant", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateGrantRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Grants") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.Grant.class, + CreateGrantResponse.Builder::grant) + .handleResponseHeaderString( + "opc-request-id", CreateGrantResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", CreateGrantResponse.Builder::etag) + .callSync(); + } + @Override public CreateGroupResponse createGroup(CreateGroupRequest request) { @@ -232,7 +338,9 @@ public CreateGroupResponse createGroup(CreateGroupRequest request) { .serviceDetails("IdentityDomains", "CreateGroup", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -263,7 +371,9 @@ public CreateIdentityProviderResponse createIdentityProvider( .serviceDetails("IdentityDomains", "CreateIdentityProvider", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateIdentityProviderRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -293,7 +403,9 @@ public CreateMeResponse createMe(CreateMeRequest request) { .serviceDetails("IdentityDomains", "CreateMe", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMeRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Me") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -322,7 +434,9 @@ public CreateMyApiKeyResponse createMyApiKey(CreateMyApiKeyRequest request) { .serviceDetails("IdentityDomains", "CreateMyApiKey", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyApiKeys") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -347,7 +461,9 @@ public CreateMyAuthTokenResponse createMyAuthToken(CreateMyAuthTokenRequest requ .serviceDetails("IdentityDomains", "CreateMyAuthToken", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthTokens") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -373,7 +489,9 @@ public CreateMyAuthenticationFactorInitiatorResponse createMyAuthenticationFacto .serviceDetails("IdentityDomains", "CreateMyAuthenticationFactorInitiator", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyAuthenticationFactorInitiatorRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthenticationFactorInitiator") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -402,7 +520,9 @@ public CreateMyAuthenticationFactorValidatorResponse createMyAuthenticationFacto .serviceDetails("IdentityDomains", "CreateMyAuthenticationFactorValidator", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyAuthenticationFactorValidatorRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthenticationFactorValidator") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -431,7 +551,9 @@ public CreateMyAuthenticationFactorsRemoverResponse createMyAuthenticationFactor .serviceDetails("IdentityDomains", "CreateMyAuthenticationFactorsRemover", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyAuthenticationFactorsRemoverRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthenticationFactorsRemover") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -460,7 +582,9 @@ public CreateMyCustomerSecretKeyResponse createMyCustomerSecretKey( .serviceDetails("IdentityDomains", "CreateMyCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyCustomerSecretKeys") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -486,7 +610,9 @@ public CreateMyOAuth2ClientCredentialResponse createMyOAuth2ClientCredential( .serviceDetails("IdentityDomains", "CreateMyOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyOAuth2ClientCredentials") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -505,6 +631,38 @@ public CreateMyOAuth2ClientCredentialResponse createMyOAuth2ClientCredential( .callSync(); } + @Override + public CreateMyRequestResponse createMyRequest(CreateMyRequestRequest request) { + + return clientCall(request, CreateMyRequestResponse::builder) + .logger(LOG, "createMyRequest") + .serviceDetails("IdentityDomains", "CreateMyRequest", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateMyRequestRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyRequests") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.MyRequest.class, + CreateMyRequestResponse.Builder::myRequest) + .handleResponseHeaderString( + "opc-request-id", CreateMyRequestResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", CreateMyRequestResponse.Builder::etag) + .callSync(); + } + @Override public CreateMySmtpCredentialResponse createMySmtpCredential( CreateMySmtpCredentialRequest request) { @@ -514,7 +672,9 @@ public CreateMySmtpCredentialResponse createMySmtpCredential( .serviceDetails("IdentityDomains", "CreateMySmtpCredential", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMySmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySmtpCredentials") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -540,7 +700,9 @@ public CreateMySupportAccountResponse createMySupportAccount( .serviceDetails("IdentityDomains", "CreateMySupportAccount", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMySupportAccountRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySupportAccounts") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -566,7 +728,9 @@ public CreateMyUserDbCredentialResponse createMyUserDbCredential( .serviceDetails("IdentityDomains", "CreateMyUserDbCredential", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateMyUserDbCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyUserDbCredentials") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -592,7 +756,9 @@ public CreateOAuth2ClientCredentialResponse createOAuth2ClientCredential( .serviceDetails("IdentityDomains", "CreateOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("OAuth2ClientCredentials") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -624,7 +790,9 @@ public CreatePasswordPolicyResponse createPasswordPolicy(CreatePasswordPolicyReq .serviceDetails("IdentityDomains", "CreatePasswordPolicy", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreatePasswordPolicyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -646,6 +814,39 @@ public CreatePasswordPolicyResponse createPasswordPolicy(CreatePasswordPolicyReq .callSync(); } + @Override + public CreateSecurityQuestionResponse createSecurityQuestion( + CreateSecurityQuestionRequest request) { + + return clientCall(request, CreateSecurityQuestionResponse::builder) + .logger(LOG, "createSecurityQuestion") + .serviceDetails("IdentityDomains", "CreateSecurityQuestion", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateSecurityQuestionRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestions") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestion.class, + CreateSecurityQuestionResponse.Builder::securityQuestion) + .handleResponseHeaderString( + "opc-request-id", CreateSecurityQuestionResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", CreateSecurityQuestionResponse.Builder::etag) + .callSync(); + } + @Override public CreateSmtpCredentialResponse createSmtpCredential(CreateSmtpCredentialRequest request) { @@ -654,7 +855,9 @@ public CreateSmtpCredentialResponse createSmtpCredential(CreateSmtpCredentialReq .serviceDetails("IdentityDomains", "CreateSmtpCredential", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateSmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("SmtpCredentials") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -684,7 +887,9 @@ public CreateUserResponse createUser(CreateUserRequest request) { .serviceDetails("IdentityDomains", "CreateUser", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateUserRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -715,7 +920,9 @@ public CreateUserDbCredentialResponse createUserDbCredential( .serviceDetails("IdentityDomains", "CreateUserDbCredential", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(CreateUserDbCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserDbCredentials") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -747,7 +954,9 @@ public DeleteApiKeyResponse deleteApiKey(DeleteApiKeyRequest request) { .serviceDetails("IdentityDomains", "DeleteApiKey", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("ApiKeys") .appendPathParam(request.getApiKeyId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -762,6 +971,60 @@ public DeleteApiKeyResponse deleteApiKey(DeleteApiKeyRequest request) { .callSync(); } + @Override + public DeleteAppResponse deleteApp(DeleteAppRequest request) { + + Validate.notBlank(request.getAppId(), "appId must not be blank"); + + return clientCall(request, DeleteAppResponse::builder) + .logger(LOG, "deleteApp") + .serviceDetails("IdentityDomains", "DeleteApp", "") + .method(com.oracle.bmc.http.client.Method.DELETE) + .requestBuilder(DeleteAppRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendPathParam(request.getAppId()) + .appendQueryParam("forceDelete", request.getForceDelete()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleResponseHeaderString( + "opc-request-id", DeleteAppResponse.Builder::opcRequestId) + .callSync(); + } + + @Override + public DeleteAppRoleResponse deleteAppRole(DeleteAppRoleRequest request) { + + Validate.notBlank(request.getAppRoleId(), "appRoleId must not be blank"); + + return clientCall(request, DeleteAppRoleResponse::builder) + .logger(LOG, "deleteAppRole") + .serviceDetails("IdentityDomains", "DeleteAppRole", "") + .method(com.oracle.bmc.http.client.Method.DELETE) + .requestBuilder(DeleteAppRoleRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppRoles") + .appendPathParam(request.getAppRoleId()) + .appendQueryParam("forceDelete", request.getForceDelete()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleResponseHeaderString( + "opc-request-id", DeleteAppRoleResponse.Builder::opcRequestId) + .callSync(); + } + @Override public DeleteAuthTokenResponse deleteAuthToken(DeleteAuthTokenRequest request) { @@ -772,7 +1035,9 @@ public DeleteAuthTokenResponse deleteAuthToken(DeleteAuthTokenRequest request) { .serviceDetails("IdentityDomains", "DeleteAuthToken", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthTokens") .appendPathParam(request.getAuthTokenId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -799,7 +1064,9 @@ public DeleteCustomerSecretKeyResponse deleteCustomerSecretKey( .serviceDetails("IdentityDomains", "DeleteCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("CustomerSecretKeys") .appendPathParam(request.getCustomerSecretKeyId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -826,7 +1093,9 @@ public DeleteDynamicResourceGroupResponse deleteDynamicResourceGroup( .serviceDetails("IdentityDomains", "DeleteDynamicResourceGroup", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteDynamicResourceGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendPathParam(request.getDynamicResourceGroupId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -841,6 +1110,33 @@ public DeleteDynamicResourceGroupResponse deleteDynamicResourceGroup( .callSync(); } + @Override + public DeleteGrantResponse deleteGrant(DeleteGrantRequest request) { + + Validate.notBlank(request.getGrantId(), "grantId must not be blank"); + + return clientCall(request, DeleteGrantResponse::builder) + .logger(LOG, "deleteGrant") + .serviceDetails("IdentityDomains", "DeleteGrant", "") + .method(com.oracle.bmc.http.client.Method.DELETE) + .requestBuilder(DeleteGrantRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Grants") + .appendPathParam(request.getGrantId()) + .appendQueryParam("forceDelete", request.getForceDelete()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleResponseHeaderString( + "opc-request-id", DeleteGrantResponse.Builder::opcRequestId) + .callSync(); + } + @Override public DeleteGroupResponse deleteGroup(DeleteGroupRequest request) { @@ -851,7 +1147,9 @@ public DeleteGroupResponse deleteGroup(DeleteGroupRequest request) { .serviceDetails("IdentityDomains", "DeleteGroup", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendPathParam(request.getGroupId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -877,7 +1175,9 @@ public DeleteIdentityProviderResponse deleteIdentityProvider( .serviceDetails("IdentityDomains", "DeleteIdentityProvider", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteIdentityProviderRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendPathParam(request.getIdentityProviderId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -902,7 +1202,9 @@ public DeleteMyApiKeyResponse deleteMyApiKey(DeleteMyApiKeyRequest request) { .serviceDetails("IdentityDomains", "DeleteMyApiKey", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyApiKeys") .appendPathParam(request.getMyApiKeyId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -927,7 +1229,9 @@ public DeleteMyAuthTokenResponse deleteMyAuthToken(DeleteMyAuthTokenRequest requ .serviceDetails("IdentityDomains", "DeleteMyAuthToken", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthTokens") .appendPathParam(request.getMyAuthTokenId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -954,7 +1258,9 @@ public DeleteMyCustomerSecretKeyResponse deleteMyCustomerSecretKey( .serviceDetails("IdentityDomains", "DeleteMyCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyCustomerSecretKeys") .appendPathParam(request.getMyCustomerSecretKeyId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -979,7 +1285,9 @@ public DeleteMyDeviceResponse deleteMyDevice(DeleteMyDeviceRequest request) { .serviceDetails("IdentityDomains", "DeleteMyDevice", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyDeviceRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyDevices") .appendPathParam(request.getMyDeviceId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1007,7 +1315,9 @@ public DeleteMyOAuth2ClientCredentialResponse deleteMyOAuth2ClientCredential( .serviceDetails("IdentityDomains", "DeleteMyOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyOAuth2ClientCredentials") .appendPathParam(request.getMyOAuth2ClientCredentialId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1034,7 +1344,9 @@ public DeleteMySmtpCredentialResponse deleteMySmtpCredential( .serviceDetails("IdentityDomains", "DeleteMySmtpCredential", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMySmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySmtpCredentials") .appendPathParam(request.getMySmtpCredentialId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1060,7 +1372,9 @@ public DeleteMySupportAccountResponse deleteMySupportAccount( .serviceDetails("IdentityDomains", "DeleteMySupportAccount", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMySupportAccountRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySupportAccounts") .appendPathParam(request.getMySupportAccountId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1087,7 +1401,9 @@ public DeleteMyTrustedUserAgentResponse deleteMyTrustedUserAgent( .serviceDetails("IdentityDomains", "DeleteMyTrustedUserAgent", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyTrustedUserAgentRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyTrustedUserAgents") .appendPathParam(request.getMyTrustedUserAgentId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1114,7 +1430,9 @@ public DeleteMyUserDbCredentialResponse deleteMyUserDbCredential( .serviceDetails("IdentityDomains", "DeleteMyUserDbCredential", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteMyUserDbCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyUserDbCredentials") .appendPathParam(request.getMyUserDbCredentialId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1142,7 +1460,9 @@ public DeleteOAuth2ClientCredentialResponse deleteOAuth2ClientCredential( .serviceDetails("IdentityDomains", "DeleteOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("OAuth2ClientCredentials") .appendPathParam(request.getOAuth2ClientCredentialId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1168,7 +1488,9 @@ public DeletePasswordPolicyResponse deletePasswordPolicy(DeletePasswordPolicyReq .serviceDetails("IdentityDomains", "DeletePasswordPolicy", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeletePasswordPolicyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendPathParam(request.getPasswordPolicyId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1183,6 +1505,34 @@ public DeletePasswordPolicyResponse deletePasswordPolicy(DeletePasswordPolicyReq .callSync(); } + @Override + public DeleteSecurityQuestionResponse deleteSecurityQuestion( + DeleteSecurityQuestionRequest request) { + + Validate.notBlank(request.getSecurityQuestionId(), "securityQuestionId must not be blank"); + + return clientCall(request, DeleteSecurityQuestionResponse::builder) + .logger(LOG, "deleteSecurityQuestion") + .serviceDetails("IdentityDomains", "DeleteSecurityQuestion", "") + .method(com.oracle.bmc.http.client.Method.DELETE) + .requestBuilder(DeleteSecurityQuestionRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestions") + .appendPathParam(request.getSecurityQuestionId()) + .appendQueryParam("forceDelete", request.getForceDelete()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleResponseHeaderString( + "opc-request-id", DeleteSecurityQuestionResponse.Builder::opcRequestId) + .callSync(); + } + @Override public DeleteSmtpCredentialResponse deleteSmtpCredential(DeleteSmtpCredentialRequest request) { @@ -1193,7 +1543,9 @@ public DeleteSmtpCredentialResponse deleteSmtpCredential(DeleteSmtpCredentialReq .serviceDetails("IdentityDomains", "DeleteSmtpCredential", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteSmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("SmtpCredentials") .appendPathParam(request.getSmtpCredentialId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1218,7 +1570,9 @@ public DeleteUserResponse deleteUser(DeleteUserRequest request) { .serviceDetails("IdentityDomains", "DeleteUser", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteUserRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendPathParam(request.getUserId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1244,7 +1598,9 @@ public DeleteUserDbCredentialResponse deleteUserDbCredential( .serviceDetails("IdentityDomains", "DeleteUserDbCredential", "") .method(com.oracle.bmc.http.client.Method.DELETE) .requestBuilder(DeleteUserDbCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserDbCredentials") .appendPathParam(request.getUserDbCredentialId()) .appendQueryParam("forceDelete", request.getForceDelete()) @@ -1259,6 +1615,75 @@ public DeleteUserDbCredentialResponse deleteUserDbCredential( .callSync(); } + @Override + public GetAccountMgmtInfoResponse getAccountMgmtInfo(GetAccountMgmtInfoRequest request) { + + Validate.notBlank(request.getAccountMgmtInfoId(), "accountMgmtInfoId must not be blank"); + + return clientCall(request, GetAccountMgmtInfoResponse::builder) + .logger(LOG, "getAccountMgmtInfo") + .serviceDetails("IdentityDomains", "GetAccountMgmtInfo", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetAccountMgmtInfoRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountMgmtInfos") + .appendPathParam(request.getAccountMgmtInfoId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.AccountMgmtInfo.class, + GetAccountMgmtInfoResponse.Builder::accountMgmtInfo) + .handleResponseHeaderString( + "opc-request-id", GetAccountMgmtInfoResponse.Builder::opcRequestId) + .callSync(); + } + + @Override + public GetAccountRecoverySettingResponse getAccountRecoverySetting( + GetAccountRecoverySettingRequest request) { + + Validate.notBlank( + request.getAccountRecoverySettingId(), + "accountRecoverySettingId must not be blank"); + + return clientCall(request, GetAccountRecoverySettingResponse::builder) + .logger(LOG, "getAccountRecoverySetting") + .serviceDetails("IdentityDomains", "GetAccountRecoverySetting", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetAccountRecoverySettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountRecoverySettings") + .appendPathParam(request.getAccountRecoverySettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.AccountRecoverySetting.class, + GetAccountRecoverySettingResponse.Builder::accountRecoverySetting) + .handleResponseHeaderString( + "opc-request-id", GetAccountRecoverySettingResponse.Builder::opcRequestId) + .callSync(); + } + @Override public GetApiKeyResponse getApiKey(GetApiKeyRequest request) { @@ -1269,7 +1694,9 @@ public GetApiKeyResponse getApiKey(GetApiKeyRequest request) { .serviceDetails("IdentityDomains", "GetApiKey", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("ApiKeys") .appendPathParam(request.getApiKeyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1290,6 +1717,70 @@ public GetApiKeyResponse getApiKey(GetApiKeyRequest request) { .callSync(); } + @Override + public GetAppResponse getApp(GetAppRequest request) { + + Validate.notBlank(request.getAppId(), "appId must not be blank"); + + return clientCall(request, GetAppResponse::builder) + .logger(LOG, "getApp") + .serviceDetails("IdentityDomains", "GetApp", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetAppRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendPathParam(request.getAppId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.App.class, GetAppResponse.Builder::app) + .handleResponseHeaderString("opc-request-id", GetAppResponse.Builder::opcRequestId) + .callSync(); + } + + @Override + public GetAppRoleResponse getAppRole(GetAppRoleRequest request) { + + Validate.notBlank(request.getAppRoleId(), "appRoleId must not be blank"); + + return clientCall(request, GetAppRoleResponse::builder) + .logger(LOG, "getAppRole") + .serviceDetails("IdentityDomains", "GetAppRole", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetAppRoleRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppRoles") + .appendPathParam(request.getAppRoleId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.AppRole.class, + GetAppRoleResponse.Builder::appRole) + .handleResponseHeaderString( + "opc-request-id", GetAppRoleResponse.Builder::opcRequestId) + .callSync(); + } + @Override public GetAuthTokenResponse getAuthToken(GetAuthTokenRequest request) { @@ -1300,7 +1791,9 @@ public GetAuthTokenResponse getAuthToken(GetAuthTokenRequest request) { .serviceDetails("IdentityDomains", "GetAuthToken", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthTokens") .appendPathParam(request.getAuthTokenId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1334,7 +1827,9 @@ public GetAuthenticationFactorSettingResponse getAuthenticationFactorSetting( .serviceDetails("IdentityDomains", "GetAuthenticationFactorSetting", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetAuthenticationFactorSettingRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthenticationFactorSettings") .appendPathParam(request.getAuthenticationFactorSettingId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1367,7 +1862,9 @@ public GetCustomerSecretKeyResponse getCustomerSecretKey(GetCustomerSecretKeyReq .serviceDetails("IdentityDomains", "GetCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("CustomerSecretKeys") .appendPathParam(request.getCustomerSecretKeyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1400,7 +1897,9 @@ public GetDynamicResourceGroupResponse getDynamicResourceGroup( .serviceDetails("IdentityDomains", "GetDynamicResourceGroup", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetDynamicResourceGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendPathParam(request.getDynamicResourceGroupId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1421,6 +1920,39 @@ public GetDynamicResourceGroupResponse getDynamicResourceGroup( .callSync(); } + @Override + public GetGrantResponse getGrant(GetGrantRequest request) { + + Validate.notBlank(request.getGrantId(), "grantId must not be blank"); + + return clientCall(request, GetGrantResponse::builder) + .logger(LOG, "getGrant") + .serviceDetails("IdentityDomains", "GetGrant", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetGrantRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Grants") + .appendPathParam(request.getGrantId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.Grant.class, + GetGrantResponse.Builder::grant) + .handleResponseHeaderString( + "opc-request-id", GetGrantResponse.Builder::opcRequestId) + .callSync(); + } + @Override public GetGroupResponse getGroup(GetGroupRequest request) { @@ -1431,7 +1963,9 @@ public GetGroupResponse getGroup(GetGroupRequest request) { .serviceDetails("IdentityDomains", "GetGroup", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendPathParam(request.getGroupId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1462,7 +1996,9 @@ public GetIdentityProviderResponse getIdentityProvider(GetIdentityProviderReques .serviceDetails("IdentityDomains", "GetIdentityProvider", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetIdentityProviderRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendPathParam(request.getIdentityProviderId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1484,16 +2020,51 @@ public GetIdentityProviderResponse getIdentityProvider(GetIdentityProviderReques } @Override - public GetKmsiSettingResponse getKmsiSetting(GetKmsiSettingRequest request) { + public GetIdentitySettingResponse getIdentitySetting(GetIdentitySettingRequest request) { - Validate.notBlank(request.getKmsiSettingId(), "kmsiSettingId must not be blank"); + Validate.notBlank(request.getIdentitySettingId(), "identitySettingId must not be blank"); - return clientCall(request, GetKmsiSettingResponse::builder) - .logger(LOG, "getKmsiSetting") - .serviceDetails("IdentityDomains", "GetKmsiSetting", "") + return clientCall(request, GetIdentitySettingResponse::builder) + .logger(LOG, "getIdentitySetting") + .serviceDetails("IdentityDomains", "GetIdentitySetting", "") .method(com.oracle.bmc.http.client.Method.GET) - .requestBuilder(GetKmsiSettingRequest::builder) - .basePath("/admin/v1") + .requestBuilder(GetIdentitySettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("IdentitySettings") + .appendPathParam(request.getIdentitySettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.IdentitySetting.class, + GetIdentitySettingResponse.Builder::identitySetting) + .handleResponseHeaderString( + "opc-request-id", GetIdentitySettingResponse.Builder::opcRequestId) + .callSync(); + } + + @Override + public GetKmsiSettingResponse getKmsiSetting(GetKmsiSettingRequest request) { + + Validate.notBlank(request.getKmsiSettingId(), "kmsiSettingId must not be blank"); + + return clientCall(request, GetKmsiSettingResponse::builder) + .logger(LOG, "getKmsiSetting") + .serviceDetails("IdentityDomains", "GetKmsiSetting", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetKmsiSettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("KmsiSettings") .appendPathParam(request.getKmsiSettingId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1522,7 +2093,9 @@ public GetMeResponse getMe(GetMeRequest request) { .serviceDetails("IdentityDomains", "GetMe", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMeRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Me") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -1550,7 +2123,9 @@ public GetMyApiKeyResponse getMyApiKey(GetMyApiKeyRequest request) { .serviceDetails("IdentityDomains", "GetMyApiKey", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyApiKeys") .appendPathParam(request.getMyApiKeyId()) .accept("application/json, application/scim+json") @@ -1576,7 +2151,9 @@ public GetMyAuthTokenResponse getMyAuthToken(GetMyAuthTokenRequest request) { .serviceDetails("IdentityDomains", "GetMyAuthToken", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthTokens") .appendPathParam(request.getMyAuthTokenId()) .accept("application/json, application/scim+json") @@ -1604,7 +2181,9 @@ public GetMyCustomerSecretKeyResponse getMyCustomerSecretKey( .serviceDetails("IdentityDomains", "GetMyCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyCustomerSecretKeys") .appendPathParam(request.getMyCustomerSecretKeyId()) .accept("application/json, application/scim+json") @@ -1630,7 +2209,9 @@ public GetMyDeviceResponse getMyDevice(GetMyDeviceRequest request) { .serviceDetails("IdentityDomains", "GetMyDevice", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyDeviceRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyDevices") .appendPathParam(request.getMyDeviceId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1664,7 +2245,9 @@ public GetMyOAuth2ClientCredentialResponse getMyOAuth2ClientCredential( .serviceDetails("IdentityDomains", "GetMyOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyOAuth2ClientCredentials") .appendPathParam(request.getMyOAuth2ClientCredentialId()) .accept("application/json, application/scim+json") @@ -1690,7 +2273,9 @@ public GetMySmtpCredentialResponse getMySmtpCredential(GetMySmtpCredentialReques .serviceDetails("IdentityDomains", "GetMySmtpCredential", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMySmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySmtpCredentials") .appendPathParam(request.getMySmtpCredentialId()) .accept("application/json, application/scim+json") @@ -1716,7 +2301,9 @@ public GetMySupportAccountResponse getMySupportAccount(GetMySupportAccountReques .serviceDetails("IdentityDomains", "GetMySupportAccount", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMySupportAccountRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySupportAccounts") .appendPathParam(request.getMySupportAccountId()) .accept("application/json, application/scim+json") @@ -1744,7 +2331,9 @@ public GetMyTrustedUserAgentResponse getMyTrustedUserAgent( .serviceDetails("IdentityDomains", "GetMyTrustedUserAgent", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyTrustedUserAgentRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyTrustedUserAgents") .appendPathParam(request.getMyTrustedUserAgentId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1777,7 +2366,9 @@ public GetMyUserDbCredentialResponse getMyUserDbCredential( .serviceDetails("IdentityDomains", "GetMyUserDbCredential", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetMyUserDbCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyUserDbCredentials") .appendPathParam(request.getMyUserDbCredentialId()) .accept("application/json, application/scim+json") @@ -1806,7 +2397,9 @@ public GetOAuth2ClientCredentialResponse getOAuth2ClientCredential( .serviceDetails("IdentityDomains", "GetOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("OAuth2ClientCredentials") .appendPathParam(request.getOAuth2ClientCredentialId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1837,7 +2430,9 @@ public GetPasswordPolicyResponse getPasswordPolicy(GetPasswordPolicyRequest requ .serviceDetails("IdentityDomains", "GetPasswordPolicy", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetPasswordPolicyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendPathParam(request.getPasswordPolicyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1858,6 +2453,75 @@ public GetPasswordPolicyResponse getPasswordPolicy(GetPasswordPolicyRequest requ .callSync(); } + @Override + public GetSecurityQuestionResponse getSecurityQuestion(GetSecurityQuestionRequest request) { + + Validate.notBlank(request.getSecurityQuestionId(), "securityQuestionId must not be blank"); + + return clientCall(request, GetSecurityQuestionResponse::builder) + .logger(LOG, "getSecurityQuestion") + .serviceDetails("IdentityDomains", "GetSecurityQuestion", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetSecurityQuestionRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestions") + .appendPathParam(request.getSecurityQuestionId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestion.class, + GetSecurityQuestionResponse.Builder::securityQuestion) + .handleResponseHeaderString( + "opc-request-id", GetSecurityQuestionResponse.Builder::opcRequestId) + .callSync(); + } + + @Override + public GetSecurityQuestionSettingResponse getSecurityQuestionSetting( + GetSecurityQuestionSettingRequest request) { + + Validate.notBlank( + request.getSecurityQuestionSettingId(), + "securityQuestionSettingId must not be blank"); + + return clientCall(request, GetSecurityQuestionSettingResponse::builder) + .logger(LOG, "getSecurityQuestionSetting") + .serviceDetails("IdentityDomains", "GetSecurityQuestionSetting", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetSecurityQuestionSettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestionSettings") + .appendPathParam(request.getSecurityQuestionSettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting.class, + GetSecurityQuestionSettingResponse.Builder::securityQuestionSetting) + .handleResponseHeaderString( + "opc-request-id", GetSecurityQuestionSettingResponse.Builder::opcRequestId) + .callSync(); + } + @Override public GetSmtpCredentialResponse getSmtpCredential(GetSmtpCredentialRequest request) { @@ -1868,7 +2532,9 @@ public GetSmtpCredentialResponse getSmtpCredential(GetSmtpCredentialRequest requ .serviceDetails("IdentityDomains", "GetSmtpCredential", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetSmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("SmtpCredentials") .appendPathParam(request.getSmtpCredentialId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1899,7 +2565,9 @@ public GetUserResponse getUser(GetUserRequest request) { .serviceDetails("IdentityDomains", "GetUser", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetUserRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendPathParam(request.getUserId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1919,6 +2587,41 @@ public GetUserResponse getUser(GetUserRequest request) { .callSync(); } + @Override + public GetUserAttributesSettingResponse getUserAttributesSetting( + GetUserAttributesSettingRequest request) { + + Validate.notBlank( + request.getUserAttributesSettingId(), "userAttributesSettingId must not be blank"); + + return clientCall(request, GetUserAttributesSettingResponse::builder) + .logger(LOG, "getUserAttributesSetting") + .serviceDetails("IdentityDomains", "GetUserAttributesSetting", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetUserAttributesSettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("UserAttributesSettings") + .appendPathParam(request.getUserAttributesSettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.UserAttributesSetting.class, + GetUserAttributesSettingResponse.Builder::userAttributesSetting) + .handleResponseHeaderString( + "opc-request-id", GetUserAttributesSettingResponse.Builder::opcRequestId) + .callSync(); + } + @Override public GetUserDbCredentialResponse getUserDbCredential(GetUserDbCredentialRequest request) { @@ -1929,7 +2632,9 @@ public GetUserDbCredentialResponse getUserDbCredential(GetUserDbCredentialReques .serviceDetails("IdentityDomains", "GetUserDbCredential", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(GetUserDbCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserDbCredentials") .appendPathParam(request.getUserDbCredentialId()) .appendQueryParam("attributes", request.getAttributes()) @@ -1950,6 +2655,80 @@ public GetUserDbCredentialResponse getUserDbCredential(GetUserDbCredentialReques .callSync(); } + @Override + public ListAccountMgmtInfosResponse listAccountMgmtInfos(ListAccountMgmtInfosRequest request) { + + return clientCall(request, ListAccountMgmtInfosResponse::builder) + .logger(LOG, "listAccountMgmtInfos") + .serviceDetails("IdentityDomains", "ListAccountMgmtInfos", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListAccountMgmtInfosRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountMgmtInfos") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.AccountMgmtInfos.class, + ListAccountMgmtInfosResponse.Builder::accountMgmtInfos) + .handleResponseHeaderString( + "opc-request-id", ListAccountMgmtInfosResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListAccountMgmtInfosResponse.Builder::opcNextPage) + .callSync(); + } + + @Override + public ListAccountRecoverySettingsResponse listAccountRecoverySettings( + ListAccountRecoverySettingsRequest request) { + + return clientCall(request, ListAccountRecoverySettingsResponse::builder) + .logger(LOG, "listAccountRecoverySettings") + .serviceDetails("IdentityDomains", "ListAccountRecoverySettings", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListAccountRecoverySettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountRecoverySettings") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.AccountRecoverySettings.class, + ListAccountRecoverySettingsResponse.Builder::accountRecoverySettings) + .handleResponseHeaderString( + "opc-request-id", ListAccountRecoverySettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListAccountRecoverySettingsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public ListApiKeysResponse listApiKeys(ListApiKeysRequest request) { @@ -1958,7 +2737,9 @@ public ListApiKeysResponse listApiKeys(ListApiKeysRequest request) { .serviceDetails("IdentityDomains", "ListApiKeys", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListApiKeysRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("ApiKeys") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -1987,6 +2768,83 @@ public ListApiKeysResponse listApiKeys(ListApiKeysRequest request) { .callSync(); } + @Override + public ListAppRolesResponse listAppRoles(ListAppRolesRequest request) { + + return clientCall(request, ListAppRolesResponse::builder) + .logger(LOG, "listAppRoles") + .serviceDetails("IdentityDomains", "ListAppRoles", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListAppRolesRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppRoles") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.AppRoles.class, + ListAppRolesResponse.Builder::appRoles) + .handleResponseHeaderString( + "opc-request-id", ListAppRolesResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListAppRolesResponse.Builder::opcNextPage) + .callSync(); + } + + @Override + public ListAppsResponse listApps(ListAppsRequest request) { + + return clientCall(request, ListAppsResponse::builder) + .logger(LOG, "listApps") + .serviceDetails("IdentityDomains", "ListApps", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListAppsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.Apps.class, + ListAppsResponse.Builder::apps) + .handleResponseHeaderString( + "opc-request-id", ListAppsResponse.Builder::opcRequestId) + .handleResponseHeaderString("opc-next-page", ListAppsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public ListAuthTokensResponse listAuthTokens(ListAuthTokensRequest request) { @@ -1995,7 +2853,9 @@ public ListAuthTokensResponse listAuthTokens(ListAuthTokensRequest request) { .serviceDetails("IdentityDomains", "ListAuthTokens", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListAuthTokensRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthTokens") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2033,7 +2893,9 @@ public ListAuthenticationFactorSettingsResponse listAuthenticationFactorSettings .serviceDetails("IdentityDomains", "ListAuthenticationFactorSettings", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListAuthenticationFactorSettingsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthenticationFactorSettings") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -2069,7 +2931,9 @@ public ListCustomerSecretKeysResponse listCustomerSecretKeys( .serviceDetails("IdentityDomains", "ListCustomerSecretKeys", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListCustomerSecretKeysRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("CustomerSecretKeys") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2107,7 +2971,9 @@ public ListDynamicResourceGroupsResponse listDynamicResourceGroups( .serviceDetails("IdentityDomains", "ListDynamicResourceGroups", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListDynamicResourceGroupsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2136,6 +3002,45 @@ public ListDynamicResourceGroupsResponse listDynamicResourceGroups( .callSync(); } + @Override + public ListGrantsResponse listGrants(ListGrantsRequest request) { + + return clientCall(request, ListGrantsResponse::builder) + .logger(LOG, "listGrants") + .serviceDetails("IdentityDomains", "ListGrants", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListGrantsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Grants") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.Grants.class, + ListGrantsResponse.Builder::grants) + .handleResponseHeaderString( + "opc-request-id", ListGrantsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListGrantsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public ListGroupsResponse listGroups(ListGroupsRequest request) { @@ -2144,7 +3049,9 @@ public ListGroupsResponse listGroups(ListGroupsRequest request) { .serviceDetails("IdentityDomains", "ListGroups", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListGroupsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2182,7 +3089,9 @@ public ListIdentityProvidersResponse listIdentityProviders( .serviceDetails("IdentityDomains", "ListIdentityProviders", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListIdentityProvidersRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2211,6 +3120,40 @@ public ListIdentityProvidersResponse listIdentityProviders( .callSync(); } + @Override + public ListIdentitySettingsResponse listIdentitySettings(ListIdentitySettingsRequest request) { + + return clientCall(request, ListIdentitySettingsResponse::builder) + .logger(LOG, "listIdentitySettings") + .serviceDetails("IdentityDomains", "ListIdentitySettings", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListIdentitySettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("IdentitySettings") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.IdentitySettings.class, + ListIdentitySettingsResponse.Builder::identitySettings) + .handleResponseHeaderString( + "opc-request-id", ListIdentitySettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListIdentitySettingsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public ListKmsiSettingsResponse listKmsiSettings(ListKmsiSettingsRequest request) { @@ -2219,7 +3162,9 @@ public ListKmsiSettingsResponse listKmsiSettings(ListKmsiSettingsRequest request .serviceDetails("IdentityDomains", "ListKmsiSettings", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListKmsiSettingsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("KmsiSettings") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -2251,7 +3196,9 @@ public ListMyApiKeysResponse listMyApiKeys(ListMyApiKeysRequest request) { .serviceDetails("IdentityDomains", "ListMyApiKeys", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyApiKeysRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyApiKeys") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2275,6 +3222,40 @@ public ListMyApiKeysResponse listMyApiKeys(ListMyApiKeysRequest request) { .callSync(); } + @Override + public ListMyAppsResponse listMyApps(ListMyAppsRequest request) { + + return clientCall(request, ListMyAppsResponse::builder) + .logger(LOG, "listMyApps") + .serviceDetails("IdentityDomains", "ListMyApps", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListMyAppsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyApps") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.MyApps.class, + ListMyAppsResponse.Builder::myApps) + .handleResponseHeaderString( + "opc-request-id", ListMyAppsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListMyAppsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public ListMyAuthTokensResponse listMyAuthTokens(ListMyAuthTokensRequest request) { @@ -2283,7 +3264,9 @@ public ListMyAuthTokensResponse listMyAuthTokens(ListMyAuthTokensRequest request .serviceDetails("IdentityDomains", "ListMyAuthTokens", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyAuthTokensRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthTokens") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2316,7 +3299,9 @@ public ListMyCustomerSecretKeysResponse listMyCustomerSecretKeys( .serviceDetails("IdentityDomains", "ListMyCustomerSecretKeys", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyCustomerSecretKeysRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyCustomerSecretKeys") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2348,7 +3333,9 @@ public ListMyDevicesResponse listMyDevices(ListMyDevicesRequest request) { .serviceDetails("IdentityDomains", "ListMyDevices", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyDevicesRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyDevices") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2385,7 +3372,9 @@ public ListMyGroupsResponse listMyGroups(ListMyGroupsRequest request) { .serviceDetails("IdentityDomains", "ListMyGroups", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyGroupsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyGroups") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2423,7 +3412,9 @@ public ListMyOAuth2ClientCredentialsResponse listMyOAuth2ClientCredentials( .serviceDetails("IdentityDomains", "ListMyOAuth2ClientCredentials", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyOAuth2ClientCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyOAuth2ClientCredentials") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2449,15 +3440,91 @@ public ListMyOAuth2ClientCredentialsResponse listMyOAuth2ClientCredentials( } @Override - public ListMySmtpCredentialsResponse listMySmtpCredentials( - ListMySmtpCredentialsRequest request) { + public ListMyRequestableGroupsResponse listMyRequestableGroups( + ListMyRequestableGroupsRequest request) { - return clientCall(request, ListMySmtpCredentialsResponse::builder) - .logger(LOG, "listMySmtpCredentials") - .serviceDetails("IdentityDomains", "ListMySmtpCredentials", "") + return clientCall(request, ListMyRequestableGroupsResponse::builder) + .logger(LOG, "listMyRequestableGroups") + .serviceDetails("IdentityDomains", "ListMyRequestableGroups", "") .method(com.oracle.bmc.http.client.Method.GET) - .requestBuilder(ListMySmtpCredentialsRequest::builder) - .basePath("/admin/v1") + .requestBuilder(ListMyRequestableGroupsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyRequestableGroups") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.MyRequestableGroups.class, + ListMyRequestableGroupsResponse.Builder::myRequestableGroups) + .handleResponseHeaderString( + "opc-request-id", ListMyRequestableGroupsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListMyRequestableGroupsResponse.Builder::opcNextPage) + .callSync(); + } + + @Override + public ListMyRequestsResponse listMyRequests(ListMyRequestsRequest request) { + + return clientCall(request, ListMyRequestsResponse::builder) + .logger(LOG, "listMyRequests") + .serviceDetails("IdentityDomains", "ListMyRequests", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListMyRequestsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyRequests") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.MyRequests.class, + ListMyRequestsResponse.Builder::myRequests) + .handleResponseHeaderString( + "opc-request-id", ListMyRequestsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListMyRequestsResponse.Builder::opcNextPage) + .callSync(); + } + + @Override + public ListMySmtpCredentialsResponse listMySmtpCredentials( + ListMySmtpCredentialsRequest request) { + + return clientCall(request, ListMySmtpCredentialsResponse::builder) + .logger(LOG, "listMySmtpCredentials") + .serviceDetails("IdentityDomains", "ListMySmtpCredentials", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListMySmtpCredentialsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySmtpCredentials") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2490,7 +3557,9 @@ public ListMySupportAccountsResponse listMySupportAccounts( .serviceDetails("IdentityDomains", "ListMySupportAccounts", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMySupportAccountsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySupportAccounts") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2523,7 +3592,9 @@ public ListMyTrustedUserAgentsResponse listMyTrustedUserAgents( .serviceDetails("IdentityDomains", "ListMyTrustedUserAgents", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyTrustedUserAgentsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyTrustedUserAgents") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2561,7 +3632,9 @@ public ListMyUserDbCredentialsResponse listMyUserDbCredentials( .serviceDetails("IdentityDomains", "ListMyUserDbCredentials", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListMyUserDbCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyUserDbCredentials") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2594,7 +3667,9 @@ public ListOAuth2ClientCredentialsResponse listOAuth2ClientCredentials( .serviceDetails("IdentityDomains", "ListOAuth2ClientCredentials", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListOAuth2ClientCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("OAuth2ClientCredentials") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2631,7 +3706,9 @@ public ListPasswordPoliciesResponse listPasswordPolicies(ListPasswordPoliciesReq .serviceDetails("IdentityDomains", "ListPasswordPolicies", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListPasswordPoliciesRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2660,6 +3737,125 @@ public ListPasswordPoliciesResponse listPasswordPolicies(ListPasswordPoliciesReq .callSync(); } + @Override + public ListResourceTypeSchemaAttributesResponse listResourceTypeSchemaAttributes( + ListResourceTypeSchemaAttributesRequest request) { + + return clientCall(request, ListResourceTypeSchemaAttributesResponse::builder) + .logger(LOG, "listResourceTypeSchemaAttributes") + .serviceDetails("IdentityDomains", "ListResourceTypeSchemaAttributes", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListResourceTypeSchemaAttributesRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("ResourceTypeSchemaAttributes") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes.class, + ListResourceTypeSchemaAttributesResponse.Builder + ::resourceTypeSchemaAttributes) + .handleResponseHeaderString( + "opc-request-id", + ListResourceTypeSchemaAttributesResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", + ListResourceTypeSchemaAttributesResponse.Builder::opcNextPage) + .callSync(); + } + + @Override + public ListSecurityQuestionSettingsResponse listSecurityQuestionSettings( + ListSecurityQuestionSettingsRequest request) { + + return clientCall(request, ListSecurityQuestionSettingsResponse::builder) + .logger(LOG, "listSecurityQuestionSettings") + .serviceDetails("IdentityDomains", "ListSecurityQuestionSettings", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListSecurityQuestionSettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestionSettings") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestionSettings.class, + ListSecurityQuestionSettingsResponse.Builder::securityQuestionSettings) + .handleResponseHeaderString( + "opc-request-id", + ListSecurityQuestionSettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListSecurityQuestionSettingsResponse.Builder::opcNextPage) + .callSync(); + } + + @Override + public ListSecurityQuestionsResponse listSecurityQuestions( + ListSecurityQuestionsRequest request) { + + return clientCall(request, ListSecurityQuestionsResponse::builder) + .logger(LOG, "listSecurityQuestions") + .serviceDetails("IdentityDomains", "ListSecurityQuestions", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListSecurityQuestionsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestions") + .appendQueryParam("filter", request.getFilter()) + .appendQueryParam("sortBy", request.getSortBy()) + .appendEnumQueryParam("sortOrder", request.getSortOrder()) + .appendQueryParam("startIndex", request.getStartIndex()) + .appendQueryParam("count", request.getCount()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestions.class, + ListSecurityQuestionsResponse.Builder::securityQuestions) + .handleResponseHeaderString( + "opc-request-id", ListSecurityQuestionsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListSecurityQuestionsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public ListSmtpCredentialsResponse listSmtpCredentials(ListSmtpCredentialsRequest request) { @@ -2668,7 +3864,9 @@ public ListSmtpCredentialsResponse listSmtpCredentials(ListSmtpCredentialsReques .serviceDetails("IdentityDomains", "ListSmtpCredentials", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListSmtpCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("SmtpCredentials") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2697,6 +3895,41 @@ public ListSmtpCredentialsResponse listSmtpCredentials(ListSmtpCredentialsReques .callSync(); } + @Override + public ListUserAttributesSettingsResponse listUserAttributesSettings( + ListUserAttributesSettingsRequest request) { + + return clientCall(request, ListUserAttributesSettingsResponse::builder) + .logger(LOG, "listUserAttributesSettings") + .serviceDetails("IdentityDomains", "ListUserAttributesSettings", "") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListUserAttributesSettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("UserAttributesSettings") + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleBody( + com.oracle.bmc.identitydomains.model.UserAttributesSettings.class, + ListUserAttributesSettingsResponse.Builder::userAttributesSettings) + .handleResponseHeaderString( + "opc-request-id", ListUserAttributesSettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", ListUserAttributesSettingsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public ListUserDbCredentialsResponse listUserDbCredentials( ListUserDbCredentialsRequest request) { @@ -2706,7 +3939,9 @@ public ListUserDbCredentialsResponse listUserDbCredentials( .serviceDetails("IdentityDomains", "ListUserDbCredentials", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListUserDbCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserDbCredentials") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2743,7 +3978,9 @@ public ListUsersResponse listUsers(ListUsersRequest request) { .serviceDetails("IdentityDomains", "ListUsers", "") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListUsersRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendQueryParam("filter", request.getFilter()) .appendQueryParam("sortBy", request.getSortBy()) @@ -2771,6 +4008,46 @@ public ListUsersResponse listUsers(ListUsersRequest request) { .callSync(); } + @Override + public PatchAccountRecoverySettingResponse patchAccountRecoverySetting( + PatchAccountRecoverySettingRequest request) { + + Validate.notBlank( + request.getAccountRecoverySettingId(), + "accountRecoverySettingId must not be blank"); + + return clientCall(request, PatchAccountRecoverySettingResponse::builder) + .logger(LOG, "patchAccountRecoverySetting") + .serviceDetails("IdentityDomains", "PatchAccountRecoverySetting", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchAccountRecoverySettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountRecoverySettings") + .appendPathParam(request.getAccountRecoverySettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AccountRecoverySetting.class, + PatchAccountRecoverySettingResponse.Builder::accountRecoverySetting) + .handleResponseHeaderString( + "opc-request-id", PatchAccountRecoverySettingResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "etag", PatchAccountRecoverySettingResponse.Builder::etag) + .callSync(); + } + @Override public PatchApiKeyResponse patchApiKey(PatchApiKeyRequest request) { @@ -2781,7 +4058,9 @@ public PatchApiKeyResponse patchApiKey(PatchApiKeyRequest request) { .serviceDetails("IdentityDomains", "PatchApiKey", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("ApiKeys") .appendPathParam(request.getApiKeyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -2805,6 +4084,78 @@ public PatchApiKeyResponse patchApiKey(PatchApiKeyRequest request) { .callSync(); } + @Override + public PatchAppResponse patchApp(PatchAppRequest request) { + + Validate.notBlank(request.getAppId(), "appId must not be blank"); + + return clientCall(request, PatchAppResponse::builder) + .logger(LOG, "patchApp") + .serviceDetails("IdentityDomains", "PatchApp", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchAppRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendPathParam(request.getAppId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.App.class, + PatchAppResponse.Builder::app) + .handleResponseHeaderString( + "opc-request-id", PatchAppResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PatchAppResponse.Builder::etag) + .callSync(); + } + + @Override + public PatchAppRoleResponse patchAppRole(PatchAppRoleRequest request) { + + Validate.notBlank(request.getAppRoleId(), "appRoleId must not be blank"); + + return clientCall(request, PatchAppRoleResponse::builder) + .logger(LOG, "patchAppRole") + .serviceDetails("IdentityDomains", "PatchAppRole", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchAppRoleRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppRoles") + .appendPathParam(request.getAppRoleId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AppRole.class, + PatchAppRoleResponse.Builder::appRole) + .handleResponseHeaderString( + "opc-request-id", PatchAppRoleResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PatchAppRoleResponse.Builder::etag) + .callSync(); + } + @Override public PatchAuthTokenResponse patchAuthToken(PatchAuthTokenRequest request) { @@ -2815,7 +4166,9 @@ public PatchAuthTokenResponse patchAuthToken(PatchAuthTokenRequest request) { .serviceDetails("IdentityDomains", "PatchAuthToken", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthTokens") .appendPathParam(request.getAuthTokenId()) .appendQueryParam("attributes", request.getAttributes()) @@ -2851,7 +4204,9 @@ public PatchCustomerSecretKeyResponse patchCustomerSecretKey( .serviceDetails("IdentityDomains", "PatchCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("CustomerSecretKeys") .appendPathParam(request.getCustomerSecretKeyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -2887,7 +4242,9 @@ public PatchDynamicResourceGroupResponse patchDynamicResourceGroup( .serviceDetails("IdentityDomains", "PatchDynamicResourceGroup", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchDynamicResourceGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendPathParam(request.getDynamicResourceGroupId()) .appendQueryParam("attributes", request.getAttributes()) @@ -2911,6 +4268,42 @@ public PatchDynamicResourceGroupResponse patchDynamicResourceGroup( .callSync(); } + @Override + public PatchGrantResponse patchGrant(PatchGrantRequest request) { + + Validate.notBlank(request.getGrantId(), "grantId must not be blank"); + + return clientCall(request, PatchGrantResponse::builder) + .logger(LOG, "patchGrant") + .serviceDetails("IdentityDomains", "PatchGrant", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchGrantRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Grants") + .appendPathParam(request.getGrantId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.Grant.class, + PatchGrantResponse.Builder::grant) + .handleResponseHeaderString( + "opc-request-id", PatchGrantResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PatchGrantResponse.Builder::etag) + .callSync(); + } + @Override public PatchGroupResponse patchGroup(PatchGroupRequest request) { @@ -2921,7 +4314,9 @@ public PatchGroupResponse patchGroup(PatchGroupRequest request) { .serviceDetails("IdentityDomains", "PatchGroup", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendPathParam(request.getGroupId()) .appendQueryParam("attributes", request.getAttributes()) @@ -2956,7 +4351,9 @@ public PatchIdentityProviderResponse patchIdentityProvider( .serviceDetails("IdentityDomains", "PatchIdentityProvider", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchIdentityProviderRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendPathParam(request.getIdentityProviderId()) .appendQueryParam("attributes", request.getAttributes()) @@ -2980,6 +4377,42 @@ public PatchIdentityProviderResponse patchIdentityProvider( .callSync(); } + @Override + public PatchIdentitySettingResponse patchIdentitySetting(PatchIdentitySettingRequest request) { + + Validate.notBlank(request.getIdentitySettingId(), "identitySettingId must not be blank"); + + return clientCall(request, PatchIdentitySettingResponse::builder) + .logger(LOG, "patchIdentitySetting") + .serviceDetails("IdentityDomains", "PatchIdentitySetting", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchIdentitySettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("IdentitySettings") + .appendPathParam(request.getIdentitySettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.IdentitySetting.class, + PatchIdentitySettingResponse.Builder::identitySetting) + .handleResponseHeaderString( + "opc-request-id", PatchIdentitySettingResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PatchIdentitySettingResponse.Builder::etag) + .callSync(); + } + @Override public PatchKmsiSettingResponse patchKmsiSetting(PatchKmsiSettingRequest request) { @@ -2990,7 +4423,9 @@ public PatchKmsiSettingResponse patchKmsiSetting(PatchKmsiSettingRequest request .serviceDetails("IdentityDomains", "PatchKmsiSetting", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchKmsiSettingRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("KmsiSettings") .appendPathParam(request.getKmsiSettingId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3022,7 +4457,9 @@ public PatchMeResponse patchMe(PatchMeRequest request) { .serviceDetails("IdentityDomains", "PatchMe", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMeRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Me") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -3053,7 +4490,9 @@ public PatchMyApiKeyResponse patchMyApiKey(PatchMyApiKeyRequest request) { .serviceDetails("IdentityDomains", "PatchMyApiKey", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMyApiKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyApiKeys") .appendPathParam(request.getMyApiKeyId()) .accept("application/json, application/scim+json") @@ -3082,7 +4521,9 @@ public PatchMyAuthTokenResponse patchMyAuthToken(PatchMyAuthTokenRequest request .serviceDetails("IdentityDomains", "PatchMyAuthToken", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMyAuthTokenRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyAuthTokens") .appendPathParam(request.getMyAuthTokenId()) .accept("application/json, application/scim+json") @@ -3113,7 +4554,9 @@ public PatchMyCustomerSecretKeyResponse patchMyCustomerSecretKey( .serviceDetails("IdentityDomains", "PatchMyCustomerSecretKey", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMyCustomerSecretKeyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyCustomerSecretKeys") .appendPathParam(request.getMyCustomerSecretKeyId()) .accept("application/json, application/scim+json") @@ -3142,7 +4585,9 @@ public PatchMyDeviceResponse patchMyDevice(PatchMyDeviceRequest request) { .serviceDetails("IdentityDomains", "PatchMyDevice", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMyDeviceRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyDevices") .appendPathParam(request.getMyDeviceId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3179,7 +4624,9 @@ public PatchMyOAuth2ClientCredentialResponse patchMyOAuth2ClientCredential( .serviceDetails("IdentityDomains", "PatchMyOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMyOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyOAuth2ClientCredentials") .appendPathParam(request.getMyOAuth2ClientCredentialId()) .accept("application/json, application/scim+json") @@ -3211,7 +4658,9 @@ public PatchMySmtpCredentialResponse patchMySmtpCredential( .serviceDetails("IdentityDomains", "PatchMySmtpCredential", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchMySmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MySmtpCredentials") .appendPathParam(request.getMySmtpCredentialId()) .accept("application/json, application/scim+json") @@ -3243,7 +4692,9 @@ public PatchOAuth2ClientCredentialResponse patchOAuth2ClientCredential( .serviceDetails("IdentityDomains", "PatchOAuth2ClientCredential", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchOAuth2ClientCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("OAuth2ClientCredentials") .appendPathParam(request.getOAuth2ClientCredentialId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3278,7 +4729,9 @@ public PatchPasswordPolicyResponse patchPasswordPolicy(PatchPasswordPolicyReques .serviceDetails("IdentityDomains", "PatchPasswordPolicy", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchPasswordPolicyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendPathParam(request.getPasswordPolicyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3302,6 +4755,84 @@ public PatchPasswordPolicyResponse patchPasswordPolicy(PatchPasswordPolicyReques .callSync(); } + @Override + public PatchSecurityQuestionResponse patchSecurityQuestion( + PatchSecurityQuestionRequest request) { + + Validate.notBlank(request.getSecurityQuestionId(), "securityQuestionId must not be blank"); + + return clientCall(request, PatchSecurityQuestionResponse::builder) + .logger(LOG, "patchSecurityQuestion") + .serviceDetails("IdentityDomains", "PatchSecurityQuestion", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchSecurityQuestionRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestions") + .appendPathParam(request.getSecurityQuestionId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestion.class, + PatchSecurityQuestionResponse.Builder::securityQuestion) + .handleResponseHeaderString( + "opc-request-id", PatchSecurityQuestionResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PatchSecurityQuestionResponse.Builder::etag) + .callSync(); + } + + @Override + public PatchSecurityQuestionSettingResponse patchSecurityQuestionSetting( + PatchSecurityQuestionSettingRequest request) { + + Validate.notBlank( + request.getSecurityQuestionSettingId(), + "securityQuestionSettingId must not be blank"); + + return clientCall(request, PatchSecurityQuestionSettingResponse::builder) + .logger(LOG, "patchSecurityQuestionSetting") + .serviceDetails("IdentityDomains", "PatchSecurityQuestionSetting", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchSecurityQuestionSettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestionSettings") + .appendPathParam(request.getSecurityQuestionSettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting.class, + PatchSecurityQuestionSettingResponse.Builder::securityQuestionSetting) + .handleResponseHeaderString( + "opc-request-id", + PatchSecurityQuestionSettingResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "etag", PatchSecurityQuestionSettingResponse.Builder::etag) + .callSync(); + } + @Override public PatchSmtpCredentialResponse patchSmtpCredential(PatchSmtpCredentialRequest request) { @@ -3312,7 +4843,9 @@ public PatchSmtpCredentialResponse patchSmtpCredential(PatchSmtpCredentialReques .serviceDetails("IdentityDomains", "PatchSmtpCredential", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchSmtpCredentialRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("SmtpCredentials") .appendPathParam(request.getSmtpCredentialId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3346,7 +4879,9 @@ public PatchUserResponse patchUser(PatchUserRequest request) { .serviceDetails("IdentityDomains", "PatchUser", "") .method(com.oracle.bmc.http.client.Method.PATCH) .requestBuilder(PatchUserRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendPathParam(request.getUserId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3370,6 +4905,154 @@ public PatchUserResponse patchUser(PatchUserRequest request) { .callSync(); } + @Override + public PatchUserAttributesSettingResponse patchUserAttributesSetting( + PatchUserAttributesSettingRequest request) { + + Validate.notBlank( + request.getUserAttributesSettingId(), "userAttributesSettingId must not be blank"); + + return clientCall(request, PatchUserAttributesSettingResponse::builder) + .logger(LOG, "patchUserAttributesSetting") + .serviceDetails("IdentityDomains", "PatchUserAttributesSetting", "") + .method(com.oracle.bmc.http.client.Method.PATCH) + .requestBuilder(PatchUserAttributesSettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("UserAttributesSettings") + .appendPathParam(request.getUserAttributesSettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.UserAttributesSetting.class, + PatchUserAttributesSettingResponse.Builder::userAttributesSetting) + .handleResponseHeaderString( + "opc-request-id", PatchUserAttributesSettingResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "etag", PatchUserAttributesSettingResponse.Builder::etag) + .callSync(); + } + + @Override + public PutAccountRecoverySettingResponse putAccountRecoverySetting( + PutAccountRecoverySettingRequest request) { + + Validate.notBlank( + request.getAccountRecoverySettingId(), + "accountRecoverySettingId must not be blank"); + + return clientCall(request, PutAccountRecoverySettingResponse::builder) + .logger(LOG, "putAccountRecoverySetting") + .serviceDetails("IdentityDomains", "PutAccountRecoverySetting", "") + .method(com.oracle.bmc.http.client.Method.PUT) + .requestBuilder(PutAccountRecoverySettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountRecoverySettings") + .appendPathParam(request.getAccountRecoverySettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AccountRecoverySetting.class, + PutAccountRecoverySettingResponse.Builder::accountRecoverySetting) + .handleResponseHeaderString( + "opc-request-id", PutAccountRecoverySettingResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PutAccountRecoverySettingResponse.Builder::etag) + .callSync(); + } + + @Override + public PutAppResponse putApp(PutAppRequest request) { + + Validate.notBlank(request.getAppId(), "appId must not be blank"); + + return clientCall(request, PutAppResponse::builder) + .logger(LOG, "putApp") + .serviceDetails("IdentityDomains", "PutApp", "") + .method(com.oracle.bmc.http.client.Method.PUT) + .requestBuilder(PutAppRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendPathParam(request.getAppId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.App.class, PutAppResponse.Builder::app) + .handleResponseHeaderString("opc-request-id", PutAppResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PutAppResponse.Builder::etag) + .callSync(); + } + + @Override + public PutAppStatusChangerResponse putAppStatusChanger(PutAppStatusChangerRequest request) { + + Validate.notBlank(request.getAppStatusChangerId(), "appStatusChangerId must not be blank"); + + return clientCall(request, PutAppStatusChangerResponse::builder) + .logger(LOG, "putAppStatusChanger") + .serviceDetails("IdentityDomains", "PutAppStatusChanger", "") + .method(com.oracle.bmc.http.client.Method.PUT) + .requestBuilder(PutAppStatusChangerRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppStatusChanger") + .appendPathParam(request.getAppStatusChangerId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AppStatusChanger.class, + PutAppStatusChangerResponse.Builder::appStatusChanger) + .handleResponseHeaderString( + "opc-request-id", PutAppStatusChangerResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PutAppStatusChangerResponse.Builder::etag) + .callSync(); + } + @Override public PutAuthenticationFactorSettingResponse putAuthenticationFactorSetting( PutAuthenticationFactorSettingRequest request) { @@ -3383,7 +5066,9 @@ public PutAuthenticationFactorSettingResponse putAuthenticationFactorSetting( .serviceDetails("IdentityDomains", "PutAuthenticationFactorSetting", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutAuthenticationFactorSettingRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthenticationFactorSettings") .appendPathParam(request.getAuthenticationFactorSettingId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3421,7 +5106,9 @@ public PutDynamicResourceGroupResponse putDynamicResourceGroup( .serviceDetails("IdentityDomains", "PutDynamicResourceGroup", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutDynamicResourceGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendPathParam(request.getDynamicResourceGroupId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3455,7 +5142,9 @@ public PutGroupResponse putGroup(PutGroupRequest request) { .serviceDetails("IdentityDomains", "PutGroup", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutGroupRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendPathParam(request.getGroupId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3480,18 +5169,56 @@ public PutGroupResponse putGroup(PutGroupRequest request) { } @Override - public PutIdentityProviderResponse putIdentityProvider(PutIdentityProviderRequest request) { + public PutIdentityProviderResponse putIdentityProvider(PutIdentityProviderRequest request) { + + Validate.notBlank(request.getIdentityProviderId(), "identityProviderId must not be blank"); + + return clientCall(request, PutIdentityProviderResponse::builder) + .logger(LOG, "putIdentityProvider") + .serviceDetails("IdentityDomains", "PutIdentityProvider", "") + .method(com.oracle.bmc.http.client.Method.PUT) + .requestBuilder(PutIdentityProviderRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("IdentityProviders") + .appendPathParam(request.getIdentityProviderId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.IdentityProvider.class, + PutIdentityProviderResponse.Builder::identityProvider) + .handleResponseHeaderString( + "opc-request-id", PutIdentityProviderResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PutIdentityProviderResponse.Builder::etag) + .callSync(); + } + + @Override + public PutIdentitySettingResponse putIdentitySetting(PutIdentitySettingRequest request) { - Validate.notBlank(request.getIdentityProviderId(), "identityProviderId must not be blank"); + Validate.notBlank(request.getIdentitySettingId(), "identitySettingId must not be blank"); - return clientCall(request, PutIdentityProviderResponse::builder) - .logger(LOG, "putIdentityProvider") - .serviceDetails("IdentityDomains", "PutIdentityProvider", "") + return clientCall(request, PutIdentitySettingResponse::builder) + .logger(LOG, "putIdentitySetting") + .serviceDetails("IdentityDomains", "PutIdentitySetting", "") .method(com.oracle.bmc.http.client.Method.PUT) - .requestBuilder(PutIdentityProviderRequest::builder) - .basePath("/admin/v1") - .appendPathParam("IdentityProviders") - .appendPathParam(request.getIdentityProviderId()) + .requestBuilder(PutIdentitySettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("IdentitySettings") + .appendPathParam(request.getIdentitySettingId()) .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( "attributeSets", @@ -3505,11 +5232,11 @@ public PutIdentityProviderResponse putIdentityProvider(PutIdentityProviderReques .appendHeader("opc-retry-token", request.getOpcRetryToken()) .hasBody() .handleBody( - com.oracle.bmc.identitydomains.model.IdentityProvider.class, - PutIdentityProviderResponse.Builder::identityProvider) + com.oracle.bmc.identitydomains.model.IdentitySetting.class, + PutIdentitySettingResponse.Builder::identitySetting) .handleResponseHeaderString( - "opc-request-id", PutIdentityProviderResponse.Builder::opcRequestId) - .handleResponseHeaderString("etag", PutIdentityProviderResponse.Builder::etag) + "opc-request-id", PutIdentitySettingResponse.Builder::opcRequestId) + .handleResponseHeaderString("etag", PutIdentitySettingResponse.Builder::etag) .callSync(); } @@ -3523,7 +5250,9 @@ public PutKmsiSettingResponse putKmsiSetting(PutKmsiSettingRequest request) { .serviceDetails("IdentityDomains", "PutKmsiSetting", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutKmsiSettingRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("KmsiSettings") .appendPathParam(request.getKmsiSettingId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3555,7 +5284,9 @@ public PutMeResponse putMe(PutMeRequest request) { .serviceDetails("IdentityDomains", "PutMe", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutMeRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Me") .appendQueryParam("attributes", request.getAttributes()) .appendListQueryParam( @@ -3584,7 +5315,9 @@ public PutMePasswordChangerResponse putMePasswordChanger(PutMePasswordChangerReq .serviceDetails("IdentityDomains", "PutMePasswordChanger", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutMePasswordChangerRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MePasswordChanger") .accept("application/json, application/scim+json") .appendHeader("authorization", request.getAuthorization()) @@ -3612,7 +5345,9 @@ public PutPasswordPolicyResponse putPasswordPolicy(PutPasswordPolicyRequest requ .serviceDetails("IdentityDomains", "PutPasswordPolicy", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutPasswordPolicyRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendPathParam(request.getPasswordPolicyId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3636,6 +5371,46 @@ public PutPasswordPolicyResponse putPasswordPolicy(PutPasswordPolicyRequest requ .callSync(); } + @Override + public PutSecurityQuestionSettingResponse putSecurityQuestionSetting( + PutSecurityQuestionSettingRequest request) { + + Validate.notBlank( + request.getSecurityQuestionSettingId(), + "securityQuestionSettingId must not be blank"); + + return clientCall(request, PutSecurityQuestionSettingResponse::builder) + .logger(LOG, "putSecurityQuestionSetting") + .serviceDetails("IdentityDomains", "PutSecurityQuestionSetting", "") + .method(com.oracle.bmc.http.client.Method.PUT) + .requestBuilder(PutSecurityQuestionSettingRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestionSettings") + .appendPathParam(request.getSecurityQuestionSettingId()) + .appendQueryParam("attributes", request.getAttributes()) + .appendListQueryParam( + "attributeSets", + request.getAttributeSets(), + com.oracle.bmc.util.internal.CollectionFormatType.Multi) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting.class, + PutSecurityQuestionSettingResponse.Builder::securityQuestionSetting) + .handleResponseHeaderString( + "opc-request-id", PutSecurityQuestionSettingResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "etag", PutSecurityQuestionSettingResponse.Builder::etag) + .callSync(); + } + @Override public PutUserResponse putUser(PutUserRequest request) { @@ -3646,7 +5421,9 @@ public PutUserResponse putUser(PutUserRequest request) { .serviceDetails("IdentityDomains", "PutUser", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutUserRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendPathParam(request.getUserId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3682,7 +5459,9 @@ public PutUserCapabilitiesChangerResponse putUserCapabilitiesChanger( .serviceDetails("IdentityDomains", "PutUserCapabilitiesChanger", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutUserCapabilitiesChangerRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserCapabilitiesChanger") .appendPathParam(request.getUserCapabilitiesChangerId()) .accept("application/json, application/scim+json") @@ -3714,7 +5493,9 @@ public PutUserPasswordChangerResponse putUserPasswordChanger( .serviceDetails("IdentityDomains", "PutUserPasswordChanger", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutUserPasswordChangerRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserPasswordChanger") .appendPathParam(request.getUserPasswordChangerId()) .accept("application/json, application/scim+json") @@ -3745,7 +5526,9 @@ public PutUserPasswordResetterResponse putUserPasswordResetter( .serviceDetails("IdentityDomains", "PutUserPasswordResetter", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutUserPasswordResetterRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserPasswordResetter") .appendPathParam(request.getUserPasswordResetterId()) .accept("application/json, application/scim+json") @@ -3775,7 +5558,9 @@ public PutUserStatusChangerResponse putUserStatusChanger(PutUserStatusChangerReq .serviceDetails("IdentityDomains", "PutUserStatusChanger", "") .method(com.oracle.bmc.http.client.Method.PUT) .requestBuilder(PutUserStatusChangerRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserStatusChanger") .appendPathParam(request.getUserStatusChangerId()) .appendQueryParam("attributes", request.getAttributes()) @@ -3799,6 +5584,38 @@ public PutUserStatusChangerResponse putUserStatusChanger(PutUserStatusChangerReq .callSync(); } + @Override + public SearchAccountMgmtInfosResponse searchAccountMgmtInfos( + SearchAccountMgmtInfosRequest request) { + + return clientCall(request, SearchAccountMgmtInfosResponse::builder) + .logger(LOG, "searchAccountMgmtInfos") + .serviceDetails("IdentityDomains", "SearchAccountMgmtInfos", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchAccountMgmtInfosRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AccountMgmtInfos") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AccountMgmtInfos.class, + SearchAccountMgmtInfosResponse.Builder::accountMgmtInfos) + .handleResponseHeaderString( + "opc-request-id", SearchAccountMgmtInfosResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchAccountMgmtInfosResponse.Builder::opcNextPage) + .callSync(); + } + @Override public SearchApiKeysResponse searchApiKeys(SearchApiKeysRequest request) { @@ -3807,7 +5624,9 @@ public SearchApiKeysResponse searchApiKeys(SearchApiKeysRequest request) { .serviceDetails("IdentityDomains", "SearchApiKeys", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchApiKeysRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("ApiKeys") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -3828,6 +5647,68 @@ public SearchApiKeysResponse searchApiKeys(SearchApiKeysRequest request) { .callSync(); } + @Override + public SearchAppRolesResponse searchAppRoles(SearchAppRolesRequest request) { + + return clientCall(request, SearchAppRolesResponse::builder) + .logger(LOG, "searchAppRoles") + .serviceDetails("IdentityDomains", "SearchAppRoles", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchAppRolesRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("AppRoles") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.AppRoles.class, + SearchAppRolesResponse.Builder::appRoles) + .handleResponseHeaderString( + "opc-request-id", SearchAppRolesResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchAppRolesResponse.Builder::opcNextPage) + .callSync(); + } + + @Override + public SearchAppsResponse searchApps(SearchAppsRequest request) { + + return clientCall(request, SearchAppsResponse::builder) + .logger(LOG, "searchApps") + .serviceDetails("IdentityDomains", "SearchApps", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchAppsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Apps") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.Apps.class, + SearchAppsResponse.Builder::apps) + .handleResponseHeaderString( + "opc-request-id", SearchAppsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchAppsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public SearchAuthTokensResponse searchAuthTokens(SearchAuthTokensRequest request) { @@ -3836,7 +5717,9 @@ public SearchAuthTokensResponse searchAuthTokens(SearchAuthTokensRequest request .serviceDetails("IdentityDomains", "SearchAuthTokens", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchAuthTokensRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthTokens") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -3866,7 +5749,9 @@ public SearchAuthenticationFactorSettingsResponse searchAuthenticationFactorSett .serviceDetails("IdentityDomains", "SearchAuthenticationFactorSettings", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchAuthenticationFactorSettingsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("AuthenticationFactorSettings") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -3899,7 +5784,9 @@ public SearchCustomerSecretKeysResponse searchCustomerSecretKeys( .serviceDetails("IdentityDomains", "SearchCustomerSecretKeys", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchCustomerSecretKeysRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("CustomerSecretKeys") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -3929,7 +5816,9 @@ public SearchDynamicResourceGroupsResponse searchDynamicResourceGroups( .serviceDetails("IdentityDomains", "SearchDynamicResourceGroups", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchDynamicResourceGroupsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("DynamicResourceGroups") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -3950,6 +5839,37 @@ public SearchDynamicResourceGroupsResponse searchDynamicResourceGroups( .callSync(); } + @Override + public SearchGrantsResponse searchGrants(SearchGrantsRequest request) { + + return clientCall(request, SearchGrantsResponse::builder) + .logger(LOG, "searchGrants") + .serviceDetails("IdentityDomains", "SearchGrants", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchGrantsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("Grants") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.Grants.class, + SearchGrantsResponse.Builder::grants) + .handleResponseHeaderString( + "opc-request-id", SearchGrantsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchGrantsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public SearchGroupsResponse searchGroups(SearchGroupsRequest request) { @@ -3958,7 +5878,9 @@ public SearchGroupsResponse searchGroups(SearchGroupsRequest request) { .serviceDetails("IdentityDomains", "SearchGroups", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchGroupsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Groups") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -3988,7 +5910,9 @@ public SearchIdentityProvidersResponse searchIdentityProviders( .serviceDetails("IdentityDomains", "SearchIdentityProviders", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchIdentityProvidersRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("IdentityProviders") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4009,6 +5933,38 @@ public SearchIdentityProvidersResponse searchIdentityProviders( .callSync(); } + @Override + public SearchIdentitySettingsResponse searchIdentitySettings( + SearchIdentitySettingsRequest request) { + + return clientCall(request, SearchIdentitySettingsResponse::builder) + .logger(LOG, "searchIdentitySettings") + .serviceDetails("IdentityDomains", "SearchIdentitySettings", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchIdentitySettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("IdentitySettings") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.IdentitySettings.class, + SearchIdentitySettingsResponse.Builder::identitySettings) + .handleResponseHeaderString( + "opc-request-id", SearchIdentitySettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchIdentitySettingsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public SearchKmsiSettingsResponse searchKmsiSettings(SearchKmsiSettingsRequest request) { @@ -4017,7 +5973,9 @@ public SearchKmsiSettingsResponse searchKmsiSettings(SearchKmsiSettingsRequest r .serviceDetails("IdentityDomains", "SearchKmsiSettings", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchKmsiSettingsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("KmsiSettings") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4038,6 +5996,37 @@ public SearchKmsiSettingsResponse searchKmsiSettings(SearchKmsiSettingsRequest r .callSync(); } + @Override + public SearchMyAppsResponse searchMyApps(SearchMyAppsRequest request) { + + return clientCall(request, SearchMyAppsResponse::builder) + .logger(LOG, "searchMyApps") + .serviceDetails("IdentityDomains", "SearchMyApps", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchMyAppsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyApps") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.MyApps.class, + SearchMyAppsResponse.Builder::myApps) + .handleResponseHeaderString( + "opc-request-id", SearchMyAppsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchMyAppsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public SearchMyGroupsResponse searchMyGroups(SearchMyGroupsRequest request) { @@ -4046,7 +6035,9 @@ public SearchMyGroupsResponse searchMyGroups(SearchMyGroupsRequest request) { .serviceDetails("IdentityDomains", "SearchMyGroups", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchMyGroupsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("MyGroups") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4067,6 +6058,69 @@ public SearchMyGroupsResponse searchMyGroups(SearchMyGroupsRequest request) { .callSync(); } + @Override + public SearchMyRequestableGroupsResponse searchMyRequestableGroups( + SearchMyRequestableGroupsRequest request) { + + return clientCall(request, SearchMyRequestableGroupsResponse::builder) + .logger(LOG, "searchMyRequestableGroups") + .serviceDetails("IdentityDomains", "SearchMyRequestableGroups", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchMyRequestableGroupsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyRequestableGroups") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.MyRequestableGroups.class, + SearchMyRequestableGroupsResponse.Builder::myRequestableGroups) + .handleResponseHeaderString( + "opc-request-id", SearchMyRequestableGroupsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchMyRequestableGroupsResponse.Builder::opcNextPage) + .callSync(); + } + + @Override + public SearchMyRequestsResponse searchMyRequests(SearchMyRequestsRequest request) { + + return clientCall(request, SearchMyRequestsResponse::builder) + .logger(LOG, "searchMyRequests") + .serviceDetails("IdentityDomains", "SearchMyRequests", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchMyRequestsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("MyRequests") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.MyRequests.class, + SearchMyRequestsResponse.Builder::myRequests) + .handleResponseHeaderString( + "opc-request-id", SearchMyRequestsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchMyRequestsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public SearchOAuth2ClientCredentialsResponse searchOAuth2ClientCredentials( SearchOAuth2ClientCredentialsRequest request) { @@ -4076,7 +6130,9 @@ public SearchOAuth2ClientCredentialsResponse searchOAuth2ClientCredentials( .serviceDetails("IdentityDomains", "SearchOAuth2ClientCredentials", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchOAuth2ClientCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("OAuth2ClientCredentials") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4107,7 +6163,9 @@ public SearchPasswordPoliciesResponse searchPasswordPolicies( .serviceDetails("IdentityDomains", "SearchPasswordPolicies", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchPasswordPoliciesRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("PasswordPolicies") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4128,6 +6186,107 @@ public SearchPasswordPoliciesResponse searchPasswordPolicies( .callSync(); } + @Override + public SearchResourceTypeSchemaAttributesResponse searchResourceTypeSchemaAttributes( + SearchResourceTypeSchemaAttributesRequest request) { + + return clientCall(request, SearchResourceTypeSchemaAttributesResponse::builder) + .logger(LOG, "searchResourceTypeSchemaAttributes") + .serviceDetails("IdentityDomains", "SearchResourceTypeSchemaAttributes", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchResourceTypeSchemaAttributesRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("ResourceTypeSchemaAttributes") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes.class, + SearchResourceTypeSchemaAttributesResponse.Builder + ::resourceTypeSchemaAttributes) + .handleResponseHeaderString( + "opc-request-id", + SearchResourceTypeSchemaAttributesResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", + SearchResourceTypeSchemaAttributesResponse.Builder::opcNextPage) + .callSync(); + } + + @Override + public SearchSecurityQuestionSettingsResponse searchSecurityQuestionSettings( + SearchSecurityQuestionSettingsRequest request) { + + return clientCall(request, SearchSecurityQuestionSettingsResponse::builder) + .logger(LOG, "searchSecurityQuestionSettings") + .serviceDetails("IdentityDomains", "SearchSecurityQuestionSettings", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchSecurityQuestionSettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestionSettings") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestionSettings.class, + SearchSecurityQuestionSettingsResponse.Builder::securityQuestionSettings) + .handleResponseHeaderString( + "opc-request-id", + SearchSecurityQuestionSettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", + SearchSecurityQuestionSettingsResponse.Builder::opcNextPage) + .callSync(); + } + + @Override + public SearchSecurityQuestionsResponse searchSecurityQuestions( + SearchSecurityQuestionsRequest request) { + + return clientCall(request, SearchSecurityQuestionsResponse::builder) + .logger(LOG, "searchSecurityQuestions") + .serviceDetails("IdentityDomains", "SearchSecurityQuestions", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchSecurityQuestionsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("SecurityQuestions") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.SecurityQuestions.class, + SearchSecurityQuestionsResponse.Builder::securityQuestions) + .handleResponseHeaderString( + "opc-request-id", SearchSecurityQuestionsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchSecurityQuestionsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public SearchSmtpCredentialsResponse searchSmtpCredentials( SearchSmtpCredentialsRequest request) { @@ -4137,7 +6296,9 @@ public SearchSmtpCredentialsResponse searchSmtpCredentials( .serviceDetails("IdentityDomains", "SearchSmtpCredentials", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchSmtpCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("SmtpCredentials") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4158,6 +6319,39 @@ public SearchSmtpCredentialsResponse searchSmtpCredentials( .callSync(); } + @Override + public SearchUserAttributesSettingsResponse searchUserAttributesSettings( + SearchUserAttributesSettingsRequest request) { + + return clientCall(request, SearchUserAttributesSettingsResponse::builder) + .logger(LOG, "searchUserAttributesSettings") + .serviceDetails("IdentityDomains", "SearchUserAttributesSettings", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchUserAttributesSettingsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("UserAttributesSettings") + .appendPathParam(".search") + .appendQueryParam("page", request.getPage()) + .appendQueryParam("limit", request.getLimit()) + .accept("application/json, application/scim+json") + .appendHeader("authorization", request.getAuthorization()) + .appendHeader( + "resource_type_schema_version", request.getResourceTypeSchemaVersion()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .hasBody() + .handleBody( + com.oracle.bmc.identitydomains.model.UserAttributesSettings.class, + SearchUserAttributesSettingsResponse.Builder::userAttributesSettings) + .handleResponseHeaderString( + "opc-request-id", + SearchUserAttributesSettingsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", SearchUserAttributesSettingsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public SearchUserDbCredentialsResponse searchUserDbCredentials( SearchUserDbCredentialsRequest request) { @@ -4167,7 +6361,9 @@ public SearchUserDbCredentialsResponse searchUserDbCredentials( .serviceDetails("IdentityDomains", "SearchUserDbCredentials", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchUserDbCredentialsRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("UserDbCredentials") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) @@ -4196,7 +6392,9 @@ public SearchUsersResponse searchUsers(SearchUsersRequest request) { .serviceDetails("IdentityDomains", "SearchUsers", "") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchUsersRequest::builder) - .basePath("/admin/v1") + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") .appendPathParam("Users") .appendPathParam(".search") .appendQueryParam("page", request.getPage()) diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfo.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfo.java new file mode 100644 index 00000000000..d6516eacae9 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfo.java @@ -0,0 +1,2057 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Schema for AccountMgmtInfo resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AccountMgmtInfo.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AccountMgmtInfo + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "uid", + "name", + "compositeKey", + "active", + "accountType", + "isAccount", + "favorite", + "doNotPerformActionOnTarget", + "doNotBackFillGrants", + "lastAccessed", + "syncTimestamp", + "syncSituation", + "syncResponse", + "previewOnly", + "operationContext", + "objectClass", + "resourceType", + "matchingOwners", + "userWalletArtifact", + "app", + "owner" + }) + public AccountMgmtInfo( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + String uid, + String name, + String compositeKey, + Boolean active, + String accountType, + Boolean isAccount, + Boolean favorite, + Boolean doNotPerformActionOnTarget, + Boolean doNotBackFillGrants, + String lastAccessed, + String syncTimestamp, + SyncSituation syncSituation, + String syncResponse, + Boolean previewOnly, + OperationContext operationContext, + AccountMgmtInfoObjectClass objectClass, + AccountMgmtInfoResourceType resourceType, + java.util.List matchingOwners, + AccountMgmtInfoUserWalletArtifact userWalletArtifact, + AccountMgmtInfoApp app, + AccountMgmtInfoOwner owner) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.uid = uid; + this.name = name; + this.compositeKey = compositeKey; + this.active = active; + this.accountType = accountType; + this.isAccount = isAccount; + this.favorite = favorite; + this.doNotPerformActionOnTarget = doNotPerformActionOnTarget; + this.doNotBackFillGrants = doNotBackFillGrants; + this.lastAccessed = lastAccessed; + this.syncTimestamp = syncTimestamp; + this.syncSituation = syncSituation; + this.syncResponse = syncResponse; + this.previewOnly = previewOnly; + this.operationContext = operationContext; + this.objectClass = objectClass; + this.resourceType = resourceType; + this.matchingOwners = matchingOwners; + this.userWalletArtifact = userWalletArtifact; + this.app = app; + this.owner = owner; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * Unique identifier of the Account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("uid") + private String uid; + + /** + * Unique identifier of the Account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param uid the value to set + * @return this builder + */ + public Builder uid(String uid) { + this.uid = uid; + this.__explicitlySet__.add("uid"); + return this; + } + /** + * Name of the Account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Name of the Account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * Unique key for this AccountMgmtInfo, which is used to prevent duplicate AccountMgmtInfo + * resources. Key is composed of a subset of app, owner and accountType. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("compositeKey") + private String compositeKey; + + /** + * Unique key for this AccountMgmtInfo, which is used to prevent duplicate AccountMgmtInfo + * resources. Key is composed of a subset of app, owner and accountType. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * server + * + * @param compositeKey the value to set + * @return this builder + */ + public Builder compositeKey(String compositeKey) { + this.compositeKey = compositeKey; + this.__explicitlySet__.add("compositeKey"); + return this; + } + /** + * If true, the account is activated + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private Boolean active; + + /** + * If true, the account is activated + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param active the value to set + * @return this builder + */ + public Builder active(Boolean active) { + this.active = active; + this.__explicitlySet__.add("active"); + return this; + } + /** + * Type of Account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountType") + private String accountType; + + /** + * Type of Account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * none + * + * @param accountType the value to set + * @return this builder + */ + public Builder accountType(String accountType) { + this.accountType = accountType; + this.__explicitlySet__.add("accountType"); + return this; + } + /** + * If true, indicates that this managed object is an account, which is an identity that + * represents a user in the context of a specific application + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAccount") + private Boolean isAccount; + + /** + * If true, indicates that this managed object is an account, which is an identity that + * represents a user in the context of a specific application + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param isAccount the value to set + * @return this builder + */ + public Builder isAccount(Boolean isAccount) { + this.isAccount = isAccount; + this.__explicitlySet__.add("isAccount"); + return this; + } + /** + * If true, this account has been marked as a favorite of the User who owns it + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("favorite") + private Boolean favorite; + + /** + * If true, this account has been marked as a favorite of the User who owns it + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param favorite the value to set + * @return this builder + */ + public Builder favorite(Boolean favorite) { + this.favorite = favorite; + this.__explicitlySet__.add("favorite"); + return this; + } + /** + * If true, the operation will not be performed on the target + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("doNotPerformActionOnTarget") + private Boolean doNotPerformActionOnTarget; + + /** + * If true, the operation will not be performed on the target + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param doNotPerformActionOnTarget the value to set + * @return this builder + */ + public Builder doNotPerformActionOnTarget(Boolean doNotPerformActionOnTarget) { + this.doNotPerformActionOnTarget = doNotPerformActionOnTarget; + this.__explicitlySet__.add("doNotPerformActionOnTarget"); + return this; + } + /** + * If true, a back-fill grant will not be created for a connected managed app as part of + * account creation. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("doNotBackFillGrants") + private Boolean doNotBackFillGrants; + + /** + * If true, a back-fill grant will not be created for a connected managed app as part of + * account creation. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param doNotBackFillGrants the value to set + * @return this builder + */ + public Builder doNotBackFillGrants(Boolean doNotBackFillGrants) { + this.doNotBackFillGrants = doNotBackFillGrants; + this.__explicitlySet__.add("doNotBackFillGrants"); + return this; + } + /** + * Last accessed timestamp of an application + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastAccessed") + private String lastAccessed; + + /** + * Last accessed timestamp of an application + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + * + * @param lastAccessed the value to set + * @return this builder + */ + public Builder lastAccessed(String lastAccessed) { + this.lastAccessed = lastAccessed; + this.__explicitlySet__.add("lastAccessed"); + return this; + } + /** + * Last sync timestamp of the account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("syncTimestamp") + private String syncTimestamp; + + /** + * Last sync timestamp of the account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + * + * @param syncTimestamp the value to set + * @return this builder + */ + public Builder syncTimestamp(String syncTimestamp) { + this.syncTimestamp = syncTimestamp; + this.__explicitlySet__.add("syncTimestamp"); + return this; + } + /** + * Last recorded sync situation for the account + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("syncSituation") + private SyncSituation syncSituation; + + /** + * Last recorded sync situation for the account + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param syncSituation the value to set + * @return this builder + */ + public Builder syncSituation(SyncSituation syncSituation) { + this.syncSituation = syncSituation; + this.__explicitlySet__.add("syncSituation"); + return this; + } + /** + * Last recorded sync response for the account + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("syncResponse") + private String syncResponse; + + /** + * Last recorded sync response for the account + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param syncResponse the value to set + * @return this builder + */ + public Builder syncResponse(String syncResponse) { + this.syncResponse = syncResponse; + this.__explicitlySet__.add("syncResponse"); + return this; + } + /** + * If true, then the response to the account creation operation on a connected managed app + * returns a preview of the account data that is evaluated by the attribute value generation + * policy. Note that an account will not be created on the target application when this + * attribute is set to true. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("previewOnly") + private Boolean previewOnly; + + /** + * If true, then the response to the account creation operation on a connected managed app + * returns a preview of the account data that is evaluated by the attribute value generation + * policy. Note that an account will not be created on the target application when this + * attribute is set to true. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param previewOnly the value to set + * @return this builder + */ + public Builder previewOnly(Boolean previewOnly) { + this.previewOnly = previewOnly; + this.__explicitlySet__.add("previewOnly"); + return this; + } + /** + * The context in which the operation is performed on the account. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - mutability: readOnly - required: false + * - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("operationContext") + private OperationContext operationContext; + + /** + * The context in which the operation is performed on the account. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - mutability: readOnly - required: false + * - returned: default - type: string - uniqueness: none + * + * @param operationContext the value to set + * @return this builder + */ + public Builder operationContext(OperationContext operationContext) { + this.operationContext = operationContext; + this.__explicitlySet__.add("operationContext"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("objectClass") + private AccountMgmtInfoObjectClass objectClass; + + public Builder objectClass(AccountMgmtInfoObjectClass objectClass) { + this.objectClass = objectClass; + this.__explicitlySet__.add("objectClass"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceType") + private AccountMgmtInfoResourceType resourceType; + + public Builder resourceType(AccountMgmtInfoResourceType resourceType) { + this.resourceType = resourceType; + this.__explicitlySet__.add("resourceType"); + return this; + } + /** + * Matching owning users of the account + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readOnly - required: false - returned: default - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchingOwners") + private java.util.List matchingOwners; + + /** + * Matching owning users of the account + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readOnly - required: false - returned: default - type: + * complex - uniqueness: none + * + * @param matchingOwners the value to set + * @return this builder + */ + public Builder matchingOwners( + java.util.List matchingOwners) { + this.matchingOwners = matchingOwners; + this.__explicitlySet__.add("matchingOwners"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("userWalletArtifact") + private AccountMgmtInfoUserWalletArtifact userWalletArtifact; + + public Builder userWalletArtifact(AccountMgmtInfoUserWalletArtifact userWalletArtifact) { + this.userWalletArtifact = userWalletArtifact; + this.__explicitlySet__.add("userWalletArtifact"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("app") + private AccountMgmtInfoApp app; + + public Builder app(AccountMgmtInfoApp app) { + this.app = app; + this.__explicitlySet__.add("app"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("owner") + private AccountMgmtInfoOwner owner; + + public Builder owner(AccountMgmtInfoOwner owner) { + this.owner = owner; + this.__explicitlySet__.add("owner"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AccountMgmtInfo build() { + AccountMgmtInfo model = + new AccountMgmtInfo( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.uid, + this.name, + this.compositeKey, + this.active, + this.accountType, + this.isAccount, + this.favorite, + this.doNotPerformActionOnTarget, + this.doNotBackFillGrants, + this.lastAccessed, + this.syncTimestamp, + this.syncSituation, + this.syncResponse, + this.previewOnly, + this.operationContext, + this.objectClass, + this.resourceType, + this.matchingOwners, + this.userWalletArtifact, + this.app, + this.owner); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AccountMgmtInfo model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("uid")) { + this.uid(model.getUid()); + } + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("compositeKey")) { + this.compositeKey(model.getCompositeKey()); + } + if (model.wasPropertyExplicitlySet("active")) { + this.active(model.getActive()); + } + if (model.wasPropertyExplicitlySet("accountType")) { + this.accountType(model.getAccountType()); + } + if (model.wasPropertyExplicitlySet("isAccount")) { + this.isAccount(model.getIsAccount()); + } + if (model.wasPropertyExplicitlySet("favorite")) { + this.favorite(model.getFavorite()); + } + if (model.wasPropertyExplicitlySet("doNotPerformActionOnTarget")) { + this.doNotPerformActionOnTarget(model.getDoNotPerformActionOnTarget()); + } + if (model.wasPropertyExplicitlySet("doNotBackFillGrants")) { + this.doNotBackFillGrants(model.getDoNotBackFillGrants()); + } + if (model.wasPropertyExplicitlySet("lastAccessed")) { + this.lastAccessed(model.getLastAccessed()); + } + if (model.wasPropertyExplicitlySet("syncTimestamp")) { + this.syncTimestamp(model.getSyncTimestamp()); + } + if (model.wasPropertyExplicitlySet("syncSituation")) { + this.syncSituation(model.getSyncSituation()); + } + if (model.wasPropertyExplicitlySet("syncResponse")) { + this.syncResponse(model.getSyncResponse()); + } + if (model.wasPropertyExplicitlySet("previewOnly")) { + this.previewOnly(model.getPreviewOnly()); + } + if (model.wasPropertyExplicitlySet("operationContext")) { + this.operationContext(model.getOperationContext()); + } + if (model.wasPropertyExplicitlySet("objectClass")) { + this.objectClass(model.getObjectClass()); + } + if (model.wasPropertyExplicitlySet("resourceType")) { + this.resourceType(model.getResourceType()); + } + if (model.wasPropertyExplicitlySet("matchingOwners")) { + this.matchingOwners(model.getMatchingOwners()); + } + if (model.wasPropertyExplicitlySet("userWalletArtifact")) { + this.userWalletArtifact(model.getUserWalletArtifact()); + } + if (model.wasPropertyExplicitlySet("app")) { + this.app(model.getApp()); + } + if (model.wasPropertyExplicitlySet("owner")) { + this.owner(model.getOwner()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * Unique identifier of the Account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("uid") + private final String uid; + + /** + * Unique identifier of the Account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getUid() { + return uid; + } + + /** + * Name of the Account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Name of the Account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * Unique key for this AccountMgmtInfo, which is used to prevent duplicate AccountMgmtInfo + * resources. Key is composed of a subset of app, owner and accountType. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("compositeKey") + private final String compositeKey; + + /** + * Unique key for this AccountMgmtInfo, which is used to prevent duplicate AccountMgmtInfo + * resources. Key is composed of a subset of app, owner and accountType. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * server + * + * @return the value + */ + public String getCompositeKey() { + return compositeKey; + } + + /** + * If true, the account is activated + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private final Boolean active; + + /** + * If true, the account is activated + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getActive() { + return active; + } + + /** + * Type of Account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountType") + private final String accountType; + + /** + * Type of Account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getAccountType() { + return accountType; + } + + /** + * If true, indicates that this managed object is an account, which is an identity that + * represents a user in the context of a specific application + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAccount") + private final Boolean isAccount; + + /** + * If true, indicates that this managed object is an account, which is an identity that + * represents a user in the context of a specific application + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getIsAccount() { + return isAccount; + } + + /** + * If true, this account has been marked as a favorite of the User who owns it + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("favorite") + private final Boolean favorite; + + /** + * If true, this account has been marked as a favorite of the User who owns it + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getFavorite() { + return favorite; + } + + /** + * If true, the operation will not be performed on the target + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("doNotPerformActionOnTarget") + private final Boolean doNotPerformActionOnTarget; + + /** + * If true, the operation will not be performed on the target + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getDoNotPerformActionOnTarget() { + return doNotPerformActionOnTarget; + } + + /** + * If true, a back-fill grant will not be created for a connected managed app as part of account + * creation. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("doNotBackFillGrants") + private final Boolean doNotBackFillGrants; + + /** + * If true, a back-fill grant will not be created for a connected managed app as part of account + * creation. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getDoNotBackFillGrants() { + return doNotBackFillGrants; + } + + /** + * Last accessed timestamp of an application + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastAccessed") + private final String lastAccessed; + + /** + * Last accessed timestamp of an application + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + * + * @return the value + */ + public String getLastAccessed() { + return lastAccessed; + } + + /** + * Last sync timestamp of the account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("syncTimestamp") + private final String syncTimestamp; + + /** + * Last sync timestamp of the account + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + * + * @return the value + */ + public String getSyncTimestamp() { + return syncTimestamp; + } + + /** + * Last recorded sync situation for the account + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + public enum SyncSituation implements com.oracle.bmc.http.internal.BmcEnum { + Found("Found"), + Matched("Matched"), + Unmatched("Unmatched"), + Lost("Lost"), + Disputed("Disputed"), + Confirmed("Confirmed"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(SyncSituation.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SyncSituation v : SyncSituation.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + SyncSituation(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SyncSituation create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'SyncSituation', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Last recorded sync situation for the account + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("syncSituation") + private final SyncSituation syncSituation; + + /** + * Last recorded sync situation for the account + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public SyncSituation getSyncSituation() { + return syncSituation; + } + + /** + * Last recorded sync response for the account + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("syncResponse") + private final String syncResponse; + + /** + * Last recorded sync response for the account + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getSyncResponse() { + return syncResponse; + } + + /** + * If true, then the response to the account creation operation on a connected managed app + * returns a preview of the account data that is evaluated by the attribute value generation + * policy. Note that an account will not be created on the target application when this + * attribute is set to true. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("previewOnly") + private final Boolean previewOnly; + + /** + * If true, then the response to the account creation operation on a connected managed app + * returns a preview of the account data that is evaluated by the attribute value generation + * policy. Note that an account will not be created on the target application when this + * attribute is set to true. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getPreviewOnly() { + return previewOnly; + } + + /** + * The context in which the operation is performed on the account. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - mutability: readOnly - required: false - + * returned: default - type: string - uniqueness: none + */ + public enum OperationContext implements com.oracle.bmc.http.internal.BmcEnum { + LifeCycleEvent("LifeCycleEvent"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(OperationContext.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (OperationContext v : OperationContext.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + OperationContext(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static OperationContext create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'OperationContext', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * The context in which the operation is performed on the account. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - mutability: readOnly - required: false - + * returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("operationContext") + private final OperationContext operationContext; + + /** + * The context in which the operation is performed on the account. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - mutability: readOnly - required: false - + * returned: default - type: string - uniqueness: none + * + * @return the value + */ + public OperationContext getOperationContext() { + return operationContext; + } + + @com.fasterxml.jackson.annotation.JsonProperty("objectClass") + private final AccountMgmtInfoObjectClass objectClass; + + public AccountMgmtInfoObjectClass getObjectClass() { + return objectClass; + } + + @com.fasterxml.jackson.annotation.JsonProperty("resourceType") + private final AccountMgmtInfoResourceType resourceType; + + public AccountMgmtInfoResourceType getResourceType() { + return resourceType; + } + + /** + * Matching owning users of the account + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: + * true - mutability: readOnly - required: false - returned: default - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("matchingOwners") + private final java.util.List matchingOwners; + + /** + * Matching owning users of the account + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: + * true - mutability: readOnly - required: false - returned: default - type: complex - + * uniqueness: none + * + * @return the value + */ + public java.util.List getMatchingOwners() { + return matchingOwners; + } + + @com.fasterxml.jackson.annotation.JsonProperty("userWalletArtifact") + private final AccountMgmtInfoUserWalletArtifact userWalletArtifact; + + public AccountMgmtInfoUserWalletArtifact getUserWalletArtifact() { + return userWalletArtifact; + } + + @com.fasterxml.jackson.annotation.JsonProperty("app") + private final AccountMgmtInfoApp app; + + public AccountMgmtInfoApp getApp() { + return app; + } + + @com.fasterxml.jackson.annotation.JsonProperty("owner") + private final AccountMgmtInfoOwner owner; + + public AccountMgmtInfoOwner getOwner() { + return owner; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AccountMgmtInfo("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", uid=").append(String.valueOf(this.uid)); + sb.append(", name=").append(String.valueOf(this.name)); + sb.append(", compositeKey=").append(String.valueOf(this.compositeKey)); + sb.append(", active=").append(String.valueOf(this.active)); + sb.append(", accountType=").append(String.valueOf(this.accountType)); + sb.append(", isAccount=").append(String.valueOf(this.isAccount)); + sb.append(", favorite=").append(String.valueOf(this.favorite)); + sb.append(", doNotPerformActionOnTarget=") + .append(String.valueOf(this.doNotPerformActionOnTarget)); + sb.append(", doNotBackFillGrants=").append(String.valueOf(this.doNotBackFillGrants)); + sb.append(", lastAccessed=").append(String.valueOf(this.lastAccessed)); + sb.append(", syncTimestamp=").append(String.valueOf(this.syncTimestamp)); + sb.append(", syncSituation=").append(String.valueOf(this.syncSituation)); + sb.append(", syncResponse=").append(String.valueOf(this.syncResponse)); + sb.append(", previewOnly=").append(String.valueOf(this.previewOnly)); + sb.append(", operationContext=").append(String.valueOf(this.operationContext)); + sb.append(", objectClass=").append(String.valueOf(this.objectClass)); + sb.append(", resourceType=").append(String.valueOf(this.resourceType)); + sb.append(", matchingOwners=").append(String.valueOf(this.matchingOwners)); + sb.append(", userWalletArtifact=").append(String.valueOf(this.userWalletArtifact)); + sb.append(", app=").append(String.valueOf(this.app)); + sb.append(", owner=").append(String.valueOf(this.owner)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AccountMgmtInfo)) { + return false; + } + + AccountMgmtInfo other = (AccountMgmtInfo) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.uid, other.uid) + && java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.compositeKey, other.compositeKey) + && java.util.Objects.equals(this.active, other.active) + && java.util.Objects.equals(this.accountType, other.accountType) + && java.util.Objects.equals(this.isAccount, other.isAccount) + && java.util.Objects.equals(this.favorite, other.favorite) + && java.util.Objects.equals( + this.doNotPerformActionOnTarget, other.doNotPerformActionOnTarget) + && java.util.Objects.equals(this.doNotBackFillGrants, other.doNotBackFillGrants) + && java.util.Objects.equals(this.lastAccessed, other.lastAccessed) + && java.util.Objects.equals(this.syncTimestamp, other.syncTimestamp) + && java.util.Objects.equals(this.syncSituation, other.syncSituation) + && java.util.Objects.equals(this.syncResponse, other.syncResponse) + && java.util.Objects.equals(this.previewOnly, other.previewOnly) + && java.util.Objects.equals(this.operationContext, other.operationContext) + && java.util.Objects.equals(this.objectClass, other.objectClass) + && java.util.Objects.equals(this.resourceType, other.resourceType) + && java.util.Objects.equals(this.matchingOwners, other.matchingOwners) + && java.util.Objects.equals(this.userWalletArtifact, other.userWalletArtifact) + && java.util.Objects.equals(this.app, other.app) + && java.util.Objects.equals(this.owner, other.owner) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = (result * PRIME) + (this.uid == null ? 43 : this.uid.hashCode()); + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + (this.compositeKey == null ? 43 : this.compositeKey.hashCode()); + result = (result * PRIME) + (this.active == null ? 43 : this.active.hashCode()); + result = (result * PRIME) + (this.accountType == null ? 43 : this.accountType.hashCode()); + result = (result * PRIME) + (this.isAccount == null ? 43 : this.isAccount.hashCode()); + result = (result * PRIME) + (this.favorite == null ? 43 : this.favorite.hashCode()); + result = + (result * PRIME) + + (this.doNotPerformActionOnTarget == null + ? 43 + : this.doNotPerformActionOnTarget.hashCode()); + result = + (result * PRIME) + + (this.doNotBackFillGrants == null + ? 43 + : this.doNotBackFillGrants.hashCode()); + result = (result * PRIME) + (this.lastAccessed == null ? 43 : this.lastAccessed.hashCode()); + result = + (result * PRIME) + + (this.syncTimestamp == null ? 43 : this.syncTimestamp.hashCode()); + result = + (result * PRIME) + + (this.syncSituation == null ? 43 : this.syncSituation.hashCode()); + result = (result * PRIME) + (this.syncResponse == null ? 43 : this.syncResponse.hashCode()); + result = (result * PRIME) + (this.previewOnly == null ? 43 : this.previewOnly.hashCode()); + result = + (result * PRIME) + + (this.operationContext == null ? 43 : this.operationContext.hashCode()); + result = (result * PRIME) + (this.objectClass == null ? 43 : this.objectClass.hashCode()); + result = (result * PRIME) + (this.resourceType == null ? 43 : this.resourceType.hashCode()); + result = + (result * PRIME) + + (this.matchingOwners == null ? 43 : this.matchingOwners.hashCode()); + result = + (result * PRIME) + + (this.userWalletArtifact == null + ? 43 + : this.userWalletArtifact.hashCode()); + result = (result * PRIME) + (this.app == null ? 43 : this.app.hashCode()); + result = (result * PRIME) + (this.owner == null ? 43 : this.owner.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoApp.java new file mode 100644 index 00000000000..971f8a57edd --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoApp.java @@ -0,0 +1,1242 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Application on which the account is based + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: true - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AccountMgmtInfoApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AccountMgmtInfoApp + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "value", + "ref", + "display", + "description", + "isLoginTarget", + "showInMyApps", + "active", + "loginMechanism", + "appIcon", + "appThumbnail", + "isUnmanagedApp", + "isManagedApp", + "isAliasApp", + "isOPCService", + "serviceTypeURN", + "isAuthoritative", + "meterAsOPCService", + "isOAuthResource", + "audience" + }) + public AccountMgmtInfoApp( + String value, + String ref, + String display, + String description, + Boolean isLoginTarget, + Boolean showInMyApps, + Boolean active, + String loginMechanism, + String appIcon, + String appThumbnail, + Boolean isUnmanagedApp, + Boolean isManagedApp, + Boolean isAliasApp, + Boolean isOPCService, + String serviceTypeURN, + Boolean isAuthoritative, + Boolean meterAsOPCService, + Boolean isOAuthResource, + String audience) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + this.description = description; + this.isLoginTarget = isLoginTarget; + this.showInMyApps = showInMyApps; + this.active = active; + this.loginMechanism = loginMechanism; + this.appIcon = appIcon; + this.appThumbnail = appThumbnail; + this.isUnmanagedApp = isUnmanagedApp; + this.isManagedApp = isManagedApp; + this.isAliasApp = isAliasApp; + this.isOPCService = isOPCService; + this.serviceTypeURN = serviceTypeURN; + this.isAuthoritative = isAuthoritative; + this.meterAsOPCService = meterAsOPCService; + this.isOAuthResource = isOAuthResource; + this.audience = audience; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Application identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Application identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Application URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * Application URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Application display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Application display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * Application description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * Application description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + /** + * If true, this App allows runtime services to log end users in to this App automatically + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isLoginTarget") + private Boolean isLoginTarget; + + /** + * If true, this App allows runtime services to log end users in to this App automatically + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param isLoginTarget the value to set + * @return this builder + */ + public Builder isLoginTarget(Boolean isLoginTarget) { + this.isLoginTarget = isLoginTarget; + this.__explicitlySet__.add("isLoginTarget"); + return this; + } + /** + * If true, this App will be displayed in the MyApps page of each end-user who has access to + * the App. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("showInMyApps") + private Boolean showInMyApps; + + /** + * If true, this App will be displayed in the MyApps page of each end-user who has access to + * the App. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param showInMyApps the value to set + * @return this builder + */ + public Builder showInMyApps(Boolean showInMyApps) { + this.showInMyApps = showInMyApps; + this.__explicitlySet__.add("showInMyApps"); + return this; + } + /** + * If true, this App is able to participate in runtime services, such as automatic-login, + * OAuth, and SAML. If false, all runtime services are disabled for this App and only + * administrative operations can be performed. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private Boolean active; + + /** + * If true, this App is able to participate in runtime services, such as automatic-login, + * OAuth, and SAML. If false, all runtime services are disabled for this App and only + * administrative operations can be performed. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param active the value to set + * @return this builder + */ + public Builder active(Boolean active) { + this.active = active; + this.__explicitlySet__.add("active"); + return this; + } + /** + * The protocol that runtime services will use to log end users in to this App + * automatically. If 'OIDC', then runtime services use the OpenID Connect protocol. If + * 'SAML', then runtime services use the Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("loginMechanism") + private String loginMechanism; + + /** + * The protocol that runtime services will use to log end users in to this App + * automatically. If 'OIDC', then runtime services use the OpenID Connect protocol. If + * 'SAML', then runtime services use the Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param loginMechanism the value to set + * @return this builder + */ + public Builder loginMechanism(String loginMechanism) { + this.loginMechanism = loginMechanism; + this.__explicitlySet__.add("loginMechanism"); + return this; + } + /** + * Application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appIcon") + private String appIcon; + + /** + * Application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param appIcon the value to set + * @return this builder + */ + public Builder appIcon(String appIcon) { + this.appIcon = appIcon; + this.__explicitlySet__.add("appIcon"); + return this; + } + /** + * Application thumbnail. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appThumbnail") + private String appThumbnail; + + /** + * Application thumbnail. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param appThumbnail the value to set + * @return this builder + */ + public Builder appThumbnail(String appThumbnail) { + this.appThumbnail = appThumbnail; + this.__explicitlySet__.add("appThumbnail"); + return this; + } + /** + * If true, indicates that this application accepts an Oracle Identity Cloud Service user as + * a login-identity (does not require an account) and relies on authorization of the user's + * memberships in AppRoles + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isUnmanagedApp") + private Boolean isUnmanagedApp; + + /** + * If true, indicates that this application accepts an Oracle Identity Cloud Service user as + * a login-identity (does not require an account) and relies on authorization of the user's + * memberships in AppRoles + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param isUnmanagedApp the value to set + * @return this builder + */ + public Builder isUnmanagedApp(Boolean isUnmanagedApp) { + this.isUnmanagedApp = isUnmanagedApp; + this.__explicitlySet__.add("isUnmanagedApp"); + return this; + } + /** + * If true, indicates that access to this App requires an account. That is, in order to log + * in to the App, a User must use an application-specific identity that is maintained in the + * remote identity-repository of that App. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isManagedApp") + private Boolean isManagedApp; + + /** + * If true, indicates that access to this App requires an account. That is, in order to log + * in to the App, a User must use an application-specific identity that is maintained in the + * remote identity-repository of that App. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param isManagedApp the value to set + * @return this builder + */ + public Builder isManagedApp(Boolean isManagedApp) { + this.isManagedApp = isManagedApp; + this.__explicitlySet__.add("isManagedApp"); + return this; + } + /** + * If true, this App is an AliasApp and it cannot be granted to an end user directly + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAliasApp") + private Boolean isAliasApp; + + /** + * If true, this App is an AliasApp and it cannot be granted to an end user directly + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param isAliasApp the value to set + * @return this builder + */ + public Builder isAliasApp(Boolean isAliasApp) { + this.isAliasApp = isAliasApp; + this.__explicitlySet__.add("isAliasApp"); + return this; + } + /** + * If true, this application is an Oracle Public Cloud service-instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOPCService") + private Boolean isOPCService; + + /** + * If true, this application is an Oracle Public Cloud service-instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param isOPCService the value to set + * @return this builder + */ + public Builder isOPCService(Boolean isOPCService) { + this.isOPCService = isOPCService; + this.__explicitlySet__.add("isOPCService"); + return this; + } + /** + * This Uniform Resource Name (URN) value identifies the type of Oracle Public Cloud service + * of which this app is an instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceTypeURN") + private String serviceTypeURN; + + /** + * This Uniform Resource Name (URN) value identifies the type of Oracle Public Cloud service + * of which this app is an instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param serviceTypeURN the value to set + * @return this builder + */ + public Builder serviceTypeURN(String serviceTypeURN) { + this.serviceTypeURN = serviceTypeURN; + this.__explicitlySet__.add("serviceTypeURN"); + return this; + } + /** + * If true, sync from the managed app will be performed as authoritative sync. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAuthoritative") + private Boolean isAuthoritative; + + /** + * If true, sync from the managed app will be performed as authoritative sync. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param isAuthoritative the value to set + * @return this builder + */ + public Builder isAuthoritative(Boolean isAuthoritative) { + this.isAuthoritative = isAuthoritative; + this.__explicitlySet__.add("isAuthoritative"); + return this; + } + /** + * If true, customer is not billed for runtime operations of the app. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("meterAsOPCService") + private Boolean meterAsOPCService; + + /** + * If true, customer is not billed for runtime operations of the app. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param meterAsOPCService the value to set + * @return this builder + */ + public Builder meterAsOPCService(Boolean meterAsOPCService) { + this.meterAsOPCService = meterAsOPCService; + this.__explicitlySet__.add("meterAsOPCService"); + return this; + } + /** + * If true, indicates that this application acts as an OAuth Resource. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOAuthResource") + private Boolean isOAuthResource; + + /** + * If true, indicates that this application acts as an OAuth Resource. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param isOAuthResource the value to set + * @return this builder + */ + public Builder isOAuthResource(Boolean isOAuthResource) { + this.isOAuthResource = isOAuthResource; + this.__explicitlySet__.add("isOAuthResource"); + return this; + } + /** + * The base URI for all of the scopes defined in this App. The value of 'audience' is + * combined with the 'value' of each scope to form an 'fqs' or fully qualified scope. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("audience") + private String audience; + + /** + * The base URI for all of the scopes defined in this App. The value of 'audience' is + * combined with the 'value' of each scope to form an 'fqs' or fully qualified scope. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param audience the value to set + * @return this builder + */ + public Builder audience(String audience) { + this.audience = audience; + this.__explicitlySet__.add("audience"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AccountMgmtInfoApp build() { + AccountMgmtInfoApp model = + new AccountMgmtInfoApp( + this.value, + this.ref, + this.display, + this.description, + this.isLoginTarget, + this.showInMyApps, + this.active, + this.loginMechanism, + this.appIcon, + this.appThumbnail, + this.isUnmanagedApp, + this.isManagedApp, + this.isAliasApp, + this.isOPCService, + this.serviceTypeURN, + this.isAuthoritative, + this.meterAsOPCService, + this.isOAuthResource, + this.audience); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AccountMgmtInfoApp model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("isLoginTarget")) { + this.isLoginTarget(model.getIsLoginTarget()); + } + if (model.wasPropertyExplicitlySet("showInMyApps")) { + this.showInMyApps(model.getShowInMyApps()); + } + if (model.wasPropertyExplicitlySet("active")) { + this.active(model.getActive()); + } + if (model.wasPropertyExplicitlySet("loginMechanism")) { + this.loginMechanism(model.getLoginMechanism()); + } + if (model.wasPropertyExplicitlySet("appIcon")) { + this.appIcon(model.getAppIcon()); + } + if (model.wasPropertyExplicitlySet("appThumbnail")) { + this.appThumbnail(model.getAppThumbnail()); + } + if (model.wasPropertyExplicitlySet("isUnmanagedApp")) { + this.isUnmanagedApp(model.getIsUnmanagedApp()); + } + if (model.wasPropertyExplicitlySet("isManagedApp")) { + this.isManagedApp(model.getIsManagedApp()); + } + if (model.wasPropertyExplicitlySet("isAliasApp")) { + this.isAliasApp(model.getIsAliasApp()); + } + if (model.wasPropertyExplicitlySet("isOPCService")) { + this.isOPCService(model.getIsOPCService()); + } + if (model.wasPropertyExplicitlySet("serviceTypeURN")) { + this.serviceTypeURN(model.getServiceTypeURN()); + } + if (model.wasPropertyExplicitlySet("isAuthoritative")) { + this.isAuthoritative(model.getIsAuthoritative()); + } + if (model.wasPropertyExplicitlySet("meterAsOPCService")) { + this.meterAsOPCService(model.getMeterAsOPCService()); + } + if (model.wasPropertyExplicitlySet("isOAuthResource")) { + this.isOAuthResource(model.getIsOAuthResource()); + } + if (model.wasPropertyExplicitlySet("audience")) { + this.audience(model.getAudience()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Application identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Application identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Application URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * Application URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Application display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Application display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * Application description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * Application description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** + * If true, this App allows runtime services to log end users in to this App automatically + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isLoginTarget") + private final Boolean isLoginTarget; + + /** + * If true, this App allows runtime services to log end users in to this App automatically + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsLoginTarget() { + return isLoginTarget; + } + + /** + * If true, this App will be displayed in the MyApps page of each end-user who has access to the + * App. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("showInMyApps") + private final Boolean showInMyApps; + + /** + * If true, this App will be displayed in the MyApps page of each end-user who has access to the + * App. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getShowInMyApps() { + return showInMyApps; + } + + /** + * If true, this App is able to participate in runtime services, such as automatic-login, OAuth, + * and SAML. If false, all runtime services are disabled for this App and only administrative + * operations can be performed. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private final Boolean active; + + /** + * If true, this App is able to participate in runtime services, such as automatic-login, OAuth, + * and SAML. If false, all runtime services are disabled for this App and only administrative + * operations can be performed. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getActive() { + return active; + } + + /** + * The protocol that runtime services will use to log end users in to this App automatically. If + * 'OIDC', then runtime services use the OpenID Connect protocol. If 'SAML', then runtime + * services use the Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("loginMechanism") + private final String loginMechanism; + + /** + * The protocol that runtime services will use to log end users in to this App automatically. If + * 'OIDC', then runtime services use the OpenID Connect protocol. If 'SAML', then runtime + * services use the Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getLoginMechanism() { + return loginMechanism; + } + + /** + * Application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appIcon") + private final String appIcon; + + /** + * Application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getAppIcon() { + return appIcon; + } + + /** + * Application thumbnail. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appThumbnail") + private final String appThumbnail; + + /** + * Application thumbnail. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getAppThumbnail() { + return appThumbnail; + } + + /** + * If true, indicates that this application accepts an Oracle Identity Cloud Service user as a + * login-identity (does not require an account) and relies on authorization of the user's + * memberships in AppRoles + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isUnmanagedApp") + private final Boolean isUnmanagedApp; + + /** + * If true, indicates that this application accepts an Oracle Identity Cloud Service user as a + * login-identity (does not require an account) and relies on authorization of the user's + * memberships in AppRoles + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsUnmanagedApp() { + return isUnmanagedApp; + } + + /** + * If true, indicates that access to this App requires an account. That is, in order to log in + * to the App, a User must use an application-specific identity that is maintained in the remote + * identity-repository of that App. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isManagedApp") + private final Boolean isManagedApp; + + /** + * If true, indicates that access to this App requires an account. That is, in order to log in + * to the App, a User must use an application-specific identity that is maintained in the remote + * identity-repository of that App. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsManagedApp() { + return isManagedApp; + } + + /** + * If true, this App is an AliasApp and it cannot be granted to an end user directly + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAliasApp") + private final Boolean isAliasApp; + + /** + * If true, this App is an AliasApp and it cannot be granted to an end user directly + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsAliasApp() { + return isAliasApp; + } + + /** + * If true, this application is an Oracle Public Cloud service-instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOPCService") + private final Boolean isOPCService; + + /** + * If true, this application is an Oracle Public Cloud service-instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsOPCService() { + return isOPCService; + } + + /** + * This Uniform Resource Name (URN) value identifies the type of Oracle Public Cloud service of + * which this app is an instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceTypeURN") + private final String serviceTypeURN; + + /** + * This Uniform Resource Name (URN) value identifies the type of Oracle Public Cloud service of + * which this app is an instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getServiceTypeURN() { + return serviceTypeURN; + } + + /** + * If true, sync from the managed app will be performed as authoritative sync. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAuthoritative") + private final Boolean isAuthoritative; + + /** + * If true, sync from the managed app will be performed as authoritative sync. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsAuthoritative() { + return isAuthoritative; + } + + /** + * If true, customer is not billed for runtime operations of the app. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("meterAsOPCService") + private final Boolean meterAsOPCService; + + /** + * If true, customer is not billed for runtime operations of the app. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getMeterAsOPCService() { + return meterAsOPCService; + } + + /** + * If true, indicates that this application acts as an OAuth Resource. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOAuthResource") + private final Boolean isOAuthResource; + + /** + * If true, indicates that this application acts as an OAuth Resource. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsOAuthResource() { + return isOAuthResource; + } + + /** + * The base URI for all of the scopes defined in this App. The value of 'audience' is combined + * with the 'value' of each scope to form an 'fqs' or fully qualified scope. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("audience") + private final String audience; + + /** + * The base URI for all of the scopes defined in this App. The value of 'audience' is combined + * with the 'value' of each scope to form an 'fqs' or fully qualified scope. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getAudience() { + return audience; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AccountMgmtInfoApp("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", isLoginTarget=").append(String.valueOf(this.isLoginTarget)); + sb.append(", showInMyApps=").append(String.valueOf(this.showInMyApps)); + sb.append(", active=").append(String.valueOf(this.active)); + sb.append(", loginMechanism=").append(String.valueOf(this.loginMechanism)); + sb.append(", appIcon=").append(String.valueOf(this.appIcon)); + sb.append(", appThumbnail=").append(String.valueOf(this.appThumbnail)); + sb.append(", isUnmanagedApp=").append(String.valueOf(this.isUnmanagedApp)); + sb.append(", isManagedApp=").append(String.valueOf(this.isManagedApp)); + sb.append(", isAliasApp=").append(String.valueOf(this.isAliasApp)); + sb.append(", isOPCService=").append(String.valueOf(this.isOPCService)); + sb.append(", serviceTypeURN=").append(String.valueOf(this.serviceTypeURN)); + sb.append(", isAuthoritative=").append(String.valueOf(this.isAuthoritative)); + sb.append(", meterAsOPCService=").append(String.valueOf(this.meterAsOPCService)); + sb.append(", isOAuthResource=").append(String.valueOf(this.isOAuthResource)); + sb.append(", audience=").append(String.valueOf(this.audience)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AccountMgmtInfoApp)) { + return false; + } + + AccountMgmtInfoApp other = (AccountMgmtInfoApp) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.isLoginTarget, other.isLoginTarget) + && java.util.Objects.equals(this.showInMyApps, other.showInMyApps) + && java.util.Objects.equals(this.active, other.active) + && java.util.Objects.equals(this.loginMechanism, other.loginMechanism) + && java.util.Objects.equals(this.appIcon, other.appIcon) + && java.util.Objects.equals(this.appThumbnail, other.appThumbnail) + && java.util.Objects.equals(this.isUnmanagedApp, other.isUnmanagedApp) + && java.util.Objects.equals(this.isManagedApp, other.isManagedApp) + && java.util.Objects.equals(this.isAliasApp, other.isAliasApp) + && java.util.Objects.equals(this.isOPCService, other.isOPCService) + && java.util.Objects.equals(this.serviceTypeURN, other.serviceTypeURN) + && java.util.Objects.equals(this.isAuthoritative, other.isAuthoritative) + && java.util.Objects.equals(this.meterAsOPCService, other.meterAsOPCService) + && java.util.Objects.equals(this.isOAuthResource, other.isOAuthResource) + && java.util.Objects.equals(this.audience, other.audience) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = + (result * PRIME) + + (this.isLoginTarget == null ? 43 : this.isLoginTarget.hashCode()); + result = (result * PRIME) + (this.showInMyApps == null ? 43 : this.showInMyApps.hashCode()); + result = (result * PRIME) + (this.active == null ? 43 : this.active.hashCode()); + result = + (result * PRIME) + + (this.loginMechanism == null ? 43 : this.loginMechanism.hashCode()); + result = (result * PRIME) + (this.appIcon == null ? 43 : this.appIcon.hashCode()); + result = (result * PRIME) + (this.appThumbnail == null ? 43 : this.appThumbnail.hashCode()); + result = + (result * PRIME) + + (this.isUnmanagedApp == null ? 43 : this.isUnmanagedApp.hashCode()); + result = (result * PRIME) + (this.isManagedApp == null ? 43 : this.isManagedApp.hashCode()); + result = (result * PRIME) + (this.isAliasApp == null ? 43 : this.isAliasApp.hashCode()); + result = (result * PRIME) + (this.isOPCService == null ? 43 : this.isOPCService.hashCode()); + result = + (result * PRIME) + + (this.serviceTypeURN == null ? 43 : this.serviceTypeURN.hashCode()); + result = + (result * PRIME) + + (this.isAuthoritative == null ? 43 : this.isAuthoritative.hashCode()); + result = + (result * PRIME) + + (this.meterAsOPCService == null ? 43 : this.meterAsOPCService.hashCode()); + result = + (result * PRIME) + + (this.isOAuthResource == null ? 43 : this.isOAuthResource.hashCode()); + result = (result * PRIME) + (this.audience == null ? 43 : this.audience.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoMatchingOwners.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoMatchingOwners.java new file mode 100644 index 00000000000..4c257ee241a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoMatchingOwners.java @@ -0,0 +1,381 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Matching owning users of the account
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AccountMgmtInfoMatchingOwners.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AccountMgmtInfoMatchingOwners + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display", "userName", "email"}) + public AccountMgmtInfoMatchingOwners( + String value, String ref, String display, String userName, String email) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + this.userName = userName; + this.email = email; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * User Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * User Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * User display name + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * User display name + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * User name + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userName") + private String userName; + + /** + * User name + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param userName the value to set + * @return this builder + */ + public Builder userName(String userName) { + this.userName = userName; + this.__explicitlySet__.add("userName"); + return this; + } + /** + * The email address of this user + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("email") + private String email; + + /** + * The email address of this user + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param email the value to set + * @return this builder + */ + public Builder email(String email) { + this.email = email; + this.__explicitlySet__.add("email"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AccountMgmtInfoMatchingOwners build() { + AccountMgmtInfoMatchingOwners model = + new AccountMgmtInfoMatchingOwners( + this.value, this.ref, this.display, this.userName, this.email); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AccountMgmtInfoMatchingOwners model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("userName")) { + this.userName(model.getUserName()); + } + if (model.wasPropertyExplicitlySet("email")) { + this.email(model.getEmail()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * User Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * User Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * User display name + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * User display name + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * User name + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userName") + private final String userName; + + /** + * User name + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getUserName() { + return userName; + } + + /** + * The email address of this user + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("email") + private final String email; + + /** + * The email address of this user + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getEmail() { + return email; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AccountMgmtInfoMatchingOwners("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", userName=").append(String.valueOf(this.userName)); + sb.append(", email=").append(String.valueOf(this.email)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AccountMgmtInfoMatchingOwners)) { + return false; + } + + AccountMgmtInfoMatchingOwners other = (AccountMgmtInfoMatchingOwners) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.userName, other.userName) + && java.util.Objects.equals(this.email, other.email) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.userName == null ? 43 : this.userName.hashCode()); + result = (result * PRIME) + (this.email == null ? 43 : this.email.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoObjectClass.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoObjectClass.java new file mode 100644 index 00000000000..accba4482a4 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoObjectClass.java @@ -0,0 +1,258 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Object-class of the Account + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AccountMgmtInfoObjectClass.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AccountMgmtInfoObjectClass + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display"}) + public AccountMgmtInfoObjectClass(String value, String ref, String display) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Object-class Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Object-class Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Object-class URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * Object-class URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Object-class display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Object-class display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AccountMgmtInfoObjectClass build() { + AccountMgmtInfoObjectClass model = + new AccountMgmtInfoObjectClass(this.value, this.ref, this.display); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AccountMgmtInfoObjectClass model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Object-class Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Object-class Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Object-class URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * Object-class URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Object-class display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Object-class display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AccountMgmtInfoObjectClass("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AccountMgmtInfoObjectClass)) { + return false; + } + + AccountMgmtInfoObjectClass other = (AccountMgmtInfoObjectClass) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoOwner.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoOwner.java new file mode 100644 index 00000000000..242fd0b6761 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoOwner.java @@ -0,0 +1,368 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Owning user of the account + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AccountMgmtInfoOwner.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AccountMgmtInfoOwner + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display", "userName", "email"}) + public AccountMgmtInfoOwner( + String value, String ref, String display, String userName, String email) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + this.userName = userName; + this.email = email; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * User Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * User Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * User display name + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * User display name + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * User name + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userName") + private String userName; + + /** + * User name + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param userName the value to set + * @return this builder + */ + public Builder userName(String userName) { + this.userName = userName; + this.__explicitlySet__.add("userName"); + return this; + } + /** + * The email address of this user + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("email") + private String email; + + /** + * The email address of this user + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param email the value to set + * @return this builder + */ + public Builder email(String email) { + this.email = email; + this.__explicitlySet__.add("email"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AccountMgmtInfoOwner build() { + AccountMgmtInfoOwner model = + new AccountMgmtInfoOwner( + this.value, this.ref, this.display, this.userName, this.email); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AccountMgmtInfoOwner model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("userName")) { + this.userName(model.getUserName()); + } + if (model.wasPropertyExplicitlySet("email")) { + this.email(model.getEmail()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * User Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * User Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * User display name + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * User display name + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * User name + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userName") + private final String userName; + + /** + * User name + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getUserName() { + return userName; + } + + /** + * The email address of this user + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("email") + private final String email; + + /** + * The email address of this user + * + *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getEmail() { + return email; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AccountMgmtInfoOwner("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", userName=").append(String.valueOf(this.userName)); + sb.append(", email=").append(String.valueOf(this.email)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AccountMgmtInfoOwner)) { + return false; + } + + AccountMgmtInfoOwner other = (AccountMgmtInfoOwner) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.userName, other.userName) + && java.util.Objects.equals(this.email, other.email) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.userName == null ? 43 : this.userName.hashCode()); + result = (result * PRIME) + (this.email == null ? 43 : this.email.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoResourceType.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoResourceType.java new file mode 100644 index 00000000000..3bf88b1e857 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoResourceType.java @@ -0,0 +1,258 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Resource Type of the Account + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AccountMgmtInfoResourceType.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AccountMgmtInfoResourceType + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display"}) + public AccountMgmtInfoResourceType(String value, String ref, String display) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Resource Type Identifier + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Resource Type Identifier + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Resource Type URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * Resource Type URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Resource Type display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Resource Type display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AccountMgmtInfoResourceType build() { + AccountMgmtInfoResourceType model = + new AccountMgmtInfoResourceType(this.value, this.ref, this.display); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AccountMgmtInfoResourceType model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Resource Type Identifier + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Resource Type Identifier + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Resource Type URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * Resource Type URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Resource Type display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Resource Type display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AccountMgmtInfoResourceType("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AccountMgmtInfoResourceType)) { + return false; + } + + AccountMgmtInfoResourceType other = (AccountMgmtInfoResourceType) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoSearchRequest.java new file mode 100644 index 00000000000..edc6e068cf6 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoSearchRequest.java @@ -0,0 +1,538 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Clients MAY execute queries without passing parameters on the URL by using the HTTP POST verb + * combined with the **.search** path extension. The inclusion of **.search** on the end of a valid + * SCIM endpoint SHALL be used to indicate the HTTP POST verb is intended to be a query operation. + * To create a new query result set, a SCIM client sends an HTTP POST request to the desired SCIM + * resource endpoint (ending in **.search**). The body of the POST request MAY include any of the + * parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AccountMgmtInfoSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AccountMgmtInfoSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "attributes", + "attributeSets", + "filter", + "sortBy", + "sortOrder", + "startIndex", + "count" + }) + public AccountMgmtInfoSearchRequest( + java.util.List schemas, + java.util.List attributes, + java.util.List attributeSets, + String filter, + String sortBy, + SortOrder sortOrder, + Integer startIndex, + Integer count) { + super(); + this.schemas = schemas; + this.attributes = attributes; + this.attributeSets = attributeSets; + this.filter = filter; + this.sortBy = sortBy; + this.sortOrder = sortOrder; + this.startIndex = startIndex; + this.count = count; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @param attributes the value to set + * @return this builder + */ + public Builder attributes(java.util.List attributes) { + this.attributes = attributes; + this.__explicitlySet__.add("attributes"); + return this; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + * + * @param attributeSets the value to set + * @return this builder + */ + public Builder attributeSets(java.util.List attributeSets) { + this.attributeSets = attributeSets; + this.__explicitlySet__.add("attributeSets"); + return this; + } + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @param filter the value to set + * @return this builder + */ + public Builder filter(String filter) { + this.filter = filter; + this.__explicitlySet__.add("filter"); + return this; + } + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + * + * @param sortBy the value to set + * @return this builder + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + this.__explicitlySet__.add("sortBy"); + return this; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder + */ + public Builder sortOrder(SortOrder sortOrder) { + this.sortOrder = sortOrder; + this.__explicitlySet__.add("sortOrder"); + return this; + } + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @param count the value to set + * @return this builder + */ + public Builder count(Integer count) { + this.count = count; + this.__explicitlySet__.add("count"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AccountMgmtInfoSearchRequest build() { + AccountMgmtInfoSearchRequest model = + new AccountMgmtInfoSearchRequest( + this.schemas, + this.attributes, + this.attributeSets, + this.filter, + this.sortBy, + this.sortOrder, + this.startIndex, + this.count); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AccountMgmtInfoSearchRequest model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("attributes")) { + this.attributes(model.getAttributes()); + } + if (model.wasPropertyExplicitlySet("attributeSets")) { + this.attributeSets(model.getAttributeSets()); + } + if (model.wasPropertyExplicitlySet("filter")) { + this.filter(model.getFilter()); + } + if (model.wasPropertyExplicitlySet("sortBy")) { + this.sortBy(model.getSortBy()); + } + if (model.wasPropertyExplicitlySet("sortOrder")) { + this.sortOrder(model.getSortOrder()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("count")) { + this.count(model.getCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private final java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private final java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private final String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @return the value + */ + public String getFilter() { + return filter; + } + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private final String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + * + * @return the value + */ + public String getSortBy() { + return sortBy; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private final SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @return the value + */ + public SortOrder getSortOrder() { + return sortOrder; + } + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private final Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @return the value + */ + public Integer getCount() { + return count; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AccountMgmtInfoSearchRequest("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", attributes=").append(String.valueOf(this.attributes)); + sb.append(", attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(", filter=").append(String.valueOf(this.filter)); + sb.append(", sortBy=").append(String.valueOf(this.sortBy)); + sb.append(", sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", count=").append(String.valueOf(this.count)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AccountMgmtInfoSearchRequest)) { + return false; + } + + AccountMgmtInfoSearchRequest other = (AccountMgmtInfoSearchRequest) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoUserWalletArtifact.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoUserWalletArtifact.java new file mode 100644 index 00000000000..18e742ee822 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfoUserWalletArtifact.java @@ -0,0 +1,208 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The UserWalletArtifact that contains the credentials that the system will use when performing + * Secure Form-Fill to log the user in to this application + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AccountMgmtInfoUserWalletArtifact.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AccountMgmtInfoUserWalletArtifact + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public AccountMgmtInfoUserWalletArtifact(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * UserWalletArtifact identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * UserWalletArtifact identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * UserWalletArtifact URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * UserWalletArtifact URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AccountMgmtInfoUserWalletArtifact build() { + AccountMgmtInfoUserWalletArtifact model = + new AccountMgmtInfoUserWalletArtifact(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AccountMgmtInfoUserWalletArtifact model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * UserWalletArtifact identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * UserWalletArtifact identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * UserWalletArtifact URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * UserWalletArtifact URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AccountMgmtInfoUserWalletArtifact("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AccountMgmtInfoUserWalletArtifact)) { + return false; + } + + AccountMgmtInfoUserWalletArtifact other = (AccountMgmtInfoUserWalletArtifact) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfos.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfos.java new file mode 100644 index 00000000000..b65d67b991e --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountMgmtInfos.java @@ -0,0 +1,357 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AccountMgmtInfos.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AccountMgmtInfos + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public AccountMgmtInfos( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AccountMgmtInfos build() { + AccountMgmtInfos model = + new AccountMgmtInfos( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AccountMgmtInfos model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AccountMgmtInfos("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AccountMgmtInfos)) { + return false; + } + + AccountMgmtInfos other = (AccountMgmtInfos) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountRecoverySetting.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountRecoverySetting.java new file mode 100644 index 00000000000..4f79f4c008e --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountRecoverySetting.java @@ -0,0 +1,1141 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Account Recovery Settings
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AccountRecoverySetting.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AccountRecoverySetting + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "externalId", + "factors", + "maxIncorrectAttempts", + "lockoutDuration" + }) + public AccountRecoverySetting( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + String externalId, + java.util.List factors, + Integer maxIncorrectAttempts, + Integer lockoutDuration) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.externalId = externalId; + this.factors = factors; + this.maxIncorrectAttempts = maxIncorrectAttempts; + this.lockoutDuration = lockoutDuration; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the + * need to store a local mapping between the local identifier of the Resource and the + * identifier used by the Service Provider. Each Resource MAY include a non-empty externalId + * value. The value of the externalId attribute is always issued by the Service Consumer and + * can never be specified by the Service Provider. The Service Provider MUST always + * interpret the externalId as scoped to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("externalId") + private String externalId; + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the + * need to store a local mapping between the local identifier of the Resource and the + * identifier used by the Service Provider. Each Resource MAY include a non-empty externalId + * value. The value of the externalId attribute is always issued by the Service Consumer and + * can never be specified by the Service Provider. The Service Provider MUST always + * interpret the externalId as scoped to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @param externalId the value to set + * @return this builder + */ + public Builder externalId(String externalId) { + this.externalId = externalId; + this.__explicitlySet__.add("externalId"); + return this; + } + /** + * The account recovery factor used (for example, email, mobile number (SMS), security + * questions, mobile application push or TOTP) to verify the identity of the user and reset + * the user's password. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("factors") + private java.util.List factors; + + /** + * The account recovery factor used (for example, email, mobile number (SMS), security + * questions, mobile application push or TOTP) to verify the identity of the user and reset + * the user's password. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param factors the value to set + * @return this builder + */ + public Builder factors(java.util.List factors) { + this.factors = factors; + this.__explicitlySet__.add("factors"); + return this; + } + /** + * Indicates the maximum number of failed account recovery attempts allowed for the user. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: true - returned: default - type: integer - uniqueness: none - idcsMinValue: 1 + * - idcsMaxValue: 99 + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxIncorrectAttempts") + private Integer maxIncorrectAttempts; + + /** + * Indicates the maximum number of failed account recovery attempts allowed for the user. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: true - returned: default - type: integer - uniqueness: none - idcsMinValue: 1 + * - idcsMaxValue: 99 + * + * @param maxIncorrectAttempts the value to set + * @return this builder + */ + public Builder maxIncorrectAttempts(Integer maxIncorrectAttempts) { + this.maxIncorrectAttempts = maxIncorrectAttempts; + this.__explicitlySet__.add("maxIncorrectAttempts"); + return this; + } + /** + * Indicates how many minutes to disable account recovery for the user. The default value is + * 30 metric minutes. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: true - returned: default - type: integer - uniqueness: none - idcsMinValue: 5 + * - idcsMaxValue: 9999 + */ + @com.fasterxml.jackson.annotation.JsonProperty("lockoutDuration") + private Integer lockoutDuration; + + /** + * Indicates how many minutes to disable account recovery for the user. The default value is + * 30 metric minutes. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: true - returned: default - type: integer - uniqueness: none - idcsMinValue: 5 + * - idcsMaxValue: 9999 + * + * @param lockoutDuration the value to set + * @return this builder + */ + public Builder lockoutDuration(Integer lockoutDuration) { + this.lockoutDuration = lockoutDuration; + this.__explicitlySet__.add("lockoutDuration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AccountRecoverySetting build() { + AccountRecoverySetting model = + new AccountRecoverySetting( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.externalId, + this.factors, + this.maxIncorrectAttempts, + this.lockoutDuration); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AccountRecoverySetting model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("externalId")) { + this.externalId(model.getExternalId()); + } + if (model.wasPropertyExplicitlySet("factors")) { + this.factors(model.getFactors()); + } + if (model.wasPropertyExplicitlySet("maxIncorrectAttempts")) { + this.maxIncorrectAttempts(model.getMaxIncorrectAttempts()); + } + if (model.wasPropertyExplicitlySet("lockoutDuration")) { + this.lockoutDuration(model.getLockoutDuration()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the need to + * store a local mapping between the local identifier of the Resource and the identifier used by + * the Service Provider. Each Resource MAY include a non-empty externalId value. The value of + * the externalId attribute is always issued by the Service Consumer and can never be specified + * by the Service Provider. The Service Provider MUST always interpret the externalId as scoped + * to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("externalId") + private final String externalId; + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the need to + * store a local mapping between the local identifier of the Resource and the identifier used by + * the Service Provider. Each Resource MAY include a non-empty externalId value. The value of + * the externalId attribute is always issued by the Service Consumer and can never be specified + * by the Service Provider. The Service Provider MUST always interpret the externalId as scoped + * to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getExternalId() { + return externalId; + } + + /** */ + public enum Factors implements com.oracle.bmc.http.internal.BmcEnum { + Email("email"), + Sms("sms"), + Secquestions("secquestions"), + Push("push"), + Totp("totp"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(Factors.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Factors v : Factors.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Factors(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Factors create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Factors', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * The account recovery factor used (for example, email, mobile number (SMS), security + * questions, mobile application push or TOTP) to verify the identity of the user and reset the + * user's password. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("factors") + private final java.util.List factors; + + /** + * The account recovery factor used (for example, email, mobile number (SMS), security + * questions, mobile application push or TOTP) to verify the identity of the user and reset the + * user's password. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getFactors() { + return factors; + } + + /** + * Indicates the maximum number of failed account recovery attempts allowed for the user. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: integer - uniqueness: none - idcsMinValue: 1 - + * idcsMaxValue: 99 + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxIncorrectAttempts") + private final Integer maxIncorrectAttempts; + + /** + * Indicates the maximum number of failed account recovery attempts allowed for the user. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: integer - uniqueness: none - idcsMinValue: 1 - + * idcsMaxValue: 99 + * + * @return the value + */ + public Integer getMaxIncorrectAttempts() { + return maxIncorrectAttempts; + } + + /** + * Indicates how many minutes to disable account recovery for the user. The default value is 30 + * metric minutes. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: integer - uniqueness: none - idcsMinValue: 5 - + * idcsMaxValue: 9999 + */ + @com.fasterxml.jackson.annotation.JsonProperty("lockoutDuration") + private final Integer lockoutDuration; + + /** + * Indicates how many minutes to disable account recovery for the user. The default value is 30 + * metric minutes. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: integer - uniqueness: none - idcsMinValue: 5 - + * idcsMaxValue: 9999 + * + * @return the value + */ + public Integer getLockoutDuration() { + return lockoutDuration; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AccountRecoverySetting("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", externalId=").append(String.valueOf(this.externalId)); + sb.append(", factors=").append(String.valueOf(this.factors)); + sb.append(", maxIncorrectAttempts=").append(String.valueOf(this.maxIncorrectAttempts)); + sb.append(", lockoutDuration=").append(String.valueOf(this.lockoutDuration)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AccountRecoverySetting)) { + return false; + } + + AccountRecoverySetting other = (AccountRecoverySetting) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.externalId, other.externalId) + && java.util.Objects.equals(this.factors, other.factors) + && java.util.Objects.equals(this.maxIncorrectAttempts, other.maxIncorrectAttempts) + && java.util.Objects.equals(this.lockoutDuration, other.lockoutDuration) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = (result * PRIME) + (this.externalId == null ? 43 : this.externalId.hashCode()); + result = (result * PRIME) + (this.factors == null ? 43 : this.factors.hashCode()); + result = + (result * PRIME) + + (this.maxIncorrectAttempts == null + ? 43 + : this.maxIncorrectAttempts.hashCode()); + result = + (result * PRIME) + + (this.lockoutDuration == null ? 43 : this.lockoutDuration.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountRecoverySettings.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountRecoverySettings.java new file mode 100644 index 00000000000..5ead8ee4549 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AccountRecoverySettings.java @@ -0,0 +1,358 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AccountRecoverySettings.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AccountRecoverySettings + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public AccountRecoverySettings( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AccountRecoverySettings build() { + AccountRecoverySettings model = + new AccountRecoverySettings( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AccountRecoverySettings model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AccountRecoverySettings("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AccountRecoverySettings)) { + return false; + } + + AccountRecoverySettings other = (AccountRecoverySettings) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ApiKey.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ApiKey.java index cfd6dc95882..8596c7e43b2 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ApiKey.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ApiKey.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User's api key
+ * The user's API key.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ApiKeyUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ApiKeyUser.java index dc54b369660..73287517f53 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ApiKeyUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ApiKeyUser.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User linked to api key + * The user linked to the API key. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: default - type: complex - uniqueness: none @@ -38,7 +38,7 @@ public ApiKeyUser(String value, String ocid, String ref, String display, String @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -48,7 +48,7 @@ public static class Builder { private String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -63,7 +63,7 @@ public Builder value(String value) { return this; } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -73,7 +73,7 @@ public Builder value(String value) { private String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -88,7 +88,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -98,7 +98,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -113,7 +113,7 @@ public Builder ref(String ref) { return this; } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -123,7 +123,7 @@ public Builder ref(String ref) { private String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -138,7 +138,7 @@ public Builder display(String display) { return this; } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -148,7 +148,7 @@ public Builder display(String display) { private String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -206,7 +206,7 @@ public Builder toBuilder() { } /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -215,7 +215,7 @@ public Builder toBuilder() { private final String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -227,7 +227,7 @@ public String getValue() { } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -236,7 +236,7 @@ public String getValue() { private final String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -248,7 +248,7 @@ public String getOcid() { } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -258,7 +258,7 @@ public String getOcid() { private final String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -271,7 +271,7 @@ public String getRef() { } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -280,7 +280,7 @@ public String getRef() { private final String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -292,7 +292,7 @@ public String getDisplay() { } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -301,7 +301,7 @@ public String getDisplay() { private final String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/App.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/App.java new file mode 100644 index 00000000000..87a2cbc07e7 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/App.java @@ -0,0 +1,7168 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Schema for App resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = App.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class App extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "meterAsOPCService", + "name", + "clientSecret", + "hashedClientSecret", + "displayName", + "description", + "idTokenEncAlgo", + "delegatedServiceNames", + "active", + "appIcon", + "appThumbnail", + "migrated", + "infrastructure", + "isLoginTarget", + "showInMyApps", + "loginMechanism", + "landingPageUrl", + "productLogoUrl", + "privacyPolicyUrl", + "termsOfServiceUrl", + "contactEmailAddress", + "productName", + "homePageUrl", + "isFormFill", + "isOAuthClient", + "isRadiusApp", + "clientType", + "redirectUris", + "allUrlSchemesAllowed", + "logoutUri", + "postLogoutRedirectUris", + "allowedGrants", + "allowedOperations", + "clientIPChecking", + "isOPCService", + "isUnmanagedApp", + "allowAccessControl", + "isOAuthResource", + "accessTokenExpiry", + "refreshTokenExpiry", + "allowOffline", + "callbackServiceUrl", + "audience", + "isMobileTarget", + "loginPageUrl", + "linkingCallbackUrl", + "logoutPageUrl", + "errorPageUrl", + "isSamlServiceProvider", + "isWebTierPolicy", + "isKerberosRealm", + "icon", + "isAliasApp", + "isManagedApp", + "serviceTypeURN", + "serviceTypeVersion", + "isObligationCapable", + "readyToUpgrade", + "trustScope", + "isDatabaseService", + "secondaryAudiences", + "isEnterpriseApp", + "bypassConsent", + "disableKmsiTokenAuthentication", + "isMulticloudServiceApp", + "radiusPolicy", + "appsNetworkPerimeters", + "cloudControlProperties", + "editableAttributes", + "termsOfUse", + "protectableSecondaryAudiences", + "idpPolicy", + "allowedTags", + "appSignonPolicy", + "trustPolicies", + "signonPolicy", + "identityProviders", + "accounts", + "grants", + "serviceParams", + "attrRenderingMetadata", + "basedOnTemplate", + "grantedAppRoles", + "samlServiceProvider", + "allowedScopes", + "certificates", + "aliasApps", + "asOPCService", + "adminRoles", + "userRoles", + "scopes", + "urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp", + "urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp", + "urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp", + "urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp", + "urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate", + "urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp", + "urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp", + "urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp", + "urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp", + "urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp", + "urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp", + "urnIetfParamsScimSchemasOracleIdcsExtensionOciTags", + "urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp" + }) + public App( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + Boolean meterAsOPCService, + String name, + String clientSecret, + String hashedClientSecret, + String displayName, + String description, + String idTokenEncAlgo, + java.util.List delegatedServiceNames, + Boolean active, + String appIcon, + String appThumbnail, + Boolean migrated, + Boolean infrastructure, + Boolean isLoginTarget, + Boolean showInMyApps, + LoginMechanism loginMechanism, + String landingPageUrl, + String productLogoUrl, + String privacyPolicyUrl, + String termsOfServiceUrl, + String contactEmailAddress, + String productName, + String homePageUrl, + Boolean isFormFill, + Boolean isOAuthClient, + Boolean isRadiusApp, + ClientType clientType, + java.util.List redirectUris, + Boolean allUrlSchemesAllowed, + String logoutUri, + java.util.List postLogoutRedirectUris, + java.util.List allowedGrants, + java.util.List allowedOperations, + ClientIPChecking clientIPChecking, + Boolean isOPCService, + Boolean isUnmanagedApp, + Boolean allowAccessControl, + Boolean isOAuthResource, + Integer accessTokenExpiry, + Integer refreshTokenExpiry, + Boolean allowOffline, + String callbackServiceUrl, + String audience, + Boolean isMobileTarget, + String loginPageUrl, + String linkingCallbackUrl, + String logoutPageUrl, + String errorPageUrl, + Boolean isSamlServiceProvider, + Boolean isWebTierPolicy, + Boolean isKerberosRealm, + String icon, + Boolean isAliasApp, + Boolean isManagedApp, + String serviceTypeURN, + String serviceTypeVersion, + Boolean isObligationCapable, + Boolean readyToUpgrade, + TrustScope trustScope, + Boolean isDatabaseService, + java.util.List secondaryAudiences, + Boolean isEnterpriseApp, + Boolean bypassConsent, + Boolean disableKmsiTokenAuthentication, + Boolean isMulticloudServiceApp, + AppRadiusPolicy radiusPolicy, + java.util.List appsNetworkPerimeters, + java.util.List cloudControlProperties, + java.util.List editableAttributes, + AppTermsOfUse termsOfUse, + java.util.List protectableSecondaryAudiences, + AppIdpPolicy idpPolicy, + java.util.List allowedTags, + AppAppSignonPolicy appSignonPolicy, + java.util.List trustPolicies, + AppSignonPolicy signonPolicy, + java.util.List identityProviders, + java.util.List accounts, + java.util.List grants, + java.util.List serviceParams, + java.util.List attrRenderingMetadata, + AppBasedOnTemplate basedOnTemplate, + java.util.List grantedAppRoles, + AppSamlServiceProvider samlServiceProvider, + java.util.List allowedScopes, + java.util.List certificates, + java.util.List aliasApps, + AppAsOPCService asOPCService, + java.util.List adminRoles, + java.util.List userRoles, + java.util.List scopes, + AppExtensionRadiusAppApp urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp, + AppExtensionSamlServiceProviderApp + urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp, + AppExtensionWebTierPolicyApp + urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp, + AppExtensionManagedappApp urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp, + AppExtensionFormFillAppTemplateAppTemplate + urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate, + AppExtensionOpcServiceApp urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp, + AppExtensionKerberosRealmApp + urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp, + AppExtensionRequestableApp urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp, + AppExtensionFormFillAppApp urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp, + AppExtensionDbcsApp urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp, + AppExtensionEnterpriseAppApp + urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp, + ExtensionOCITags urnIetfParamsScimSchemasOracleIdcsExtensionOciTags, + AppExtensionMulticloudServiceAppApp + urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.meterAsOPCService = meterAsOPCService; + this.name = name; + this.clientSecret = clientSecret; + this.hashedClientSecret = hashedClientSecret; + this.displayName = displayName; + this.description = description; + this.idTokenEncAlgo = idTokenEncAlgo; + this.delegatedServiceNames = delegatedServiceNames; + this.active = active; + this.appIcon = appIcon; + this.appThumbnail = appThumbnail; + this.migrated = migrated; + this.infrastructure = infrastructure; + this.isLoginTarget = isLoginTarget; + this.showInMyApps = showInMyApps; + this.loginMechanism = loginMechanism; + this.landingPageUrl = landingPageUrl; + this.productLogoUrl = productLogoUrl; + this.privacyPolicyUrl = privacyPolicyUrl; + this.termsOfServiceUrl = termsOfServiceUrl; + this.contactEmailAddress = contactEmailAddress; + this.productName = productName; + this.homePageUrl = homePageUrl; + this.isFormFill = isFormFill; + this.isOAuthClient = isOAuthClient; + this.isRadiusApp = isRadiusApp; + this.clientType = clientType; + this.redirectUris = redirectUris; + this.allUrlSchemesAllowed = allUrlSchemesAllowed; + this.logoutUri = logoutUri; + this.postLogoutRedirectUris = postLogoutRedirectUris; + this.allowedGrants = allowedGrants; + this.allowedOperations = allowedOperations; + this.clientIPChecking = clientIPChecking; + this.isOPCService = isOPCService; + this.isUnmanagedApp = isUnmanagedApp; + this.allowAccessControl = allowAccessControl; + this.isOAuthResource = isOAuthResource; + this.accessTokenExpiry = accessTokenExpiry; + this.refreshTokenExpiry = refreshTokenExpiry; + this.allowOffline = allowOffline; + this.callbackServiceUrl = callbackServiceUrl; + this.audience = audience; + this.isMobileTarget = isMobileTarget; + this.loginPageUrl = loginPageUrl; + this.linkingCallbackUrl = linkingCallbackUrl; + this.logoutPageUrl = logoutPageUrl; + this.errorPageUrl = errorPageUrl; + this.isSamlServiceProvider = isSamlServiceProvider; + this.isWebTierPolicy = isWebTierPolicy; + this.isKerberosRealm = isKerberosRealm; + this.icon = icon; + this.isAliasApp = isAliasApp; + this.isManagedApp = isManagedApp; + this.serviceTypeURN = serviceTypeURN; + this.serviceTypeVersion = serviceTypeVersion; + this.isObligationCapable = isObligationCapable; + this.readyToUpgrade = readyToUpgrade; + this.trustScope = trustScope; + this.isDatabaseService = isDatabaseService; + this.secondaryAudiences = secondaryAudiences; + this.isEnterpriseApp = isEnterpriseApp; + this.bypassConsent = bypassConsent; + this.disableKmsiTokenAuthentication = disableKmsiTokenAuthentication; + this.isMulticloudServiceApp = isMulticloudServiceApp; + this.radiusPolicy = radiusPolicy; + this.appsNetworkPerimeters = appsNetworkPerimeters; + this.cloudControlProperties = cloudControlProperties; + this.editableAttributes = editableAttributes; + this.termsOfUse = termsOfUse; + this.protectableSecondaryAudiences = protectableSecondaryAudiences; + this.idpPolicy = idpPolicy; + this.allowedTags = allowedTags; + this.appSignonPolicy = appSignonPolicy; + this.trustPolicies = trustPolicies; + this.signonPolicy = signonPolicy; + this.identityProviders = identityProviders; + this.accounts = accounts; + this.grants = grants; + this.serviceParams = serviceParams; + this.attrRenderingMetadata = attrRenderingMetadata; + this.basedOnTemplate = basedOnTemplate; + this.grantedAppRoles = grantedAppRoles; + this.samlServiceProvider = samlServiceProvider; + this.allowedScopes = allowedScopes; + this.certificates = certificates; + this.aliasApps = aliasApps; + this.asOPCService = asOPCService; + this.adminRoles = adminRoles; + this.userRoles = userRoles; + this.scopes = scopes; + this.urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp = + urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp; + this.urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp = + urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp; + this.urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp = + urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp; + this.urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp = + urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp; + this.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate = + urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate; + this.urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp = + urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp; + this.urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp = + urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp; + this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp = + urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp; + this.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp = + urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp; + this.urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp = + urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp; + this.urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp = + urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp; + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciTags = + urnIetfParamsScimSchemasOracleIdcsExtensionOciTags; + this.urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp = + urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * Indicates whether the application is billed as an OPCService. If true, customer is not + * billed for runtime operations of the app. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: always - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("meterAsOPCService") + private Boolean meterAsOPCService; + + /** + * Indicates whether the application is billed as an OPCService. If true, customer is not + * billed for runtime operations of the app. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: always - type: boolean - uniqueness: none + * + * @param meterAsOPCService the value to set + * @return this builder + */ + public Builder meterAsOPCService(Boolean meterAsOPCService) { + this.meterAsOPCService = meterAsOPCService; + this.__explicitlySet__.add("meterAsOPCService"); + return this; + } + /** + * Name of the application. Also serves as username if the application authenticates to + * Oracle Public Cloud infrastructure. This name may not be user-friendly and cannot be + * changed once an App is created. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Name of the application. Also serves as username if the application authenticates to + * Oracle Public Cloud infrastructure. This name may not be user-friendly and cannot be + * changed once an App is created. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * This value is the credential of this App, which this App supplies as a password when this + * App authenticates to the Oracle Public Cloud infrastructure. This value is also the + * client secret of this App when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: none + * - multiValued: false - mutability: readOnly - required: false - returned: default - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("clientSecret") + private String clientSecret; + + /** + * This value is the credential of this App, which this App supplies as a password when this + * App authenticates to the Oracle Public Cloud infrastructure. This value is also the + * client secret of this App when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: none + * - multiValued: false - mutability: readOnly - required: false - returned: default - type: + * string - uniqueness: none + * + * @param clientSecret the value to set + * @return this builder + */ + public Builder clientSecret(String clientSecret) { + this.clientSecret = clientSecret; + this.__explicitlySet__.add("clientSecret"); + return this; + } + /** + * Hashed Client Secret. This hash-value is used to verify the 'clientSecret' credential of + * this App + * + *

*Added In:** 2106240046 + * + *

*SCIM++ Properties:** - idcsSearchable: false - idcsSensitive: hash_sc - multiValued: + * false - mutability: readOnly - required: false - returned: request - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("hashedClientSecret") + private String hashedClientSecret; + + /** + * Hashed Client Secret. This hash-value is used to verify the 'clientSecret' credential of + * this App + * + *

*Added In:** 2106240046 + * + *

*SCIM++ Properties:** - idcsSearchable: false - idcsSensitive: hash_sc - multiValued: + * false - mutability: readOnly - required: false - returned: request - type: string - + * uniqueness: none + * + * @param hashedClientSecret the value to set + * @return this builder + */ + public Builder hashedClientSecret(String hashedClientSecret) { + this.hashedClientSecret = hashedClientSecret; + this.__explicitlySet__.add("hashedClientSecret"); + return this; + } + /** + * Display name of the application. Display name is intended to be user-friendly, and an + * administrator can change the value at any time. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * Display name of the application. Display name is intended to be user-friendly, and an + * administrator can change the value at any time. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * server + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Description of the application. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * Description of the application. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + /** + * Encryption Alogrithm to use for encrypting ID token. + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idTokenEncAlgo") + private String idTokenEncAlgo; + + /** + * Encryption Alogrithm to use for encrypting ID token. + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param idTokenEncAlgo the value to set + * @return this builder + */ + public Builder idTokenEncAlgo(String idTokenEncAlgo) { + this.idTokenEncAlgo = idTokenEncAlgo; + this.__explicitlySet__.add("idTokenEncAlgo"); + return this; + } + /** + * Service Names allow to use OCI signature for client authentication instead of client + * credentials + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("delegatedServiceNames") + private java.util.List delegatedServiceNames; + + /** + * Service Names allow to use OCI signature for client authentication instead of client + * credentials + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param delegatedServiceNames the value to set + * @return this builder + */ + public Builder delegatedServiceNames(java.util.List delegatedServiceNames) { + this.delegatedServiceNames = delegatedServiceNames; + this.__explicitlySet__.add("delegatedServiceNames"); + return this; + } + /** + * If true, this App is able to participate in runtime services, such as automatic-login, + * OAuth, and SAML. If false, all runtime services are disabled for this App, and only + * administrative operations can be performed. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private Boolean active; + + /** + * If true, this App is able to participate in runtime services, such as automatic-login, + * OAuth, and SAML. If false, all runtime services are disabled for this App, and only + * administrative operations can be performed. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param active the value to set + * @return this builder + */ + public Builder active(Boolean active) { + this.active = active; + this.__explicitlySet__.add("active"); + return this; + } + /** + * Application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appIcon") + private String appIcon; + + /** + * Application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: string - uniqueness: none + * + * @param appIcon the value to set + * @return this builder + */ + public Builder appIcon(String appIcon) { + this.appIcon = appIcon; + this.__explicitlySet__.add("appIcon"); + return this; + } + /** + * Application thumbnail. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appThumbnail") + private String appThumbnail; + + /** + * Application thumbnail. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: string - uniqueness: none + * + * @param appThumbnail the value to set + * @return this builder + */ + public Builder appThumbnail(String appThumbnail) { + this.appThumbnail = appThumbnail; + this.__explicitlySet__.add("appThumbnail"); + return this; + } + /** + * If true, this App was migrated from an earlier version of Oracle Public Cloud + * infrastructure (and may therefore require special handling from runtime services such as + * OAuth or SAML). If false, this App requires no special handling from runtime services. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("migrated") + private Boolean migrated; + + /** + * If true, this App was migrated from an earlier version of Oracle Public Cloud + * infrastructure (and may therefore require special handling from runtime services such as + * OAuth or SAML). If false, this App requires no special handling from runtime services. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param migrated the value to set + * @return this builder + */ + public Builder migrated(Boolean migrated) { + this.migrated = migrated; + this.__explicitlySet__.add("migrated"); + return this; + } + /** + * If true, this App is an internal infrastructure App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("infrastructure") + private Boolean infrastructure; + + /** + * If true, this App is an internal infrastructure App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param infrastructure the value to set + * @return this builder + */ + public Builder infrastructure(Boolean infrastructure) { + this.infrastructure = infrastructure; + this.__explicitlySet__.add("infrastructure"); + return this; + } + /** + * If true, this App allows runtime services to log end users into this App automatically. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isLoginTarget") + private Boolean isLoginTarget; + + /** + * If true, this App allows runtime services to log end users into this App automatically. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isLoginTarget the value to set + * @return this builder + */ + public Builder isLoginTarget(Boolean isLoginTarget) { + this.isLoginTarget = isLoginTarget; + this.__explicitlySet__.add("isLoginTarget"); + return this; + } + /** + * If true, this app will be displayed in the MyApps page of each end-user who has access to + * the App. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("showInMyApps") + private Boolean showInMyApps; + + /** + * If true, this app will be displayed in the MyApps page of each end-user who has access to + * the App. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param showInMyApps the value to set + * @return this builder + */ + public Builder showInMyApps(Boolean showInMyApps) { + this.showInMyApps = showInMyApps; + this.__explicitlySet__.add("showInMyApps"); + return this; + } + /** + * The protocol that runtime services will use to log end users in to this App + * automatically. If 'OIDC', then runtime services use the OpenID Connect protocol. If + * 'SAML', then runtime services use Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("loginMechanism") + private LoginMechanism loginMechanism; + + /** + * The protocol that runtime services will use to log end users in to this App + * automatically. If 'OIDC', then runtime services use the OpenID Connect protocol. If + * 'SAML', then runtime services use Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param loginMechanism the value to set + * @return this builder + */ + public Builder loginMechanism(LoginMechanism loginMechanism) { + this.loginMechanism = loginMechanism; + this.__explicitlySet__.add("loginMechanism"); + return this; + } + /** + * The URL of the landing page for this App, which is the first page that an end user should + * see if runtime services log that end user in to this App automatically. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("landingPageUrl") + private String landingPageUrl; + + /** + * The URL of the landing page for this App, which is the first page that an end user should + * see if runtime services log that end user in to this App automatically. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param landingPageUrl the value to set + * @return this builder + */ + public Builder landingPageUrl(String landingPageUrl) { + this.landingPageUrl = landingPageUrl; + this.__explicitlySet__.add("landingPageUrl"); + return this; + } + /** + * Application Logo URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("productLogoUrl") + private String productLogoUrl; + + /** + * Application Logo URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param productLogoUrl the value to set + * @return this builder + */ + public Builder productLogoUrl(String productLogoUrl) { + this.productLogoUrl = productLogoUrl; + this.__explicitlySet__.add("productLogoUrl"); + return this; + } + /** + * Privacy Policy URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("privacyPolicyUrl") + private String privacyPolicyUrl; + + /** + * Privacy Policy URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param privacyPolicyUrl the value to set + * @return this builder + */ + public Builder privacyPolicyUrl(String privacyPolicyUrl) { + this.privacyPolicyUrl = privacyPolicyUrl; + this.__explicitlySet__.add("privacyPolicyUrl"); + return this; + } + /** + * Terms of Service URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("termsOfServiceUrl") + private String termsOfServiceUrl; + + /** + * Terms of Service URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param termsOfServiceUrl the value to set + * @return this builder + */ + public Builder termsOfServiceUrl(String termsOfServiceUrl) { + this.termsOfServiceUrl = termsOfServiceUrl; + this.__explicitlySet__.add("termsOfServiceUrl"); + return this; + } + /** + * Contact Email Address + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("contactEmailAddress") + private String contactEmailAddress; + + /** + * Contact Email Address + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param contactEmailAddress the value to set + * @return this builder + */ + public Builder contactEmailAddress(String contactEmailAddress) { + this.contactEmailAddress = contactEmailAddress; + this.__explicitlySet__.add("contactEmailAddress"); + return this; + } + /** + * Product Name + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("productName") + private String productName; + + /** + * Product Name + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param productName the value to set + * @return this builder + */ + public Builder productName(String productName) { + this.productName = productName; + this.__explicitlySet__.add("productName"); + return this; + } + /** + * Home Page URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("homePageUrl") + private String homePageUrl; + + /** + * Home Page URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param homePageUrl the value to set + * @return this builder + */ + public Builder homePageUrl(String homePageUrl) { + this.homePageUrl = homePageUrl; + this.__explicitlySet__.add("homePageUrl"); + return this; + } + /** + * If true, this application acts as FormFill Application + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isFormFill") + private Boolean isFormFill; + + /** + * If true, this application acts as FormFill Application + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isFormFill the value to set + * @return this builder + */ + public Builder isFormFill(Boolean isFormFill) { + this.isFormFill = isFormFill; + this.__explicitlySet__.add("isFormFill"); + return this; + } + /** + * If true, this application acts as an OAuth Client + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOAuthClient") + private Boolean isOAuthClient; + + /** + * If true, this application acts as an OAuth Client + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isOAuthClient the value to set + * @return this builder + */ + public Builder isOAuthClient(Boolean isOAuthClient) { + this.isOAuthClient = isOAuthClient; + this.__explicitlySet__.add("isOAuthClient"); + return this; + } + /** + * If true, this application acts as an Radius App + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isRadiusApp") + private Boolean isRadiusApp; + + /** + * If true, this application acts as an Radius App + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isRadiusApp the value to set + * @return this builder + */ + public Builder isRadiusApp(Boolean isRadiusApp) { + this.isRadiusApp = isRadiusApp; + this.__explicitlySet__.add("isRadiusApp"); + return this; + } + /** + * Specifies the type of access that this App has when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("clientType") + private ClientType clientType; + + /** + * Specifies the type of access that this App has when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param clientType the value to set + * @return this builder + */ + public Builder clientType(ClientType clientType) { + this.clientType = clientType; + this.__explicitlySet__.add("clientType"); + return this; + } + /** + * OPTIONAL. Each value is a URI within this App. This attribute is required when this App + * acts as an OAuthClient and is involved in three-legged flows (authorization-code flows). + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("redirectUris") + private java.util.List redirectUris; + + /** + * OPTIONAL. Each value is a URI within this App. This attribute is required when this App + * acts as an OAuthClient and is involved in three-legged flows (authorization-code flows). + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param redirectUris the value to set + * @return this builder + */ + public Builder redirectUris(java.util.List redirectUris) { + this.redirectUris = redirectUris; + this.__explicitlySet__.add("redirectUris"); + return this; + } + /** + * If true, indicates that the system should allow all URL-schemes within each value of the + * 'redirectUris' attribute. Also indicates that the system should not attempt to confirm + * that each value of the 'redirectUris' attribute is a valid URI. In particular, the system + * should not confirm that the domain component of the URI is a top-level domain and the + * system should not confirm that the hostname portion is a valid system that is reachable + * over the network. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allUrlSchemesAllowed") + private Boolean allUrlSchemesAllowed; + + /** + * If true, indicates that the system should allow all URL-schemes within each value of the + * 'redirectUris' attribute. Also indicates that the system should not attempt to confirm + * that each value of the 'redirectUris' attribute is a valid URI. In particular, the system + * should not confirm that the domain component of the URI is a top-level domain and the + * system should not confirm that the hostname portion is a valid system that is reachable + * over the network. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param allUrlSchemesAllowed the value to set + * @return this builder + */ + public Builder allUrlSchemesAllowed(Boolean allUrlSchemesAllowed) { + this.allUrlSchemesAllowed = allUrlSchemesAllowed; + this.__explicitlySet__.add("allUrlSchemesAllowed"); + return this; + } + /** + * OAuth will use this URI to logout if this App wants to participate in SSO, and if this + * App's session gets cleared as part of global logout. Note: This attribute is used only if + * this App acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("logoutUri") + private String logoutUri; + + /** + * OAuth will use this URI to logout if this App wants to participate in SSO, and if this + * App's session gets cleared as part of global logout. Note: This attribute is used only if + * this App acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param logoutUri the value to set + * @return this builder + */ + public Builder logoutUri(String logoutUri) { + this.logoutUri = logoutUri; + this.__explicitlySet__.add("logoutUri"); + return this; + } + /** + * Each value of this attribute is the URI of a landing page within this App. It is used + * only when this App, acting as an OAuthClient, initiates the logout flow and wants to be + * redirected back to one of its landing pages. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("postLogoutRedirectUris") + private java.util.List postLogoutRedirectUris; + + /** + * Each value of this attribute is the URI of a landing page within this App. It is used + * only when this App, acting as an OAuthClient, initiates the logout flow and wants to be + * redirected back to one of its landing pages. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param postLogoutRedirectUris the value to set + * @return this builder + */ + public Builder postLogoutRedirectUris(java.util.List postLogoutRedirectUris) { + this.postLogoutRedirectUris = postLogoutRedirectUris; + this.__explicitlySet__.add("postLogoutRedirectUris"); + return this; + } + /** + * List of grant-types that this App is allowed to use when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowedGrants") + private java.util.List allowedGrants; + + /** + * List of grant-types that this App is allowed to use when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param allowedGrants the value to set + * @return this builder + */ + public Builder allowedGrants(java.util.List allowedGrants) { + this.allowedGrants = allowedGrants; + this.__explicitlySet__.add("allowedGrants"); + return this; + } + /** + * OPTIONAL. Required only when this App acts as an OAuthClient. Supported values are + * 'introspect' and 'onBehalfOfUser'. The value 'introspect' allows the client to look + * inside the access-token. The value 'onBehalfOfUser' overrides how the client's privileges + * are combined with the privileges of the Subject User. Ordinarily, authorization + * calculates the set of effective privileges as the intersection of the client's privileges + * and the user's privileges. The value 'onBehalfOf' indicates that authorization should + * ignore the privileges of the client and use only the user's privileges to calculate the + * effective privileges. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowedOperations") + private java.util.List allowedOperations; + + /** + * OPTIONAL. Required only when this App acts as an OAuthClient. Supported values are + * 'introspect' and 'onBehalfOfUser'. The value 'introspect' allows the client to look + * inside the access-token. The value 'onBehalfOfUser' overrides how the client's privileges + * are combined with the privileges of the Subject User. Ordinarily, authorization + * calculates the set of effective privileges as the intersection of the client's privileges + * and the user's privileges. The value 'onBehalfOf' indicates that authorization should + * ignore the privileges of the client and use only the user's privileges to calculate the + * effective privileges. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param allowedOperations the value to set + * @return this builder + */ + public Builder allowedOperations(java.util.List allowedOperations) { + this.allowedOperations = allowedOperations; + this.__explicitlySet__.add("allowedOperations"); + return this; + } + /** + * Network Perimeters checking mode + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("clientIPChecking") + private ClientIPChecking clientIPChecking; + + /** + * Network Perimeters checking mode + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param clientIPChecking the value to set + * @return this builder + */ + public Builder clientIPChecking(ClientIPChecking clientIPChecking) { + this.clientIPChecking = clientIPChecking; + this.__explicitlySet__.add("clientIPChecking"); + return this; + } + /** + * If true, this application is an Oracle Public Cloud service-instance. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOPCService") + private Boolean isOPCService; + + /** + * If true, this application is an Oracle Public Cloud service-instance. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isOPCService the value to set + * @return this builder + */ + public Builder isOPCService(Boolean isOPCService) { + this.isOPCService = isOPCService; + this.__explicitlySet__.add("isOPCService"); + return this; + } + /** + * If true, indicates that this application accepts an Oracle Cloud Identity Service User as + * a login-identity (does not require an account) and relies for authorization on the User's + * memberships in AppRoles. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isUnmanagedApp") + private Boolean isUnmanagedApp; + + /** + * If true, indicates that this application accepts an Oracle Cloud Identity Service User as + * a login-identity (does not require an account) and relies for authorization on the User's + * memberships in AppRoles. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isUnmanagedApp the value to set + * @return this builder + */ + public Builder isUnmanagedApp(Boolean isUnmanagedApp) { + this.isUnmanagedApp = isUnmanagedApp; + this.__explicitlySet__.add("isUnmanagedApp"); + return this; + } + /** + * If true, any managed App that is based on this template is checked for access control + * that is, access to this app is subject to successful authorization at SSO service, viz. + * app grants to start with. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowAccessControl") + private Boolean allowAccessControl; + + /** + * If true, any managed App that is based on this template is checked for access control + * that is, access to this app is subject to successful authorization at SSO service, viz. + * app grants to start with. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param allowAccessControl the value to set + * @return this builder + */ + public Builder allowAccessControl(Boolean allowAccessControl) { + this.allowAccessControl = allowAccessControl; + this.__explicitlySet__.add("allowAccessControl"); + return this; + } + /** + * If true, indicates that this application acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOAuthResource") + private Boolean isOAuthResource; + + /** + * If true, indicates that this application acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isOAuthResource the value to set + * @return this builder + */ + public Builder isOAuthResource(Boolean isOAuthResource) { + this.isOAuthResource = isOAuthResource; + this.__explicitlySet__.add("isOAuthResource"); + return this; + } + /** + * Expiry-time in seconds for an Access Token. Any token that allows access to this App will + * expire after the specified duration. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accessTokenExpiry") + private Integer accessTokenExpiry; + + /** + * Expiry-time in seconds for an Access Token. Any token that allows access to this App will + * expire after the specified duration. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + * + * @param accessTokenExpiry the value to set + * @return this builder + */ + public Builder accessTokenExpiry(Integer accessTokenExpiry) { + this.accessTokenExpiry = accessTokenExpiry; + this.__explicitlySet__.add("accessTokenExpiry"); + return this; + } + /** + * Expiry-time in seconds for a Refresh Token. Any token that allows access to this App, + * once refreshed, will expire after the specified duration. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("refreshTokenExpiry") + private Integer refreshTokenExpiry; + + /** + * Expiry-time in seconds for a Refresh Token. Any token that allows access to this App, + * once refreshed, will expire after the specified duration. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + * + * @param refreshTokenExpiry the value to set + * @return this builder + */ + public Builder refreshTokenExpiry(Integer refreshTokenExpiry) { + this.refreshTokenExpiry = refreshTokenExpiry; + this.__explicitlySet__.add("refreshTokenExpiry"); + return this; + } + /** + * If true, indicates that the Refresh Token is allowed when this App acts as an OAuth + * Resource. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowOffline") + private Boolean allowOffline; + + /** + * If true, indicates that the Refresh Token is allowed when this App acts as an OAuth + * Resource. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param allowOffline the value to set + * @return this builder + */ + public Builder allowOffline(Boolean allowOffline) { + this.allowOffline = allowOffline; + this.__explicitlySet__.add("allowOffline"); + return this; + } + /** + * Callback Service URL + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("callbackServiceUrl") + private String callbackServiceUrl; + + /** + * Callback Service URL + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param callbackServiceUrl the value to set + * @return this builder + */ + public Builder callbackServiceUrl(String callbackServiceUrl) { + this.callbackServiceUrl = callbackServiceUrl; + this.__explicitlySet__.add("callbackServiceUrl"); + return this; + } + /** + * The base URI for all of the scopes defined in this App. The value of 'audience' is + * combined with the 'value' of each scope to form an 'fqs' or fully qualified scope. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("audience") + private String audience; + + /** + * The base URI for all of the scopes defined in this App. The value of 'audience' is + * combined with the 'value' of each scope to form an 'fqs' or fully qualified scope. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param audience the value to set + * @return this builder + */ + public Builder audience(String audience) { + this.audience = audience; + this.__explicitlySet__.add("audience"); + return this; + } + /** + * If true, indicates that the App should be visible in each end-user's mobile application. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isMobileTarget") + private Boolean isMobileTarget; + + /** + * If true, indicates that the App should be visible in each end-user's mobile application. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isMobileTarget the value to set + * @return this builder + */ + public Builder isMobileTarget(Boolean isMobileTarget) { + this.isMobileTarget = isMobileTarget; + this.__explicitlySet__.add("isMobileTarget"); + return this; + } + /** + * This attribute specifies the URL of the page that the App uses when an end-user signs in + * to that App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("loginPageUrl") + private String loginPageUrl; + + /** + * This attribute specifies the URL of the page that the App uses when an end-user signs in + * to that App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param loginPageUrl the value to set + * @return this builder + */ + public Builder loginPageUrl(String loginPageUrl) { + this.loginPageUrl = loginPageUrl; + this.__explicitlySet__.add("loginPageUrl"); + return this; + } + /** + * This attribute specifies the callback URL for the social linking operation. + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("linkingCallbackUrl") + private String linkingCallbackUrl; + + /** + * This attribute specifies the callback URL for the social linking operation. + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param linkingCallbackUrl the value to set + * @return this builder + */ + public Builder linkingCallbackUrl(String linkingCallbackUrl) { + this.linkingCallbackUrl = linkingCallbackUrl; + this.__explicitlySet__.add("linkingCallbackUrl"); + return this; + } + /** + * This attribute specifies the URL of the page that the App uses when an end-user signs + * out. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("logoutPageUrl") + private String logoutPageUrl; + + /** + * This attribute specifies the URL of the page that the App uses when an end-user signs + * out. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param logoutPageUrl the value to set + * @return this builder + */ + public Builder logoutPageUrl(String logoutPageUrl) { + this.logoutPageUrl = logoutPageUrl; + this.__explicitlySet__.add("logoutPageUrl"); + return this; + } + /** + * This attribute specifies the URL of the page to which an application will redirect an + * end-user in case of error. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("errorPageUrl") + private String errorPageUrl; + + /** + * This attribute specifies the URL of the page to which an application will redirect an + * end-user in case of error. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param errorPageUrl the value to set + * @return this builder + */ + public Builder errorPageUrl(String errorPageUrl) { + this.errorPageUrl = errorPageUrl; + this.__explicitlySet__.add("errorPageUrl"); + return this; + } + /** + * If true, then this App acts as a SAML Service Provider. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isSamlServiceProvider") + private Boolean isSamlServiceProvider; + + /** + * If true, then this App acts as a SAML Service Provider. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isSamlServiceProvider the value to set + * @return this builder + */ + public Builder isSamlServiceProvider(Boolean isSamlServiceProvider) { + this.isSamlServiceProvider = isSamlServiceProvider; + this.__explicitlySet__.add("isSamlServiceProvider"); + return this; + } + /** + * If true, the webtier policy is active + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isWebTierPolicy") + private Boolean isWebTierPolicy; + + /** + * If true, the webtier policy is active + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isWebTierPolicy the value to set + * @return this builder + */ + public Builder isWebTierPolicy(Boolean isWebTierPolicy) { + this.isWebTierPolicy = isWebTierPolicy; + this.__explicitlySet__.add("isWebTierPolicy"); + return this; + } + /** + * If true, indicates that this App supports Kerberos Authentication + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isKerberosRealm") + private Boolean isKerberosRealm; + + /** + * If true, indicates that this App supports Kerberos Authentication + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isKerberosRealm the value to set + * @return this builder + */ + public Builder isKerberosRealm(Boolean isKerberosRealm) { + this.isKerberosRealm = isKerberosRealm; + this.__explicitlySet__.add("isKerberosRealm"); + return this; + } + /** + * URL of application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("icon") + private String icon; + + /** + * URL of application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: reference - uniqueness: none + * + * @param icon the value to set + * @return this builder + */ + public Builder icon(String icon) { + this.icon = icon; + this.__explicitlySet__.add("icon"); + return this; + } + /** + * If true, this App is an AliasApp and it cannot be granted to an end-user directly. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: always - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAliasApp") + private Boolean isAliasApp; + + /** + * If true, this App is an AliasApp and it cannot be granted to an end-user directly. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: always - type: boolean - uniqueness: none + * + * @param isAliasApp the value to set + * @return this builder + */ + public Builder isAliasApp(Boolean isAliasApp) { + this.isAliasApp = isAliasApp; + this.__explicitlySet__.add("isAliasApp"); + return this; + } + /** + * If true, indicates that access to this App requires an account. That is, in order to log + * in to the App, a User must use an application-specific identity that is maintained in the + * remote identity-repository of that App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isManagedApp") + private Boolean isManagedApp; + + /** + * If true, indicates that access to this App requires an account. That is, in order to log + * in to the App, a User must use an application-specific identity that is maintained in the + * remote identity-repository of that App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isManagedApp the value to set + * @return this builder + */ + public Builder isManagedApp(Boolean isManagedApp) { + this.isManagedApp = isManagedApp; + this.__explicitlySet__.add("isManagedApp"); + return this; + } + /** + * This Uniform Resource Name (URN) value identifies the type of Oracle Public Cloud service + * of which this app is an instance. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceTypeURN") + private String serviceTypeURN; + + /** + * This Uniform Resource Name (URN) value identifies the type of Oracle Public Cloud service + * of which this app is an instance. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param serviceTypeURN the value to set + * @return this builder + */ + public Builder serviceTypeURN(String serviceTypeURN) { + this.serviceTypeURN = serviceTypeURN; + this.__explicitlySet__.add("serviceTypeURN"); + return this; + } + /** + * This value specifies the version of the Oracle Public Cloud service of which this App is + * an instance + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceTypeVersion") + private String serviceTypeVersion; + + /** + * This value specifies the version of the Oracle Public Cloud service of which this App is + * an instance + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param serviceTypeVersion the value to set + * @return this builder + */ + public Builder serviceTypeVersion(String serviceTypeVersion) { + this.serviceTypeVersion = serviceTypeVersion; + this.__explicitlySet__.add("serviceTypeVersion"); + return this; + } + /** + * This flag indicates if the App is capable of validating obligations with the token for + * allowing access to the App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isObligationCapable") + private Boolean isObligationCapable; + + /** + * This flag indicates if the App is capable of validating obligations with the token for + * allowing access to the App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param isObligationCapable the value to set + * @return this builder + */ + public Builder isObligationCapable(Boolean isObligationCapable) { + this.isObligationCapable = isObligationCapable; + this.__explicitlySet__.add("isObligationCapable"); + return this; + } + /** + * If true, this App requires an upgrade and mandates attention from application + * administrator. The flag is used by UI to indicate this app is ready to upgrade. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readyToUpgrade") + private Boolean readyToUpgrade; + + /** + * If true, this App requires an upgrade and mandates attention from application + * administrator. The flag is used by UI to indicate this app is ready to upgrade. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param readyToUpgrade the value to set + * @return this builder + */ + public Builder readyToUpgrade(Boolean readyToUpgrade) { + this.readyToUpgrade = readyToUpgrade; + this.__explicitlySet__.add("readyToUpgrade"); + return this; + } + /** + * Indicates the scope of trust for this App when acting as an OAuthClient. A value of + * 'Explicit' indicates that the App is allowed to access only the scopes of OAuthResources + * that are explicitly specified as 'allowedScopes'. A value of 'Account' indicates that the + * App is allowed implicitly to access any scope of any OAuthResource within the same Oracle + * Cloud Account. A value of 'Tags' indicates that the App is allowed to access any scope of + * any OAuthResource with a matching tag within the same Oracle Cloud Account. A value of + * 'Default' indicates that the Tenant default trust scope configured in the Tenant Settings + * is used. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustScope") + private TrustScope trustScope; + + /** + * Indicates the scope of trust for this App when acting as an OAuthClient. A value of + * 'Explicit' indicates that the App is allowed to access only the scopes of OAuthResources + * that are explicitly specified as 'allowedScopes'. A value of 'Account' indicates that the + * App is allowed implicitly to access any scope of any OAuthResource within the same Oracle + * Cloud Account. A value of 'Tags' indicates that the App is allowed to access any scope of + * any OAuthResource with a matching tag within the same Oracle Cloud Account. A value of + * 'Default' indicates that the Tenant default trust scope configured in the Tenant Settings + * is used. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param trustScope the value to set + * @return this builder + */ + public Builder trustScope(TrustScope trustScope) { + this.trustScope = trustScope; + this.__explicitlySet__.add("trustScope"); + return this; + } + /** + * If true, this application acts as database service Application + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("isDatabaseService") + private Boolean isDatabaseService; + + /** + * If true, this application acts as database service Application + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - type: boolean + * + * @param isDatabaseService the value to set + * @return this builder + */ + public Builder isDatabaseService(Boolean isDatabaseService) { + this.isDatabaseService = isDatabaseService; + this.__explicitlySet__.add("isDatabaseService"); + return this; + } + /** + * A list of secondary audiences--additional URIs to be added automatically to any OAuth + * token that allows access to this App. Note: This attribute is used mainly for backward + * compatibility in certain Oracle Public Cloud Apps. + * + *

*Deprecated Since: 18.2.6** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("secondaryAudiences") + private java.util.List secondaryAudiences; + + /** + * A list of secondary audiences--additional URIs to be added automatically to any OAuth + * token that allows access to this App. Note: This attribute is used mainly for backward + * compatibility in certain Oracle Public Cloud Apps. + * + *

*Deprecated Since: 18.2.6** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param secondaryAudiences the value to set + * @return this builder + */ + public Builder secondaryAudiences(java.util.List secondaryAudiences) { + this.secondaryAudiences = secondaryAudiences; + this.__explicitlySet__.add("secondaryAudiences"); + return this; + } + /** + * If true, this app acts as Enterprise app with Authentication and URL Authz policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isEnterpriseApp") + private Boolean isEnterpriseApp; + + /** + * If true, this app acts as Enterprise app with Authentication and URL Authz policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isEnterpriseApp the value to set + * @return this builder + */ + public Builder isEnterpriseApp(Boolean isEnterpriseApp) { + this.isEnterpriseApp = isEnterpriseApp; + this.__explicitlySet__.add("isEnterpriseApp"); + return this; + } + /** + * If true, indicates that consent should be skipped for all scopes + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("bypassConsent") + private Boolean bypassConsent; + + /** + * If true, indicates that consent should be skipped for all scopes + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param bypassConsent the value to set + * @return this builder + */ + public Builder bypassConsent(Boolean bypassConsent) { + this.bypassConsent = bypassConsent; + this.__explicitlySet__.add("bypassConsent"); + return this; + } + /** + * Indicates whether the application is allowed to be access using kmsi token. + * + *

*Added In:** 2111190457 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: always - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("disableKmsiTokenAuthentication") + private Boolean disableKmsiTokenAuthentication; + + /** + * Indicates whether the application is allowed to be access using kmsi token. + * + *

*Added In:** 2111190457 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: always - type: boolean - uniqueness: none + * + * @param disableKmsiTokenAuthentication the value to set + * @return this builder + */ + public Builder disableKmsiTokenAuthentication(Boolean disableKmsiTokenAuthentication) { + this.disableKmsiTokenAuthentication = disableKmsiTokenAuthentication; + this.__explicitlySet__.add("disableKmsiTokenAuthentication"); + return this; + } + /** + * If true, indicates the app is used for multicloud service integration. + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isMulticloudServiceApp") + private Boolean isMulticloudServiceApp; + + /** + * If true, indicates the app is used for multicloud service integration. + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isMulticloudServiceApp the value to set + * @return this builder + */ + public Builder isMulticloudServiceApp(Boolean isMulticloudServiceApp) { + this.isMulticloudServiceApp = isMulticloudServiceApp; + this.__explicitlySet__.add("isMulticloudServiceApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("radiusPolicy") + private AppRadiusPolicy radiusPolicy; + + public Builder radiusPolicy(AppRadiusPolicy radiusPolicy) { + this.radiusPolicy = radiusPolicy; + this.__explicitlySet__.add("radiusPolicy"); + return this; + } + /** + * Network Perimeter + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("appsNetworkPerimeters") + private java.util.List appsNetworkPerimeters; + + /** + * Network Perimeter + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex + * + * @param appsNetworkPerimeters the value to set + * @return this builder + */ + public Builder appsNetworkPerimeters( + java.util.List appsNetworkPerimeters) { + this.appsNetworkPerimeters = appsNetworkPerimeters; + this.__explicitlySet__.add("appsNetworkPerimeters"); + return this; + } + /** + * A collection of arbitrary properties that scope the privileges of a cloud-control App. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: false - + * multiValued: true - mutability: readOnly - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("cloudControlProperties") + private java.util.List cloudControlProperties; + + /** + * A collection of arbitrary properties that scope the privileges of a cloud-control App. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: false - + * multiValued: true - mutability: readOnly - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param cloudControlProperties the value to set + * @return this builder + */ + public Builder cloudControlProperties( + java.util.List cloudControlProperties) { + this.cloudControlProperties = cloudControlProperties; + this.__explicitlySet__.add("cloudControlProperties"); + return this; + } + /** + * App attributes editable by subject + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: + * false - multiValued: true - mutability: readOnly - required: false - returned: request - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("editableAttributes") + private java.util.List editableAttributes; + + /** + * App attributes editable by subject + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: + * false - multiValued: true - mutability: readOnly - required: false - returned: request - + * type: complex - uniqueness: none + * + * @param editableAttributes the value to set + * @return this builder + */ + public Builder editableAttributes( + java.util.List editableAttributes) { + this.editableAttributes = editableAttributes; + this.__explicitlySet__.add("editableAttributes"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("termsOfUse") + private AppTermsOfUse termsOfUse; + + public Builder termsOfUse(AppTermsOfUse termsOfUse) { + this.termsOfUse = termsOfUse; + this.__explicitlySet__.add("termsOfUse"); + return this; + } + /** + * A list of secondary audiences--additional URIs to be added automatically to any OAuth + * token that allows access to this App. Note: This attribute is used mainly for backward + * compatibility in certain Oracle Public Cloud Apps. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: + * false - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("protectableSecondaryAudiences") + private java.util.List protectableSecondaryAudiences; + + /** + * A list of secondary audiences--additional URIs to be added automatically to any OAuth + * token that allows access to this App. Note: This attribute is used mainly for backward + * compatibility in certain Oracle Public Cloud Apps. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: + * false - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + * + * @param protectableSecondaryAudiences the value to set + * @return this builder + */ + public Builder protectableSecondaryAudiences( + java.util.List protectableSecondaryAudiences) { + this.protectableSecondaryAudiences = protectableSecondaryAudiences; + this.__explicitlySet__.add("protectableSecondaryAudiences"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idpPolicy") + private AppIdpPolicy idpPolicy; + + public Builder idpPolicy(AppIdpPolicy idpPolicy) { + this.idpPolicy = idpPolicy; + this.__explicitlySet__.add("idpPolicy"); + return this; + } + /** + * A list of tags, acting as an OAuthClient, this App is allowed to access. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowedTags") + private java.util.List allowedTags; + + /** + * A list of tags, acting as an OAuthClient, this App is allowed to access. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex - uniqueness: none + * + * @param allowedTags the value to set + * @return this builder + */ + public Builder allowedTags(java.util.List allowedTags) { + this.allowedTags = allowedTags; + this.__explicitlySet__.add("allowedTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("appSignonPolicy") + private AppAppSignonPolicy appSignonPolicy; + + public Builder appSignonPolicy(AppAppSignonPolicy appSignonPolicy) { + this.appSignonPolicy = appSignonPolicy; + this.__explicitlySet__.add("appSignonPolicy"); + return this; + } + /** + * Trust Policies. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustPolicies") + private java.util.List trustPolicies; + + /** + * Trust Policies. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex + * + * @param trustPolicies the value to set + * @return this builder + */ + public Builder trustPolicies(java.util.List trustPolicies) { + this.trustPolicies = trustPolicies; + this.__explicitlySet__.add("trustPolicies"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("signonPolicy") + private AppSignonPolicy signonPolicy; + + public Builder signonPolicy(AppSignonPolicy signonPolicy) { + this.signonPolicy = signonPolicy; + this.__explicitlySet__.add("signonPolicy"); + return this; + } + /** + * A list of IdentityProvider assigned to app. A user trying to access this app will be + * automatically redirected to configured IdP during the authentication phase, before being + * able to access App. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: false - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("identityProviders") + private java.util.List identityProviders; + + /** + * A list of IdentityProvider assigned to app. A user trying to access this app will be + * automatically redirected to configured IdP during the authentication phase, before being + * able to access App. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: false - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex + * + * @param identityProviders the value to set + * @return this builder + */ + public Builder identityProviders(java.util.List identityProviders) { + this.identityProviders = identityProviders; + this.__explicitlySet__.add("identityProviders"); + return this; + } + /** + * Accounts of App + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readOnly - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accounts") + private java.util.List accounts; + + /** + * Accounts of App + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readOnly - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param accounts the value to set + * @return this builder + */ + public Builder accounts(java.util.List accounts) { + this.accounts = accounts; + this.__explicitlySet__.add("accounts"); + return this; + } + /** + * Grants assigned to the app + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readOnly - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("grants") + private java.util.List grants; + + /** + * Grants assigned to the app + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readOnly - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param grants the value to set + * @return this builder + */ + public Builder grants(java.util.List grants) { + this.grants = grants; + this.__explicitlySet__.add("grants"); + return this; + } + /** + * Custom attribute that is required to compute other attribute values during app creation. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: false - + * multiValued: true - mutability: readWrite - required: false - returned: always - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceParams") + private java.util.List serviceParams; + + /** + * Custom attribute that is required to compute other attribute values during app creation. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: false - + * multiValued: true - mutability: readWrite - required: false - returned: always - type: + * complex - uniqueness: none + * + * @param serviceParams the value to set + * @return this builder + */ + public Builder serviceParams(java.util.List serviceParams) { + this.serviceParams = serviceParams; + this.__explicitlySet__.add("serviceParams"); + return this; + } + /** + * Label for the attribute to be shown in the UI. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: false - + * multiValued: true - mutability: immutable - required: false - returned: default - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("attrRenderingMetadata") + private java.util.List attrRenderingMetadata; + + /** + * Label for the attribute to be shown in the UI. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: false - + * multiValued: true - mutability: immutable - required: false - returned: default - type: + * complex - uniqueness: none + * + * @param attrRenderingMetadata the value to set + * @return this builder + */ + public Builder attrRenderingMetadata( + java.util.List attrRenderingMetadata) { + this.attrRenderingMetadata = attrRenderingMetadata; + this.__explicitlySet__.add("attrRenderingMetadata"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("basedOnTemplate") + private AppBasedOnTemplate basedOnTemplate; + + public Builder basedOnTemplate(AppBasedOnTemplate basedOnTemplate) { + this.basedOnTemplate = basedOnTemplate; + this.__explicitlySet__.add("basedOnTemplate"); + return this; + } + /** + * A list of AppRoles that are granted to this App (and that are defined by other Apps). + * Within the Oracle Public Cloud infrastructure, this allows AppID-based association. Such + * an association allows this App to act as a consumer and thus to access resources of + * another App that acts as a producer. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: + * true - multiValued: true - mutability: readOnly - required: false - returned: default - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("grantedAppRoles") + private java.util.List grantedAppRoles; + + /** + * A list of AppRoles that are granted to this App (and that are defined by other Apps). + * Within the Oracle Public Cloud infrastructure, this allows AppID-based association. Such + * an association allows this App to act as a consumer and thus to access resources of + * another App that acts as a producer. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: + * true - multiValued: true - mutability: readOnly - required: false - returned: default - + * type: complex - uniqueness: none + * + * @param grantedAppRoles the value to set + * @return this builder + */ + public Builder grantedAppRoles(java.util.List grantedAppRoles) { + this.grantedAppRoles = grantedAppRoles; + this.__explicitlySet__.add("grantedAppRoles"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("samlServiceProvider") + private AppSamlServiceProvider samlServiceProvider; + + public Builder samlServiceProvider(AppSamlServiceProvider samlServiceProvider) { + this.samlServiceProvider = samlServiceProvider; + this.__explicitlySet__.add("samlServiceProvider"); + return this; + } + /** + * A list of scopes (exposed by this App or by other Apps) that this App is allowed to + * access when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [fqs] - idcsSearchable: + * true - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowedScopes") + private java.util.List allowedScopes; + + /** + * A list of scopes (exposed by this App or by other Apps) that this App is allowed to + * access when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [fqs] - idcsSearchable: + * true - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + * + * @param allowedScopes the value to set + * @return this builder + */ + public Builder allowedScopes(java.util.List allowedScopes) { + this.allowedScopes = allowedScopes; + this.__explicitlySet__.add("allowedScopes"); + return this; + } + /** + * Each value of this attribute represent a certificate that this App uses when it acts as + * an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [certAlias] - + * idcsSearchable: false - multiValued: true - mutability: readWrite - required: false - + * returned: default - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("certificates") + private java.util.List certificates; + + /** + * Each value of this attribute represent a certificate that this App uses when it acts as + * an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [certAlias] - + * idcsSearchable: false - multiValued: true - mutability: readWrite - required: false - + * returned: default - type: complex - uniqueness: none + * + * @param certificates the value to set + * @return this builder + */ + public Builder certificates(java.util.List certificates) { + this.certificates = certificates; + this.__explicitlySet__.add("certificates"); + return this; + } + /** + * Each value of this internal attribute refers to an Oracle Public Cloud infrastructure App + * on which this App depends. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: + * true - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("aliasApps") + private java.util.List aliasApps; + + /** + * Each value of this internal attribute refers to an Oracle Public Cloud infrastructure App + * on which this App depends. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: + * true - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + * + * @param aliasApps the value to set + * @return this builder + */ + public Builder aliasApps(java.util.List aliasApps) { + this.aliasApps = aliasApps; + this.__explicitlySet__.add("aliasApps"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("asOPCService") + private AppAsOPCService asOPCService; + + public Builder asOPCService(AppAsOPCService asOPCService) { + this.asOPCService = asOPCService; + this.__explicitlySet__.add("asOPCService"); + return this; + } + /** + * A list of AppRoles defined by this UnmanagedApp. Membership in each of these AppRoles + * confers administrative privilege within this App. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: false - + * multiValued: true - mutability: readOnly - required: false - returned: request - type: + * complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("adminRoles") + private java.util.List adminRoles; + + /** + * A list of AppRoles defined by this UnmanagedApp. Membership in each of these AppRoles + * confers administrative privilege within this App. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: false - + * multiValued: true - mutability: readOnly - required: false - returned: request - type: + * complex + * + * @param adminRoles the value to set + * @return this builder + */ + public Builder adminRoles(java.util.List adminRoles) { + this.adminRoles = adminRoles; + this.__explicitlySet__.add("adminRoles"); + return this; + } + /** + * A list of AppRoles defined by this UnmanagedApp. Membership in each of these AppRoles + * confers end-user privilege within this App. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: false - + * multiValued: true - mutability: readOnly - required: false - returned: request - type: + * complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("userRoles") + private java.util.List userRoles; + + /** + * A list of AppRoles defined by this UnmanagedApp. Membership in each of these AppRoles + * confers end-user privilege within this App. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: false - + * multiValued: true - mutability: readOnly - required: false - returned: request - type: + * complex + * + * @param userRoles the value to set + * @return this builder + */ + public Builder userRoles(java.util.List userRoles) { + this.userRoles = userRoles; + this.__explicitlySet__.add("userRoles"); + return this; + } + /** + * Scopes defined by this App. Used when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: + * true - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("scopes") + private java.util.List scopes; + + /** + * Scopes defined by this App. Used when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: + * true - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + * + * @param scopes the value to set + * @return this builder + */ + public Builder scopes(java.util.List scopes) { + this.scopes = scopes; + this.__explicitlySet__.add("scopes"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:radiusApp:App") + private AppExtensionRadiusAppApp urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp( + AppExtensionRadiusAppApp urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp = + urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp; + this.__explicitlySet__.add("urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:samlServiceProvider:App") + private AppExtensionSamlServiceProviderApp + urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp( + AppExtensionSamlServiceProviderApp + urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp = + urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp; + this.__explicitlySet__.add( + "urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:webTierPolicy:App") + private AppExtensionWebTierPolicyApp + urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp( + AppExtensionWebTierPolicyApp + urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp = + urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp; + this.__explicitlySet__.add( + "urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:managedapp:App") + private AppExtensionManagedappApp urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp( + AppExtensionManagedappApp + urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp = + urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp; + this.__explicitlySet__.add("urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:formFillAppTemplate:AppTemplate") + private AppExtensionFormFillAppTemplateAppTemplate + urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate( + AppExtensionFormFillAppTemplateAppTemplate + urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate = + urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate; + this.__explicitlySet__.add( + "urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:opcService:App") + private AppExtensionOpcServiceApp urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp( + AppExtensionOpcServiceApp + urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp = + urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp; + this.__explicitlySet__.add("urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:kerberosRealm:App") + private AppExtensionKerberosRealmApp + urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp( + AppExtensionKerberosRealmApp + urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp = + urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp; + this.__explicitlySet__.add( + "urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:requestable:App") + private AppExtensionRequestableApp + urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp( + AppExtensionRequestableApp + urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp = + urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp; + this.__explicitlySet__.add("urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:formFillApp:App") + private AppExtensionFormFillAppApp + urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp( + AppExtensionFormFillAppApp + urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp = + urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp; + this.__explicitlySet__.add("urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:dbcs:App") + private AppExtensionDbcsApp urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp( + AppExtensionDbcsApp urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp = + urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp; + this.__explicitlySet__.add("urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:enterpriseApp:App") + private AppExtensionEnterpriseAppApp + urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp( + AppExtensionEnterpriseAppApp + urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp = + urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp; + this.__explicitlySet__.add( + "urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:OCITags") + private ExtensionOCITags urnIetfParamsScimSchemasOracleIdcsExtensionOciTags; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionOciTags( + ExtensionOCITags urnIetfParamsScimSchemasOracleIdcsExtensionOciTags) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciTags = + urnIetfParamsScimSchemasOracleIdcsExtensionOciTags; + this.__explicitlySet__.add("urnIetfParamsScimSchemasOracleIdcsExtensionOciTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:multicloudServiceApp:App") + private AppExtensionMulticloudServiceAppApp + urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp( + AppExtensionMulticloudServiceAppApp + urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp = + urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp; + this.__explicitlySet__.add( + "urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public App build() { + App model = + new App( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.meterAsOPCService, + this.name, + this.clientSecret, + this.hashedClientSecret, + this.displayName, + this.description, + this.idTokenEncAlgo, + this.delegatedServiceNames, + this.active, + this.appIcon, + this.appThumbnail, + this.migrated, + this.infrastructure, + this.isLoginTarget, + this.showInMyApps, + this.loginMechanism, + this.landingPageUrl, + this.productLogoUrl, + this.privacyPolicyUrl, + this.termsOfServiceUrl, + this.contactEmailAddress, + this.productName, + this.homePageUrl, + this.isFormFill, + this.isOAuthClient, + this.isRadiusApp, + this.clientType, + this.redirectUris, + this.allUrlSchemesAllowed, + this.logoutUri, + this.postLogoutRedirectUris, + this.allowedGrants, + this.allowedOperations, + this.clientIPChecking, + this.isOPCService, + this.isUnmanagedApp, + this.allowAccessControl, + this.isOAuthResource, + this.accessTokenExpiry, + this.refreshTokenExpiry, + this.allowOffline, + this.callbackServiceUrl, + this.audience, + this.isMobileTarget, + this.loginPageUrl, + this.linkingCallbackUrl, + this.logoutPageUrl, + this.errorPageUrl, + this.isSamlServiceProvider, + this.isWebTierPolicy, + this.isKerberosRealm, + this.icon, + this.isAliasApp, + this.isManagedApp, + this.serviceTypeURN, + this.serviceTypeVersion, + this.isObligationCapable, + this.readyToUpgrade, + this.trustScope, + this.isDatabaseService, + this.secondaryAudiences, + this.isEnterpriseApp, + this.bypassConsent, + this.disableKmsiTokenAuthentication, + this.isMulticloudServiceApp, + this.radiusPolicy, + this.appsNetworkPerimeters, + this.cloudControlProperties, + this.editableAttributes, + this.termsOfUse, + this.protectableSecondaryAudiences, + this.idpPolicy, + this.allowedTags, + this.appSignonPolicy, + this.trustPolicies, + this.signonPolicy, + this.identityProviders, + this.accounts, + this.grants, + this.serviceParams, + this.attrRenderingMetadata, + this.basedOnTemplate, + this.grantedAppRoles, + this.samlServiceProvider, + this.allowedScopes, + this.certificates, + this.aliasApps, + this.asOPCService, + this.adminRoles, + this.userRoles, + this.scopes, + this.urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp, + this.urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp, + this.urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp, + this.urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp, + this + .urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate, + this.urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp, + this.urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp, + this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp, + this.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp, + this.urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp, + this.urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp, + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciTags, + this + .urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(App model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("meterAsOPCService")) { + this.meterAsOPCService(model.getMeterAsOPCService()); + } + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("clientSecret")) { + this.clientSecret(model.getClientSecret()); + } + if (model.wasPropertyExplicitlySet("hashedClientSecret")) { + this.hashedClientSecret(model.getHashedClientSecret()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("idTokenEncAlgo")) { + this.idTokenEncAlgo(model.getIdTokenEncAlgo()); + } + if (model.wasPropertyExplicitlySet("delegatedServiceNames")) { + this.delegatedServiceNames(model.getDelegatedServiceNames()); + } + if (model.wasPropertyExplicitlySet("active")) { + this.active(model.getActive()); + } + if (model.wasPropertyExplicitlySet("appIcon")) { + this.appIcon(model.getAppIcon()); + } + if (model.wasPropertyExplicitlySet("appThumbnail")) { + this.appThumbnail(model.getAppThumbnail()); + } + if (model.wasPropertyExplicitlySet("migrated")) { + this.migrated(model.getMigrated()); + } + if (model.wasPropertyExplicitlySet("infrastructure")) { + this.infrastructure(model.getInfrastructure()); + } + if (model.wasPropertyExplicitlySet("isLoginTarget")) { + this.isLoginTarget(model.getIsLoginTarget()); + } + if (model.wasPropertyExplicitlySet("showInMyApps")) { + this.showInMyApps(model.getShowInMyApps()); + } + if (model.wasPropertyExplicitlySet("loginMechanism")) { + this.loginMechanism(model.getLoginMechanism()); + } + if (model.wasPropertyExplicitlySet("landingPageUrl")) { + this.landingPageUrl(model.getLandingPageUrl()); + } + if (model.wasPropertyExplicitlySet("productLogoUrl")) { + this.productLogoUrl(model.getProductLogoUrl()); + } + if (model.wasPropertyExplicitlySet("privacyPolicyUrl")) { + this.privacyPolicyUrl(model.getPrivacyPolicyUrl()); + } + if (model.wasPropertyExplicitlySet("termsOfServiceUrl")) { + this.termsOfServiceUrl(model.getTermsOfServiceUrl()); + } + if (model.wasPropertyExplicitlySet("contactEmailAddress")) { + this.contactEmailAddress(model.getContactEmailAddress()); + } + if (model.wasPropertyExplicitlySet("productName")) { + this.productName(model.getProductName()); + } + if (model.wasPropertyExplicitlySet("homePageUrl")) { + this.homePageUrl(model.getHomePageUrl()); + } + if (model.wasPropertyExplicitlySet("isFormFill")) { + this.isFormFill(model.getIsFormFill()); + } + if (model.wasPropertyExplicitlySet("isOAuthClient")) { + this.isOAuthClient(model.getIsOAuthClient()); + } + if (model.wasPropertyExplicitlySet("isRadiusApp")) { + this.isRadiusApp(model.getIsRadiusApp()); + } + if (model.wasPropertyExplicitlySet("clientType")) { + this.clientType(model.getClientType()); + } + if (model.wasPropertyExplicitlySet("redirectUris")) { + this.redirectUris(model.getRedirectUris()); + } + if (model.wasPropertyExplicitlySet("allUrlSchemesAllowed")) { + this.allUrlSchemesAllowed(model.getAllUrlSchemesAllowed()); + } + if (model.wasPropertyExplicitlySet("logoutUri")) { + this.logoutUri(model.getLogoutUri()); + } + if (model.wasPropertyExplicitlySet("postLogoutRedirectUris")) { + this.postLogoutRedirectUris(model.getPostLogoutRedirectUris()); + } + if (model.wasPropertyExplicitlySet("allowedGrants")) { + this.allowedGrants(model.getAllowedGrants()); + } + if (model.wasPropertyExplicitlySet("allowedOperations")) { + this.allowedOperations(model.getAllowedOperations()); + } + if (model.wasPropertyExplicitlySet("clientIPChecking")) { + this.clientIPChecking(model.getClientIPChecking()); + } + if (model.wasPropertyExplicitlySet("isOPCService")) { + this.isOPCService(model.getIsOPCService()); + } + if (model.wasPropertyExplicitlySet("isUnmanagedApp")) { + this.isUnmanagedApp(model.getIsUnmanagedApp()); + } + if (model.wasPropertyExplicitlySet("allowAccessControl")) { + this.allowAccessControl(model.getAllowAccessControl()); + } + if (model.wasPropertyExplicitlySet("isOAuthResource")) { + this.isOAuthResource(model.getIsOAuthResource()); + } + if (model.wasPropertyExplicitlySet("accessTokenExpiry")) { + this.accessTokenExpiry(model.getAccessTokenExpiry()); + } + if (model.wasPropertyExplicitlySet("refreshTokenExpiry")) { + this.refreshTokenExpiry(model.getRefreshTokenExpiry()); + } + if (model.wasPropertyExplicitlySet("allowOffline")) { + this.allowOffline(model.getAllowOffline()); + } + if (model.wasPropertyExplicitlySet("callbackServiceUrl")) { + this.callbackServiceUrl(model.getCallbackServiceUrl()); + } + if (model.wasPropertyExplicitlySet("audience")) { + this.audience(model.getAudience()); + } + if (model.wasPropertyExplicitlySet("isMobileTarget")) { + this.isMobileTarget(model.getIsMobileTarget()); + } + if (model.wasPropertyExplicitlySet("loginPageUrl")) { + this.loginPageUrl(model.getLoginPageUrl()); + } + if (model.wasPropertyExplicitlySet("linkingCallbackUrl")) { + this.linkingCallbackUrl(model.getLinkingCallbackUrl()); + } + if (model.wasPropertyExplicitlySet("logoutPageUrl")) { + this.logoutPageUrl(model.getLogoutPageUrl()); + } + if (model.wasPropertyExplicitlySet("errorPageUrl")) { + this.errorPageUrl(model.getErrorPageUrl()); + } + if (model.wasPropertyExplicitlySet("isSamlServiceProvider")) { + this.isSamlServiceProvider(model.getIsSamlServiceProvider()); + } + if (model.wasPropertyExplicitlySet("isWebTierPolicy")) { + this.isWebTierPolicy(model.getIsWebTierPolicy()); + } + if (model.wasPropertyExplicitlySet("isKerberosRealm")) { + this.isKerberosRealm(model.getIsKerberosRealm()); + } + if (model.wasPropertyExplicitlySet("icon")) { + this.icon(model.getIcon()); + } + if (model.wasPropertyExplicitlySet("isAliasApp")) { + this.isAliasApp(model.getIsAliasApp()); + } + if (model.wasPropertyExplicitlySet("isManagedApp")) { + this.isManagedApp(model.getIsManagedApp()); + } + if (model.wasPropertyExplicitlySet("serviceTypeURN")) { + this.serviceTypeURN(model.getServiceTypeURN()); + } + if (model.wasPropertyExplicitlySet("serviceTypeVersion")) { + this.serviceTypeVersion(model.getServiceTypeVersion()); + } + if (model.wasPropertyExplicitlySet("isObligationCapable")) { + this.isObligationCapable(model.getIsObligationCapable()); + } + if (model.wasPropertyExplicitlySet("readyToUpgrade")) { + this.readyToUpgrade(model.getReadyToUpgrade()); + } + if (model.wasPropertyExplicitlySet("trustScope")) { + this.trustScope(model.getTrustScope()); + } + if (model.wasPropertyExplicitlySet("isDatabaseService")) { + this.isDatabaseService(model.getIsDatabaseService()); + } + if (model.wasPropertyExplicitlySet("secondaryAudiences")) { + this.secondaryAudiences(model.getSecondaryAudiences()); + } + if (model.wasPropertyExplicitlySet("isEnterpriseApp")) { + this.isEnterpriseApp(model.getIsEnterpriseApp()); + } + if (model.wasPropertyExplicitlySet("bypassConsent")) { + this.bypassConsent(model.getBypassConsent()); + } + if (model.wasPropertyExplicitlySet("disableKmsiTokenAuthentication")) { + this.disableKmsiTokenAuthentication(model.getDisableKmsiTokenAuthentication()); + } + if (model.wasPropertyExplicitlySet("isMulticloudServiceApp")) { + this.isMulticloudServiceApp(model.getIsMulticloudServiceApp()); + } + if (model.wasPropertyExplicitlySet("radiusPolicy")) { + this.radiusPolicy(model.getRadiusPolicy()); + } + if (model.wasPropertyExplicitlySet("appsNetworkPerimeters")) { + this.appsNetworkPerimeters(model.getAppsNetworkPerimeters()); + } + if (model.wasPropertyExplicitlySet("cloudControlProperties")) { + this.cloudControlProperties(model.getCloudControlProperties()); + } + if (model.wasPropertyExplicitlySet("editableAttributes")) { + this.editableAttributes(model.getEditableAttributes()); + } + if (model.wasPropertyExplicitlySet("termsOfUse")) { + this.termsOfUse(model.getTermsOfUse()); + } + if (model.wasPropertyExplicitlySet("protectableSecondaryAudiences")) { + this.protectableSecondaryAudiences(model.getProtectableSecondaryAudiences()); + } + if (model.wasPropertyExplicitlySet("idpPolicy")) { + this.idpPolicy(model.getIdpPolicy()); + } + if (model.wasPropertyExplicitlySet("allowedTags")) { + this.allowedTags(model.getAllowedTags()); + } + if (model.wasPropertyExplicitlySet("appSignonPolicy")) { + this.appSignonPolicy(model.getAppSignonPolicy()); + } + if (model.wasPropertyExplicitlySet("trustPolicies")) { + this.trustPolicies(model.getTrustPolicies()); + } + if (model.wasPropertyExplicitlySet("signonPolicy")) { + this.signonPolicy(model.getSignonPolicy()); + } + if (model.wasPropertyExplicitlySet("identityProviders")) { + this.identityProviders(model.getIdentityProviders()); + } + if (model.wasPropertyExplicitlySet("accounts")) { + this.accounts(model.getAccounts()); + } + if (model.wasPropertyExplicitlySet("grants")) { + this.grants(model.getGrants()); + } + if (model.wasPropertyExplicitlySet("serviceParams")) { + this.serviceParams(model.getServiceParams()); + } + if (model.wasPropertyExplicitlySet("attrRenderingMetadata")) { + this.attrRenderingMetadata(model.getAttrRenderingMetadata()); + } + if (model.wasPropertyExplicitlySet("basedOnTemplate")) { + this.basedOnTemplate(model.getBasedOnTemplate()); + } + if (model.wasPropertyExplicitlySet("grantedAppRoles")) { + this.grantedAppRoles(model.getGrantedAppRoles()); + } + if (model.wasPropertyExplicitlySet("samlServiceProvider")) { + this.samlServiceProvider(model.getSamlServiceProvider()); + } + if (model.wasPropertyExplicitlySet("allowedScopes")) { + this.allowedScopes(model.getAllowedScopes()); + } + if (model.wasPropertyExplicitlySet("certificates")) { + this.certificates(model.getCertificates()); + } + if (model.wasPropertyExplicitlySet("aliasApps")) { + this.aliasApps(model.getAliasApps()); + } + if (model.wasPropertyExplicitlySet("asOPCService")) { + this.asOPCService(model.getAsOPCService()); + } + if (model.wasPropertyExplicitlySet("adminRoles")) { + this.adminRoles(model.getAdminRoles()); + } + if (model.wasPropertyExplicitlySet("userRoles")) { + this.userRoles(model.getUserRoles()); + } + if (model.wasPropertyExplicitlySet("scopes")) { + this.scopes(model.getScopes()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp( + model.getUrnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp( + model + .getUrnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp( + model.getUrnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp( + model.getUrnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate( + model + .getUrnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp( + model.getUrnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp( + model.getUrnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp( + model.getUrnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp( + model.getUrnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp( + model.getUrnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp( + model.getUrnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionOciTags")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciTags( + model.getUrnIetfParamsScimSchemasOracleIdcsExtensionOciTags()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp( + model + .getUrnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * Indicates whether the application is billed as an OPCService. If true, customer is not billed + * for runtime operations of the app. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: always - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("meterAsOPCService") + private final Boolean meterAsOPCService; + + /** + * Indicates whether the application is billed as an OPCService. If true, customer is not billed + * for runtime operations of the app. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: always - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getMeterAsOPCService() { + return meterAsOPCService; + } + + /** + * Name of the application. Also serves as username if the application authenticates to Oracle + * Public Cloud infrastructure. This name may not be user-friendly and cannot be changed once an + * App is created. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Name of the application. Also serves as username if the application authenticates to Oracle + * Public Cloud infrastructure. This name may not be user-friendly and cannot be changed once an + * App is created. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * This value is the credential of this App, which this App supplies as a password when this App + * authenticates to the Oracle Public Cloud infrastructure. This value is also the client secret + * of this App when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: none - + * multiValued: false - mutability: readOnly - required: false - returned: default - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("clientSecret") + private final String clientSecret; + + /** + * This value is the credential of this App, which this App supplies as a password when this App + * authenticates to the Oracle Public Cloud infrastructure. This value is also the client secret + * of this App when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: none - + * multiValued: false - mutability: readOnly - required: false - returned: default - type: + * string - uniqueness: none + * + * @return the value + */ + public String getClientSecret() { + return clientSecret; + } + + /** + * Hashed Client Secret. This hash-value is used to verify the 'clientSecret' credential of this + * App + * + *

*Added In:** 2106240046 + * + *

*SCIM++ Properties:** - idcsSearchable: false - idcsSensitive: hash_sc - multiValued: + * false - mutability: readOnly - required: false - returned: request - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("hashedClientSecret") + private final String hashedClientSecret; + + /** + * Hashed Client Secret. This hash-value is used to verify the 'clientSecret' credential of this + * App + * + *

*Added In:** 2106240046 + * + *

*SCIM++ Properties:** - idcsSearchable: false - idcsSensitive: hash_sc - multiValued: + * false - mutability: readOnly - required: false - returned: request - type: string - + * uniqueness: none + * + * @return the value + */ + public String getHashedClientSecret() { + return hashedClientSecret; + } + + /** + * Display name of the application. Display name is intended to be user-friendly, and an + * administrator can change the value at any time. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: server + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * Display name of the application. Display name is intended to be user-friendly, and an + * administrator can change the value at any time. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: server + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Description of the application. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * Description of the application. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** + * Encryption Alogrithm to use for encrypting ID token. + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idTokenEncAlgo") + private final String idTokenEncAlgo; + + /** + * Encryption Alogrithm to use for encrypting ID token. + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getIdTokenEncAlgo() { + return idTokenEncAlgo; + } + + /** + * Service Names allow to use OCI signature for client authentication instead of client + * credentials + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("delegatedServiceNames") + private final java.util.List delegatedServiceNames; + + /** + * Service Names allow to use OCI signature for client authentication instead of client + * credentials + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getDelegatedServiceNames() { + return delegatedServiceNames; + } + + /** + * If true, this App is able to participate in runtime services, such as automatic-login, OAuth, + * and SAML. If false, all runtime services are disabled for this App, and only administrative + * operations can be performed. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private final Boolean active; + + /** + * If true, this App is able to participate in runtime services, such as automatic-login, OAuth, + * and SAML. If false, all runtime services are disabled for this App, and only administrative + * operations can be performed. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getActive() { + return active; + } + + /** + * Application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appIcon") + private final String appIcon; + + /** + * Application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getAppIcon() { + return appIcon; + } + + /** + * Application thumbnail. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appThumbnail") + private final String appThumbnail; + + /** + * Application thumbnail. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getAppThumbnail() { + return appThumbnail; + } + + /** + * If true, this App was migrated from an earlier version of Oracle Public Cloud infrastructure + * (and may therefore require special handling from runtime services such as OAuth or SAML). If + * false, this App requires no special handling from runtime services. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("migrated") + private final Boolean migrated; + + /** + * If true, this App was migrated from an earlier version of Oracle Public Cloud infrastructure + * (and may therefore require special handling from runtime services such as OAuth or SAML). If + * false, this App requires no special handling from runtime services. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getMigrated() { + return migrated; + } + + /** + * If true, this App is an internal infrastructure App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("infrastructure") + private final Boolean infrastructure; + + /** + * If true, this App is an internal infrastructure App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getInfrastructure() { + return infrastructure; + } + + /** + * If true, this App allows runtime services to log end users into this App automatically. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isLoginTarget") + private final Boolean isLoginTarget; + + /** + * If true, this App allows runtime services to log end users into this App automatically. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsLoginTarget() { + return isLoginTarget; + } + + /** + * If true, this app will be displayed in the MyApps page of each end-user who has access to the + * App. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("showInMyApps") + private final Boolean showInMyApps; + + /** + * If true, this app will be displayed in the MyApps page of each end-user who has access to the + * App. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getShowInMyApps() { + return showInMyApps; + } + + /** + * The protocol that runtime services will use to log end users in to this App automatically. If + * 'OIDC', then runtime services use the OpenID Connect protocol. If 'SAML', then runtime + * services use Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum LoginMechanism implements com.oracle.bmc.http.internal.BmcEnum { + Oidc("OIDC"), + Saml("SAML"), + Formfill("FORMFILL"), + Radius("RADIUS"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(LoginMechanism.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (LoginMechanism v : LoginMechanism.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + LoginMechanism(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static LoginMechanism create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'LoginMechanism', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * The protocol that runtime services will use to log end users in to this App automatically. If + * 'OIDC', then runtime services use the OpenID Connect protocol. If 'SAML', then runtime + * services use Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("loginMechanism") + private final LoginMechanism loginMechanism; + + /** + * The protocol that runtime services will use to log end users in to this App automatically. If + * 'OIDC', then runtime services use the OpenID Connect protocol. If 'SAML', then runtime + * services use Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public LoginMechanism getLoginMechanism() { + return loginMechanism; + } + + /** + * The URL of the landing page for this App, which is the first page that an end user should see + * if runtime services log that end user in to this App automatically. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("landingPageUrl") + private final String landingPageUrl; + + /** + * The URL of the landing page for this App, which is the first page that an end user should see + * if runtime services log that end user in to this App automatically. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getLandingPageUrl() { + return landingPageUrl; + } + + /** + * Application Logo URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("productLogoUrl") + private final String productLogoUrl; + + /** + * Application Logo URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getProductLogoUrl() { + return productLogoUrl; + } + + /** + * Privacy Policy URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("privacyPolicyUrl") + private final String privacyPolicyUrl; + + /** + * Privacy Policy URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getPrivacyPolicyUrl() { + return privacyPolicyUrl; + } + + /** + * Terms of Service URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("termsOfServiceUrl") + private final String termsOfServiceUrl; + + /** + * Terms of Service URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTermsOfServiceUrl() { + return termsOfServiceUrl; + } + + /** + * Contact Email Address + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("contactEmailAddress") + private final String contactEmailAddress; + + /** + * Contact Email Address + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getContactEmailAddress() { + return contactEmailAddress; + } + + /** + * Product Name + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("productName") + private final String productName; + + /** + * Product Name + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getProductName() { + return productName; + } + + /** + * Home Page URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("homePageUrl") + private final String homePageUrl; + + /** + * Home Page URL + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getHomePageUrl() { + return homePageUrl; + } + + /** + * If true, this application acts as FormFill Application + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isFormFill") + private final Boolean isFormFill; + + /** + * If true, this application acts as FormFill Application + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsFormFill() { + return isFormFill; + } + + /** + * If true, this application acts as an OAuth Client + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOAuthClient") + private final Boolean isOAuthClient; + + /** + * If true, this application acts as an OAuth Client + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsOAuthClient() { + return isOAuthClient; + } + + /** + * If true, this application acts as an Radius App + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isRadiusApp") + private final Boolean isRadiusApp; + + /** + * If true, this application acts as an Radius App + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsRadiusApp() { + return isRadiusApp; + } + + /** + * Specifies the type of access that this App has when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum ClientType implements com.oracle.bmc.http.internal.BmcEnum { + Confidential("confidential"), + Public("public"), + Trusted("trusted"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(ClientType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ClientType v : ClientType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + ClientType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ClientType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'ClientType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Specifies the type of access that this App has when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("clientType") + private final ClientType clientType; + + /** + * Specifies the type of access that this App has when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public ClientType getClientType() { + return clientType; + } + + /** + * OPTIONAL. Each value is a URI within this App. This attribute is required when this App acts + * as an OAuthClient and is involved in three-legged flows (authorization-code flows). + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("redirectUris") + private final java.util.List redirectUris; + + /** + * OPTIONAL. Each value is a URI within this App. This attribute is required when this App acts + * as an OAuthClient and is involved in three-legged flows (authorization-code flows). + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getRedirectUris() { + return redirectUris; + } + + /** + * If true, indicates that the system should allow all URL-schemes within each value of the + * 'redirectUris' attribute. Also indicates that the system should not attempt to confirm that + * each value of the 'redirectUris' attribute is a valid URI. In particular, the system should + * not confirm that the domain component of the URI is a top-level domain and the system should + * not confirm that the hostname portion is a valid system that is reachable over the network. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allUrlSchemesAllowed") + private final Boolean allUrlSchemesAllowed; + + /** + * If true, indicates that the system should allow all URL-schemes within each value of the + * 'redirectUris' attribute. Also indicates that the system should not attempt to confirm that + * each value of the 'redirectUris' attribute is a valid URI. In particular, the system should + * not confirm that the domain component of the URI is a top-level domain and the system should + * not confirm that the hostname portion is a valid system that is reachable over the network. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAllUrlSchemesAllowed() { + return allUrlSchemesAllowed; + } + + /** + * OAuth will use this URI to logout if this App wants to participate in SSO, and if this App's + * session gets cleared as part of global logout. Note: This attribute is used only if this App + * acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("logoutUri") + private final String logoutUri; + + /** + * OAuth will use this URI to logout if this App wants to participate in SSO, and if this App's + * session gets cleared as part of global logout. Note: This attribute is used only if this App + * acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getLogoutUri() { + return logoutUri; + } + + /** + * Each value of this attribute is the URI of a landing page within this App. It is used only + * when this App, acting as an OAuthClient, initiates the logout flow and wants to be redirected + * back to one of its landing pages. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("postLogoutRedirectUris") + private final java.util.List postLogoutRedirectUris; + + /** + * Each value of this attribute is the URI of a landing page within this App. It is used only + * when this App, acting as an OAuthClient, initiates the logout flow and wants to be redirected + * back to one of its landing pages. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getPostLogoutRedirectUris() { + return postLogoutRedirectUris; + } + + /** + * List of grant-types that this App is allowed to use when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowedGrants") + private final java.util.List allowedGrants; + + /** + * List of grant-types that this App is allowed to use when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getAllowedGrants() { + return allowedGrants; + } + + /** */ + public enum AllowedOperations implements com.oracle.bmc.http.internal.BmcEnum { + Introspect("introspect"), + OnBehalfOfUser("onBehalfOfUser"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(AllowedOperations.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (AllowedOperations v : AllowedOperations.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + AllowedOperations(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static AllowedOperations create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'AllowedOperations', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * OPTIONAL. Required only when this App acts as an OAuthClient. Supported values are + * 'introspect' and 'onBehalfOfUser'. The value 'introspect' allows the client to look inside + * the access-token. The value 'onBehalfOfUser' overrides how the client's privileges are + * combined with the privileges of the Subject User. Ordinarily, authorization calculates the + * set of effective privileges as the intersection of the client's privileges and the user's + * privileges. The value 'onBehalfOf' indicates that authorization should ignore the privileges + * of the client and use only the user's privileges to calculate the effective privileges. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowedOperations") + private final java.util.List allowedOperations; + + /** + * OPTIONAL. Required only when this App acts as an OAuthClient. Supported values are + * 'introspect' and 'onBehalfOfUser'. The value 'introspect' allows the client to look inside + * the access-token. The value 'onBehalfOfUser' overrides how the client's privileges are + * combined with the privileges of the Subject User. Ordinarily, authorization calculates the + * set of effective privileges as the intersection of the client's privileges and the user's + * privileges. The value 'onBehalfOf' indicates that authorization should ignore the privileges + * of the client and use only the user's privileges to calculate the effective privileges. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getAllowedOperations() { + return allowedOperations; + } + + /** + * Network Perimeters checking mode + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum ClientIPChecking implements com.oracle.bmc.http.internal.BmcEnum { + Anywhere("anywhere"), + Whitelisted("whitelisted"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(ClientIPChecking.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ClientIPChecking v : ClientIPChecking.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + ClientIPChecking(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ClientIPChecking create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'ClientIPChecking', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Network Perimeters checking mode + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("clientIPChecking") + private final ClientIPChecking clientIPChecking; + + /** + * Network Perimeters checking mode + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public ClientIPChecking getClientIPChecking() { + return clientIPChecking; + } + + /** + * If true, this application is an Oracle Public Cloud service-instance. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOPCService") + private final Boolean isOPCService; + + /** + * If true, this application is an Oracle Public Cloud service-instance. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsOPCService() { + return isOPCService; + } + + /** + * If true, indicates that this application accepts an Oracle Cloud Identity Service User as a + * login-identity (does not require an account) and relies for authorization on the User's + * memberships in AppRoles. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isUnmanagedApp") + private final Boolean isUnmanagedApp; + + /** + * If true, indicates that this application accepts an Oracle Cloud Identity Service User as a + * login-identity (does not require an account) and relies for authorization on the User's + * memberships in AppRoles. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsUnmanagedApp() { + return isUnmanagedApp; + } + + /** + * If true, any managed App that is based on this template is checked for access control that + * is, access to this app is subject to successful authorization at SSO service, viz. app grants + * to start with. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowAccessControl") + private final Boolean allowAccessControl; + + /** + * If true, any managed App that is based on this template is checked for access control that + * is, access to this app is subject to successful authorization at SSO service, viz. app grants + * to start with. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAllowAccessControl() { + return allowAccessControl; + } + + /** + * If true, indicates that this application acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOAuthResource") + private final Boolean isOAuthResource; + + /** + * If true, indicates that this application acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsOAuthResource() { + return isOAuthResource; + } + + /** + * Expiry-time in seconds for an Access Token. Any token that allows access to this App will + * expire after the specified duration. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accessTokenExpiry") + private final Integer accessTokenExpiry; + + /** + * Expiry-time in seconds for an Access Token. Any token that allows access to this App will + * expire after the specified duration. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getAccessTokenExpiry() { + return accessTokenExpiry; + } + + /** + * Expiry-time in seconds for a Refresh Token. Any token that allows access to this App, once + * refreshed, will expire after the specified duration. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("refreshTokenExpiry") + private final Integer refreshTokenExpiry; + + /** + * Expiry-time in seconds for a Refresh Token. Any token that allows access to this App, once + * refreshed, will expire after the specified duration. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getRefreshTokenExpiry() { + return refreshTokenExpiry; + } + + /** + * If true, indicates that the Refresh Token is allowed when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowOffline") + private final Boolean allowOffline; + + /** + * If true, indicates that the Refresh Token is allowed when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAllowOffline() { + return allowOffline; + } + + /** + * Callback Service URL + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("callbackServiceUrl") + private final String callbackServiceUrl; + + /** + * Callback Service URL + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCallbackServiceUrl() { + return callbackServiceUrl; + } + + /** + * The base URI for all of the scopes defined in this App. The value of 'audience' is combined + * with the 'value' of each scope to form an 'fqs' or fully qualified scope. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("audience") + private final String audience; + + /** + * The base URI for all of the scopes defined in this App. The value of 'audience' is combined + * with the 'value' of each scope to form an 'fqs' or fully qualified scope. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getAudience() { + return audience; + } + + /** + * If true, indicates that the App should be visible in each end-user's mobile application. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isMobileTarget") + private final Boolean isMobileTarget; + + /** + * If true, indicates that the App should be visible in each end-user's mobile application. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsMobileTarget() { + return isMobileTarget; + } + + /** + * This attribute specifies the URL of the page that the App uses when an end-user signs in to + * that App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("loginPageUrl") + private final String loginPageUrl; + + /** + * This attribute specifies the URL of the page that the App uses when an end-user signs in to + * that App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getLoginPageUrl() { + return loginPageUrl; + } + + /** + * This attribute specifies the callback URL for the social linking operation. + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("linkingCallbackUrl") + private final String linkingCallbackUrl; + + /** + * This attribute specifies the callback URL for the social linking operation. + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getLinkingCallbackUrl() { + return linkingCallbackUrl; + } + + /** + * This attribute specifies the URL of the page that the App uses when an end-user signs out. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("logoutPageUrl") + private final String logoutPageUrl; + + /** + * This attribute specifies the URL of the page that the App uses when an end-user signs out. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getLogoutPageUrl() { + return logoutPageUrl; + } + + /** + * This attribute specifies the URL of the page to which an application will redirect an + * end-user in case of error. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("errorPageUrl") + private final String errorPageUrl; + + /** + * This attribute specifies the URL of the page to which an application will redirect an + * end-user in case of error. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getErrorPageUrl() { + return errorPageUrl; + } + + /** + * If true, then this App acts as a SAML Service Provider. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isSamlServiceProvider") + private final Boolean isSamlServiceProvider; + + /** + * If true, then this App acts as a SAML Service Provider. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsSamlServiceProvider() { + return isSamlServiceProvider; + } + + /** + * If true, the webtier policy is active + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isWebTierPolicy") + private final Boolean isWebTierPolicy; + + /** + * If true, the webtier policy is active + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsWebTierPolicy() { + return isWebTierPolicy; + } + + /** + * If true, indicates that this App supports Kerberos Authentication + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isKerberosRealm") + private final Boolean isKerberosRealm; + + /** + * If true, indicates that this App supports Kerberos Authentication + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsKerberosRealm() { + return isKerberosRealm; + } + + /** + * URL of application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("icon") + private final String icon; + + /** + * URL of application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getIcon() { + return icon; + } + + /** + * If true, this App is an AliasApp and it cannot be granted to an end-user directly. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: always - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAliasApp") + private final Boolean isAliasApp; + + /** + * If true, this App is an AliasApp and it cannot be granted to an end-user directly. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: always - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsAliasApp() { + return isAliasApp; + } + + /** + * If true, indicates that access to this App requires an account. That is, in order to log in + * to the App, a User must use an application-specific identity that is maintained in the remote + * identity-repository of that App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isManagedApp") + private final Boolean isManagedApp; + + /** + * If true, indicates that access to this App requires an account. That is, in order to log in + * to the App, a User must use an application-specific identity that is maintained in the remote + * identity-repository of that App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsManagedApp() { + return isManagedApp; + } + + /** + * This Uniform Resource Name (URN) value identifies the type of Oracle Public Cloud service of + * which this app is an instance. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceTypeURN") + private final String serviceTypeURN; + + /** + * This Uniform Resource Name (URN) value identifies the type of Oracle Public Cloud service of + * which this app is an instance. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getServiceTypeURN() { + return serviceTypeURN; + } + + /** + * This value specifies the version of the Oracle Public Cloud service of which this App is an + * instance + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceTypeVersion") + private final String serviceTypeVersion; + + /** + * This value specifies the version of the Oracle Public Cloud service of which this App is an + * instance + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getServiceTypeVersion() { + return serviceTypeVersion; + } + + /** + * This flag indicates if the App is capable of validating obligations with the token for + * allowing access to the App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isObligationCapable") + private final Boolean isObligationCapable; + + /** + * This flag indicates if the App is capable of validating obligations with the token for + * allowing access to the App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getIsObligationCapable() { + return isObligationCapable; + } + + /** + * If true, this App requires an upgrade and mandates attention from application administrator. + * The flag is used by UI to indicate this app is ready to upgrade. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readyToUpgrade") + private final Boolean readyToUpgrade; + + /** + * If true, this App requires an upgrade and mandates attention from application administrator. + * The flag is used by UI to indicate this app is ready to upgrade. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getReadyToUpgrade() { + return readyToUpgrade; + } + + /** + * Indicates the scope of trust for this App when acting as an OAuthClient. A value of + * 'Explicit' indicates that the App is allowed to access only the scopes of OAuthResources that + * are explicitly specified as 'allowedScopes'. A value of 'Account' indicates that the App is + * allowed implicitly to access any scope of any OAuthResource within the same Oracle Cloud + * Account. A value of 'Tags' indicates that the App is allowed to access any scope of any + * OAuthResource with a matching tag within the same Oracle Cloud Account. A value of 'Default' + * indicates that the Tenant default trust scope configured in the Tenant Settings is used. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum TrustScope implements com.oracle.bmc.http.internal.BmcEnum { + Explicit("Explicit"), + Account("Account"), + Tags("Tags"), + Default("Default"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(TrustScope.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (TrustScope v : TrustScope.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + TrustScope(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static TrustScope create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'TrustScope', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Indicates the scope of trust for this App when acting as an OAuthClient. A value of + * 'Explicit' indicates that the App is allowed to access only the scopes of OAuthResources that + * are explicitly specified as 'allowedScopes'. A value of 'Account' indicates that the App is + * allowed implicitly to access any scope of any OAuthResource within the same Oracle Cloud + * Account. A value of 'Tags' indicates that the App is allowed to access any scope of any + * OAuthResource with a matching tag within the same Oracle Cloud Account. A value of 'Default' + * indicates that the Tenant default trust scope configured in the Tenant Settings is used. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustScope") + private final TrustScope trustScope; + + /** + * Indicates the scope of trust for this App when acting as an OAuthClient. A value of + * 'Explicit' indicates that the App is allowed to access only the scopes of OAuthResources that + * are explicitly specified as 'allowedScopes'. A value of 'Account' indicates that the App is + * allowed implicitly to access any scope of any OAuthResource within the same Oracle Cloud + * Account. A value of 'Tags' indicates that the App is allowed to access any scope of any + * OAuthResource with a matching tag within the same Oracle Cloud Account. A value of 'Default' + * indicates that the Tenant default trust scope configured in the Tenant Settings is used. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public TrustScope getTrustScope() { + return trustScope; + } + + /** + * If true, this application acts as database service Application + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("isDatabaseService") + private final Boolean isDatabaseService; + + /** + * If true, this application acts as database service Application + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - type: boolean + * + * @return the value + */ + public Boolean getIsDatabaseService() { + return isDatabaseService; + } + + /** + * A list of secondary audiences--additional URIs to be added automatically to any OAuth token + * that allows access to this App. Note: This attribute is used mainly for backward + * compatibility in certain Oracle Public Cloud Apps. + * + *

*Deprecated Since: 18.2.6** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("secondaryAudiences") + private final java.util.List secondaryAudiences; + + /** + * A list of secondary audiences--additional URIs to be added automatically to any OAuth token + * that allows access to this App. Note: This attribute is used mainly for backward + * compatibility in certain Oracle Public Cloud Apps. + * + *

*Deprecated Since: 18.2.6** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSecondaryAudiences() { + return secondaryAudiences; + } + + /** + * If true, this app acts as Enterprise app with Authentication and URL Authz policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isEnterpriseApp") + private final Boolean isEnterpriseApp; + + /** + * If true, this app acts as Enterprise app with Authentication and URL Authz policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsEnterpriseApp() { + return isEnterpriseApp; + } + + /** + * If true, indicates that consent should be skipped for all scopes + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("bypassConsent") + private final Boolean bypassConsent; + + /** + * If true, indicates that consent should be skipped for all scopes + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getBypassConsent() { + return bypassConsent; + } + + /** + * Indicates whether the application is allowed to be access using kmsi token. + * + *

*Added In:** 2111190457 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: always - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("disableKmsiTokenAuthentication") + private final Boolean disableKmsiTokenAuthentication; + + /** + * Indicates whether the application is allowed to be access using kmsi token. + * + *

*Added In:** 2111190457 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: always - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDisableKmsiTokenAuthentication() { + return disableKmsiTokenAuthentication; + } + + /** + * If true, indicates the app is used for multicloud service integration. + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isMulticloudServiceApp") + private final Boolean isMulticloudServiceApp; + + /** + * If true, indicates the app is used for multicloud service integration. + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsMulticloudServiceApp() { + return isMulticloudServiceApp; + } + + @com.fasterxml.jackson.annotation.JsonProperty("radiusPolicy") + private final AppRadiusPolicy radiusPolicy; + + public AppRadiusPolicy getRadiusPolicy() { + return radiusPolicy; + } + + /** + * Network Perimeter + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("appsNetworkPerimeters") + private final java.util.List appsNetworkPerimeters; + + /** + * Network Perimeter + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex + * + * @return the value + */ + public java.util.List getAppsNetworkPerimeters() { + return appsNetworkPerimeters; + } + + /** + * A collection of arbitrary properties that scope the privileges of a cloud-control App. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: false - multiValued: + * true - mutability: readOnly - required: false - returned: request - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("cloudControlProperties") + private final java.util.List cloudControlProperties; + + /** + * A collection of arbitrary properties that scope the privileges of a cloud-control App. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: false - multiValued: + * true - mutability: readOnly - required: false - returned: request - type: complex - + * uniqueness: none + * + * @return the value + */ + public java.util.List getCloudControlProperties() { + return cloudControlProperties; + } + + /** + * App attributes editable by subject + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: + * false - multiValued: true - mutability: readOnly - required: false - returned: request - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("editableAttributes") + private final java.util.List editableAttributes; + + /** + * App attributes editable by subject + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: + * false - multiValued: true - mutability: readOnly - required: false - returned: request - + * type: complex - uniqueness: none + * + * @return the value + */ + public java.util.List getEditableAttributes() { + return editableAttributes; + } + + @com.fasterxml.jackson.annotation.JsonProperty("termsOfUse") + private final AppTermsOfUse termsOfUse; + + public AppTermsOfUse getTermsOfUse() { + return termsOfUse; + } + + /** + * A list of secondary audiences--additional URIs to be added automatically to any OAuth token + * that allows access to this App. Note: This attribute is used mainly for backward + * compatibility in certain Oracle Public Cloud Apps. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: + * false - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("protectableSecondaryAudiences") + private final java.util.List protectableSecondaryAudiences; + + /** + * A list of secondary audiences--additional URIs to be added automatically to any OAuth token + * that allows access to this App. Note: This attribute is used mainly for backward + * compatibility in certain Oracle Public Cloud Apps. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: + * false - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + * + * @return the value + */ + public java.util.List getProtectableSecondaryAudiences() { + return protectableSecondaryAudiences; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idpPolicy") + private final AppIdpPolicy idpPolicy; + + public AppIdpPolicy getIdpPolicy() { + return idpPolicy; + } + + /** + * A list of tags, acting as an OAuthClient, this App is allowed to access. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowedTags") + private final java.util.List allowedTags; + + /** + * A list of tags, acting as an OAuthClient, this App is allowed to access. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getAllowedTags() { + return allowedTags; + } + + @com.fasterxml.jackson.annotation.JsonProperty("appSignonPolicy") + private final AppAppSignonPolicy appSignonPolicy; + + public AppAppSignonPolicy getAppSignonPolicy() { + return appSignonPolicy; + } + + /** + * Trust Policies. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: default - type: complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("trustPolicies") + private final java.util.List trustPolicies; + + /** + * Trust Policies. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: default - type: complex + * + * @return the value + */ + public java.util.List getTrustPolicies() { + return trustPolicies; + } + + @com.fasterxml.jackson.annotation.JsonProperty("signonPolicy") + private final AppSignonPolicy signonPolicy; + + public AppSignonPolicy getSignonPolicy() { + return signonPolicy; + } + + /** + * A list of IdentityProvider assigned to app. A user trying to access this app will be + * automatically redirected to configured IdP during the authentication phase, before being able + * to access App. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: false - multiValued: + * true - mutability: readWrite - required: false - returned: request - type: complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("identityProviders") + private final java.util.List identityProviders; + + /** + * A list of IdentityProvider assigned to app. A user trying to access this app will be + * automatically redirected to configured IdP during the authentication phase, before being able + * to access App. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: false - multiValued: + * true - mutability: readWrite - required: false - returned: request - type: complex + * + * @return the value + */ + public java.util.List getIdentityProviders() { + return identityProviders; + } + + /** + * Accounts of App + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: + * true - mutability: readOnly - required: false - returned: request - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accounts") + private final java.util.List accounts; + + /** + * Accounts of App + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: + * true - mutability: readOnly - required: false - returned: request - type: complex - + * uniqueness: none + * + * @return the value + */ + public java.util.List getAccounts() { + return accounts; + } + + /** + * Grants assigned to the app + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: + * true - mutability: readOnly - required: false - returned: request - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("grants") + private final java.util.List grants; + + /** + * Grants assigned to the app + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: + * true - mutability: readOnly - required: false - returned: request - type: complex - + * uniqueness: none + * + * @return the value + */ + public java.util.List getGrants() { + return grants; + } + + /** + * Custom attribute that is required to compute other attribute values during app creation. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: false - multiValued: + * true - mutability: readWrite - required: false - returned: always - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceParams") + private final java.util.List serviceParams; + + /** + * Custom attribute that is required to compute other attribute values during app creation. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: false - multiValued: + * true - mutability: readWrite - required: false - returned: always - type: complex - + * uniqueness: none + * + * @return the value + */ + public java.util.List getServiceParams() { + return serviceParams; + } + + /** + * Label for the attribute to be shown in the UI. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: false - multiValued: + * true - mutability: immutable - required: false - returned: default - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("attrRenderingMetadata") + private final java.util.List attrRenderingMetadata; + + /** + * Label for the attribute to be shown in the UI. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: false - multiValued: + * true - mutability: immutable - required: false - returned: default - type: complex - + * uniqueness: none + * + * @return the value + */ + public java.util.List getAttrRenderingMetadata() { + return attrRenderingMetadata; + } + + @com.fasterxml.jackson.annotation.JsonProperty("basedOnTemplate") + private final AppBasedOnTemplate basedOnTemplate; + + public AppBasedOnTemplate getBasedOnTemplate() { + return basedOnTemplate; + } + + /** + * A list of AppRoles that are granted to this App (and that are defined by other Apps). Within + * the Oracle Public Cloud infrastructure, this allows AppID-based association. Such an + * association allows this App to act as a consumer and thus to access resources of another App + * that acts as a producer. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: true + * - multiValued: true - mutability: readOnly - required: false - returned: default - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("grantedAppRoles") + private final java.util.List grantedAppRoles; + + /** + * A list of AppRoles that are granted to this App (and that are defined by other Apps). Within + * the Oracle Public Cloud infrastructure, this allows AppID-based association. Such an + * association allows this App to act as a consumer and thus to access resources of another App + * that acts as a producer. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: true + * - multiValued: true - mutability: readOnly - required: false - returned: default - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getGrantedAppRoles() { + return grantedAppRoles; + } + + @com.fasterxml.jackson.annotation.JsonProperty("samlServiceProvider") + private final AppSamlServiceProvider samlServiceProvider; + + public AppSamlServiceProvider getSamlServiceProvider() { + return samlServiceProvider; + } + + /** + * A list of scopes (exposed by this App or by other Apps) that this App is allowed to access + * when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [fqs] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowedScopes") + private final java.util.List allowedScopes; + + /** + * A list of scopes (exposed by this App or by other Apps) that this App is allowed to access + * when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [fqs] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getAllowedScopes() { + return allowedScopes; + } + + /** + * Each value of this attribute represent a certificate that this App uses when it acts as an + * OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [certAlias] - idcsSearchable: + * false - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("certificates") + private final java.util.List certificates; + + /** + * Each value of this attribute represent a certificate that this App uses when it acts as an + * OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [certAlias] - idcsSearchable: + * false - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + * + * @return the value + */ + public java.util.List getCertificates() { + return certificates; + } + + /** + * Each value of this internal attribute refers to an Oracle Public Cloud infrastructure App on + * which this App depends. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: true + * - multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("aliasApps") + private final java.util.List aliasApps; + + /** + * Each value of this internal attribute refers to an Oracle Public Cloud infrastructure App on + * which this App depends. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: true + * - multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getAliasApps() { + return aliasApps; + } + + @com.fasterxml.jackson.annotation.JsonProperty("asOPCService") + private final AppAsOPCService asOPCService; + + public AppAsOPCService getAsOPCService() { + return asOPCService; + } + + /** + * A list of AppRoles defined by this UnmanagedApp. Membership in each of these AppRoles confers + * administrative privilege within this App. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: false - multiValued: + * true - mutability: readOnly - required: false - returned: request - type: complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("adminRoles") + private final java.util.List adminRoles; + + /** + * A list of AppRoles defined by this UnmanagedApp. Membership in each of these AppRoles confers + * administrative privilege within this App. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: false - multiValued: + * true - mutability: readOnly - required: false - returned: request - type: complex + * + * @return the value + */ + public java.util.List getAdminRoles() { + return adminRoles; + } + + /** + * A list of AppRoles defined by this UnmanagedApp. Membership in each of these AppRoles confers + * end-user privilege within this App. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: false - multiValued: + * true - mutability: readOnly - required: false - returned: request - type: complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("userRoles") + private final java.util.List userRoles; + + /** + * A list of AppRoles defined by this UnmanagedApp. Membership in each of these AppRoles confers + * end-user privilege within this App. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: false - multiValued: + * true - mutability: readOnly - required: false - returned: request - type: complex + * + * @return the value + */ + public java.util.List getUserRoles() { + return userRoles; + } + + /** + * Scopes defined by this App. Used when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: true + * - multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("scopes") + private final java.util.List scopes; + + /** + * Scopes defined by this App. Used when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: true + * - multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getScopes() { + return scopes; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:radiusApp:App") + private final AppExtensionRadiusAppApp urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp; + + public AppExtensionRadiusAppApp getUrnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp() { + return urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:samlServiceProvider:App") + private final AppExtensionSamlServiceProviderApp + urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp; + + public AppExtensionSamlServiceProviderApp + getUrnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp() { + return urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:webTierPolicy:App") + private final AppExtensionWebTierPolicyApp + urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp; + + public AppExtensionWebTierPolicyApp + getUrnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp() { + return urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:managedapp:App") + private final AppExtensionManagedappApp + urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp; + + public AppExtensionManagedappApp getUrnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp() { + return urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:formFillAppTemplate:AppTemplate") + private final AppExtensionFormFillAppTemplateAppTemplate + urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate; + + public AppExtensionFormFillAppTemplateAppTemplate + getUrnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate() { + return urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:opcService:App") + private final AppExtensionOpcServiceApp + urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp; + + public AppExtensionOpcServiceApp getUrnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp() { + return urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:kerberosRealm:App") + private final AppExtensionKerberosRealmApp + urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp; + + public AppExtensionKerberosRealmApp + getUrnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp() { + return urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:requestable:App") + private final AppExtensionRequestableApp + urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp; + + public AppExtensionRequestableApp + getUrnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp() { + return urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:formFillApp:App") + private final AppExtensionFormFillAppApp + urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp; + + public AppExtensionFormFillAppApp + getUrnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp() { + return urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:dbcs:App") + private final AppExtensionDbcsApp urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp; + + public AppExtensionDbcsApp getUrnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp() { + return urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:enterpriseApp:App") + private final AppExtensionEnterpriseAppApp + urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp; + + public AppExtensionEnterpriseAppApp + getUrnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp() { + return urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:OCITags") + private final ExtensionOCITags urnIetfParamsScimSchemasOracleIdcsExtensionOciTags; + + public ExtensionOCITags getUrnIetfParamsScimSchemasOracleIdcsExtensionOciTags() { + return urnIetfParamsScimSchemasOracleIdcsExtensionOciTags; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:multicloudServiceApp:App") + private final AppExtensionMulticloudServiceAppApp + urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp; + + public AppExtensionMulticloudServiceAppApp + getUrnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp() { + return urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("App("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", meterAsOPCService=").append(String.valueOf(this.meterAsOPCService)); + sb.append(", name=").append(String.valueOf(this.name)); + sb.append(", clientSecret=").append(String.valueOf(this.clientSecret)); + sb.append(", hashedClientSecret=").append(String.valueOf(this.hashedClientSecret)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", idTokenEncAlgo=").append(String.valueOf(this.idTokenEncAlgo)); + sb.append(", delegatedServiceNames=").append(String.valueOf(this.delegatedServiceNames)); + sb.append(", active=").append(String.valueOf(this.active)); + sb.append(", appIcon=").append(String.valueOf(this.appIcon)); + sb.append(", appThumbnail=").append(String.valueOf(this.appThumbnail)); + sb.append(", migrated=").append(String.valueOf(this.migrated)); + sb.append(", infrastructure=").append(String.valueOf(this.infrastructure)); + sb.append(", isLoginTarget=").append(String.valueOf(this.isLoginTarget)); + sb.append(", showInMyApps=").append(String.valueOf(this.showInMyApps)); + sb.append(", loginMechanism=").append(String.valueOf(this.loginMechanism)); + sb.append(", landingPageUrl=").append(String.valueOf(this.landingPageUrl)); + sb.append(", productLogoUrl=").append(String.valueOf(this.productLogoUrl)); + sb.append(", privacyPolicyUrl=").append(String.valueOf(this.privacyPolicyUrl)); + sb.append(", termsOfServiceUrl=").append(String.valueOf(this.termsOfServiceUrl)); + sb.append(", contactEmailAddress=").append(String.valueOf(this.contactEmailAddress)); + sb.append(", productName=").append(String.valueOf(this.productName)); + sb.append(", homePageUrl=").append(String.valueOf(this.homePageUrl)); + sb.append(", isFormFill=").append(String.valueOf(this.isFormFill)); + sb.append(", isOAuthClient=").append(String.valueOf(this.isOAuthClient)); + sb.append(", isRadiusApp=").append(String.valueOf(this.isRadiusApp)); + sb.append(", clientType=").append(String.valueOf(this.clientType)); + sb.append(", redirectUris=").append(String.valueOf(this.redirectUris)); + sb.append(", allUrlSchemesAllowed=").append(String.valueOf(this.allUrlSchemesAllowed)); + sb.append(", logoutUri=").append(String.valueOf(this.logoutUri)); + sb.append(", postLogoutRedirectUris=").append(String.valueOf(this.postLogoutRedirectUris)); + sb.append(", allowedGrants=").append(String.valueOf(this.allowedGrants)); + sb.append(", allowedOperations=").append(String.valueOf(this.allowedOperations)); + sb.append(", clientIPChecking=").append(String.valueOf(this.clientIPChecking)); + sb.append(", isOPCService=").append(String.valueOf(this.isOPCService)); + sb.append(", isUnmanagedApp=").append(String.valueOf(this.isUnmanagedApp)); + sb.append(", allowAccessControl=").append(String.valueOf(this.allowAccessControl)); + sb.append(", isOAuthResource=").append(String.valueOf(this.isOAuthResource)); + sb.append(", accessTokenExpiry=").append(String.valueOf(this.accessTokenExpiry)); + sb.append(", refreshTokenExpiry=").append(String.valueOf(this.refreshTokenExpiry)); + sb.append(", allowOffline=").append(String.valueOf(this.allowOffline)); + sb.append(", callbackServiceUrl=").append(String.valueOf(this.callbackServiceUrl)); + sb.append(", audience=").append(String.valueOf(this.audience)); + sb.append(", isMobileTarget=").append(String.valueOf(this.isMobileTarget)); + sb.append(", loginPageUrl=").append(String.valueOf(this.loginPageUrl)); + sb.append(", linkingCallbackUrl=").append(String.valueOf(this.linkingCallbackUrl)); + sb.append(", logoutPageUrl=").append(String.valueOf(this.logoutPageUrl)); + sb.append(", errorPageUrl=").append(String.valueOf(this.errorPageUrl)); + sb.append(", isSamlServiceProvider=").append(String.valueOf(this.isSamlServiceProvider)); + sb.append(", isWebTierPolicy=").append(String.valueOf(this.isWebTierPolicy)); + sb.append(", isKerberosRealm=").append(String.valueOf(this.isKerberosRealm)); + sb.append(", icon=").append(String.valueOf(this.icon)); + sb.append(", isAliasApp=").append(String.valueOf(this.isAliasApp)); + sb.append(", isManagedApp=").append(String.valueOf(this.isManagedApp)); + sb.append(", serviceTypeURN=").append(String.valueOf(this.serviceTypeURN)); + sb.append(", serviceTypeVersion=").append(String.valueOf(this.serviceTypeVersion)); + sb.append(", isObligationCapable=").append(String.valueOf(this.isObligationCapable)); + sb.append(", readyToUpgrade=").append(String.valueOf(this.readyToUpgrade)); + sb.append(", trustScope=").append(String.valueOf(this.trustScope)); + sb.append(", isDatabaseService=").append(String.valueOf(this.isDatabaseService)); + sb.append(", secondaryAudiences=").append(String.valueOf(this.secondaryAudiences)); + sb.append(", isEnterpriseApp=").append(String.valueOf(this.isEnterpriseApp)); + sb.append(", bypassConsent=").append(String.valueOf(this.bypassConsent)); + sb.append(", disableKmsiTokenAuthentication=") + .append(String.valueOf(this.disableKmsiTokenAuthentication)); + sb.append(", isMulticloudServiceApp=").append(String.valueOf(this.isMulticloudServiceApp)); + sb.append(", radiusPolicy=").append(String.valueOf(this.radiusPolicy)); + sb.append(", appsNetworkPerimeters=").append(String.valueOf(this.appsNetworkPerimeters)); + sb.append(", cloudControlProperties=").append(String.valueOf(this.cloudControlProperties)); + sb.append(", editableAttributes=").append(String.valueOf(this.editableAttributes)); + sb.append(", termsOfUse=").append(String.valueOf(this.termsOfUse)); + sb.append(", protectableSecondaryAudiences=") + .append(String.valueOf(this.protectableSecondaryAudiences)); + sb.append(", idpPolicy=").append(String.valueOf(this.idpPolicy)); + sb.append(", allowedTags=").append(String.valueOf(this.allowedTags)); + sb.append(", appSignonPolicy=").append(String.valueOf(this.appSignonPolicy)); + sb.append(", trustPolicies=").append(String.valueOf(this.trustPolicies)); + sb.append(", signonPolicy=").append(String.valueOf(this.signonPolicy)); + sb.append(", identityProviders=").append(String.valueOf(this.identityProviders)); + sb.append(", accounts=").append(String.valueOf(this.accounts)); + sb.append(", grants=").append(String.valueOf(this.grants)); + sb.append(", serviceParams=").append(String.valueOf(this.serviceParams)); + sb.append(", attrRenderingMetadata=").append(String.valueOf(this.attrRenderingMetadata)); + sb.append(", basedOnTemplate=").append(String.valueOf(this.basedOnTemplate)); + sb.append(", grantedAppRoles=").append(String.valueOf(this.grantedAppRoles)); + sb.append(", samlServiceProvider=").append(String.valueOf(this.samlServiceProvider)); + sb.append(", allowedScopes=").append(String.valueOf(this.allowedScopes)); + sb.append(", certificates=").append(String.valueOf(this.certificates)); + sb.append(", aliasApps=").append(String.valueOf(this.aliasApps)); + sb.append(", asOPCService=").append(String.valueOf(this.asOPCService)); + sb.append(", adminRoles=").append(String.valueOf(this.adminRoles)); + sb.append(", userRoles=").append(String.valueOf(this.userRoles)); + sb.append(", scopes=").append(String.valueOf(this.scopes)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp=") + .append( + String.valueOf( + this.urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp=") + .append( + String.valueOf( + this + .urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp=") + .append( + String.valueOf( + this.urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp=") + .append( + String.valueOf( + this.urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate=") + .append( + String.valueOf( + this + .urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp=") + .append( + String.valueOf( + this.urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp=") + .append( + String.valueOf( + this.urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp=") + .append( + String.valueOf( + this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp=") + .append( + String.valueOf( + this.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp=") + .append(String.valueOf(this.urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp=") + .append( + String.valueOf( + this.urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionOciTags=") + .append(String.valueOf(this.urnIetfParamsScimSchemasOracleIdcsExtensionOciTags)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp=") + .append( + String.valueOf( + this + .urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof App)) { + return false; + } + + App other = (App) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.meterAsOPCService, other.meterAsOPCService) + && java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.clientSecret, other.clientSecret) + && java.util.Objects.equals(this.hashedClientSecret, other.hashedClientSecret) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.idTokenEncAlgo, other.idTokenEncAlgo) + && java.util.Objects.equals(this.delegatedServiceNames, other.delegatedServiceNames) + && java.util.Objects.equals(this.active, other.active) + && java.util.Objects.equals(this.appIcon, other.appIcon) + && java.util.Objects.equals(this.appThumbnail, other.appThumbnail) + && java.util.Objects.equals(this.migrated, other.migrated) + && java.util.Objects.equals(this.infrastructure, other.infrastructure) + && java.util.Objects.equals(this.isLoginTarget, other.isLoginTarget) + && java.util.Objects.equals(this.showInMyApps, other.showInMyApps) + && java.util.Objects.equals(this.loginMechanism, other.loginMechanism) + && java.util.Objects.equals(this.landingPageUrl, other.landingPageUrl) + && java.util.Objects.equals(this.productLogoUrl, other.productLogoUrl) + && java.util.Objects.equals(this.privacyPolicyUrl, other.privacyPolicyUrl) + && java.util.Objects.equals(this.termsOfServiceUrl, other.termsOfServiceUrl) + && java.util.Objects.equals(this.contactEmailAddress, other.contactEmailAddress) + && java.util.Objects.equals(this.productName, other.productName) + && java.util.Objects.equals(this.homePageUrl, other.homePageUrl) + && java.util.Objects.equals(this.isFormFill, other.isFormFill) + && java.util.Objects.equals(this.isOAuthClient, other.isOAuthClient) + && java.util.Objects.equals(this.isRadiusApp, other.isRadiusApp) + && java.util.Objects.equals(this.clientType, other.clientType) + && java.util.Objects.equals(this.redirectUris, other.redirectUris) + && java.util.Objects.equals(this.allUrlSchemesAllowed, other.allUrlSchemesAllowed) + && java.util.Objects.equals(this.logoutUri, other.logoutUri) + && java.util.Objects.equals( + this.postLogoutRedirectUris, other.postLogoutRedirectUris) + && java.util.Objects.equals(this.allowedGrants, other.allowedGrants) + && java.util.Objects.equals(this.allowedOperations, other.allowedOperations) + && java.util.Objects.equals(this.clientIPChecking, other.clientIPChecking) + && java.util.Objects.equals(this.isOPCService, other.isOPCService) + && java.util.Objects.equals(this.isUnmanagedApp, other.isUnmanagedApp) + && java.util.Objects.equals(this.allowAccessControl, other.allowAccessControl) + && java.util.Objects.equals(this.isOAuthResource, other.isOAuthResource) + && java.util.Objects.equals(this.accessTokenExpiry, other.accessTokenExpiry) + && java.util.Objects.equals(this.refreshTokenExpiry, other.refreshTokenExpiry) + && java.util.Objects.equals(this.allowOffline, other.allowOffline) + && java.util.Objects.equals(this.callbackServiceUrl, other.callbackServiceUrl) + && java.util.Objects.equals(this.audience, other.audience) + && java.util.Objects.equals(this.isMobileTarget, other.isMobileTarget) + && java.util.Objects.equals(this.loginPageUrl, other.loginPageUrl) + && java.util.Objects.equals(this.linkingCallbackUrl, other.linkingCallbackUrl) + && java.util.Objects.equals(this.logoutPageUrl, other.logoutPageUrl) + && java.util.Objects.equals(this.errorPageUrl, other.errorPageUrl) + && java.util.Objects.equals(this.isSamlServiceProvider, other.isSamlServiceProvider) + && java.util.Objects.equals(this.isWebTierPolicy, other.isWebTierPolicy) + && java.util.Objects.equals(this.isKerberosRealm, other.isKerberosRealm) + && java.util.Objects.equals(this.icon, other.icon) + && java.util.Objects.equals(this.isAliasApp, other.isAliasApp) + && java.util.Objects.equals(this.isManagedApp, other.isManagedApp) + && java.util.Objects.equals(this.serviceTypeURN, other.serviceTypeURN) + && java.util.Objects.equals(this.serviceTypeVersion, other.serviceTypeVersion) + && java.util.Objects.equals(this.isObligationCapable, other.isObligationCapable) + && java.util.Objects.equals(this.readyToUpgrade, other.readyToUpgrade) + && java.util.Objects.equals(this.trustScope, other.trustScope) + && java.util.Objects.equals(this.isDatabaseService, other.isDatabaseService) + && java.util.Objects.equals(this.secondaryAudiences, other.secondaryAudiences) + && java.util.Objects.equals(this.isEnterpriseApp, other.isEnterpriseApp) + && java.util.Objects.equals(this.bypassConsent, other.bypassConsent) + && java.util.Objects.equals( + this.disableKmsiTokenAuthentication, other.disableKmsiTokenAuthentication) + && java.util.Objects.equals( + this.isMulticloudServiceApp, other.isMulticloudServiceApp) + && java.util.Objects.equals(this.radiusPolicy, other.radiusPolicy) + && java.util.Objects.equals(this.appsNetworkPerimeters, other.appsNetworkPerimeters) + && java.util.Objects.equals( + this.cloudControlProperties, other.cloudControlProperties) + && java.util.Objects.equals(this.editableAttributes, other.editableAttributes) + && java.util.Objects.equals(this.termsOfUse, other.termsOfUse) + && java.util.Objects.equals( + this.protectableSecondaryAudiences, other.protectableSecondaryAudiences) + && java.util.Objects.equals(this.idpPolicy, other.idpPolicy) + && java.util.Objects.equals(this.allowedTags, other.allowedTags) + && java.util.Objects.equals(this.appSignonPolicy, other.appSignonPolicy) + && java.util.Objects.equals(this.trustPolicies, other.trustPolicies) + && java.util.Objects.equals(this.signonPolicy, other.signonPolicy) + && java.util.Objects.equals(this.identityProviders, other.identityProviders) + && java.util.Objects.equals(this.accounts, other.accounts) + && java.util.Objects.equals(this.grants, other.grants) + && java.util.Objects.equals(this.serviceParams, other.serviceParams) + && java.util.Objects.equals(this.attrRenderingMetadata, other.attrRenderingMetadata) + && java.util.Objects.equals(this.basedOnTemplate, other.basedOnTemplate) + && java.util.Objects.equals(this.grantedAppRoles, other.grantedAppRoles) + && java.util.Objects.equals(this.samlServiceProvider, other.samlServiceProvider) + && java.util.Objects.equals(this.allowedScopes, other.allowedScopes) + && java.util.Objects.equals(this.certificates, other.certificates) + && java.util.Objects.equals(this.aliasApps, other.aliasApps) + && java.util.Objects.equals(this.asOPCService, other.asOPCService) + && java.util.Objects.equals(this.adminRoles, other.adminRoles) + && java.util.Objects.equals(this.userRoles, other.userRoles) + && java.util.Objects.equals(this.scopes, other.scopes) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp, + other.urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp, + other.urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp, + other.urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp, + other.urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp) + && java.util.Objects.equals( + this + .urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate, + other.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp, + other.urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp, + other.urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp, + other.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp, + other.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp, + other.urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp, + other.urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciTags, + other.urnIetfParamsScimSchemasOracleIdcsExtensionOciTags) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp, + other.urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = + (result * PRIME) + + (this.meterAsOPCService == null ? 43 : this.meterAsOPCService.hashCode()); + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + (this.clientSecret == null ? 43 : this.clientSecret.hashCode()); + result = + (result * PRIME) + + (this.hashedClientSecret == null + ? 43 + : this.hashedClientSecret.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = + (result * PRIME) + + (this.idTokenEncAlgo == null ? 43 : this.idTokenEncAlgo.hashCode()); + result = + (result * PRIME) + + (this.delegatedServiceNames == null + ? 43 + : this.delegatedServiceNames.hashCode()); + result = (result * PRIME) + (this.active == null ? 43 : this.active.hashCode()); + result = (result * PRIME) + (this.appIcon == null ? 43 : this.appIcon.hashCode()); + result = (result * PRIME) + (this.appThumbnail == null ? 43 : this.appThumbnail.hashCode()); + result = (result * PRIME) + (this.migrated == null ? 43 : this.migrated.hashCode()); + result = + (result * PRIME) + + (this.infrastructure == null ? 43 : this.infrastructure.hashCode()); + result = + (result * PRIME) + + (this.isLoginTarget == null ? 43 : this.isLoginTarget.hashCode()); + result = (result * PRIME) + (this.showInMyApps == null ? 43 : this.showInMyApps.hashCode()); + result = + (result * PRIME) + + (this.loginMechanism == null ? 43 : this.loginMechanism.hashCode()); + result = + (result * PRIME) + + (this.landingPageUrl == null ? 43 : this.landingPageUrl.hashCode()); + result = + (result * PRIME) + + (this.productLogoUrl == null ? 43 : this.productLogoUrl.hashCode()); + result = + (result * PRIME) + + (this.privacyPolicyUrl == null ? 43 : this.privacyPolicyUrl.hashCode()); + result = + (result * PRIME) + + (this.termsOfServiceUrl == null ? 43 : this.termsOfServiceUrl.hashCode()); + result = + (result * PRIME) + + (this.contactEmailAddress == null + ? 43 + : this.contactEmailAddress.hashCode()); + result = (result * PRIME) + (this.productName == null ? 43 : this.productName.hashCode()); + result = (result * PRIME) + (this.homePageUrl == null ? 43 : this.homePageUrl.hashCode()); + result = (result * PRIME) + (this.isFormFill == null ? 43 : this.isFormFill.hashCode()); + result = + (result * PRIME) + + (this.isOAuthClient == null ? 43 : this.isOAuthClient.hashCode()); + result = (result * PRIME) + (this.isRadiusApp == null ? 43 : this.isRadiusApp.hashCode()); + result = (result * PRIME) + (this.clientType == null ? 43 : this.clientType.hashCode()); + result = (result * PRIME) + (this.redirectUris == null ? 43 : this.redirectUris.hashCode()); + result = + (result * PRIME) + + (this.allUrlSchemesAllowed == null + ? 43 + : this.allUrlSchemesAllowed.hashCode()); + result = (result * PRIME) + (this.logoutUri == null ? 43 : this.logoutUri.hashCode()); + result = + (result * PRIME) + + (this.postLogoutRedirectUris == null + ? 43 + : this.postLogoutRedirectUris.hashCode()); + result = + (result * PRIME) + + (this.allowedGrants == null ? 43 : this.allowedGrants.hashCode()); + result = + (result * PRIME) + + (this.allowedOperations == null ? 43 : this.allowedOperations.hashCode()); + result = + (result * PRIME) + + (this.clientIPChecking == null ? 43 : this.clientIPChecking.hashCode()); + result = (result * PRIME) + (this.isOPCService == null ? 43 : this.isOPCService.hashCode()); + result = + (result * PRIME) + + (this.isUnmanagedApp == null ? 43 : this.isUnmanagedApp.hashCode()); + result = + (result * PRIME) + + (this.allowAccessControl == null + ? 43 + : this.allowAccessControl.hashCode()); + result = + (result * PRIME) + + (this.isOAuthResource == null ? 43 : this.isOAuthResource.hashCode()); + result = + (result * PRIME) + + (this.accessTokenExpiry == null ? 43 : this.accessTokenExpiry.hashCode()); + result = + (result * PRIME) + + (this.refreshTokenExpiry == null + ? 43 + : this.refreshTokenExpiry.hashCode()); + result = (result * PRIME) + (this.allowOffline == null ? 43 : this.allowOffline.hashCode()); + result = + (result * PRIME) + + (this.callbackServiceUrl == null + ? 43 + : this.callbackServiceUrl.hashCode()); + result = (result * PRIME) + (this.audience == null ? 43 : this.audience.hashCode()); + result = + (result * PRIME) + + (this.isMobileTarget == null ? 43 : this.isMobileTarget.hashCode()); + result = (result * PRIME) + (this.loginPageUrl == null ? 43 : this.loginPageUrl.hashCode()); + result = + (result * PRIME) + + (this.linkingCallbackUrl == null + ? 43 + : this.linkingCallbackUrl.hashCode()); + result = + (result * PRIME) + + (this.logoutPageUrl == null ? 43 : this.logoutPageUrl.hashCode()); + result = (result * PRIME) + (this.errorPageUrl == null ? 43 : this.errorPageUrl.hashCode()); + result = + (result * PRIME) + + (this.isSamlServiceProvider == null + ? 43 + : this.isSamlServiceProvider.hashCode()); + result = + (result * PRIME) + + (this.isWebTierPolicy == null ? 43 : this.isWebTierPolicy.hashCode()); + result = + (result * PRIME) + + (this.isKerberosRealm == null ? 43 : this.isKerberosRealm.hashCode()); + result = (result * PRIME) + (this.icon == null ? 43 : this.icon.hashCode()); + result = (result * PRIME) + (this.isAliasApp == null ? 43 : this.isAliasApp.hashCode()); + result = (result * PRIME) + (this.isManagedApp == null ? 43 : this.isManagedApp.hashCode()); + result = + (result * PRIME) + + (this.serviceTypeURN == null ? 43 : this.serviceTypeURN.hashCode()); + result = + (result * PRIME) + + (this.serviceTypeVersion == null + ? 43 + : this.serviceTypeVersion.hashCode()); + result = + (result * PRIME) + + (this.isObligationCapable == null + ? 43 + : this.isObligationCapable.hashCode()); + result = + (result * PRIME) + + (this.readyToUpgrade == null ? 43 : this.readyToUpgrade.hashCode()); + result = (result * PRIME) + (this.trustScope == null ? 43 : this.trustScope.hashCode()); + result = + (result * PRIME) + + (this.isDatabaseService == null ? 43 : this.isDatabaseService.hashCode()); + result = + (result * PRIME) + + (this.secondaryAudiences == null + ? 43 + : this.secondaryAudiences.hashCode()); + result = + (result * PRIME) + + (this.isEnterpriseApp == null ? 43 : this.isEnterpriseApp.hashCode()); + result = + (result * PRIME) + + (this.bypassConsent == null ? 43 : this.bypassConsent.hashCode()); + result = + (result * PRIME) + + (this.disableKmsiTokenAuthentication == null + ? 43 + : this.disableKmsiTokenAuthentication.hashCode()); + result = + (result * PRIME) + + (this.isMulticloudServiceApp == null + ? 43 + : this.isMulticloudServiceApp.hashCode()); + result = (result * PRIME) + (this.radiusPolicy == null ? 43 : this.radiusPolicy.hashCode()); + result = + (result * PRIME) + + (this.appsNetworkPerimeters == null + ? 43 + : this.appsNetworkPerimeters.hashCode()); + result = + (result * PRIME) + + (this.cloudControlProperties == null + ? 43 + : this.cloudControlProperties.hashCode()); + result = + (result * PRIME) + + (this.editableAttributes == null + ? 43 + : this.editableAttributes.hashCode()); + result = (result * PRIME) + (this.termsOfUse == null ? 43 : this.termsOfUse.hashCode()); + result = + (result * PRIME) + + (this.protectableSecondaryAudiences == null + ? 43 + : this.protectableSecondaryAudiences.hashCode()); + result = (result * PRIME) + (this.idpPolicy == null ? 43 : this.idpPolicy.hashCode()); + result = (result * PRIME) + (this.allowedTags == null ? 43 : this.allowedTags.hashCode()); + result = + (result * PRIME) + + (this.appSignonPolicy == null ? 43 : this.appSignonPolicy.hashCode()); + result = + (result * PRIME) + + (this.trustPolicies == null ? 43 : this.trustPolicies.hashCode()); + result = (result * PRIME) + (this.signonPolicy == null ? 43 : this.signonPolicy.hashCode()); + result = + (result * PRIME) + + (this.identityProviders == null ? 43 : this.identityProviders.hashCode()); + result = (result * PRIME) + (this.accounts == null ? 43 : this.accounts.hashCode()); + result = (result * PRIME) + (this.grants == null ? 43 : this.grants.hashCode()); + result = + (result * PRIME) + + (this.serviceParams == null ? 43 : this.serviceParams.hashCode()); + result = + (result * PRIME) + + (this.attrRenderingMetadata == null + ? 43 + : this.attrRenderingMetadata.hashCode()); + result = + (result * PRIME) + + (this.basedOnTemplate == null ? 43 : this.basedOnTemplate.hashCode()); + result = + (result * PRIME) + + (this.grantedAppRoles == null ? 43 : this.grantedAppRoles.hashCode()); + result = + (result * PRIME) + + (this.samlServiceProvider == null + ? 43 + : this.samlServiceProvider.hashCode()); + result = + (result * PRIME) + + (this.allowedScopes == null ? 43 : this.allowedScopes.hashCode()); + result = (result * PRIME) + (this.certificates == null ? 43 : this.certificates.hashCode()); + result = (result * PRIME) + (this.aliasApps == null ? 43 : this.aliasApps.hashCode()); + result = (result * PRIME) + (this.asOPCService == null ? 43 : this.asOPCService.hashCode()); + result = (result * PRIME) + (this.adminRoles == null ? 43 : this.adminRoles.hashCode()); + result = (result * PRIME) + (this.userRoles == null ? 43 : this.userRoles.hashCode()); + result = (result * PRIME) + (this.scopes == null ? 43 : this.scopes.hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp == null + ? 43 + : this.urnIetfParamsScimSchemasOracleIdcsExtensionRadiusAppApp + .hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp + == null + ? 43 + : this + .urnIetfParamsScimSchemasOracleIdcsExtensionSamlServiceProviderApp + .hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp == null + ? 43 + : this.urnIetfParamsScimSchemasOracleIdcsExtensionWebTierPolicyApp + .hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp == null + ? 43 + : this.urnIetfParamsScimSchemasOracleIdcsExtensionManagedappApp + .hashCode()); + result = + (result * PRIME) + + (this + .urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate + == null + ? 43 + : this + .urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppTemplateAppTemplate + .hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp == null + ? 43 + : this.urnIetfParamsScimSchemasOracleIdcsExtensionOpcServiceApp + .hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp == null + ? 43 + : this.urnIetfParamsScimSchemasOracleIdcsExtensionKerberosRealmApp + .hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp == null + ? 43 + : this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableApp + .hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp == null + ? 43 + : this.urnIetfParamsScimSchemasOracleIdcsExtensionFormFillAppApp + .hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp == null + ? 43 + : this.urnIetfParamsScimSchemasOracleIdcsExtensionDbcsApp + .hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp == null + ? 43 + : this.urnIetfParamsScimSchemasOracleIdcsExtensionEnterpriseAppApp + .hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionOciTags == null + ? 43 + : this.urnIetfParamsScimSchemasOracleIdcsExtensionOciTags + .hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp + == null + ? 43 + : this + .urnIetfParamsScimSchemasOracleIdcsExtensionMulticloudServiceAppApp + .hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAccounts.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAccounts.java new file mode 100644 index 00000000000..b4691eefa5b --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAccounts.java @@ -0,0 +1,375 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Accounts of App
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppAccounts.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppAccounts extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "ownerId", "name", "active"}) + public AppAccounts(String value, String ref, String ownerId, String name, Boolean active) { + super(); + this.value = value; + this.ref = ref; + this.ownerId = ownerId; + this.name = name; + this.active = active; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Account identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Account identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * AccountMgmtInfo URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * AccountMgmtInfo URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Owner identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("ownerId") + private String ownerId; + + /** + * Owner identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param ownerId the value to set + * @return this builder + */ + public Builder ownerId(String ownerId) { + this.ownerId = ownerId; + this.__explicitlySet__.add("ownerId"); + return this; + } + /** + * Name of the account + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Name of the account + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * Status of the account + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private Boolean active; + + /** + * Status of the account + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param active the value to set + * @return this builder + */ + public Builder active(Boolean active) { + this.active = active; + this.__explicitlySet__.add("active"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppAccounts build() { + AppAccounts model = + new AppAccounts(this.value, this.ref, this.ownerId, this.name, this.active); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppAccounts model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("ownerId")) { + this.ownerId(model.getOwnerId()); + } + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("active")) { + this.active(model.getActive()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Account identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Account identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * AccountMgmtInfo URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * AccountMgmtInfo URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Owner identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("ownerId") + private final String ownerId; + + /** + * Owner identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getOwnerId() { + return ownerId; + } + + /** + * Name of the account + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Name of the account + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * Status of the account + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private final Boolean active; + + /** + * Status of the account + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getActive() { + return active; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppAccounts("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", ownerId=").append(String.valueOf(this.ownerId)); + sb.append(", name=").append(String.valueOf(this.name)); + sb.append(", active=").append(String.valueOf(this.active)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppAccounts)) { + return false; + } + + AppAccounts other = (AppAccounts) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.ownerId, other.ownerId) + && java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.active, other.active) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.ownerId == null ? 43 : this.ownerId.hashCode()); + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + (this.active == null ? 43 : this.active.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAdminRoles.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAdminRoles.java new file mode 100644 index 00000000000..7dcacee7a6e --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAdminRoles.java @@ -0,0 +1,303 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A list of AppRoles defined by this UnmanagedApp. Membership in each of these AppRoles confers + * administrative privilege within this App.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppAdminRoles.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppAdminRoles extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display", "description"}) + public AppAdminRoles(String value, String ref, String display, String description) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + this.description = description; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * ID of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * ID of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: true - returned: default - type: string - uniqueness: none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Display-name of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Display-name of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * The description of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * The description of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppAdminRoles build() { + AppAdminRoles model = + new AppAdminRoles(this.value, this.ref, this.display, this.description); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppAdminRoles model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * ID of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * ID of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Display-name of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Display-name of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * The description of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * The description of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDescription() { + return description; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppAdminRoles("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppAdminRoles)) { + return false; + } + + AppAdminRoles other = (AppAdminRoles) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.description, other.description) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAliasApps.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAliasApps.java new file mode 100644 index 00000000000..db417bae170 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAliasApps.java @@ -0,0 +1,313 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Each value of this internal attribute refers to an Oracle Public Cloud infrastructure App on + * which this App depends.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppAliasApps.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppAliasApps extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display", "description"}) + public AppAliasApps(String value, String ref, String display, String description) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + this.description = description; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * ID of the alias App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * ID of the alias App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the alias App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: reference - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the alias App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: reference - + * uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Display name of the alias App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Display name of the alias App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * Description of the alias App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * Description of the alias App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppAliasApps build() { + AppAliasApps model = + new AppAliasApps(this.value, this.ref, this.display, this.description); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppAliasApps model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * ID of the alias App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * ID of the alias App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the alias App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the alias App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: + * none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Display name of the alias App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Display name of the alias App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * Description of the alias App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * Description of the alias App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDescription() { + return description; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppAliasApps("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppAliasApps)) { + return false; + } + + AppAliasApps other = (AppAliasApps) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.description, other.description) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAllowAuthzPolicy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAllowAuthzPolicy.java new file mode 100644 index 00000000000..71607f0556b --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAllowAuthzPolicy.java @@ -0,0 +1,224 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Allow Authz Policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppAllowAuthzPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppAllowAuthzPolicy + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public AppAllowAuthzPolicy(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Identifier of the Policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Identifier of the Policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppAllowAuthzPolicy build() { + AppAllowAuthzPolicy model = new AppAllowAuthzPolicy(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppAllowAuthzPolicy model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Identifier of the Policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Identifier of the Policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppAllowAuthzPolicy("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppAllowAuthzPolicy)) { + return false; + } + + AppAllowAuthzPolicy other = (AppAllowAuthzPolicy) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAllowedScopes.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAllowedScopes.java new file mode 100644 index 00000000000..b5b42134c13 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAllowedScopes.java @@ -0,0 +1,269 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A list of scopes (exposed by this App or by other Apps) that this App is allowed to access when + * it acts as an OAuthClient.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppAllowedScopes.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppAllowedScopes + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"fqs", "idOfDefiningApp", "readOnly"}) + public AppAllowedScopes(String fqs, String idOfDefiningApp, Boolean readOnly) { + super(); + this.fqs = fqs; + this.idOfDefiningApp = idOfDefiningApp; + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * A fully qualified scope that this App is allowed to access when it acts as an + * OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("fqs") + private String fqs; + + /** + * A fully qualified scope that this App is allowed to access when it acts as an + * OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param fqs the value to set + * @return this builder + */ + public Builder fqs(String fqs) { + this.fqs = fqs; + this.__explicitlySet__.add("fqs"); + return this; + } + /** + * The ID of the App that defines this scope. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idOfDefiningApp") + private String idOfDefiningApp; + + /** + * The ID of the App that defines this scope. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param idOfDefiningApp the value to set + * @return this builder + */ + public Builder idOfDefiningApp(String idOfDefiningApp) { + this.idOfDefiningApp = idOfDefiningApp; + this.__explicitlySet__.add("idOfDefiningApp"); + return this; + } + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + private Boolean readOnly; + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param readOnly the value to set + * @return this builder + */ + public Builder readOnly(Boolean readOnly) { + this.readOnly = readOnly; + this.__explicitlySet__.add("readOnly"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppAllowedScopes build() { + AppAllowedScopes model = + new AppAllowedScopes(this.fqs, this.idOfDefiningApp, this.readOnly); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppAllowedScopes model) { + if (model.wasPropertyExplicitlySet("fqs")) { + this.fqs(model.getFqs()); + } + if (model.wasPropertyExplicitlySet("idOfDefiningApp")) { + this.idOfDefiningApp(model.getIdOfDefiningApp()); + } + if (model.wasPropertyExplicitlySet("readOnly")) { + this.readOnly(model.getReadOnly()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * A fully qualified scope that this App is allowed to access when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("fqs") + private final String fqs; + + /** + * A fully qualified scope that this App is allowed to access when it acts as an OAuthClient. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getFqs() { + return fqs; + } + + /** + * The ID of the App that defines this scope. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idOfDefiningApp") + private final String idOfDefiningApp; + + /** + * The ID of the App that defines this scope. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getIdOfDefiningApp() { + return idOfDefiningApp; + } + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + private final Boolean readOnly; + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getReadOnly() { + return readOnly; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppAllowedScopes("); + sb.append("super=").append(super.toString()); + sb.append("fqs=").append(String.valueOf(this.fqs)); + sb.append(", idOfDefiningApp=").append(String.valueOf(this.idOfDefiningApp)); + sb.append(", readOnly=").append(String.valueOf(this.readOnly)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppAllowedScopes)) { + return false; + } + + AppAllowedScopes other = (AppAllowedScopes) o; + return java.util.Objects.equals(this.fqs, other.fqs) + && java.util.Objects.equals(this.idOfDefiningApp, other.idOfDefiningApp) + && java.util.Objects.equals(this.readOnly, other.readOnly) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.fqs == null ? 43 : this.fqs.hashCode()); + result = + (result * PRIME) + + (this.idOfDefiningApp == null ? 43 : this.idOfDefiningApp.hashCode()); + result = (result * PRIME) + (this.readOnly == null ? 43 : this.readOnly.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAllowedTags.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAllowedTags.java new file mode 100644 index 00000000000..af52330964e --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAllowedTags.java @@ -0,0 +1,279 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A list of tags, acting as an OAuthClient, this App is allowed to access.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppAllowedTags.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppAllowedTags + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"key", "value", "readOnly"}) + public AppAllowedTags(String key, String value, Boolean readOnly) { + super(); + this.key = key; + this.value = value; + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Key or name of the allowed tag. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + private String key; + + /** + * Key or name of the allowed tag. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param key the value to set + * @return this builder + */ + public Builder key(String key) { + this.key = key; + this.__explicitlySet__.add("key"); + return this; + } + /** + * Value of the allowed tag. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Value of the allowed tag. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + private Boolean readOnly; + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param readOnly the value to set + * @return this builder + */ + public Builder readOnly(Boolean readOnly) { + this.readOnly = readOnly; + this.__explicitlySet__.add("readOnly"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppAllowedTags build() { + AppAllowedTags model = new AppAllowedTags(this.key, this.value, this.readOnly); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppAllowedTags model) { + if (model.wasPropertyExplicitlySet("key")) { + this.key(model.getKey()); + } + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("readOnly")) { + this.readOnly(model.getReadOnly()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Key or name of the allowed tag. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + private final String key; + + /** + * Key or name of the allowed tag. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getKey() { + return key; + } + + /** + * Value of the allowed tag. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Value of the allowed tag. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + private final Boolean readOnly; + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getReadOnly() { + return readOnly; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppAllowedTags("); + sb.append("super=").append(super.toString()); + sb.append("key=").append(String.valueOf(this.key)); + sb.append(", value=").append(String.valueOf(this.value)); + sb.append(", readOnly=").append(String.valueOf(this.readOnly)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppAllowedTags)) { + return false; + } + + AppAllowedTags other = (AppAllowedTags) o; + return java.util.Objects.equals(this.key, other.key) + && java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.readOnly, other.readOnly) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.key == null ? 43 : this.key.hashCode()); + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.readOnly == null ? 43 : this.readOnly.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAppResources.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAppResources.java new file mode 100644 index 00000000000..47966ea6a02 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAppResources.java @@ -0,0 +1,228 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A list of AppResources of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: default - type: complex + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppAppResources.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppAppResources + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public AppAppResources(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The id of an AppResource of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * The id of an AppResource of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * The URI of an AppResource of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: reference - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * The URI of an AppResource of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: reference - + * uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppAppResources build() { + AppAppResources model = new AppAppResources(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppAppResources model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The id of an AppResource of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * The id of an AppResource of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * The URI of an AppResource of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: reference - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * The URI of an AppResource of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: reference - uniqueness: + * none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppAppResources("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppAppResources)) { + return false; + } + + AppAppResources other = (AppAppResources) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAppSignonPolicy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAppSignonPolicy.java new file mode 100644 index 00000000000..4db649b2b08 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAppSignonPolicy.java @@ -0,0 +1,206 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * App Sign-on Policy. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppAppSignonPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppAppSignonPolicy + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public AppAppSignonPolicy(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Identifier of the Policy. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Identifier of the Policy. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the policy. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the policy. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppAppSignonPolicy build() { + AppAppSignonPolicy model = new AppAppSignonPolicy(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppAppSignonPolicy model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Identifier of the Policy. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Identifier of the Policy. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the policy. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the policy. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppAppSignonPolicy("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppAppSignonPolicy)) { + return false; + } + + AppAppSignonPolicy other = (AppAppSignonPolicy) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAppsNetworkPerimeters.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAppsNetworkPerimeters.java new file mode 100644 index 00000000000..0ae13397afb --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAppsNetworkPerimeters.java @@ -0,0 +1,223 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Network Perimeter
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppAppsNetworkPerimeters.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppAppsNetworkPerimeters + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public AppAppsNetworkPerimeters(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * List of identifier of Network Perimeters for App + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * List of identifier of Network Perimeters for App + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the Network Perimeter. + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: reference - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the Network Perimeter. + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: reference - + * uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppAppsNetworkPerimeters build() { + AppAppsNetworkPerimeters model = new AppAppsNetworkPerimeters(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppAppsNetworkPerimeters model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * List of identifier of Network Perimeters for App + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * List of identifier of Network Perimeters for App + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the Network Perimeter. + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the Network Perimeter. + * + *

*Added In:** 2010242156 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: + * none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppAppsNetworkPerimeters("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppAppsNetworkPerimeters)) { + return false; + } + + AppAppsNetworkPerimeters other = (AppAppsNetworkPerimeters) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAsOPCService.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAsOPCService.java new file mode 100644 index 00000000000..6f399560d02 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAsOPCService.java @@ -0,0 +1,223 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * OPCService facet of the application. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppAsOPCService.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppAsOPCService + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public AppAsOPCService(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Identifier of the OPCService facet. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Identifier of the OPCService facet. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the OPCService facet. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the OPCService facet. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppAsOPCService build() { + AppAsOPCService model = new AppAsOPCService(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppAsOPCService model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Identifier of the OPCService facet. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Identifier of the OPCService facet. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the OPCService facet. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the OPCService facet. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppAsOPCService("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppAsOPCService)) { + return false; + } + + AppAsOPCService other = (AppAsOPCService) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAttrRenderingMetadata.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAttrRenderingMetadata.java new file mode 100644 index 00000000000..08bb93cfa7d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppAttrRenderingMetadata.java @@ -0,0 +1,1015 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Label for the attribute to be shown in the UI.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppAttrRenderingMetadata.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppAttrRenderingMetadata + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "name", + "label", + "helptext", + "widget", + "datatype", + "section", + "order", + "required", + "regexp", + "readOnly", + "visible", + "minLength", + "maxLength", + "minSize", + "maxSize" + }) + public AppAttrRenderingMetadata( + String name, + String label, + String helptext, + Widget widget, + String datatype, + Section section, + Integer order, + Boolean required, + String regexp, + Boolean readOnly, + Boolean visible, + Integer minLength, + Integer maxLength, + Integer minSize, + Integer maxSize) { + super(); + this.name = name; + this.label = label; + this.helptext = helptext; + this.widget = widget; + this.datatype = datatype; + this.section = section; + this.order = order; + this.required = required; + this.regexp = regexp; + this.readOnly = readOnly; + this.visible = visible; + this.minLength = minLength; + this.maxLength = maxLength; + this.minSize = minSize; + this.maxSize = maxSize; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Name of the attribute. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Name of the attribute. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * Label for the attribute to be shown in the UI. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("label") + private String label; + + /** + * Label for the attribute to be shown in the UI. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param label the value to set + * @return this builder + */ + public Builder label(String label) { + this.label = label; + this.__explicitlySet__.add("label"); + return this; + } + /** + * Help text for the attribute. It can contain HTML tags. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("helptext") + private String helptext; + + /** + * Help text for the attribute. It can contain HTML tags. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param helptext the value to set + * @return this builder + */ + public Builder helptext(String helptext) { + this.helptext = helptext; + this.__explicitlySet__.add("helptext"); + return this; + } + /** + * UI widget to use for the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("widget") + private Widget widget; + + /** + * UI widget to use for the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param widget the value to set + * @return this builder + */ + public Builder widget(Widget widget) { + this.widget = widget; + this.__explicitlySet__.add("widget"); + return this; + } + /** + * Data type of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("datatype") + private String datatype; + + /** + * Data type of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param datatype the value to set + * @return this builder + */ + public Builder datatype(String datatype) { + this.datatype = datatype; + this.__explicitlySet__.add("datatype"); + return this; + } + /** + * UI widget to use for the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("section") + private Section section; + + /** + * UI widget to use for the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param section the value to set + * @return this builder + */ + public Builder section(Section section) { + this.section = section; + this.__explicitlySet__.add("section"); + return this; + } + /** + * Data type of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("order") + private Integer order; + + /** + * Data type of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + * + * @param order the value to set + * @return this builder + */ + public Builder order(Integer order) { + this.order = order; + this.__explicitlySet__.add("order"); + return this; + } + /** + * Attribute is required or optional. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("required") + private Boolean required; + + /** + * Attribute is required or optional. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param required the value to set + * @return this builder + */ + public Builder required(Boolean required) { + this.required = required; + this.__explicitlySet__.add("required"); + return this; + } + /** + * Regular expression of the attribute for validation. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("regexp") + private String regexp; + + /** + * Regular expression of the attribute for validation. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param regexp the value to set + * @return this builder + */ + public Builder regexp(String regexp) { + this.regexp = regexp; + this.__explicitlySet__.add("regexp"); + return this; + } + /** + * Is the attribute readOnly. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + private Boolean readOnly; + + /** + * Is the attribute readOnly. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param readOnly the value to set + * @return this builder + */ + public Builder readOnly(Boolean readOnly) { + this.readOnly = readOnly; + this.__explicitlySet__.add("readOnly"); + return this; + } + /** + * Indicates whether the attribute is to be shown on the application creation UI. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("visible") + private Boolean visible; + + /** + * Indicates whether the attribute is to be shown on the application creation UI. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param visible the value to set + * @return this builder + */ + public Builder visible(Boolean visible) { + this.visible = visible; + this.__explicitlySet__.add("visible"); + return this; + } + /** + * Minimum length of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("minLength") + private Integer minLength; + + /** + * Minimum length of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + * + * @param minLength the value to set + * @return this builder + */ + public Builder minLength(Integer minLength) { + this.minLength = minLength; + this.__explicitlySet__.add("minLength"); + return this; + } + /** + * Maximum length of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxLength") + private Integer maxLength; + + /** + * Maximum length of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + * + * @param maxLength the value to set + * @return this builder + */ + public Builder maxLength(Integer maxLength) { + this.maxLength = maxLength; + this.__explicitlySet__.add("maxLength"); + return this; + } + /** + * Minimum size of the attribute.. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("minSize") + private Integer minSize; + + /** + * Minimum size of the attribute.. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + * + * @param minSize the value to set + * @return this builder + */ + public Builder minSize(Integer minSize) { + this.minSize = minSize; + this.__explicitlySet__.add("minSize"); + return this; + } + /** + * Maximum size of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxSize") + private Integer maxSize; + + /** + * Maximum size of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: integer - uniqueness: none + * + * @param maxSize the value to set + * @return this builder + */ + public Builder maxSize(Integer maxSize) { + this.maxSize = maxSize; + this.__explicitlySet__.add("maxSize"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppAttrRenderingMetadata build() { + AppAttrRenderingMetadata model = + new AppAttrRenderingMetadata( + this.name, + this.label, + this.helptext, + this.widget, + this.datatype, + this.section, + this.order, + this.required, + this.regexp, + this.readOnly, + this.visible, + this.minLength, + this.maxLength, + this.minSize, + this.maxSize); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppAttrRenderingMetadata model) { + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("label")) { + this.label(model.getLabel()); + } + if (model.wasPropertyExplicitlySet("helptext")) { + this.helptext(model.getHelptext()); + } + if (model.wasPropertyExplicitlySet("widget")) { + this.widget(model.getWidget()); + } + if (model.wasPropertyExplicitlySet("datatype")) { + this.datatype(model.getDatatype()); + } + if (model.wasPropertyExplicitlySet("section")) { + this.section(model.getSection()); + } + if (model.wasPropertyExplicitlySet("order")) { + this.order(model.getOrder()); + } + if (model.wasPropertyExplicitlySet("required")) { + this.required(model.getRequired()); + } + if (model.wasPropertyExplicitlySet("regexp")) { + this.regexp(model.getRegexp()); + } + if (model.wasPropertyExplicitlySet("readOnly")) { + this.readOnly(model.getReadOnly()); + } + if (model.wasPropertyExplicitlySet("visible")) { + this.visible(model.getVisible()); + } + if (model.wasPropertyExplicitlySet("minLength")) { + this.minLength(model.getMinLength()); + } + if (model.wasPropertyExplicitlySet("maxLength")) { + this.maxLength(model.getMaxLength()); + } + if (model.wasPropertyExplicitlySet("minSize")) { + this.minSize(model.getMinSize()); + } + if (model.wasPropertyExplicitlySet("maxSize")) { + this.maxSize(model.getMaxSize()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Name of the attribute. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Name of the attribute. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * Label for the attribute to be shown in the UI. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("label") + private final String label; + + /** + * Label for the attribute to be shown in the UI. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getLabel() { + return label; + } + + /** + * Help text for the attribute. It can contain HTML tags. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("helptext") + private final String helptext; + + /** + * Help text for the attribute. It can contain HTML tags. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getHelptext() { + return helptext; + } + + /** + * UI widget to use for the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + public enum Widget implements com.oracle.bmc.http.internal.BmcEnum { + Inputtext("inputtext"), + Checkbox("checkbox"), + Textarea("textarea"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Widget.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Widget v : Widget.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Widget(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Widget create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Widget', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * UI widget to use for the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("widget") + private final Widget widget; + + /** + * UI widget to use for the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public Widget getWidget() { + return widget; + } + + /** + * Data type of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("datatype") + private final String datatype; + + /** + * Data type of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDatatype() { + return datatype; + } + + /** + * UI widget to use for the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + public enum Section implements com.oracle.bmc.http.internal.BmcEnum { + Saml("saml"), + General("general"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(Section.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Section v : Section.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Section(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Section create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Section', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * UI widget to use for the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("section") + private final Section section; + + /** + * UI widget to use for the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public Section getSection() { + return section; + } + + /** + * Data type of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("order") + private final Integer order; + + /** + * Data type of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getOrder() { + return order; + } + + /** + * Attribute is required or optional. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("required") + private final Boolean required; + + /** + * Attribute is required or optional. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getRequired() { + return required; + } + + /** + * Regular expression of the attribute for validation. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("regexp") + private final String regexp; + + /** + * Regular expression of the attribute for validation. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getRegexp() { + return regexp; + } + + /** + * Is the attribute readOnly. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + private final Boolean readOnly; + + /** + * Is the attribute readOnly. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getReadOnly() { + return readOnly; + } + + /** + * Indicates whether the attribute is to be shown on the application creation UI. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("visible") + private final Boolean visible; + + /** + * Indicates whether the attribute is to be shown on the application creation UI. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getVisible() { + return visible; + } + + /** + * Minimum length of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("minLength") + private final Integer minLength; + + /** + * Minimum length of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getMinLength() { + return minLength; + } + + /** + * Maximum length of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxLength") + private final Integer maxLength; + + /** + * Maximum length of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getMaxLength() { + return maxLength; + } + + /** + * Minimum size of the attribute.. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("minSize") + private final Integer minSize; + + /** + * Minimum size of the attribute.. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getMinSize() { + return minSize; + } + + /** + * Maximum size of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxSize") + private final Integer maxSize; + + /** + * Maximum size of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getMaxSize() { + return maxSize; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppAttrRenderingMetadata("); + sb.append("super=").append(super.toString()); + sb.append("name=").append(String.valueOf(this.name)); + sb.append(", label=").append(String.valueOf(this.label)); + sb.append(", helptext=").append(String.valueOf(this.helptext)); + sb.append(", widget=").append(String.valueOf(this.widget)); + sb.append(", datatype=").append(String.valueOf(this.datatype)); + sb.append(", section=").append(String.valueOf(this.section)); + sb.append(", order=").append(String.valueOf(this.order)); + sb.append(", required=").append(String.valueOf(this.required)); + sb.append(", regexp=").append(String.valueOf(this.regexp)); + sb.append(", readOnly=").append(String.valueOf(this.readOnly)); + sb.append(", visible=").append(String.valueOf(this.visible)); + sb.append(", minLength=").append(String.valueOf(this.minLength)); + sb.append(", maxLength=").append(String.valueOf(this.maxLength)); + sb.append(", minSize=").append(String.valueOf(this.minSize)); + sb.append(", maxSize=").append(String.valueOf(this.maxSize)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppAttrRenderingMetadata)) { + return false; + } + + AppAttrRenderingMetadata other = (AppAttrRenderingMetadata) o; + return java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.label, other.label) + && java.util.Objects.equals(this.helptext, other.helptext) + && java.util.Objects.equals(this.widget, other.widget) + && java.util.Objects.equals(this.datatype, other.datatype) + && java.util.Objects.equals(this.section, other.section) + && java.util.Objects.equals(this.order, other.order) + && java.util.Objects.equals(this.required, other.required) + && java.util.Objects.equals(this.regexp, other.regexp) + && java.util.Objects.equals(this.readOnly, other.readOnly) + && java.util.Objects.equals(this.visible, other.visible) + && java.util.Objects.equals(this.minLength, other.minLength) + && java.util.Objects.equals(this.maxLength, other.maxLength) + && java.util.Objects.equals(this.minSize, other.minSize) + && java.util.Objects.equals(this.maxSize, other.maxSize) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + (this.label == null ? 43 : this.label.hashCode()); + result = (result * PRIME) + (this.helptext == null ? 43 : this.helptext.hashCode()); + result = (result * PRIME) + (this.widget == null ? 43 : this.widget.hashCode()); + result = (result * PRIME) + (this.datatype == null ? 43 : this.datatype.hashCode()); + result = (result * PRIME) + (this.section == null ? 43 : this.section.hashCode()); + result = (result * PRIME) + (this.order == null ? 43 : this.order.hashCode()); + result = (result * PRIME) + (this.required == null ? 43 : this.required.hashCode()); + result = (result * PRIME) + (this.regexp == null ? 43 : this.regexp.hashCode()); + result = (result * PRIME) + (this.readOnly == null ? 43 : this.readOnly.hashCode()); + result = (result * PRIME) + (this.visible == null ? 43 : this.visible.hashCode()); + result = (result * PRIME) + (this.minLength == null ? 43 : this.minLength.hashCode()); + result = (result * PRIME) + (this.maxLength == null ? 43 : this.maxLength.hashCode()); + result = (result * PRIME) + (this.minSize == null ? 43 : this.minSize.hashCode()); + result = (result * PRIME) + (this.maxSize == null ? 43 : this.maxSize.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppBasedOnTemplate.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppBasedOnTemplate.java new file mode 100644 index 00000000000..fd527460100 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppBasedOnTemplate.java @@ -0,0 +1,328 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Application template on which the application is based. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: true - returned: default - type: complex
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppBasedOnTemplate.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppBasedOnTemplate + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "lastModified", "wellKnownId"}) + public AppBasedOnTemplate(String value, String ref, String lastModified, String wellKnownId) { + super(); + this.value = value; + this.ref = ref; + this.lastModified = lastModified; + this.wellKnownId = wellKnownId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Identifier of the application template. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Identifier of the application template. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the application template. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the application template. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * The most recent DateTime that the appTemplate on which the application based upon is + * updated. The attribute MUST be a DateTime. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastModified") + private String lastModified; + + /** + * The most recent DateTime that the appTemplate on which the application based upon is + * updated. The attribute MUST be a DateTime. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + * + * @param lastModified the value to set + * @return this builder + */ + public Builder lastModified(String lastModified) { + this.lastModified = lastModified; + this.__explicitlySet__.add("lastModified"); + return this; + } + /** + * Unique Well-known identifier used to reference app template. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("wellKnownId") + private String wellKnownId; + + /** + * Unique Well-known identifier used to reference app template. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * none + * + * @param wellKnownId the value to set + * @return this builder + */ + public Builder wellKnownId(String wellKnownId) { + this.wellKnownId = wellKnownId; + this.__explicitlySet__.add("wellKnownId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppBasedOnTemplate build() { + AppBasedOnTemplate model = + new AppBasedOnTemplate( + this.value, this.ref, this.lastModified, this.wellKnownId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppBasedOnTemplate model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("lastModified")) { + this.lastModified(model.getLastModified()); + } + if (model.wasPropertyExplicitlySet("wellKnownId")) { + this.wellKnownId(model.getWellKnownId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Identifier of the application template. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Identifier of the application template. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the application template. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the application template. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * The most recent DateTime that the appTemplate on which the application based upon is updated. + * The attribute MUST be a DateTime. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastModified") + private final String lastModified; + + /** + * The most recent DateTime that the appTemplate on which the application based upon is updated. + * The attribute MUST be a DateTime. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + * + * @return the value + */ + public String getLastModified() { + return lastModified; + } + + /** + * Unique Well-known identifier used to reference app template. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("wellKnownId") + private final String wellKnownId; + + /** + * Unique Well-known identifier used to reference app template. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getWellKnownId() { + return wellKnownId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppBasedOnTemplate("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", lastModified=").append(String.valueOf(this.lastModified)); + sb.append(", wellKnownId=").append(String.valueOf(this.wellKnownId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppBasedOnTemplate)) { + return false; + } + + AppBasedOnTemplate other = (AppBasedOnTemplate) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.lastModified, other.lastModified) + && java.util.Objects.equals(this.wellKnownId, other.wellKnownId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.lastModified == null ? 43 : this.lastModified.hashCode()); + result = (result * PRIME) + (this.wellKnownId == null ? 43 : this.wellKnownId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppBundleConfigurationProperties.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppBundleConfigurationProperties.java new file mode 100644 index 00000000000..e5aeebeced5 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppBundleConfigurationProperties.java @@ -0,0 +1,661 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * ConnectorBundle configuration properties + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: complex - uniqueness: none + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppBundleConfigurationProperties.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppBundleConfigurationProperties + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "name", + "displayName", + "icfType", + "value", + "order", + "helpMessage", + "required", + "confidential" + }) + public AppBundleConfigurationProperties( + String name, + String displayName, + IcfType icfType, + java.util.List value, + Integer order, + String helpMessage, + Boolean required, + Boolean confidential) { + super(); + this.name = name; + this.displayName = displayName; + this.icfType = icfType; + this.value = value; + this.order = order; + this.helpMessage = helpMessage; + this.required = required; + this.confidential = confidential; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Name of the bundle configuration property. This attribute maps to \\"name\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Name of the bundle configuration property. This attribute maps to \\"name\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * Display name of the bundle configuration property. This attribute maps to + * \\"displayName\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * Display name of the bundle configuration property. This attribute maps to + * \\"displayName\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * ICF data type of the bundle configuration property. This attribute maps to \\"type\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("icfType") + private IcfType icfType; + + /** + * ICF data type of the bundle configuration property. This attribute maps to \\"type\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + * + * @param icfType the value to set + * @return this builder + */ + public Builder icfType(IcfType icfType) { + this.icfType = icfType; + this.__explicitlySet__.add("icfType"); + return this; + } + /** + * Value of the bundle configuration property. This attribute maps to \\"value\\" attribute + * in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: + * encrypt - multiValued: true - mutability: readWrite - required: false - returned: default + * - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private java.util.List value; + + /** + * Value of the bundle configuration property. This attribute maps to \\"value\\" attribute + * in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: + * encrypt - multiValued: true - mutability: readWrite - required: false - returned: default + * - type: string - uniqueness: none + * + * @param value the value to set + * @return this builder + */ + public Builder value(java.util.List value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Display sequence of the bundle configuration property. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: integer - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("order") + private Integer order; + + /** + * Display sequence of the bundle configuration property. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: integer - + * uniqueness: none + * + * @param order the value to set + * @return this builder + */ + public Builder order(Integer order) { + this.order = order; + this.__explicitlySet__.add("order"); + return this; + } + /** + * Help message of the bundle configuration property. This attribute maps to + * \\"helpMessage\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("helpMessage") + private String helpMessage; + + /** + * Help message of the bundle configuration property. This attribute maps to + * \\"helpMessage\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param helpMessage the value to set + * @return this builder + */ + public Builder helpMessage(String helpMessage) { + this.helpMessage = helpMessage; + this.__explicitlySet__.add("helpMessage"); + return this; + } + /** + * If true, this bundle configuration property is required to connect to the target + * connected managed app. This attribute maps to \\"isRequired\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("required") + private Boolean required; + + /** + * If true, this bundle configuration property is required to connect to the target + * connected managed app. This attribute maps to \\"isRequired\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: boolean - uniqueness: none + * + * @param required the value to set + * @return this builder + */ + public Builder required(Boolean required) { + this.required = required; + this.__explicitlySet__.add("required"); + return this; + } + /** + * If true, this bundle configuration property value is confidential and will be encrypted + * in Oracle Identity Cloud Service. This attribute maps to \\"isConfidential\\" attribute + * in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("confidential") + private Boolean confidential; + + /** + * If true, this bundle configuration property value is confidential and will be encrypted + * in Oracle Identity Cloud Service. This attribute maps to \\"isConfidential\\" attribute + * in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + * + * @param confidential the value to set + * @return this builder + */ + public Builder confidential(Boolean confidential) { + this.confidential = confidential; + this.__explicitlySet__.add("confidential"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppBundleConfigurationProperties build() { + AppBundleConfigurationProperties model = + new AppBundleConfigurationProperties( + this.name, + this.displayName, + this.icfType, + this.value, + this.order, + this.helpMessage, + this.required, + this.confidential); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppBundleConfigurationProperties model) { + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("icfType")) { + this.icfType(model.getIcfType()); + } + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("order")) { + this.order(model.getOrder()); + } + if (model.wasPropertyExplicitlySet("helpMessage")) { + this.helpMessage(model.getHelpMessage()); + } + if (model.wasPropertyExplicitlySet("required")) { + this.required(model.getRequired()); + } + if (model.wasPropertyExplicitlySet("confidential")) { + this.confidential(model.getConfidential()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Name of the bundle configuration property. This attribute maps to \\"name\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Name of the bundle configuration property. This attribute maps to \\"name\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * Display name of the bundle configuration property. This attribute maps to \\"displayName\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * Display name of the bundle configuration property. This attribute maps to \\"displayName\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * ICF data type of the bundle configuration property. This attribute maps to \\"type\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + */ + public enum IcfType implements com.oracle.bmc.http.internal.BmcEnum { + Long("Long"), + String("String"), + Character("Character"), + Double("Double"), + Float("Float"), + Integer("Integer"), + Boolean("Boolean"), + Uri("URI"), + File("File"), + GuardedByteArray("GuardedByteArray"), + GuardedString("GuardedString"), + ArrayOfLong("ArrayOfLong"), + ArrayOfString("ArrayOfString"), + ArrayOfCharacter("ArrayOfCharacter"), + ArrayOfDouble("ArrayOfDouble"), + ArrayOfFloat("ArrayOfFloat"), + ArrayOfInteger("ArrayOfInteger"), + ArrayOfBoolean("ArrayOfBoolean"), + ArrayOfUri("ArrayOfURI"), + ArrayOfFile("ArrayOfFile"), + ArrayOfGuardedByteArray("ArrayOfGuardedByteArray"), + ArrayOfGuardedString("ArrayOfGuardedString"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(IcfType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (IcfType v : IcfType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + IcfType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static IcfType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'IcfType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * ICF data type of the bundle configuration property. This attribute maps to \\"type\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("icfType") + private final IcfType icfType; + + /** + * ICF data type of the bundle configuration property. This attribute maps to \\"type\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public IcfType getIcfType() { + return icfType; + } + + /** + * Value of the bundle configuration property. This attribute maps to \\"value\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: encrypt + * - multiValued: true - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final java.util.List value; + + /** + * Value of the bundle configuration property. This attribute maps to \\"value\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: encrypt + * - multiValued: true - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + * + * @return the value + */ + public java.util.List getValue() { + return value; + } + + /** + * Display sequence of the bundle configuration property. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("order") + private final Integer order; + + /** + * Display sequence of the bundle configuration property. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + * + * @return the value + */ + public Integer getOrder() { + return order; + } + + /** + * Help message of the bundle configuration property. This attribute maps to \\"helpMessage\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("helpMessage") + private final String helpMessage; + + /** + * Help message of the bundle configuration property. This attribute maps to \\"helpMessage\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getHelpMessage() { + return helpMessage; + } + + /** + * If true, this bundle configuration property is required to connect to the target connected + * managed app. This attribute maps to \\"isRequired\\" attribute in \\"ConfigurationProperty\\" + * in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: true - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("required") + private final Boolean required; + + /** + * If true, this bundle configuration property is required to connect to the target connected + * managed app. This attribute maps to \\"isRequired\\" attribute in \\"ConfigurationProperty\\" + * in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: true - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getRequired() { + return required; + } + + /** + * If true, this bundle configuration property value is confidential and will be encrypted in + * Oracle Identity Cloud Service. This attribute maps to \\"isConfidential\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("confidential") + private final Boolean confidential; + + /** + * If true, this bundle configuration property value is confidential and will be encrypted in + * Oracle Identity Cloud Service. This attribute maps to \\"isConfidential\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getConfidential() { + return confidential; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppBundleConfigurationProperties("); + sb.append("super=").append(super.toString()); + sb.append("name=").append(String.valueOf(this.name)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", icfType=").append(String.valueOf(this.icfType)); + sb.append(", value=").append(String.valueOf(this.value)); + sb.append(", order=").append(String.valueOf(this.order)); + sb.append(", helpMessage=").append(String.valueOf(this.helpMessage)); + sb.append(", required=").append(String.valueOf(this.required)); + sb.append(", confidential=").append(String.valueOf(this.confidential)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppBundleConfigurationProperties)) { + return false; + } + + AppBundleConfigurationProperties other = (AppBundleConfigurationProperties) o; + return java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.icfType, other.icfType) + && java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.order, other.order) + && java.util.Objects.equals(this.helpMessage, other.helpMessage) + && java.util.Objects.equals(this.required, other.required) + && java.util.Objects.equals(this.confidential, other.confidential) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.icfType == null ? 43 : this.icfType.hashCode()); + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.order == null ? 43 : this.order.hashCode()); + result = (result * PRIME) + (this.helpMessage == null ? 43 : this.helpMessage.hashCode()); + result = (result * PRIME) + (this.required == null ? 43 : this.required.hashCode()); + result = (result * PRIME) + (this.confidential == null ? 43 : this.confidential.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppBundlePoolConfiguration.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppBundlePoolConfiguration.java new file mode 100644 index 00000000000..97ab5067cdb --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppBundlePoolConfiguration.java @@ -0,0 +1,410 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Configurable options maintaining a pool of ICF connector instances. Values for sub attributes can + * be set only if the ConnectorBundle referenced in the App has connectorPoolingSupported set to + * true + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppBundlePoolConfiguration.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppBundlePoolConfiguration + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "maxIdle", + "maxObjects", + "maxWait", + "minEvictableIdleTimeMillis", + "minIdle" + }) + public AppBundlePoolConfiguration( + Integer maxIdle, + Integer maxObjects, + Integer maxWait, + Integer minEvictableIdleTimeMillis, + Integer minIdle) { + super(); + this.maxIdle = maxIdle; + this.maxObjects = maxObjects; + this.maxWait = maxWait; + this.minEvictableIdleTimeMillis = minEvictableIdleTimeMillis; + this.minIdle = minIdle; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Maximum number of connector instances in the pool that are idle and active. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: integer - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxIdle") + private Integer maxIdle; + + /** + * Maximum number of connector instances in the pool that are idle and active. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: integer - + * uniqueness: none + * + * @param maxIdle the value to set + * @return this builder + */ + public Builder maxIdle(Integer maxIdle) { + this.maxIdle = maxIdle; + this.__explicitlySet__.add("maxIdle"); + return this; + } + /** + * Maximum number of connector instances in the pool that are idle and active. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxObjects") + private Integer maxObjects; + + /** + * Maximum number of connector instances in the pool that are idle and active. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + * + * @param maxObjects the value to set + * @return this builder + */ + public Builder maxObjects(Integer maxObjects) { + this.maxObjects = maxObjects; + this.__explicitlySet__.add("maxObjects"); + return this; + } + /** + * Maximum time (in milliseconds) to wait for a free connector instance to become available + * before failing. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: integer - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxWait") + private Integer maxWait; + + /** + * Maximum time (in milliseconds) to wait for a free connector instance to become available + * before failing. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: integer - + * uniqueness: none + * + * @param maxWait the value to set + * @return this builder + */ + public Builder maxWait(Integer maxWait) { + this.maxWait = maxWait; + this.__explicitlySet__.add("maxWait"); + return this; + } + /** + * Minimum time (in milliseconds) to wait before evicting an idle conenctor instance from + * the pool. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: integer - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("minEvictableIdleTimeMillis") + private Integer minEvictableIdleTimeMillis; + + /** + * Minimum time (in milliseconds) to wait before evicting an idle conenctor instance from + * the pool. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: integer - + * uniqueness: none + * + * @param minEvictableIdleTimeMillis the value to set + * @return this builder + */ + public Builder minEvictableIdleTimeMillis(Integer minEvictableIdleTimeMillis) { + this.minEvictableIdleTimeMillis = minEvictableIdleTimeMillis; + this.__explicitlySet__.add("minEvictableIdleTimeMillis"); + return this; + } + /** + * Minimum number of idle connector instances in the pool. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("minIdle") + private Integer minIdle; + + /** + * Minimum number of idle connector instances in the pool. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + * + * @param minIdle the value to set + * @return this builder + */ + public Builder minIdle(Integer minIdle) { + this.minIdle = minIdle; + this.__explicitlySet__.add("minIdle"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppBundlePoolConfiguration build() { + AppBundlePoolConfiguration model = + new AppBundlePoolConfiguration( + this.maxIdle, + this.maxObjects, + this.maxWait, + this.minEvictableIdleTimeMillis, + this.minIdle); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppBundlePoolConfiguration model) { + if (model.wasPropertyExplicitlySet("maxIdle")) { + this.maxIdle(model.getMaxIdle()); + } + if (model.wasPropertyExplicitlySet("maxObjects")) { + this.maxObjects(model.getMaxObjects()); + } + if (model.wasPropertyExplicitlySet("maxWait")) { + this.maxWait(model.getMaxWait()); + } + if (model.wasPropertyExplicitlySet("minEvictableIdleTimeMillis")) { + this.minEvictableIdleTimeMillis(model.getMinEvictableIdleTimeMillis()); + } + if (model.wasPropertyExplicitlySet("minIdle")) { + this.minIdle(model.getMinIdle()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Maximum number of connector instances in the pool that are idle and active. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxIdle") + private final Integer maxIdle; + + /** + * Maximum number of connector instances in the pool that are idle and active. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + * + * @return the value + */ + public Integer getMaxIdle() { + return maxIdle; + } + + /** + * Maximum number of connector instances in the pool that are idle and active. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxObjects") + private final Integer maxObjects; + + /** + * Maximum number of connector instances in the pool that are idle and active. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + * + * @return the value + */ + public Integer getMaxObjects() { + return maxObjects; + } + + /** + * Maximum time (in milliseconds) to wait for a free connector instance to become available + * before failing. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxWait") + private final Integer maxWait; + + /** + * Maximum time (in milliseconds) to wait for a free connector instance to become available + * before failing. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + * + * @return the value + */ + public Integer getMaxWait() { + return maxWait; + } + + /** + * Minimum time (in milliseconds) to wait before evicting an idle conenctor instance from the + * pool. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("minEvictableIdleTimeMillis") + private final Integer minEvictableIdleTimeMillis; + + /** + * Minimum time (in milliseconds) to wait before evicting an idle conenctor instance from the + * pool. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + * + * @return the value + */ + public Integer getMinEvictableIdleTimeMillis() { + return minEvictableIdleTimeMillis; + } + + /** + * Minimum number of idle connector instances in the pool. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("minIdle") + private final Integer minIdle; + + /** + * Minimum number of idle connector instances in the pool. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + * + * @return the value + */ + public Integer getMinIdle() { + return minIdle; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppBundlePoolConfiguration("); + sb.append("super=").append(super.toString()); + sb.append("maxIdle=").append(String.valueOf(this.maxIdle)); + sb.append(", maxObjects=").append(String.valueOf(this.maxObjects)); + sb.append(", maxWait=").append(String.valueOf(this.maxWait)); + sb.append(", minEvictableIdleTimeMillis=") + .append(String.valueOf(this.minEvictableIdleTimeMillis)); + sb.append(", minIdle=").append(String.valueOf(this.minIdle)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppBundlePoolConfiguration)) { + return false; + } + + AppBundlePoolConfiguration other = (AppBundlePoolConfiguration) o; + return java.util.Objects.equals(this.maxIdle, other.maxIdle) + && java.util.Objects.equals(this.maxObjects, other.maxObjects) + && java.util.Objects.equals(this.maxWait, other.maxWait) + && java.util.Objects.equals( + this.minEvictableIdleTimeMillis, other.minEvictableIdleTimeMillis) + && java.util.Objects.equals(this.minIdle, other.minIdle) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.maxIdle == null ? 43 : this.maxIdle.hashCode()); + result = (result * PRIME) + (this.maxObjects == null ? 43 : this.maxObjects.hashCode()); + result = (result * PRIME) + (this.maxWait == null ? 43 : this.maxWait.hashCode()); + result = + (result * PRIME) + + (this.minEvictableIdleTimeMillis == null + ? 43 + : this.minEvictableIdleTimeMillis.hashCode()); + result = (result * PRIME) + (this.minIdle == null ? 43 : this.minIdle.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppCertificates.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppCertificates.java new file mode 100644 index 00000000000..b0c5eb0f9d5 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppCertificates.java @@ -0,0 +1,387 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Each value of this attribute represent a certificate that this App uses when it acts as an + * OAuthClient.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppCertificates.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppCertificates + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "certAlias", + "sha1Thumbprint", + "kid", + "x5t", + "x509Base64Certificate" + }) + public AppCertificates( + String certAlias, + String sha1Thumbprint, + String kid, + String x5t, + Object x509Base64Certificate) { + super(); + this.certAlias = certAlias; + this.sha1Thumbprint = sha1Thumbprint; + this.kid = kid; + this.x5t = x5t; + this.x509Base64Certificate = x509Base64Certificate; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Certificate alias + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("certAlias") + private String certAlias; + + /** + * Certificate alias + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + * + * @param certAlias the value to set + * @return this builder + */ + public Builder certAlias(String certAlias) { + this.certAlias = certAlias; + this.__explicitlySet__.add("certAlias"); + return this; + } + /** + * sha1Thumbprint + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("sha1Thumbprint") + private String sha1Thumbprint; + + /** + * sha1Thumbprint + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param sha1Thumbprint the value to set + * @return this builder + */ + public Builder sha1Thumbprint(String sha1Thumbprint) { + this.sha1Thumbprint = sha1Thumbprint; + this.__explicitlySet__.add("sha1Thumbprint"); + return this; + } + /** + * Certificate kid + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("kid") + private String kid; + + /** + * Certificate kid + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param kid the value to set + * @return this builder + */ + public Builder kid(String kid) { + this.kid = kid; + this.__explicitlySet__.add("kid"); + return this; + } + /** + * Certificate x5t + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("x5t") + private String x5t; + + /** + * Certificate x5t + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param x5t the value to set + * @return this builder + */ + public Builder x5t(String x5t) { + this.x5t = x5t; + this.__explicitlySet__.add("x5t"); + return this; + } + /** + * Base-64-encoded certificate. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: binary - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("x509Base64Certificate") + private Object x509Base64Certificate; + + /** + * Base-64-encoded certificate. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: binary - uniqueness: + * none + * + * @param x509Base64Certificate the value to set + * @return this builder + */ + public Builder x509Base64Certificate(Object x509Base64Certificate) { + this.x509Base64Certificate = x509Base64Certificate; + this.__explicitlySet__.add("x509Base64Certificate"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppCertificates build() { + AppCertificates model = + new AppCertificates( + this.certAlias, + this.sha1Thumbprint, + this.kid, + this.x5t, + this.x509Base64Certificate); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppCertificates model) { + if (model.wasPropertyExplicitlySet("certAlias")) { + this.certAlias(model.getCertAlias()); + } + if (model.wasPropertyExplicitlySet("sha1Thumbprint")) { + this.sha1Thumbprint(model.getSha1Thumbprint()); + } + if (model.wasPropertyExplicitlySet("kid")) { + this.kid(model.getKid()); + } + if (model.wasPropertyExplicitlySet("x5t")) { + this.x5t(model.getX5t()); + } + if (model.wasPropertyExplicitlySet("x509Base64Certificate")) { + this.x509Base64Certificate(model.getX509Base64Certificate()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Certificate alias + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("certAlias") + private final String certAlias; + + /** + * Certificate alias + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getCertAlias() { + return certAlias; + } + + /** + * sha1Thumbprint + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("sha1Thumbprint") + private final String sha1Thumbprint; + + /** + * sha1Thumbprint + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getSha1Thumbprint() { + return sha1Thumbprint; + } + + /** + * Certificate kid + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("kid") + private final String kid; + + /** + * Certificate kid + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getKid() { + return kid; + } + + /** + * Certificate x5t + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("x5t") + private final String x5t; + + /** + * Certificate x5t + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getX5t() { + return x5t; + } + + /** + * Base-64-encoded certificate. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: binary - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("x509Base64Certificate") + private final Object x509Base64Certificate; + + /** + * Base-64-encoded certificate. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: binary - uniqueness: none + * + * @return the value + */ + public Object getX509Base64Certificate() { + return x509Base64Certificate; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppCertificates("); + sb.append("super=").append(super.toString()); + sb.append("certAlias=").append(String.valueOf(this.certAlias)); + sb.append(", sha1Thumbprint=").append(String.valueOf(this.sha1Thumbprint)); + sb.append(", kid=").append(String.valueOf(this.kid)); + sb.append(", x5t=").append(String.valueOf(this.x5t)); + sb.append(", x509Base64Certificate=").append(String.valueOf(this.x509Base64Certificate)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppCertificates)) { + return false; + } + + AppCertificates other = (AppCertificates) o; + return java.util.Objects.equals(this.certAlias, other.certAlias) + && java.util.Objects.equals(this.sha1Thumbprint, other.sha1Thumbprint) + && java.util.Objects.equals(this.kid, other.kid) + && java.util.Objects.equals(this.x5t, other.x5t) + && java.util.Objects.equals(this.x509Base64Certificate, other.x509Base64Certificate) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.certAlias == null ? 43 : this.certAlias.hashCode()); + result = + (result * PRIME) + + (this.sha1Thumbprint == null ? 43 : this.sha1Thumbprint.hashCode()); + result = (result * PRIME) + (this.kid == null ? 43 : this.kid.hashCode()); + result = (result * PRIME) + (this.x5t == null ? 43 : this.x5t.hashCode()); + result = + (result * PRIME) + + (this.x509Base64Certificate == null + ? 43 + : this.x509Base64Certificate.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppCloudControlProperties.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppCloudControlProperties.java new file mode 100644 index 00000000000..c38520ed3c5 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppCloudControlProperties.java @@ -0,0 +1,217 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A collection of arbitrary properties that scope the privileges of a cloud-control App.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppCloudControlProperties.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppCloudControlProperties + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"name", "values"}) + public AppCloudControlProperties(String name, java.util.List values) { + super(); + this.name = name; + this.values = values; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The name of the property. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * The name of the property. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: true - returned: default - type: string - uniqueness: none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * The value(s) of the property. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + private java.util.List values; + + /** + * The value(s) of the property. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: true - returned: default - type: string - uniqueness: none + * + * @param values the value to set + * @return this builder + */ + public Builder values(java.util.List values) { + this.values = values; + this.__explicitlySet__.add("values"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppCloudControlProperties build() { + AppCloudControlProperties model = new AppCloudControlProperties(this.name, this.values); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppCloudControlProperties model) { + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("values")) { + this.values(model.getValues()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The name of the property. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * The name of the property. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * The value(s) of the property. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("values") + private final java.util.List values; + + /** + * The value(s) of the property. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getValues() { + return values; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppCloudControlProperties("); + sb.append("super=").append(super.toString()); + sb.append("name=").append(String.valueOf(this.name)); + sb.append(", values=").append(String.valueOf(this.values)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppCloudControlProperties)) { + return false; + } + + AppCloudControlProperties other = (AppCloudControlProperties) o; + return java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.values, other.values) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + (this.values == null ? 43 : this.values.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppConnectorBundle.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppConnectorBundle.java new file mode 100644 index 00000000000..5f100a5c609 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppConnectorBundle.java @@ -0,0 +1,436 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * ConnectorBundle + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppConnectorBundle.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppConnectorBundle + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "type", "ref", "display", "wellKnownId"}) + public AppConnectorBundle( + String value, Type type, String ref, String display, String wellKnownId) { + super(); + this.value = value; + this.type = type; + this.ref = ref; + this.display = display; + this.wellKnownId = wellKnownId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * ConnectorBundle identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * ConnectorBundle identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Connector Bundle type. Allowed values are ConnectorBundle, LocalConnectorBundle. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: ConnectorBundle - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * Connector Bundle type. Allowed values are ConnectorBundle, LocalConnectorBundle. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: ConnectorBundle - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + * + * @param type the value to set + * @return this builder + */ + public Builder type(Type type) { + this.type = type; + this.__explicitlySet__.add("type"); + return this; + } + /** + * ConnectorBundle URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * ConnectorBundle URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * ConnectorBundle display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * ConnectorBundle display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * Unique Well-known identifier used to reference connector bundle. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("wellKnownId") + private String wellKnownId; + + /** + * Unique Well-known identifier used to reference connector bundle. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * none + * + * @param wellKnownId the value to set + * @return this builder + */ + public Builder wellKnownId(String wellKnownId) { + this.wellKnownId = wellKnownId; + this.__explicitlySet__.add("wellKnownId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppConnectorBundle build() { + AppConnectorBundle model = + new AppConnectorBundle( + this.value, this.type, this.ref, this.display, this.wellKnownId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppConnectorBundle model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("type")) { + this.type(model.getType()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("wellKnownId")) { + this.wellKnownId(model.getWellKnownId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * ConnectorBundle identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * ConnectorBundle identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Connector Bundle type. Allowed values are ConnectorBundle, LocalConnectorBundle. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: ConnectorBundle - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + ConnectorBundle("ConnectorBundle"), + LocalConnectorBundle("LocalConnectorBundle"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; + /** + * Connector Bundle type. Allowed values are ConnectorBundle, LocalConnectorBundle. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: ConnectorBundle - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * Connector Bundle type. Allowed values are ConnectorBundle, LocalConnectorBundle. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: ConnectorBundle - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + * + * @return the value + */ + public Type getType() { + return type; + } + + /** + * ConnectorBundle URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * ConnectorBundle URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * ConnectorBundle display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * ConnectorBundle display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * Unique Well-known identifier used to reference connector bundle. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("wellKnownId") + private final String wellKnownId; + + /** + * Unique Well-known identifier used to reference connector bundle. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getWellKnownId() { + return wellKnownId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppConnectorBundle("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", type=").append(String.valueOf(this.type)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", wellKnownId=").append(String.valueOf(this.wellKnownId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppConnectorBundle)) { + return false; + } + + AppConnectorBundle other = (AppConnectorBundle) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.type, other.type) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.wellKnownId, other.wellKnownId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.wellKnownId == null ? 43 : this.wellKnownId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppDenyAuthzPolicy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppDenyAuthzPolicy.java new file mode 100644 index 00000000000..76d8ad73032 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppDenyAuthzPolicy.java @@ -0,0 +1,224 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Deny Authz Policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppDenyAuthzPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppDenyAuthzPolicy + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public AppDenyAuthzPolicy(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Identifier of the Policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Identifier of the Policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppDenyAuthzPolicy build() { + AppDenyAuthzPolicy model = new AppDenyAuthzPolicy(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppDenyAuthzPolicy model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Identifier of the Policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Identifier of the Policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the policy. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppDenyAuthzPolicy("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppDenyAuthzPolicy)) { + return false; + } + + AppDenyAuthzPolicy other = (AppDenyAuthzPolicy) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppDomainApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppDomainApp.java new file mode 100644 index 00000000000..4245af9dee5 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppDomainApp.java @@ -0,0 +1,281 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Description: + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppDomainApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppDomainApp extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display"}) + public AppDomainApp(String value, String ref, String display) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * DB Domain App identifier + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * DB Domain App identifier + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * DB Domain App URI + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * DB Domain App URI + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * DB Domain App display name + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * DB Domain App display name + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppDomainApp build() { + AppDomainApp model = new AppDomainApp(this.value, this.ref, this.display); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppDomainApp model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * DB Domain App identifier + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * DB Domain App identifier + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * DB Domain App URI + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * DB Domain App URI + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * DB Domain App display name + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * DB Domain App display name + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppDomainApp("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppDomainApp)) { + return false; + } + + AppDomainApp other = (AppDomainApp) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppEditableAttributes.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppEditableAttributes.java new file mode 100644 index 00000000000..66fcd9cf4f6 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppEditableAttributes.java @@ -0,0 +1,167 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * App attributes editable by subject
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppEditableAttributes.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppEditableAttributes + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"name"}) + public AppEditableAttributes(String name) { + super(); + this.name = name; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Name of the attribute. The attribute name will be qualified by schema name if any + * extension schema defines the attribute. The attribute name will not be qualified by + * schema name if the base schema defines the attribute. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Name of the attribute. The attribute name will be qualified by schema name if any + * extension schema defines the attribute. The attribute name will not be qualified by + * schema name if the base schema defines the attribute. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: true - returned: default - type: string - uniqueness: + * none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppEditableAttributes build() { + AppEditableAttributes model = new AppEditableAttributes(this.name); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppEditableAttributes model) { + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Name of the attribute. The attribute name will be qualified by schema name if any extension + * schema defines the attribute. The attribute name will not be qualified by schema name if the + * base schema defines the attribute. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Name of the attribute. The attribute name will be qualified by schema name if any extension + * schema defines the attribute. The attribute name will not be qualified by schema name if the + * base schema defines the attribute. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppEditableAttributes("); + sb.append("super=").append(super.toString()); + sb.append("name=").append(String.valueOf(this.name)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppEditableAttributes)) { + return false; + } + + AppEditableAttributes other = (AppEditableAttributes) o; + return java.util.Objects.equals(this.name, other.name) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionDbcsApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionDbcsApp.java new file mode 100644 index 00000000000..974678d1c01 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionDbcsApp.java @@ -0,0 +1,193 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * This extension provides attributes for database service facet of an App
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppExtensionDbcsApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppExtensionDbcsApp + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"domainName", "domainApp"}) + public AppExtensionDbcsApp(String domainName, AppDomainApp domainApp) { + super(); + this.domainName = domainName; + this.domainApp = domainApp; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The name of the Enterprise Domain that contains any number of DBInstances. If specified, + * the value must be unique. A non-null value indicates that App represents a DBDomain. A + * value of null indicates that the App represents an DB-instance. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainName") + private String domainName; + + /** + * The name of the Enterprise Domain that contains any number of DBInstances. If specified, + * the value must be unique. A non-null value indicates that App represents a DBDomain. A + * value of null indicates that the App represents an DB-instance. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + * + * @param domainName the value to set + * @return this builder + */ + public Builder domainName(String domainName) { + this.domainName = domainName; + this.__explicitlySet__.add("domainName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("domainApp") + private AppDomainApp domainApp; + + public Builder domainApp(AppDomainApp domainApp) { + this.domainApp = domainApp; + this.__explicitlySet__.add("domainApp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppExtensionDbcsApp build() { + AppExtensionDbcsApp model = new AppExtensionDbcsApp(this.domainName, this.domainApp); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppExtensionDbcsApp model) { + if (model.wasPropertyExplicitlySet("domainName")) { + this.domainName(model.getDomainName()); + } + if (model.wasPropertyExplicitlySet("domainApp")) { + this.domainApp(model.getDomainApp()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The name of the Enterprise Domain that contains any number of DBInstances. If specified, the + * value must be unique. A non-null value indicates that App represents a DBDomain. A value of + * null indicates that the App represents an DB-instance. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainName") + private final String domainName; + + /** + * The name of the Enterprise Domain that contains any number of DBInstances. If specified, the + * value must be unique. A non-null value indicates that App represents a DBDomain. A value of + * null indicates that the App represents an DB-instance. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + * + * @return the value + */ + public String getDomainName() { + return domainName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("domainApp") + private final AppDomainApp domainApp; + + public AppDomainApp getDomainApp() { + return domainApp; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppExtensionDbcsApp("); + sb.append("super=").append(super.toString()); + sb.append("domainName=").append(String.valueOf(this.domainName)); + sb.append(", domainApp=").append(String.valueOf(this.domainApp)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppExtensionDbcsApp)) { + return false; + } + + AppExtensionDbcsApp other = (AppExtensionDbcsApp) o; + return java.util.Objects.equals(this.domainName, other.domainName) + && java.util.Objects.equals(this.domainApp, other.domainApp) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.domainName == null ? 43 : this.domainName.hashCode()); + result = (result * PRIME) + (this.domainApp == null ? 43 : this.domainApp.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionEnterpriseAppApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionEnterpriseAppApp.java new file mode 100644 index 00000000000..a6907f3d731 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionEnterpriseAppApp.java @@ -0,0 +1,363 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * This extension defines the Enterprise App related attributes.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppExtensionEnterpriseAppApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppExtensionEnterpriseAppApp + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "appResources", + "denyAuthzPolicy", + "allowAuthzPolicy", + "allowAuthzDecisionTTL", + "denyAuthzDecisionTTL" + }) + public AppExtensionEnterpriseAppApp( + java.util.List appResources, + AppDenyAuthzPolicy denyAuthzPolicy, + AppAllowAuthzPolicy allowAuthzPolicy, + Integer allowAuthzDecisionTTL, + Integer denyAuthzDecisionTTL) { + super(); + this.appResources = appResources; + this.denyAuthzPolicy = denyAuthzPolicy; + this.allowAuthzPolicy = allowAuthzPolicy; + this.allowAuthzDecisionTTL = allowAuthzDecisionTTL; + this.denyAuthzDecisionTTL = denyAuthzDecisionTTL; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * A list of AppResources of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: + * true - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("appResources") + private java.util.List appResources; + + /** + * A list of AppResources of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: + * true - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex + * + * @param appResources the value to set + * @return this builder + */ + public Builder appResources(java.util.List appResources) { + this.appResources = appResources; + this.__explicitlySet__.add("appResources"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("denyAuthzPolicy") + private AppDenyAuthzPolicy denyAuthzPolicy; + + public Builder denyAuthzPolicy(AppDenyAuthzPolicy denyAuthzPolicy) { + this.denyAuthzPolicy = denyAuthzPolicy; + this.__explicitlySet__.add("denyAuthzPolicy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("allowAuthzPolicy") + private AppAllowAuthzPolicy allowAuthzPolicy; + + public Builder allowAuthzPolicy(AppAllowAuthzPolicy allowAuthzPolicy) { + this.allowAuthzPolicy = allowAuthzPolicy; + this.__explicitlySet__.add("allowAuthzPolicy"); + return this; + } + /** + * Allow Authz policy decision expiry time in seconds. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsMaxValue: 3600 - idcsMinValue: 0 - idcsSearchable: false - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowAuthzDecisionTTL") + private Integer allowAuthzDecisionTTL; + + /** + * Allow Authz policy decision expiry time in seconds. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsMaxValue: 3600 - idcsMinValue: 0 - idcsSearchable: false - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * integer - uniqueness: none + * + * @param allowAuthzDecisionTTL the value to set + * @return this builder + */ + public Builder allowAuthzDecisionTTL(Integer allowAuthzDecisionTTL) { + this.allowAuthzDecisionTTL = allowAuthzDecisionTTL; + this.__explicitlySet__.add("allowAuthzDecisionTTL"); + return this; + } + /** + * Deny Authz policy decision expiry time in seconds. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsMaxValue: 3600 - idcsMinValue: 0 - idcsSearchable: false - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("denyAuthzDecisionTTL") + private Integer denyAuthzDecisionTTL; + + /** + * Deny Authz policy decision expiry time in seconds. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsMaxValue: 3600 - idcsMinValue: 0 - idcsSearchable: false - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * integer - uniqueness: none + * + * @param denyAuthzDecisionTTL the value to set + * @return this builder + */ + public Builder denyAuthzDecisionTTL(Integer denyAuthzDecisionTTL) { + this.denyAuthzDecisionTTL = denyAuthzDecisionTTL; + this.__explicitlySet__.add("denyAuthzDecisionTTL"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppExtensionEnterpriseAppApp build() { + AppExtensionEnterpriseAppApp model = + new AppExtensionEnterpriseAppApp( + this.appResources, + this.denyAuthzPolicy, + this.allowAuthzPolicy, + this.allowAuthzDecisionTTL, + this.denyAuthzDecisionTTL); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppExtensionEnterpriseAppApp model) { + if (model.wasPropertyExplicitlySet("appResources")) { + this.appResources(model.getAppResources()); + } + if (model.wasPropertyExplicitlySet("denyAuthzPolicy")) { + this.denyAuthzPolicy(model.getDenyAuthzPolicy()); + } + if (model.wasPropertyExplicitlySet("allowAuthzPolicy")) { + this.allowAuthzPolicy(model.getAllowAuthzPolicy()); + } + if (model.wasPropertyExplicitlySet("allowAuthzDecisionTTL")) { + this.allowAuthzDecisionTTL(model.getAllowAuthzDecisionTTL()); + } + if (model.wasPropertyExplicitlySet("denyAuthzDecisionTTL")) { + this.denyAuthzDecisionTTL(model.getDenyAuthzDecisionTTL()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * A list of AppResources of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: true + * - multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("appResources") + private final java.util.List appResources; + + /** + * A list of AppResources of this App. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [value] - idcsSearchable: true + * - multiValued: true - mutability: readWrite - required: false - returned: default - type: + * complex + * + * @return the value + */ + public java.util.List getAppResources() { + return appResources; + } + + @com.fasterxml.jackson.annotation.JsonProperty("denyAuthzPolicy") + private final AppDenyAuthzPolicy denyAuthzPolicy; + + public AppDenyAuthzPolicy getDenyAuthzPolicy() { + return denyAuthzPolicy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("allowAuthzPolicy") + private final AppAllowAuthzPolicy allowAuthzPolicy; + + public AppAllowAuthzPolicy getAllowAuthzPolicy() { + return allowAuthzPolicy; + } + + /** + * Allow Authz policy decision expiry time in seconds. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsMaxValue: 3600 - idcsMinValue: 0 - idcsSearchable: false - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowAuthzDecisionTTL") + private final Integer allowAuthzDecisionTTL; + + /** + * Allow Authz policy decision expiry time in seconds. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsMaxValue: 3600 - idcsMinValue: 0 - idcsSearchable: false - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * integer - uniqueness: none + * + * @return the value + */ + public Integer getAllowAuthzDecisionTTL() { + return allowAuthzDecisionTTL; + } + + /** + * Deny Authz policy decision expiry time in seconds. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsMaxValue: 3600 - idcsMinValue: 0 - idcsSearchable: false - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("denyAuthzDecisionTTL") + private final Integer denyAuthzDecisionTTL; + + /** + * Deny Authz policy decision expiry time in seconds. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsMaxValue: 3600 - idcsMinValue: 0 - idcsSearchable: false - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * integer - uniqueness: none + * + * @return the value + */ + public Integer getDenyAuthzDecisionTTL() { + return denyAuthzDecisionTTL; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppExtensionEnterpriseAppApp("); + sb.append("super=").append(super.toString()); + sb.append("appResources=").append(String.valueOf(this.appResources)); + sb.append(", denyAuthzPolicy=").append(String.valueOf(this.denyAuthzPolicy)); + sb.append(", allowAuthzPolicy=").append(String.valueOf(this.allowAuthzPolicy)); + sb.append(", allowAuthzDecisionTTL=").append(String.valueOf(this.allowAuthzDecisionTTL)); + sb.append(", denyAuthzDecisionTTL=").append(String.valueOf(this.denyAuthzDecisionTTL)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppExtensionEnterpriseAppApp)) { + return false; + } + + AppExtensionEnterpriseAppApp other = (AppExtensionEnterpriseAppApp) o; + return java.util.Objects.equals(this.appResources, other.appResources) + && java.util.Objects.equals(this.denyAuthzPolicy, other.denyAuthzPolicy) + && java.util.Objects.equals(this.allowAuthzPolicy, other.allowAuthzPolicy) + && java.util.Objects.equals(this.allowAuthzDecisionTTL, other.allowAuthzDecisionTTL) + && java.util.Objects.equals(this.denyAuthzDecisionTTL, other.denyAuthzDecisionTTL) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.appResources == null ? 43 : this.appResources.hashCode()); + result = + (result * PRIME) + + (this.denyAuthzPolicy == null ? 43 : this.denyAuthzPolicy.hashCode()); + result = + (result * PRIME) + + (this.allowAuthzPolicy == null ? 43 : this.allowAuthzPolicy.hashCode()); + result = + (result * PRIME) + + (this.allowAuthzDecisionTTL == null + ? 43 + : this.allowAuthzDecisionTTL.hashCode()); + result = + (result * PRIME) + + (this.denyAuthzDecisionTTL == null + ? 43 + : this.denyAuthzDecisionTTL.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionFormFillAppApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionFormFillAppApp.java new file mode 100644 index 00000000000..959c8d96217 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionFormFillAppApp.java @@ -0,0 +1,791 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * This extension provides attributes for Form-Fill facet of App
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppExtensionFormFillAppApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppExtensionFormFillAppApp + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "formType", + "formCredentialSharingGroupID", + "revealPasswordOnForm", + "userNameFormTemplate", + "userNameFormExpression", + "formCredMethod", + "configuration", + "syncFromTemplate", + "formFillUrlMatch" + }) + public AppExtensionFormFillAppApp( + FormType formType, + String formCredentialSharingGroupID, + Boolean revealPasswordOnForm, + String userNameFormTemplate, + String userNameFormExpression, + FormCredMethod formCredMethod, + String configuration, + Boolean syncFromTemplate, + java.util.List formFillUrlMatch) { + super(); + this.formType = formType; + this.formCredentialSharingGroupID = formCredentialSharingGroupID; + this.revealPasswordOnForm = revealPasswordOnForm; + this.userNameFormTemplate = userNameFormTemplate; + this.userNameFormExpression = userNameFormExpression; + this.formCredMethod = formCredMethod; + this.configuration = configuration; + this.syncFromTemplate = syncFromTemplate; + this.formFillUrlMatch = formFillUrlMatch; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Type of the FormFill application like WebApplication, MainFrameApplication, + * WindowsApplication. Initially, we will support only WebApplication. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formType") + private FormType formType; + + /** + * Type of the FormFill application like WebApplication, MainFrameApplication, + * WindowsApplication. Initially, we will support only WebApplication. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param formType the value to set + * @return this builder + */ + public Builder formType(FormType formType) { + this.formType = formType; + this.__explicitlySet__.add("formType"); + return this; + } + /** + * Credential Sharing Group to which this form-fill application belongs. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formCredentialSharingGroupID") + private String formCredentialSharingGroupID; + + /** + * Credential Sharing Group to which this form-fill application belongs. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param formCredentialSharingGroupID the value to set + * @return this builder + */ + public Builder formCredentialSharingGroupID(String formCredentialSharingGroupID) { + this.formCredentialSharingGroupID = formCredentialSharingGroupID; + this.__explicitlySet__.add("formCredentialSharingGroupID"); + return this; + } + /** + * If true, indicates that system is allowed to show the password in plain-text for this + * account after re-authentication. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("revealPasswordOnForm") + private Boolean revealPasswordOnForm; + + /** + * If true, indicates that system is allowed to show the password in plain-text for this + * account after re-authentication. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param revealPasswordOnForm the value to set + * @return this builder + */ + public Builder revealPasswordOnForm(Boolean revealPasswordOnForm) { + this.revealPasswordOnForm = revealPasswordOnForm; + this.__explicitlySet__.add("revealPasswordOnForm"); + return this; + } + /** + * Format for generating a username. This value can be Username or Email Address; any other + * value will be treated as a custom expression. A custom expression may combine 'concat' + * and 'substring' operations with literals and with any attribute of the Oracle Identity + * Cloud Service user. + * + *

*SCIM++ Properties:** - caseExact: false - idcsPii: true - idcsSearchable: true - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userNameFormTemplate") + private String userNameFormTemplate; + + /** + * Format for generating a username. This value can be Username or Email Address; any other + * value will be treated as a custom expression. A custom expression may combine 'concat' + * and 'substring' operations with literals and with any attribute of the Oracle Identity + * Cloud Service user. + * + *

*SCIM++ Properties:** - caseExact: false - idcsPii: true - idcsSearchable: true - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + * + * @param userNameFormTemplate the value to set + * @return this builder + */ + public Builder userNameFormTemplate(String userNameFormTemplate) { + this.userNameFormTemplate = userNameFormTemplate; + this.__explicitlySet__.add("userNameFormTemplate"); + return this; + } + /** + * Indicates the custom expression, which can combine concat and substring operations with + * literals and with any attribute of the Oracle Identity Cloud Service User + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userNameFormExpression") + private String userNameFormExpression; + + /** + * Indicates the custom expression, which can combine concat and substring operations with + * literals and with any attribute of the Oracle Identity Cloud Service User + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param userNameFormExpression the value to set + * @return this builder + */ + public Builder userNameFormExpression(String userNameFormExpression) { + this.userNameFormExpression = userNameFormExpression; + this.__explicitlySet__.add("userNameFormExpression"); + return this; + } + /** + * Indicates how FormFill obtains the username and password of the account that FormFill + * will use to sign into the target App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formCredMethod") + private FormCredMethod formCredMethod; + + /** + * Indicates how FormFill obtains the username and password of the account that FormFill + * will use to sign into the target App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param formCredMethod the value to set + * @return this builder + */ + public Builder formCredMethod(FormCredMethod formCredMethod) { + this.formCredMethod = formCredMethod; + this.__explicitlySet__.add("formCredMethod"); + return this; + } + /** + * FormFill Application Configuration CLOB which has to be maintained in Form-Fill APP for + * legacy code to do Form-Fill injection + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("configuration") + private String configuration; + + /** + * FormFill Application Configuration CLOB which has to be maintained in Form-Fill APP for + * legacy code to do Form-Fill injection + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param configuration the value to set + * @return this builder + */ + public Builder configuration(String configuration) { + this.configuration = configuration; + this.__explicitlySet__.add("configuration"); + return this; + } + /** + * If true, indicates that each of the Form-Fill-related attributes that can be inherited + * from the template actually will be inherited from the template. If false, indicates that + * the AppTemplate on which this App is based has disabled inheritance for these + * Form-Fill-related attributes. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("syncFromTemplate") + private Boolean syncFromTemplate; + + /** + * If true, indicates that each of the Form-Fill-related attributes that can be inherited + * from the template actually will be inherited from the template. If false, indicates that + * the AppTemplate on which this App is based has disabled inheritance for these + * Form-Fill-related attributes. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param syncFromTemplate the value to set + * @return this builder + */ + public Builder syncFromTemplate(Boolean syncFromTemplate) { + this.syncFromTemplate = syncFromTemplate; + this.__explicitlySet__.add("syncFromTemplate"); + return this; + } + /** + * A list of application-formURLs that FormFill should match against any formUrl that the + * user-specifies when signing in to the target service. Each item in the list also + * indicates how FormFill should interpret that formUrl. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [formUrl] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formFillUrlMatch") + private java.util.List formFillUrlMatch; + + /** + * A list of application-formURLs that FormFill should match against any formUrl that the + * user-specifies when signing in to the target service. Each item in the list also + * indicates how FormFill should interpret that formUrl. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [formUrl] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + * + * @param formFillUrlMatch the value to set + * @return this builder + */ + public Builder formFillUrlMatch(java.util.List formFillUrlMatch) { + this.formFillUrlMatch = formFillUrlMatch; + this.__explicitlySet__.add("formFillUrlMatch"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppExtensionFormFillAppApp build() { + AppExtensionFormFillAppApp model = + new AppExtensionFormFillAppApp( + this.formType, + this.formCredentialSharingGroupID, + this.revealPasswordOnForm, + this.userNameFormTemplate, + this.userNameFormExpression, + this.formCredMethod, + this.configuration, + this.syncFromTemplate, + this.formFillUrlMatch); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppExtensionFormFillAppApp model) { + if (model.wasPropertyExplicitlySet("formType")) { + this.formType(model.getFormType()); + } + if (model.wasPropertyExplicitlySet("formCredentialSharingGroupID")) { + this.formCredentialSharingGroupID(model.getFormCredentialSharingGroupID()); + } + if (model.wasPropertyExplicitlySet("revealPasswordOnForm")) { + this.revealPasswordOnForm(model.getRevealPasswordOnForm()); + } + if (model.wasPropertyExplicitlySet("userNameFormTemplate")) { + this.userNameFormTemplate(model.getUserNameFormTemplate()); + } + if (model.wasPropertyExplicitlySet("userNameFormExpression")) { + this.userNameFormExpression(model.getUserNameFormExpression()); + } + if (model.wasPropertyExplicitlySet("formCredMethod")) { + this.formCredMethod(model.getFormCredMethod()); + } + if (model.wasPropertyExplicitlySet("configuration")) { + this.configuration(model.getConfiguration()); + } + if (model.wasPropertyExplicitlySet("syncFromTemplate")) { + this.syncFromTemplate(model.getSyncFromTemplate()); + } + if (model.wasPropertyExplicitlySet("formFillUrlMatch")) { + this.formFillUrlMatch(model.getFormFillUrlMatch()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Type of the FormFill application like WebApplication, MainFrameApplication, + * WindowsApplication. Initially, we will support only WebApplication. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum FormType implements com.oracle.bmc.http.internal.BmcEnum { + WebApplication("WebApplication"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(FormType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (FormType v : FormType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + FormType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static FormType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'FormType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Type of the FormFill application like WebApplication, MainFrameApplication, + * WindowsApplication. Initially, we will support only WebApplication. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formType") + private final FormType formType; + + /** + * Type of the FormFill application like WebApplication, MainFrameApplication, + * WindowsApplication. Initially, we will support only WebApplication. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public FormType getFormType() { + return formType; + } + + /** + * Credential Sharing Group to which this form-fill application belongs. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formCredentialSharingGroupID") + private final String formCredentialSharingGroupID; + + /** + * Credential Sharing Group to which this form-fill application belongs. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getFormCredentialSharingGroupID() { + return formCredentialSharingGroupID; + } + + /** + * If true, indicates that system is allowed to show the password in plain-text for this account + * after re-authentication. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("revealPasswordOnForm") + private final Boolean revealPasswordOnForm; + + /** + * If true, indicates that system is allowed to show the password in plain-text for this account + * after re-authentication. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getRevealPasswordOnForm() { + return revealPasswordOnForm; + } + + /** + * Format for generating a username. This value can be Username or Email Address; any other + * value will be treated as a custom expression. A custom expression may combine 'concat' and + * 'substring' operations with literals and with any attribute of the Oracle Identity Cloud + * Service user. + * + *

*SCIM++ Properties:** - caseExact: false - idcsPii: true - idcsSearchable: true - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userNameFormTemplate") + private final String userNameFormTemplate; + + /** + * Format for generating a username. This value can be Username or Email Address; any other + * value will be treated as a custom expression. A custom expression may combine 'concat' and + * 'substring' operations with literals and with any attribute of the Oracle Identity Cloud + * Service user. + * + *

*SCIM++ Properties:** - caseExact: false - idcsPii: true - idcsSearchable: true - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + * + * @return the value + */ + public String getUserNameFormTemplate() { + return userNameFormTemplate; + } + + /** + * Indicates the custom expression, which can combine concat and substring operations with + * literals and with any attribute of the Oracle Identity Cloud Service User + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userNameFormExpression") + private final String userNameFormExpression; + + /** + * Indicates the custom expression, which can combine concat and substring operations with + * literals and with any attribute of the Oracle Identity Cloud Service User + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getUserNameFormExpression() { + return userNameFormExpression; + } + + /** + * Indicates how FormFill obtains the username and password of the account that FormFill will + * use to sign into the target App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum FormCredMethod implements com.oracle.bmc.http.internal.BmcEnum { + AdminSetsCredentials("ADMIN_SETS_CREDENTIALS"), + AdminSetsSharedCredentials("ADMIN_SETS_SHARED_CREDENTIALS"), + UserSetsPasswordOnly("USER_SETS_PASSWORD_ONLY"), + UserSetsCredentials("USER_SETS_CREDENTIALS"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(FormCredMethod.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (FormCredMethod v : FormCredMethod.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + FormCredMethod(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static FormCredMethod create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'FormCredMethod', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Indicates how FormFill obtains the username and password of the account that FormFill will + * use to sign into the target App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formCredMethod") + private final FormCredMethod formCredMethod; + + /** + * Indicates how FormFill obtains the username and password of the account that FormFill will + * use to sign into the target App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public FormCredMethod getFormCredMethod() { + return formCredMethod; + } + + /** + * FormFill Application Configuration CLOB which has to be maintained in Form-Fill APP for + * legacy code to do Form-Fill injection + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("configuration") + private final String configuration; + + /** + * FormFill Application Configuration CLOB which has to be maintained in Form-Fill APP for + * legacy code to do Form-Fill injection + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getConfiguration() { + return configuration; + } + + /** + * If true, indicates that each of the Form-Fill-related attributes that can be inherited from + * the template actually will be inherited from the template. If false, indicates that the + * AppTemplate on which this App is based has disabled inheritance for these Form-Fill-related + * attributes. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("syncFromTemplate") + private final Boolean syncFromTemplate; + + /** + * If true, indicates that each of the Form-Fill-related attributes that can be inherited from + * the template actually will be inherited from the template. If false, indicates that the + * AppTemplate on which this App is based has disabled inheritance for these Form-Fill-related + * attributes. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getSyncFromTemplate() { + return syncFromTemplate; + } + + /** + * A list of application-formURLs that FormFill should match against any formUrl that the + * user-specifies when signing in to the target service. Each item in the list also indicates + * how FormFill should interpret that formUrl. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [formUrl] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formFillUrlMatch") + private final java.util.List formFillUrlMatch; + + /** + * A list of application-formURLs that FormFill should match against any formUrl that the + * user-specifies when signing in to the target service. Each item in the list also indicates + * how FormFill should interpret that formUrl. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [formUrl] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + * + * @return the value + */ + public java.util.List getFormFillUrlMatch() { + return formFillUrlMatch; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppExtensionFormFillAppApp("); + sb.append("super=").append(super.toString()); + sb.append("formType=").append(String.valueOf(this.formType)); + sb.append(", formCredentialSharingGroupID=") + .append(String.valueOf(this.formCredentialSharingGroupID)); + sb.append(", revealPasswordOnForm=").append(String.valueOf(this.revealPasswordOnForm)); + sb.append(", userNameFormTemplate=").append(String.valueOf(this.userNameFormTemplate)); + sb.append(", userNameFormExpression=").append(String.valueOf(this.userNameFormExpression)); + sb.append(", formCredMethod=").append(String.valueOf(this.formCredMethod)); + sb.append(", configuration=").append(String.valueOf(this.configuration)); + sb.append(", syncFromTemplate=").append(String.valueOf(this.syncFromTemplate)); + sb.append(", formFillUrlMatch=").append(String.valueOf(this.formFillUrlMatch)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppExtensionFormFillAppApp)) { + return false; + } + + AppExtensionFormFillAppApp other = (AppExtensionFormFillAppApp) o; + return java.util.Objects.equals(this.formType, other.formType) + && java.util.Objects.equals( + this.formCredentialSharingGroupID, other.formCredentialSharingGroupID) + && java.util.Objects.equals(this.revealPasswordOnForm, other.revealPasswordOnForm) + && java.util.Objects.equals(this.userNameFormTemplate, other.userNameFormTemplate) + && java.util.Objects.equals( + this.userNameFormExpression, other.userNameFormExpression) + && java.util.Objects.equals(this.formCredMethod, other.formCredMethod) + && java.util.Objects.equals(this.configuration, other.configuration) + && java.util.Objects.equals(this.syncFromTemplate, other.syncFromTemplate) + && java.util.Objects.equals(this.formFillUrlMatch, other.formFillUrlMatch) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.formType == null ? 43 : this.formType.hashCode()); + result = + (result * PRIME) + + (this.formCredentialSharingGroupID == null + ? 43 + : this.formCredentialSharingGroupID.hashCode()); + result = + (result * PRIME) + + (this.revealPasswordOnForm == null + ? 43 + : this.revealPasswordOnForm.hashCode()); + result = + (result * PRIME) + + (this.userNameFormTemplate == null + ? 43 + : this.userNameFormTemplate.hashCode()); + result = + (result * PRIME) + + (this.userNameFormExpression == null + ? 43 + : this.userNameFormExpression.hashCode()); + result = + (result * PRIME) + + (this.formCredMethod == null ? 43 : this.formCredMethod.hashCode()); + result = + (result * PRIME) + + (this.configuration == null ? 43 : this.configuration.hashCode()); + result = + (result * PRIME) + + (this.syncFromTemplate == null ? 43 : this.syncFromTemplate.hashCode()); + result = + (result * PRIME) + + (this.formFillUrlMatch == null ? 43 : this.formFillUrlMatch.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionFormFillAppTemplateAppTemplate.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionFormFillAppTemplateAppTemplate.java new file mode 100644 index 00000000000..79476d5966d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionFormFillAppTemplateAppTemplate.java @@ -0,0 +1,789 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * This extension provides attributes for Form-Fill facet of AppTemplate
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppExtensionFormFillAppTemplateAppTemplate.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppExtensionFormFillAppTemplateAppTemplate + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "formType", + "formCredentialSharingGroupID", + "revealPasswordOnForm", + "userNameFormTemplate", + "userNameFormExpression", + "formCredMethod", + "configuration", + "syncFromTemplate", + "formFillUrlMatch" + }) + public AppExtensionFormFillAppTemplateAppTemplate( + FormType formType, + String formCredentialSharingGroupID, + Boolean revealPasswordOnForm, + String userNameFormTemplate, + String userNameFormExpression, + FormCredMethod formCredMethod, + String configuration, + Boolean syncFromTemplate, + java.util.List formFillUrlMatch) { + super(); + this.formType = formType; + this.formCredentialSharingGroupID = formCredentialSharingGroupID; + this.revealPasswordOnForm = revealPasswordOnForm; + this.userNameFormTemplate = userNameFormTemplate; + this.userNameFormExpression = userNameFormExpression; + this.formCredMethod = formCredMethod; + this.configuration = configuration; + this.syncFromTemplate = syncFromTemplate; + this.formFillUrlMatch = formFillUrlMatch; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Type of the FormFill application like WebApplication, MainFrameApplication, + * WindowsApplication. Initially, we will support only WebApplication. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formType") + private FormType formType; + + /** + * Type of the FormFill application like WebApplication, MainFrameApplication, + * WindowsApplication. Initially, we will support only WebApplication. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param formType the value to set + * @return this builder + */ + public Builder formType(FormType formType) { + this.formType = formType; + this.__explicitlySet__.add("formType"); + return this; + } + /** + * Credential Sharing Group to which this form-fill application belongs. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formCredentialSharingGroupID") + private String formCredentialSharingGroupID; + + /** + * Credential Sharing Group to which this form-fill application belongs. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param formCredentialSharingGroupID the value to set + * @return this builder + */ + public Builder formCredentialSharingGroupID(String formCredentialSharingGroupID) { + this.formCredentialSharingGroupID = formCredentialSharingGroupID; + this.__explicitlySet__.add("formCredentialSharingGroupID"); + return this; + } + /** + * If true, indicates that system is allowed to show the password in plain-text for this + * account after re-authentication. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("revealPasswordOnForm") + private Boolean revealPasswordOnForm; + + /** + * If true, indicates that system is allowed to show the password in plain-text for this + * account after re-authentication. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param revealPasswordOnForm the value to set + * @return this builder + */ + public Builder revealPasswordOnForm(Boolean revealPasswordOnForm) { + this.revealPasswordOnForm = revealPasswordOnForm; + this.__explicitlySet__.add("revealPasswordOnForm"); + return this; + } + /** + * Format for generating a username. This value can be Username or Email Address; any other + * value will be treated as a custom expression. A custom expression may combine 'concat' + * and 'substring' operations with literals and with any attribute of the Oracle Identity + * Cloud Service user. + * + *

*SCIM++ Properties:** - caseExact: false - idcsPii: true - idcsSearchable: true - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userNameFormTemplate") + private String userNameFormTemplate; + + /** + * Format for generating a username. This value can be Username or Email Address; any other + * value will be treated as a custom expression. A custom expression may combine 'concat' + * and 'substring' operations with literals and with any attribute of the Oracle Identity + * Cloud Service user. + * + *

*SCIM++ Properties:** - caseExact: false - idcsPii: true - idcsSearchable: true - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + * + * @param userNameFormTemplate the value to set + * @return this builder + */ + public Builder userNameFormTemplate(String userNameFormTemplate) { + this.userNameFormTemplate = userNameFormTemplate; + this.__explicitlySet__.add("userNameFormTemplate"); + return this; + } + /** + * Indicates the custom expression, which can combine concat and substring operations with + * literals and with any attribute of the Oracle Identity Cloud Service User + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userNameFormExpression") + private String userNameFormExpression; + + /** + * Indicates the custom expression, which can combine concat and substring operations with + * literals and with any attribute of the Oracle Identity Cloud Service User + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param userNameFormExpression the value to set + * @return this builder + */ + public Builder userNameFormExpression(String userNameFormExpression) { + this.userNameFormExpression = userNameFormExpression; + this.__explicitlySet__.add("userNameFormExpression"); + return this; + } + /** + * Indicates how FormFill obtains the username and password of the account that FormFill + * will use to sign into the target App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formCredMethod") + private FormCredMethod formCredMethod; + + /** + * Indicates how FormFill obtains the username and password of the account that FormFill + * will use to sign into the target App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param formCredMethod the value to set + * @return this builder + */ + public Builder formCredMethod(FormCredMethod formCredMethod) { + this.formCredMethod = formCredMethod; + this.__explicitlySet__.add("formCredMethod"); + return this; + } + /** + * FormFill Application Configuration CLOB which has to be maintained in Form-Fill APP for + * legacy code to do Form-Fill injection + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("configuration") + private String configuration; + + /** + * FormFill Application Configuration CLOB which has to be maintained in Form-Fill APP for + * legacy code to do Form-Fill injection + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param configuration the value to set + * @return this builder + */ + public Builder configuration(String configuration) { + this.configuration = configuration; + this.__explicitlySet__.add("configuration"); + return this; + } + /** + * If true, indicates that each of the Form-Fill-related attributes that can be inherited + * from the template actually will be inherited from the template. If false, indicates that + * the AppTemplate disabled inheritance for these Form-Fill-related attributes. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("syncFromTemplate") + private Boolean syncFromTemplate; + + /** + * If true, indicates that each of the Form-Fill-related attributes that can be inherited + * from the template actually will be inherited from the template. If false, indicates that + * the AppTemplate disabled inheritance for these Form-Fill-related attributes. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param syncFromTemplate the value to set + * @return this builder + */ + public Builder syncFromTemplate(Boolean syncFromTemplate) { + this.syncFromTemplate = syncFromTemplate; + this.__explicitlySet__.add("syncFromTemplate"); + return this; + } + /** + * A list of application-formURLs that FormFill should match against any formUrl that the + * user-specifies when signing in to the target service. Each item in the list also + * indicates how FormFill should interpret that formUrl. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [formUrl] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formFillUrlMatch") + private java.util.List formFillUrlMatch; + + /** + * A list of application-formURLs that FormFill should match against any formUrl that the + * user-specifies when signing in to the target service. Each item in the list also + * indicates how FormFill should interpret that formUrl. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [formUrl] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + * + * @param formFillUrlMatch the value to set + * @return this builder + */ + public Builder formFillUrlMatch(java.util.List formFillUrlMatch) { + this.formFillUrlMatch = formFillUrlMatch; + this.__explicitlySet__.add("formFillUrlMatch"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppExtensionFormFillAppTemplateAppTemplate build() { + AppExtensionFormFillAppTemplateAppTemplate model = + new AppExtensionFormFillAppTemplateAppTemplate( + this.formType, + this.formCredentialSharingGroupID, + this.revealPasswordOnForm, + this.userNameFormTemplate, + this.userNameFormExpression, + this.formCredMethod, + this.configuration, + this.syncFromTemplate, + this.formFillUrlMatch); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppExtensionFormFillAppTemplateAppTemplate model) { + if (model.wasPropertyExplicitlySet("formType")) { + this.formType(model.getFormType()); + } + if (model.wasPropertyExplicitlySet("formCredentialSharingGroupID")) { + this.formCredentialSharingGroupID(model.getFormCredentialSharingGroupID()); + } + if (model.wasPropertyExplicitlySet("revealPasswordOnForm")) { + this.revealPasswordOnForm(model.getRevealPasswordOnForm()); + } + if (model.wasPropertyExplicitlySet("userNameFormTemplate")) { + this.userNameFormTemplate(model.getUserNameFormTemplate()); + } + if (model.wasPropertyExplicitlySet("userNameFormExpression")) { + this.userNameFormExpression(model.getUserNameFormExpression()); + } + if (model.wasPropertyExplicitlySet("formCredMethod")) { + this.formCredMethod(model.getFormCredMethod()); + } + if (model.wasPropertyExplicitlySet("configuration")) { + this.configuration(model.getConfiguration()); + } + if (model.wasPropertyExplicitlySet("syncFromTemplate")) { + this.syncFromTemplate(model.getSyncFromTemplate()); + } + if (model.wasPropertyExplicitlySet("formFillUrlMatch")) { + this.formFillUrlMatch(model.getFormFillUrlMatch()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Type of the FormFill application like WebApplication, MainFrameApplication, + * WindowsApplication. Initially, we will support only WebApplication. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum FormType implements com.oracle.bmc.http.internal.BmcEnum { + WebApplication("WebApplication"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(FormType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (FormType v : FormType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + FormType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static FormType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'FormType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Type of the FormFill application like WebApplication, MainFrameApplication, + * WindowsApplication. Initially, we will support only WebApplication. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formType") + private final FormType formType; + + /** + * Type of the FormFill application like WebApplication, MainFrameApplication, + * WindowsApplication. Initially, we will support only WebApplication. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public FormType getFormType() { + return formType; + } + + /** + * Credential Sharing Group to which this form-fill application belongs. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formCredentialSharingGroupID") + private final String formCredentialSharingGroupID; + + /** + * Credential Sharing Group to which this form-fill application belongs. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getFormCredentialSharingGroupID() { + return formCredentialSharingGroupID; + } + + /** + * If true, indicates that system is allowed to show the password in plain-text for this account + * after re-authentication. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("revealPasswordOnForm") + private final Boolean revealPasswordOnForm; + + /** + * If true, indicates that system is allowed to show the password in plain-text for this account + * after re-authentication. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getRevealPasswordOnForm() { + return revealPasswordOnForm; + } + + /** + * Format for generating a username. This value can be Username or Email Address; any other + * value will be treated as a custom expression. A custom expression may combine 'concat' and + * 'substring' operations with literals and with any attribute of the Oracle Identity Cloud + * Service user. + * + *

*SCIM++ Properties:** - caseExact: false - idcsPii: true - idcsSearchable: true - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userNameFormTemplate") + private final String userNameFormTemplate; + + /** + * Format for generating a username. This value can be Username or Email Address; any other + * value will be treated as a custom expression. A custom expression may combine 'concat' and + * 'substring' operations with literals and with any attribute of the Oracle Identity Cloud + * Service user. + * + *

*SCIM++ Properties:** - caseExact: false - idcsPii: true - idcsSearchable: true - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + * + * @return the value + */ + public String getUserNameFormTemplate() { + return userNameFormTemplate; + } + + /** + * Indicates the custom expression, which can combine concat and substring operations with + * literals and with any attribute of the Oracle Identity Cloud Service User + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userNameFormExpression") + private final String userNameFormExpression; + + /** + * Indicates the custom expression, which can combine concat and substring operations with + * literals and with any attribute of the Oracle Identity Cloud Service User + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getUserNameFormExpression() { + return userNameFormExpression; + } + + /** + * Indicates how FormFill obtains the username and password of the account that FormFill will + * use to sign into the target App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum FormCredMethod implements com.oracle.bmc.http.internal.BmcEnum { + AdminSetsCredentials("ADMIN_SETS_CREDENTIALS"), + AdminSetsSharedCredentials("ADMIN_SETS_SHARED_CREDENTIALS"), + UserSetsPasswordOnly("USER_SETS_PASSWORD_ONLY"), + UserSetsCredentials("USER_SETS_CREDENTIALS"), + SsoCredentialsAsAppCredentials("SSO_CREDENTIALS_AS_APP_CREDENTIALS"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(FormCredMethod.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (FormCredMethod v : FormCredMethod.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + FormCredMethod(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static FormCredMethod create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'FormCredMethod', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Indicates how FormFill obtains the username and password of the account that FormFill will + * use to sign into the target App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formCredMethod") + private final FormCredMethod formCredMethod; + + /** + * Indicates how FormFill obtains the username and password of the account that FormFill will + * use to sign into the target App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public FormCredMethod getFormCredMethod() { + return formCredMethod; + } + + /** + * FormFill Application Configuration CLOB which has to be maintained in Form-Fill APP for + * legacy code to do Form-Fill injection + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("configuration") + private final String configuration; + + /** + * FormFill Application Configuration CLOB which has to be maintained in Form-Fill APP for + * legacy code to do Form-Fill injection + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getConfiguration() { + return configuration; + } + + /** + * If true, indicates that each of the Form-Fill-related attributes that can be inherited from + * the template actually will be inherited from the template. If false, indicates that the + * AppTemplate disabled inheritance for these Form-Fill-related attributes. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("syncFromTemplate") + private final Boolean syncFromTemplate; + + /** + * If true, indicates that each of the Form-Fill-related attributes that can be inherited from + * the template actually will be inherited from the template. If false, indicates that the + * AppTemplate disabled inheritance for these Form-Fill-related attributes. + * + *

*Added In:** 17.4.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getSyncFromTemplate() { + return syncFromTemplate; + } + + /** + * A list of application-formURLs that FormFill should match against any formUrl that the + * user-specifies when signing in to the target service. Each item in the list also indicates + * how FormFill should interpret that formUrl. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [formUrl] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formFillUrlMatch") + private final java.util.List formFillUrlMatch; + + /** + * A list of application-formURLs that FormFill should match against any formUrl that the + * user-specifies when signing in to the target service. Each item in the list also indicates + * how FormFill should interpret that formUrl. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [formUrl] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + * + * @return the value + */ + public java.util.List getFormFillUrlMatch() { + return formFillUrlMatch; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppExtensionFormFillAppTemplateAppTemplate("); + sb.append("super=").append(super.toString()); + sb.append("formType=").append(String.valueOf(this.formType)); + sb.append(", formCredentialSharingGroupID=") + .append(String.valueOf(this.formCredentialSharingGroupID)); + sb.append(", revealPasswordOnForm=").append(String.valueOf(this.revealPasswordOnForm)); + sb.append(", userNameFormTemplate=").append(String.valueOf(this.userNameFormTemplate)); + sb.append(", userNameFormExpression=").append(String.valueOf(this.userNameFormExpression)); + sb.append(", formCredMethod=").append(String.valueOf(this.formCredMethod)); + sb.append(", configuration=").append(String.valueOf(this.configuration)); + sb.append(", syncFromTemplate=").append(String.valueOf(this.syncFromTemplate)); + sb.append(", formFillUrlMatch=").append(String.valueOf(this.formFillUrlMatch)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppExtensionFormFillAppTemplateAppTemplate)) { + return false; + } + + AppExtensionFormFillAppTemplateAppTemplate other = + (AppExtensionFormFillAppTemplateAppTemplate) o; + return java.util.Objects.equals(this.formType, other.formType) + && java.util.Objects.equals( + this.formCredentialSharingGroupID, other.formCredentialSharingGroupID) + && java.util.Objects.equals(this.revealPasswordOnForm, other.revealPasswordOnForm) + && java.util.Objects.equals(this.userNameFormTemplate, other.userNameFormTemplate) + && java.util.Objects.equals( + this.userNameFormExpression, other.userNameFormExpression) + && java.util.Objects.equals(this.formCredMethod, other.formCredMethod) + && java.util.Objects.equals(this.configuration, other.configuration) + && java.util.Objects.equals(this.syncFromTemplate, other.syncFromTemplate) + && java.util.Objects.equals(this.formFillUrlMatch, other.formFillUrlMatch) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.formType == null ? 43 : this.formType.hashCode()); + result = + (result * PRIME) + + (this.formCredentialSharingGroupID == null + ? 43 + : this.formCredentialSharingGroupID.hashCode()); + result = + (result * PRIME) + + (this.revealPasswordOnForm == null + ? 43 + : this.revealPasswordOnForm.hashCode()); + result = + (result * PRIME) + + (this.userNameFormTemplate == null + ? 43 + : this.userNameFormTemplate.hashCode()); + result = + (result * PRIME) + + (this.userNameFormExpression == null + ? 43 + : this.userNameFormExpression.hashCode()); + result = + (result * PRIME) + + (this.formCredMethod == null ? 43 : this.formCredMethod.hashCode()); + result = + (result * PRIME) + + (this.configuration == null ? 43 : this.configuration.hashCode()); + result = + (result * PRIME) + + (this.syncFromTemplate == null ? 43 : this.syncFromTemplate.hashCode()); + result = + (result * PRIME) + + (this.formFillUrlMatch == null ? 43 : this.formFillUrlMatch.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionKerberosRealmApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionKerberosRealmApp.java new file mode 100644 index 00000000000..6f023a32f18 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionKerberosRealmApp.java @@ -0,0 +1,510 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Kerberos Realm
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppExtensionKerberosRealmApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppExtensionKerberosRealmApp + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "realmName", + "masterKey", + "defaultEncryptionSaltType", + "supportedEncryptionSaltTypes", + "ticketFlags", + "maxTicketLife", + "maxRenewableAge" + }) + public AppExtensionKerberosRealmApp( + String realmName, + String masterKey, + String defaultEncryptionSaltType, + java.util.List supportedEncryptionSaltTypes, + Integer ticketFlags, + Integer maxTicketLife, + Integer maxRenewableAge) { + super(); + this.realmName = realmName; + this.masterKey = masterKey; + this.defaultEncryptionSaltType = defaultEncryptionSaltType; + this.supportedEncryptionSaltTypes = supportedEncryptionSaltTypes; + this.ticketFlags = ticketFlags; + this.maxTicketLife = maxTicketLife; + this.maxRenewableAge = maxRenewableAge; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The name of the Kerberos Realm that this App uses for authentication. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("realmName") + private String realmName; + + /** + * The name of the Kerberos Realm that this App uses for authentication. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: string - uniqueness: none + * + * @param realmName the value to set + * @return this builder + */ + public Builder realmName(String realmName) { + this.realmName = realmName; + this.__explicitlySet__.add("realmName"); + return this; + } + /** + * The primary key that the system should use to encrypt artifacts that are specific to this + * Kerberos realm -- for example, to encrypt the Principal Key in each KerberosRealmUser. + * + *

*SCIM++ Properties:** - idcsSearchable: false - idcsSensitive: none - multiValued: + * false - mutability: readWrite - required: false - returned: request - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("masterKey") + private String masterKey; + + /** + * The primary key that the system should use to encrypt artifacts that are specific to this + * Kerberos realm -- for example, to encrypt the Principal Key in each KerberosRealmUser. + * + *

*SCIM++ Properties:** - idcsSearchable: false - idcsSensitive: none - multiValued: + * false - mutability: readWrite - required: false - returned: request - type: string - + * uniqueness: none + * + * @param masterKey the value to set + * @return this builder + */ + public Builder masterKey(String masterKey) { + this.masterKey = masterKey; + this.__explicitlySet__.add("masterKey"); + return this; + } + /** + * The type of salt that the system will use to encrypt Kerberos-specific artifacts of this + * App unless another type of salt is specified. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultEncryptionSaltType") + private String defaultEncryptionSaltType; + + /** + * The type of salt that the system will use to encrypt Kerberos-specific artifacts of this + * App unless another type of salt is specified. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: string - uniqueness: none + * + * @param defaultEncryptionSaltType the value to set + * @return this builder + */ + public Builder defaultEncryptionSaltType(String defaultEncryptionSaltType) { + this.defaultEncryptionSaltType = defaultEncryptionSaltType; + this.__explicitlySet__.add("defaultEncryptionSaltType"); + return this; + } + /** + * The types of salt that are available for the system to use when encrypting + * Kerberos-specific artifacts for this App. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readWrite - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("supportedEncryptionSaltTypes") + private java.util.List supportedEncryptionSaltTypes; + + /** + * The types of salt that are available for the system to use when encrypting + * Kerberos-specific artifacts for this App. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readWrite - required: false - returned: request - type: string - uniqueness: none + * + * @param supportedEncryptionSaltTypes the value to set + * @return this builder + */ + public Builder supportedEncryptionSaltTypes( + java.util.List supportedEncryptionSaltTypes) { + this.supportedEncryptionSaltTypes = supportedEncryptionSaltTypes; + this.__explicitlySet__.add("supportedEncryptionSaltTypes"); + return this; + } + /** + * Ticket Flags + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("ticketFlags") + private Integer ticketFlags; + + /** + * Ticket Flags + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: integer - uniqueness: none + * + * @param ticketFlags the value to set + * @return this builder + */ + public Builder ticketFlags(Integer ticketFlags) { + this.ticketFlags = ticketFlags; + this.__explicitlySet__.add("ticketFlags"); + return this; + } + /** + * Max Ticket Life in seconds + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxTicketLife") + private Integer maxTicketLife; + + /** + * Max Ticket Life in seconds + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: integer - uniqueness: none + * + * @param maxTicketLife the value to set + * @return this builder + */ + public Builder maxTicketLife(Integer maxTicketLife) { + this.maxTicketLife = maxTicketLife; + this.__explicitlySet__.add("maxTicketLife"); + return this; + } + /** + * Max Renewable Age in seconds + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxRenewableAge") + private Integer maxRenewableAge; + + /** + * Max Renewable Age in seconds + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: integer - uniqueness: none + * + * @param maxRenewableAge the value to set + * @return this builder + */ + public Builder maxRenewableAge(Integer maxRenewableAge) { + this.maxRenewableAge = maxRenewableAge; + this.__explicitlySet__.add("maxRenewableAge"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppExtensionKerberosRealmApp build() { + AppExtensionKerberosRealmApp model = + new AppExtensionKerberosRealmApp( + this.realmName, + this.masterKey, + this.defaultEncryptionSaltType, + this.supportedEncryptionSaltTypes, + this.ticketFlags, + this.maxTicketLife, + this.maxRenewableAge); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppExtensionKerberosRealmApp model) { + if (model.wasPropertyExplicitlySet("realmName")) { + this.realmName(model.getRealmName()); + } + if (model.wasPropertyExplicitlySet("masterKey")) { + this.masterKey(model.getMasterKey()); + } + if (model.wasPropertyExplicitlySet("defaultEncryptionSaltType")) { + this.defaultEncryptionSaltType(model.getDefaultEncryptionSaltType()); + } + if (model.wasPropertyExplicitlySet("supportedEncryptionSaltTypes")) { + this.supportedEncryptionSaltTypes(model.getSupportedEncryptionSaltTypes()); + } + if (model.wasPropertyExplicitlySet("ticketFlags")) { + this.ticketFlags(model.getTicketFlags()); + } + if (model.wasPropertyExplicitlySet("maxTicketLife")) { + this.maxTicketLife(model.getMaxTicketLife()); + } + if (model.wasPropertyExplicitlySet("maxRenewableAge")) { + this.maxRenewableAge(model.getMaxRenewableAge()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The name of the Kerberos Realm that this App uses for authentication. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("realmName") + private final String realmName; + + /** + * The name of the Kerberos Realm that this App uses for authentication. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getRealmName() { + return realmName; + } + + /** + * The primary key that the system should use to encrypt artifacts that are specific to this + * Kerberos realm -- for example, to encrypt the Principal Key in each KerberosRealmUser. + * + *

*SCIM++ Properties:** - idcsSearchable: false - idcsSensitive: none - multiValued: false - + * mutability: readWrite - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("masterKey") + private final String masterKey; + + /** + * The primary key that the system should use to encrypt artifacts that are specific to this + * Kerberos realm -- for example, to encrypt the Principal Key in each KerberosRealmUser. + * + *

*SCIM++ Properties:** - idcsSearchable: false - idcsSensitive: none - multiValued: false - + * mutability: readWrite - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getMasterKey() { + return masterKey; + } + + /** + * The type of salt that the system will use to encrypt Kerberos-specific artifacts of this App + * unless another type of salt is specified. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultEncryptionSaltType") + private final String defaultEncryptionSaltType; + + /** + * The type of salt that the system will use to encrypt Kerberos-specific artifacts of this App + * unless another type of salt is specified. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getDefaultEncryptionSaltType() { + return defaultEncryptionSaltType; + } + + /** + * The types of salt that are available for the system to use when encrypting Kerberos-specific + * artifacts for this App. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readWrite + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("supportedEncryptionSaltTypes") + private final java.util.List supportedEncryptionSaltTypes; + + /** + * The types of salt that are available for the system to use when encrypting Kerberos-specific + * artifacts for this App. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readWrite + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSupportedEncryptionSaltTypes() { + return supportedEncryptionSaltTypes; + } + + /** + * Ticket Flags + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("ticketFlags") + private final Integer ticketFlags; + + /** + * Ticket Flags + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getTicketFlags() { + return ticketFlags; + } + + /** + * Max Ticket Life in seconds + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxTicketLife") + private final Integer maxTicketLife; + + /** + * Max Ticket Life in seconds + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getMaxTicketLife() { + return maxTicketLife; + } + + /** + * Max Renewable Age in seconds + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxRenewableAge") + private final Integer maxRenewableAge; + + /** + * Max Renewable Age in seconds + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getMaxRenewableAge() { + return maxRenewableAge; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppExtensionKerberosRealmApp("); + sb.append("super=").append(super.toString()); + sb.append("realmName=").append(String.valueOf(this.realmName)); + sb.append(", masterKey=").append(String.valueOf(this.masterKey)); + sb.append(", defaultEncryptionSaltType=") + .append(String.valueOf(this.defaultEncryptionSaltType)); + sb.append(", supportedEncryptionSaltTypes=") + .append(String.valueOf(this.supportedEncryptionSaltTypes)); + sb.append(", ticketFlags=").append(String.valueOf(this.ticketFlags)); + sb.append(", maxTicketLife=").append(String.valueOf(this.maxTicketLife)); + sb.append(", maxRenewableAge=").append(String.valueOf(this.maxRenewableAge)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppExtensionKerberosRealmApp)) { + return false; + } + + AppExtensionKerberosRealmApp other = (AppExtensionKerberosRealmApp) o; + return java.util.Objects.equals(this.realmName, other.realmName) + && java.util.Objects.equals(this.masterKey, other.masterKey) + && java.util.Objects.equals( + this.defaultEncryptionSaltType, other.defaultEncryptionSaltType) + && java.util.Objects.equals( + this.supportedEncryptionSaltTypes, other.supportedEncryptionSaltTypes) + && java.util.Objects.equals(this.ticketFlags, other.ticketFlags) + && java.util.Objects.equals(this.maxTicketLife, other.maxTicketLife) + && java.util.Objects.equals(this.maxRenewableAge, other.maxRenewableAge) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.realmName == null ? 43 : this.realmName.hashCode()); + result = (result * PRIME) + (this.masterKey == null ? 43 : this.masterKey.hashCode()); + result = + (result * PRIME) + + (this.defaultEncryptionSaltType == null + ? 43 + : this.defaultEncryptionSaltType.hashCode()); + result = + (result * PRIME) + + (this.supportedEncryptionSaltTypes == null + ? 43 + : this.supportedEncryptionSaltTypes.hashCode()); + result = (result * PRIME) + (this.ticketFlags == null ? 43 : this.ticketFlags.hashCode()); + result = + (result * PRIME) + + (this.maxTicketLife == null ? 43 : this.maxTicketLife.hashCode()); + result = + (result * PRIME) + + (this.maxRenewableAge == null ? 43 : this.maxRenewableAge.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionManagedappApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionManagedappApp.java new file mode 100644 index 00000000000..39904b4562d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionManagedappApp.java @@ -0,0 +1,1574 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Managed App
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppExtensionManagedappApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppExtensionManagedappApp + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "connected", + "canBeAuthoritative", + "isAuthoritative", + "isOnPremiseApp", + "isDirectory", + "isSchemaDiscoverySupported", + "isSchemaCustomizationSupported", + "enableSync", + "enableSyncSummaryReportNotification", + "enableAuthSyncNewUserNotification", + "adminConsentGranted", + "isThreeLeggedOAuthEnabled", + "isTwoLeggedOAuthEnabled", + "threeLeggedOAuthProviderName", + "syncConfigLastModified", + "accountFormVisible", + "identityBridges", + "connectorBundle", + "bundleConfigurationProperties", + "objectClasses", + "bundlePoolConfiguration", + "flatFileConnectorBundle", + "flatFileBundleConfigurationProperties", + "threeLeggedOAuthCredential" + }) + public AppExtensionManagedappApp( + Boolean connected, + Boolean canBeAuthoritative, + Boolean isAuthoritative, + Boolean isOnPremiseApp, + Boolean isDirectory, + Boolean isSchemaDiscoverySupported, + Boolean isSchemaCustomizationSupported, + Boolean enableSync, + Boolean enableSyncSummaryReportNotification, + Boolean enableAuthSyncNewUserNotification, + Boolean adminConsentGranted, + Boolean isThreeLeggedOAuthEnabled, + Boolean isTwoLeggedOAuthEnabled, + String threeLeggedOAuthProviderName, + String syncConfigLastModified, + Boolean accountFormVisible, + java.util.List identityBridges, + AppConnectorBundle connectorBundle, + java.util.List bundleConfigurationProperties, + java.util.List objectClasses, + AppBundlePoolConfiguration bundlePoolConfiguration, + AppFlatFileConnectorBundle flatFileConnectorBundle, + java.util.List + flatFileBundleConfigurationProperties, + AppThreeLeggedOAuthCredential threeLeggedOAuthCredential) { + super(); + this.connected = connected; + this.canBeAuthoritative = canBeAuthoritative; + this.isAuthoritative = isAuthoritative; + this.isOnPremiseApp = isOnPremiseApp; + this.isDirectory = isDirectory; + this.isSchemaDiscoverySupported = isSchemaDiscoverySupported; + this.isSchemaCustomizationSupported = isSchemaCustomizationSupported; + this.enableSync = enableSync; + this.enableSyncSummaryReportNotification = enableSyncSummaryReportNotification; + this.enableAuthSyncNewUserNotification = enableAuthSyncNewUserNotification; + this.adminConsentGranted = adminConsentGranted; + this.isThreeLeggedOAuthEnabled = isThreeLeggedOAuthEnabled; + this.isTwoLeggedOAuthEnabled = isTwoLeggedOAuthEnabled; + this.threeLeggedOAuthProviderName = threeLeggedOAuthProviderName; + this.syncConfigLastModified = syncConfigLastModified; + this.accountFormVisible = accountFormVisible; + this.identityBridges = identityBridges; + this.connectorBundle = connectorBundle; + this.bundleConfigurationProperties = bundleConfigurationProperties; + this.objectClasses = objectClasses; + this.bundlePoolConfiguration = bundlePoolConfiguration; + this.flatFileConnectorBundle = flatFileConnectorBundle; + this.flatFileBundleConfigurationProperties = flatFileBundleConfigurationProperties; + this.threeLeggedOAuthCredential = threeLeggedOAuthCredential; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * If true, the accounts of the application are managed through an ICF connector bundle + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("connected") + private Boolean connected; + + /** + * If true, the accounts of the application are managed through an ICF connector bundle + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param connected the value to set + * @return this builder + */ + public Builder connected(Boolean connected) { + this.connected = connected; + this.__explicitlySet__.add("connected"); + return this; + } + /** + * If true, the managed app can be authoritative. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("canBeAuthoritative") + private Boolean canBeAuthoritative; + + /** + * If true, the managed app can be authoritative. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param canBeAuthoritative the value to set + * @return this builder + */ + public Builder canBeAuthoritative(Boolean canBeAuthoritative) { + this.canBeAuthoritative = canBeAuthoritative; + this.__explicitlySet__.add("canBeAuthoritative"); + return this; + } + /** + * If true, sync from the managed app will be performed as authoritative sync. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAuthoritative") + private Boolean isAuthoritative; + + /** + * If true, sync from the managed app will be performed as authoritative sync. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param isAuthoritative the value to set + * @return this builder + */ + public Builder isAuthoritative(Boolean isAuthoritative) { + this.isAuthoritative = isAuthoritative; + this.__explicitlySet__.add("isAuthoritative"); + return this; + } + /** + * If true, the managed app is an On-Premise app. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOnPremiseApp") + private Boolean isOnPremiseApp; + + /** + * If true, the managed app is an On-Premise app. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param isOnPremiseApp the value to set + * @return this builder + */ + public Builder isOnPremiseApp(Boolean isOnPremiseApp) { + this.isOnPremiseApp = isOnPremiseApp; + this.__explicitlySet__.add("isOnPremiseApp"); + return this; + } + /** + * If true, the managed app is a directory. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isDirectory") + private Boolean isDirectory; + + /** + * If true, the managed app is a directory. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param isDirectory the value to set + * @return this builder + */ + public Builder isDirectory(Boolean isDirectory) { + this.isDirectory = isDirectory; + this.__explicitlySet__.add("isDirectory"); + return this; + } + /** + * If true, the managed app supports schema discovery. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isSchemaDiscoverySupported") + private Boolean isSchemaDiscoverySupported; + + /** + * If true, the managed app supports schema discovery. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param isSchemaDiscoverySupported the value to set + * @return this builder + */ + public Builder isSchemaDiscoverySupported(Boolean isSchemaDiscoverySupported) { + this.isSchemaDiscoverySupported = isSchemaDiscoverySupported; + this.__explicitlySet__.add("isSchemaDiscoverySupported"); + return this; + } + /** + * If true, the managed app supports schema customization. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isSchemaCustomizationSupported") + private Boolean isSchemaCustomizationSupported; + + /** + * If true, the managed app supports schema customization. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param isSchemaCustomizationSupported the value to set + * @return this builder + */ + public Builder isSchemaCustomizationSupported(Boolean isSchemaCustomizationSupported) { + this.isSchemaCustomizationSupported = isSchemaCustomizationSupported; + this.__explicitlySet__.add("isSchemaCustomizationSupported"); + return this; + } + /** + * If true, sync run-time operations are enabled for this App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("enableSync") + private Boolean enableSync; + + /** + * If true, sync run-time operations are enabled for this App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param enableSync the value to set + * @return this builder + */ + public Builder enableSync(Boolean enableSync) { + this.enableSync = enableSync; + this.__explicitlySet__.add("enableSync"); + return this; + } + /** + * If true, send sync summary as notification upon job completion. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("enableSyncSummaryReportNotification") + private Boolean enableSyncSummaryReportNotification; + + /** + * If true, send sync summary as notification upon job completion. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param enableSyncSummaryReportNotification the value to set + * @return this builder + */ + public Builder enableSyncSummaryReportNotification( + Boolean enableSyncSummaryReportNotification) { + this.enableSyncSummaryReportNotification = enableSyncSummaryReportNotification; + this.__explicitlySet__.add("enableSyncSummaryReportNotification"); + return this; + } + /** + * If true, send activation email to new users created from authoritative sync. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("enableAuthSyncNewUserNotification") + private Boolean enableAuthSyncNewUserNotification; + + /** + * If true, send activation email to new users created from authoritative sync. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param enableAuthSyncNewUserNotification the value to set + * @return this builder + */ + public Builder enableAuthSyncNewUserNotification( + Boolean enableAuthSyncNewUserNotification) { + this.enableAuthSyncNewUserNotification = enableAuthSyncNewUserNotification; + this.__explicitlySet__.add("enableAuthSyncNewUserNotification"); + return this; + } + /** + * If true, admin has granted consent to perform managed app run-time operations. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("adminConsentGranted") + private Boolean adminConsentGranted; + + /** + * If true, admin has granted consent to perform managed app run-time operations. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param adminConsentGranted the value to set + * @return this builder + */ + public Builder adminConsentGranted(Boolean adminConsentGranted) { + this.adminConsentGranted = adminConsentGranted; + this.__explicitlySet__.add("adminConsentGranted"); + return this; + } + /** + * If true, the managed app requires 3-legged OAuth for authorization. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isThreeLeggedOAuthEnabled") + private Boolean isThreeLeggedOAuthEnabled; + + /** + * If true, the managed app requires 3-legged OAuth for authorization. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param isThreeLeggedOAuthEnabled the value to set + * @return this builder + */ + public Builder isThreeLeggedOAuthEnabled(Boolean isThreeLeggedOAuthEnabled) { + this.isThreeLeggedOAuthEnabled = isThreeLeggedOAuthEnabled; + this.__explicitlySet__.add("isThreeLeggedOAuthEnabled"); + return this; + } + /** + * If true, indicates that Oracle Identity Cloud Service can use two-legged OAuth to connect + * to this ManagedApp. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isTwoLeggedOAuthEnabled") + private Boolean isTwoLeggedOAuthEnabled; + + /** + * If true, indicates that Oracle Identity Cloud Service can use two-legged OAuth to connect + * to this ManagedApp. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param isTwoLeggedOAuthEnabled the value to set + * @return this builder + */ + public Builder isTwoLeggedOAuthEnabled(Boolean isTwoLeggedOAuthEnabled) { + this.isTwoLeggedOAuthEnabled = isTwoLeggedOAuthEnabled; + this.__explicitlySet__.add("isTwoLeggedOAuthEnabled"); + return this; + } + /** + * Three legged OAuth provider name in Oracle Identity Cloud Service. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("threeLeggedOAuthProviderName") + private String threeLeggedOAuthProviderName; + + /** + * Three legged OAuth provider name in Oracle Identity Cloud Service. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string + * + * @param threeLeggedOAuthProviderName the value to set + * @return this builder + */ + public Builder threeLeggedOAuthProviderName(String threeLeggedOAuthProviderName) { + this.threeLeggedOAuthProviderName = threeLeggedOAuthProviderName; + this.__explicitlySet__.add("threeLeggedOAuthProviderName"); + return this; + } + /** + * The most recent DateTime that the configuration of this App was updated. AppServices + * updates this timestamp whenever AppServices updates an App's configuration with respect + * to synchronization. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("syncConfigLastModified") + private String syncConfigLastModified; + + /** + * The most recent DateTime that the configuration of this App was updated. AppServices + * updates this timestamp whenever AppServices updates an App's configuration with respect + * to synchronization. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: dateTime - uniqueness: + * none + * + * @param syncConfigLastModified the value to set + * @return this builder + */ + public Builder syncConfigLastModified(String syncConfigLastModified) { + this.syncConfigLastModified = syncConfigLastModified; + this.__explicitlySet__.add("syncConfigLastModified"); + return this; + } + /** + * If true, then the account form will be displayed in the Oracle Identity Cloud Service UI + * to interactively create or update an account for this App. If a value is not specified + * for this attribute, a default value of \\"false\\" will be assumed as the value for this + * attribute. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountFormVisible") + private Boolean accountFormVisible; + + /** + * If true, then the account form will be displayed in the Oracle Identity Cloud Service UI + * to interactively create or update an account for this App. If a value is not specified + * for this attribute, a default value of \\"false\\" will be assumed as the value for this + * attribute. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param accountFormVisible the value to set + * @return this builder + */ + public Builder accountFormVisible(Boolean accountFormVisible) { + this.accountFormVisible = accountFormVisible; + this.__explicitlySet__.add("accountFormVisible"); + return this; + } + /** + * IdentityBridges associated with this App + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("identityBridges") + private java.util.List identityBridges; + + /** + * IdentityBridges associated with this App + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: complex - uniqueness: none + * + * @param identityBridges the value to set + * @return this builder + */ + public Builder identityBridges(java.util.List identityBridges) { + this.identityBridges = identityBridges; + this.__explicitlySet__.add("identityBridges"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("connectorBundle") + private AppConnectorBundle connectorBundle; + + public Builder connectorBundle(AppConnectorBundle connectorBundle) { + this.connectorBundle = connectorBundle; + this.__explicitlySet__.add("connectorBundle"); + return this; + } + /** + * ConnectorBundle configuration properties + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: default - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("bundleConfigurationProperties") + private java.util.List bundleConfigurationProperties; + + /** + * ConnectorBundle configuration properties + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: default - type: complex - + * uniqueness: none + * + * @param bundleConfigurationProperties the value to set + * @return this builder + */ + public Builder bundleConfigurationProperties( + java.util.List bundleConfigurationProperties) { + this.bundleConfigurationProperties = bundleConfigurationProperties; + this.__explicitlySet__.add("bundleConfigurationProperties"); + return this; + } + /** + * Object classes + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readOnly - required: false - returned: default - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("objectClasses") + private java.util.List objectClasses; + + /** + * Object classes + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readOnly - required: false - returned: default - type: + * complex - uniqueness: none + * + * @param objectClasses the value to set + * @return this builder + */ + public Builder objectClasses(java.util.List objectClasses) { + this.objectClasses = objectClasses; + this.__explicitlySet__.add("objectClasses"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("bundlePoolConfiguration") + private AppBundlePoolConfiguration bundlePoolConfiguration; + + public Builder bundlePoolConfiguration(AppBundlePoolConfiguration bundlePoolConfiguration) { + this.bundlePoolConfiguration = bundlePoolConfiguration; + this.__explicitlySet__.add("bundlePoolConfiguration"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("flatFileConnectorBundle") + private AppFlatFileConnectorBundle flatFileConnectorBundle; + + public Builder flatFileConnectorBundle(AppFlatFileConnectorBundle flatFileConnectorBundle) { + this.flatFileConnectorBundle = flatFileConnectorBundle; + this.__explicitlySet__.add("flatFileConnectorBundle"); + return this; + } + /** + * Flat file connector bundle configuration properties + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: default - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("flatFileBundleConfigurationProperties") + private java.util.List + flatFileBundleConfigurationProperties; + + /** + * Flat file connector bundle configuration properties + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: default - type: complex - + * uniqueness: none + * + * @param flatFileBundleConfigurationProperties the value to set + * @return this builder + */ + public Builder flatFileBundleConfigurationProperties( + java.util.List + flatFileBundleConfigurationProperties) { + this.flatFileBundleConfigurationProperties = flatFileBundleConfigurationProperties; + this.__explicitlySet__.add("flatFileBundleConfigurationProperties"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("threeLeggedOAuthCredential") + private AppThreeLeggedOAuthCredential threeLeggedOAuthCredential; + + public Builder threeLeggedOAuthCredential( + AppThreeLeggedOAuthCredential threeLeggedOAuthCredential) { + this.threeLeggedOAuthCredential = threeLeggedOAuthCredential; + this.__explicitlySet__.add("threeLeggedOAuthCredential"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppExtensionManagedappApp build() { + AppExtensionManagedappApp model = + new AppExtensionManagedappApp( + this.connected, + this.canBeAuthoritative, + this.isAuthoritative, + this.isOnPremiseApp, + this.isDirectory, + this.isSchemaDiscoverySupported, + this.isSchemaCustomizationSupported, + this.enableSync, + this.enableSyncSummaryReportNotification, + this.enableAuthSyncNewUserNotification, + this.adminConsentGranted, + this.isThreeLeggedOAuthEnabled, + this.isTwoLeggedOAuthEnabled, + this.threeLeggedOAuthProviderName, + this.syncConfigLastModified, + this.accountFormVisible, + this.identityBridges, + this.connectorBundle, + this.bundleConfigurationProperties, + this.objectClasses, + this.bundlePoolConfiguration, + this.flatFileConnectorBundle, + this.flatFileBundleConfigurationProperties, + this.threeLeggedOAuthCredential); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppExtensionManagedappApp model) { + if (model.wasPropertyExplicitlySet("connected")) { + this.connected(model.getConnected()); + } + if (model.wasPropertyExplicitlySet("canBeAuthoritative")) { + this.canBeAuthoritative(model.getCanBeAuthoritative()); + } + if (model.wasPropertyExplicitlySet("isAuthoritative")) { + this.isAuthoritative(model.getIsAuthoritative()); + } + if (model.wasPropertyExplicitlySet("isOnPremiseApp")) { + this.isOnPremiseApp(model.getIsOnPremiseApp()); + } + if (model.wasPropertyExplicitlySet("isDirectory")) { + this.isDirectory(model.getIsDirectory()); + } + if (model.wasPropertyExplicitlySet("isSchemaDiscoverySupported")) { + this.isSchemaDiscoverySupported(model.getIsSchemaDiscoverySupported()); + } + if (model.wasPropertyExplicitlySet("isSchemaCustomizationSupported")) { + this.isSchemaCustomizationSupported(model.getIsSchemaCustomizationSupported()); + } + if (model.wasPropertyExplicitlySet("enableSync")) { + this.enableSync(model.getEnableSync()); + } + if (model.wasPropertyExplicitlySet("enableSyncSummaryReportNotification")) { + this.enableSyncSummaryReportNotification( + model.getEnableSyncSummaryReportNotification()); + } + if (model.wasPropertyExplicitlySet("enableAuthSyncNewUserNotification")) { + this.enableAuthSyncNewUserNotification( + model.getEnableAuthSyncNewUserNotification()); + } + if (model.wasPropertyExplicitlySet("adminConsentGranted")) { + this.adminConsentGranted(model.getAdminConsentGranted()); + } + if (model.wasPropertyExplicitlySet("isThreeLeggedOAuthEnabled")) { + this.isThreeLeggedOAuthEnabled(model.getIsThreeLeggedOAuthEnabled()); + } + if (model.wasPropertyExplicitlySet("isTwoLeggedOAuthEnabled")) { + this.isTwoLeggedOAuthEnabled(model.getIsTwoLeggedOAuthEnabled()); + } + if (model.wasPropertyExplicitlySet("threeLeggedOAuthProviderName")) { + this.threeLeggedOAuthProviderName(model.getThreeLeggedOAuthProviderName()); + } + if (model.wasPropertyExplicitlySet("syncConfigLastModified")) { + this.syncConfigLastModified(model.getSyncConfigLastModified()); + } + if (model.wasPropertyExplicitlySet("accountFormVisible")) { + this.accountFormVisible(model.getAccountFormVisible()); + } + if (model.wasPropertyExplicitlySet("identityBridges")) { + this.identityBridges(model.getIdentityBridges()); + } + if (model.wasPropertyExplicitlySet("connectorBundle")) { + this.connectorBundle(model.getConnectorBundle()); + } + if (model.wasPropertyExplicitlySet("bundleConfigurationProperties")) { + this.bundleConfigurationProperties(model.getBundleConfigurationProperties()); + } + if (model.wasPropertyExplicitlySet("objectClasses")) { + this.objectClasses(model.getObjectClasses()); + } + if (model.wasPropertyExplicitlySet("bundlePoolConfiguration")) { + this.bundlePoolConfiguration(model.getBundlePoolConfiguration()); + } + if (model.wasPropertyExplicitlySet("flatFileConnectorBundle")) { + this.flatFileConnectorBundle(model.getFlatFileConnectorBundle()); + } + if (model.wasPropertyExplicitlySet("flatFileBundleConfigurationProperties")) { + this.flatFileBundleConfigurationProperties( + model.getFlatFileBundleConfigurationProperties()); + } + if (model.wasPropertyExplicitlySet("threeLeggedOAuthCredential")) { + this.threeLeggedOAuthCredential(model.getThreeLeggedOAuthCredential()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * If true, the accounts of the application are managed through an ICF connector bundle + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("connected") + private final Boolean connected; + + /** + * If true, the accounts of the application are managed through an ICF connector bundle + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getConnected() { + return connected; + } + + /** + * If true, the managed app can be authoritative. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("canBeAuthoritative") + private final Boolean canBeAuthoritative; + + /** + * If true, the managed app can be authoritative. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getCanBeAuthoritative() { + return canBeAuthoritative; + } + + /** + * If true, sync from the managed app will be performed as authoritative sync. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAuthoritative") + private final Boolean isAuthoritative; + + /** + * If true, sync from the managed app will be performed as authoritative sync. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getIsAuthoritative() { + return isAuthoritative; + } + + /** + * If true, the managed app is an On-Premise app. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOnPremiseApp") + private final Boolean isOnPremiseApp; + + /** + * If true, the managed app is an On-Premise app. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsOnPremiseApp() { + return isOnPremiseApp; + } + + /** + * If true, the managed app is a directory. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isDirectory") + private final Boolean isDirectory; + + /** + * If true, the managed app is a directory. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsDirectory() { + return isDirectory; + } + + /** + * If true, the managed app supports schema discovery. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isSchemaDiscoverySupported") + private final Boolean isSchemaDiscoverySupported; + + /** + * If true, the managed app supports schema discovery. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsSchemaDiscoverySupported() { + return isSchemaDiscoverySupported; + } + + /** + * If true, the managed app supports schema customization. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isSchemaCustomizationSupported") + private final Boolean isSchemaCustomizationSupported; + + /** + * If true, the managed app supports schema customization. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsSchemaCustomizationSupported() { + return isSchemaCustomizationSupported; + } + + /** + * If true, sync run-time operations are enabled for this App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("enableSync") + private final Boolean enableSync; + + /** + * If true, sync run-time operations are enabled for this App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getEnableSync() { + return enableSync; + } + + /** + * If true, send sync summary as notification upon job completion. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("enableSyncSummaryReportNotification") + private final Boolean enableSyncSummaryReportNotification; + + /** + * If true, send sync summary as notification upon job completion. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getEnableSyncSummaryReportNotification() { + return enableSyncSummaryReportNotification; + } + + /** + * If true, send activation email to new users created from authoritative sync. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("enableAuthSyncNewUserNotification") + private final Boolean enableAuthSyncNewUserNotification; + + /** + * If true, send activation email to new users created from authoritative sync. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getEnableAuthSyncNewUserNotification() { + return enableAuthSyncNewUserNotification; + } + + /** + * If true, admin has granted consent to perform managed app run-time operations. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("adminConsentGranted") + private final Boolean adminConsentGranted; + + /** + * If true, admin has granted consent to perform managed app run-time operations. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getAdminConsentGranted() { + return adminConsentGranted; + } + + /** + * If true, the managed app requires 3-legged OAuth for authorization. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isThreeLeggedOAuthEnabled") + private final Boolean isThreeLeggedOAuthEnabled; + + /** + * If true, the managed app requires 3-legged OAuth for authorization. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsThreeLeggedOAuthEnabled() { + return isThreeLeggedOAuthEnabled; + } + + /** + * If true, indicates that Oracle Identity Cloud Service can use two-legged OAuth to connect to + * this ManagedApp. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isTwoLeggedOAuthEnabled") + private final Boolean isTwoLeggedOAuthEnabled; + + /** + * If true, indicates that Oracle Identity Cloud Service can use two-legged OAuth to connect to + * this ManagedApp. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsTwoLeggedOAuthEnabled() { + return isTwoLeggedOAuthEnabled; + } + + /** + * Three legged OAuth provider name in Oracle Identity Cloud Service. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("threeLeggedOAuthProviderName") + private final String threeLeggedOAuthProviderName; + + /** + * Three legged OAuth provider name in Oracle Identity Cloud Service. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string + * + * @return the value + */ + public String getThreeLeggedOAuthProviderName() { + return threeLeggedOAuthProviderName; + } + + /** + * The most recent DateTime that the configuration of this App was updated. AppServices updates + * this timestamp whenever AppServices updates an App's configuration with respect to + * synchronization. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("syncConfigLastModified") + private final String syncConfigLastModified; + + /** + * The most recent DateTime that the configuration of this App was updated. AppServices updates + * this timestamp whenever AppServices updates an App's configuration with respect to + * synchronization. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: dateTime - uniqueness: + * none + * + * @return the value + */ + public String getSyncConfigLastModified() { + return syncConfigLastModified; + } + + /** + * If true, then the account form will be displayed in the Oracle Identity Cloud Service UI to + * interactively create or update an account for this App. If a value is not specified for this + * attribute, a default value of \\"false\\" will be assumed as the value for this attribute. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountFormVisible") + private final Boolean accountFormVisible; + + /** + * If true, then the account form will be displayed in the Oracle Identity Cloud Service UI to + * interactively create or update an account for this App. If a value is not specified for this + * attribute, a default value of \\"false\\" will be assumed as the value for this attribute. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAccountFormVisible() { + return accountFormVisible; + } + + /** + * IdentityBridges associated with this App + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("identityBridges") + private final java.util.List identityBridges; + + /** + * IdentityBridges associated with this App + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: complex - uniqueness: none + * + * @return the value + */ + public java.util.List getIdentityBridges() { + return identityBridges; + } + + @com.fasterxml.jackson.annotation.JsonProperty("connectorBundle") + private final AppConnectorBundle connectorBundle; + + public AppConnectorBundle getConnectorBundle() { + return connectorBundle; + } + + /** + * ConnectorBundle configuration properties + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: default - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("bundleConfigurationProperties") + private final java.util.List bundleConfigurationProperties; + + /** + * ConnectorBundle configuration properties + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: default - type: complex - + * uniqueness: none + * + * @return the value + */ + public java.util.List getBundleConfigurationProperties() { + return bundleConfigurationProperties; + } + + /** + * Object classes + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: + * true - mutability: readOnly - required: false - returned: default - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("objectClasses") + private final java.util.List objectClasses; + + /** + * Object classes + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: + * true - mutability: readOnly - required: false - returned: default - type: complex - + * uniqueness: none + * + * @return the value + */ + public java.util.List getObjectClasses() { + return objectClasses; + } + + @com.fasterxml.jackson.annotation.JsonProperty("bundlePoolConfiguration") + private final AppBundlePoolConfiguration bundlePoolConfiguration; + + public AppBundlePoolConfiguration getBundlePoolConfiguration() { + return bundlePoolConfiguration; + } + + @com.fasterxml.jackson.annotation.JsonProperty("flatFileConnectorBundle") + private final AppFlatFileConnectorBundle flatFileConnectorBundle; + + public AppFlatFileConnectorBundle getFlatFileConnectorBundle() { + return flatFileConnectorBundle; + } + + /** + * Flat file connector bundle configuration properties + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: default - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("flatFileBundleConfigurationProperties") + private final java.util.List + flatFileBundleConfigurationProperties; + + /** + * Flat file connector bundle configuration properties + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: default - type: complex - + * uniqueness: none + * + * @return the value + */ + public java.util.List + getFlatFileBundleConfigurationProperties() { + return flatFileBundleConfigurationProperties; + } + + @com.fasterxml.jackson.annotation.JsonProperty("threeLeggedOAuthCredential") + private final AppThreeLeggedOAuthCredential threeLeggedOAuthCredential; + + public AppThreeLeggedOAuthCredential getThreeLeggedOAuthCredential() { + return threeLeggedOAuthCredential; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppExtensionManagedappApp("); + sb.append("super=").append(super.toString()); + sb.append("connected=").append(String.valueOf(this.connected)); + sb.append(", canBeAuthoritative=").append(String.valueOf(this.canBeAuthoritative)); + sb.append(", isAuthoritative=").append(String.valueOf(this.isAuthoritative)); + sb.append(", isOnPremiseApp=").append(String.valueOf(this.isOnPremiseApp)); + sb.append(", isDirectory=").append(String.valueOf(this.isDirectory)); + sb.append(", isSchemaDiscoverySupported=") + .append(String.valueOf(this.isSchemaDiscoverySupported)); + sb.append(", isSchemaCustomizationSupported=") + .append(String.valueOf(this.isSchemaCustomizationSupported)); + sb.append(", enableSync=").append(String.valueOf(this.enableSync)); + sb.append(", enableSyncSummaryReportNotification=") + .append(String.valueOf(this.enableSyncSummaryReportNotification)); + sb.append(", enableAuthSyncNewUserNotification=") + .append(String.valueOf(this.enableAuthSyncNewUserNotification)); + sb.append(", adminConsentGranted=").append(String.valueOf(this.adminConsentGranted)); + sb.append(", isThreeLeggedOAuthEnabled=") + .append(String.valueOf(this.isThreeLeggedOAuthEnabled)); + sb.append(", isTwoLeggedOAuthEnabled=") + .append(String.valueOf(this.isTwoLeggedOAuthEnabled)); + sb.append(", threeLeggedOAuthProviderName=") + .append(String.valueOf(this.threeLeggedOAuthProviderName)); + sb.append(", syncConfigLastModified=").append(String.valueOf(this.syncConfigLastModified)); + sb.append(", accountFormVisible=").append(String.valueOf(this.accountFormVisible)); + sb.append(", identityBridges=").append(String.valueOf(this.identityBridges)); + sb.append(", connectorBundle=").append(String.valueOf(this.connectorBundle)); + sb.append(", bundleConfigurationProperties=") + .append(String.valueOf(this.bundleConfigurationProperties)); + sb.append(", objectClasses=").append(String.valueOf(this.objectClasses)); + sb.append(", bundlePoolConfiguration=") + .append(String.valueOf(this.bundlePoolConfiguration)); + sb.append(", flatFileConnectorBundle=") + .append(String.valueOf(this.flatFileConnectorBundle)); + sb.append(", flatFileBundleConfigurationProperties=") + .append(String.valueOf(this.flatFileBundleConfigurationProperties)); + sb.append(", threeLeggedOAuthCredential=") + .append(String.valueOf(this.threeLeggedOAuthCredential)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppExtensionManagedappApp)) { + return false; + } + + AppExtensionManagedappApp other = (AppExtensionManagedappApp) o; + return java.util.Objects.equals(this.connected, other.connected) + && java.util.Objects.equals(this.canBeAuthoritative, other.canBeAuthoritative) + && java.util.Objects.equals(this.isAuthoritative, other.isAuthoritative) + && java.util.Objects.equals(this.isOnPremiseApp, other.isOnPremiseApp) + && java.util.Objects.equals(this.isDirectory, other.isDirectory) + && java.util.Objects.equals( + this.isSchemaDiscoverySupported, other.isSchemaDiscoverySupported) + && java.util.Objects.equals( + this.isSchemaCustomizationSupported, other.isSchemaCustomizationSupported) + && java.util.Objects.equals(this.enableSync, other.enableSync) + && java.util.Objects.equals( + this.enableSyncSummaryReportNotification, + other.enableSyncSummaryReportNotification) + && java.util.Objects.equals( + this.enableAuthSyncNewUserNotification, + other.enableAuthSyncNewUserNotification) + && java.util.Objects.equals(this.adminConsentGranted, other.adminConsentGranted) + && java.util.Objects.equals( + this.isThreeLeggedOAuthEnabled, other.isThreeLeggedOAuthEnabled) + && java.util.Objects.equals( + this.isTwoLeggedOAuthEnabled, other.isTwoLeggedOAuthEnabled) + && java.util.Objects.equals( + this.threeLeggedOAuthProviderName, other.threeLeggedOAuthProviderName) + && java.util.Objects.equals( + this.syncConfigLastModified, other.syncConfigLastModified) + && java.util.Objects.equals(this.accountFormVisible, other.accountFormVisible) + && java.util.Objects.equals(this.identityBridges, other.identityBridges) + && java.util.Objects.equals(this.connectorBundle, other.connectorBundle) + && java.util.Objects.equals( + this.bundleConfigurationProperties, other.bundleConfigurationProperties) + && java.util.Objects.equals(this.objectClasses, other.objectClasses) + && java.util.Objects.equals( + this.bundlePoolConfiguration, other.bundlePoolConfiguration) + && java.util.Objects.equals( + this.flatFileConnectorBundle, other.flatFileConnectorBundle) + && java.util.Objects.equals( + this.flatFileBundleConfigurationProperties, + other.flatFileBundleConfigurationProperties) + && java.util.Objects.equals( + this.threeLeggedOAuthCredential, other.threeLeggedOAuthCredential) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.connected == null ? 43 : this.connected.hashCode()); + result = + (result * PRIME) + + (this.canBeAuthoritative == null + ? 43 + : this.canBeAuthoritative.hashCode()); + result = + (result * PRIME) + + (this.isAuthoritative == null ? 43 : this.isAuthoritative.hashCode()); + result = + (result * PRIME) + + (this.isOnPremiseApp == null ? 43 : this.isOnPremiseApp.hashCode()); + result = (result * PRIME) + (this.isDirectory == null ? 43 : this.isDirectory.hashCode()); + result = + (result * PRIME) + + (this.isSchemaDiscoverySupported == null + ? 43 + : this.isSchemaDiscoverySupported.hashCode()); + result = + (result * PRIME) + + (this.isSchemaCustomizationSupported == null + ? 43 + : this.isSchemaCustomizationSupported.hashCode()); + result = (result * PRIME) + (this.enableSync == null ? 43 : this.enableSync.hashCode()); + result = + (result * PRIME) + + (this.enableSyncSummaryReportNotification == null + ? 43 + : this.enableSyncSummaryReportNotification.hashCode()); + result = + (result * PRIME) + + (this.enableAuthSyncNewUserNotification == null + ? 43 + : this.enableAuthSyncNewUserNotification.hashCode()); + result = + (result * PRIME) + + (this.adminConsentGranted == null + ? 43 + : this.adminConsentGranted.hashCode()); + result = + (result * PRIME) + + (this.isThreeLeggedOAuthEnabled == null + ? 43 + : this.isThreeLeggedOAuthEnabled.hashCode()); + result = + (result * PRIME) + + (this.isTwoLeggedOAuthEnabled == null + ? 43 + : this.isTwoLeggedOAuthEnabled.hashCode()); + result = + (result * PRIME) + + (this.threeLeggedOAuthProviderName == null + ? 43 + : this.threeLeggedOAuthProviderName.hashCode()); + result = + (result * PRIME) + + (this.syncConfigLastModified == null + ? 43 + : this.syncConfigLastModified.hashCode()); + result = + (result * PRIME) + + (this.accountFormVisible == null + ? 43 + : this.accountFormVisible.hashCode()); + result = + (result * PRIME) + + (this.identityBridges == null ? 43 : this.identityBridges.hashCode()); + result = + (result * PRIME) + + (this.connectorBundle == null ? 43 : this.connectorBundle.hashCode()); + result = + (result * PRIME) + + (this.bundleConfigurationProperties == null + ? 43 + : this.bundleConfigurationProperties.hashCode()); + result = + (result * PRIME) + + (this.objectClasses == null ? 43 : this.objectClasses.hashCode()); + result = + (result * PRIME) + + (this.bundlePoolConfiguration == null + ? 43 + : this.bundlePoolConfiguration.hashCode()); + result = + (result * PRIME) + + (this.flatFileConnectorBundle == null + ? 43 + : this.flatFileConnectorBundle.hashCode()); + result = + (result * PRIME) + + (this.flatFileBundleConfigurationProperties == null + ? 43 + : this.flatFileBundleConfigurationProperties.hashCode()); + result = + (result * PRIME) + + (this.threeLeggedOAuthCredential == null + ? 43 + : this.threeLeggedOAuthCredential.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionMulticloudServiceAppApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionMulticloudServiceAppApp.java new file mode 100644 index 00000000000..81706634cd1 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionMulticloudServiceAppApp.java @@ -0,0 +1,297 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * This extension defines attributes specific to Apps that represent instances of Multicloud Service + * App
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppExtensionMulticloudServiceAppApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppExtensionMulticloudServiceAppApp + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"multicloudServiceType", "multicloudPlatformUrl"}) + public AppExtensionMulticloudServiceAppApp( + MulticloudServiceType multicloudServiceType, String multicloudPlatformUrl) { + super(); + this.multicloudServiceType = multicloudServiceType; + this.multicloudPlatformUrl = multicloudPlatformUrl; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Specifies the service type for which the application is configured for multicloud + * integration. For applicable external service types, app will invoke multicloud service + * for runtime operations + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("multicloudServiceType") + private MulticloudServiceType multicloudServiceType; + + /** + * Specifies the service type for which the application is configured for multicloud + * integration. For applicable external service types, app will invoke multicloud service + * for runtime operations + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: request - type: string - uniqueness: + * none + * + * @param multicloudServiceType the value to set + * @return this builder + */ + public Builder multicloudServiceType(MulticloudServiceType multicloudServiceType) { + this.multicloudServiceType = multicloudServiceType; + this.__explicitlySet__.add("multicloudServiceType"); + return this; + } + /** + * The multicloud platform service URL which the application will invoke for runtime + * operations such as AWSCredentials api invocation + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("multicloudPlatformUrl") + private String multicloudPlatformUrl; + + /** + * The multicloud platform service URL which the application will invoke for runtime + * operations such as AWSCredentials api invocation + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: false - returned: request - type: string - uniqueness: none + * + * @param multicloudPlatformUrl the value to set + * @return this builder + */ + public Builder multicloudPlatformUrl(String multicloudPlatformUrl) { + this.multicloudPlatformUrl = multicloudPlatformUrl; + this.__explicitlySet__.add("multicloudPlatformUrl"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppExtensionMulticloudServiceAppApp build() { + AppExtensionMulticloudServiceAppApp model = + new AppExtensionMulticloudServiceAppApp( + this.multicloudServiceType, this.multicloudPlatformUrl); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppExtensionMulticloudServiceAppApp model) { + if (model.wasPropertyExplicitlySet("multicloudServiceType")) { + this.multicloudServiceType(model.getMulticloudServiceType()); + } + if (model.wasPropertyExplicitlySet("multicloudPlatformUrl")) { + this.multicloudPlatformUrl(model.getMulticloudPlatformUrl()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Specifies the service type for which the application is configured for multicloud + * integration. For applicable external service types, app will invoke multicloud service for + * runtime operations + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: request - type: string - uniqueness: none + */ + public enum MulticloudServiceType implements com.oracle.bmc.http.internal.BmcEnum { + AwsCognito("AWSCognito"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(MulticloudServiceType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (MulticloudServiceType v : MulticloudServiceType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + MulticloudServiceType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static MulticloudServiceType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'MulticloudServiceType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Specifies the service type for which the application is configured for multicloud + * integration. For applicable external service types, app will invoke multicloud service for + * runtime operations + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("multicloudServiceType") + private final MulticloudServiceType multicloudServiceType; + + /** + * Specifies the service type for which the application is configured for multicloud + * integration. For applicable external service types, app will invoke multicloud service for + * runtime operations + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public MulticloudServiceType getMulticloudServiceType() { + return multicloudServiceType; + } + + /** + * The multicloud platform service URL which the application will invoke for runtime operations + * such as AWSCredentials api invocation + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("multicloudPlatformUrl") + private final String multicloudPlatformUrl; + + /** + * The multicloud platform service URL which the application will invoke for runtime operations + * such as AWSCredentials api invocation + * + *

*Added In:** 2301202328 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getMulticloudPlatformUrl() { + return multicloudPlatformUrl; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppExtensionMulticloudServiceAppApp("); + sb.append("super=").append(super.toString()); + sb.append("multicloudServiceType=").append(String.valueOf(this.multicloudServiceType)); + sb.append(", multicloudPlatformUrl=").append(String.valueOf(this.multicloudPlatformUrl)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppExtensionMulticloudServiceAppApp)) { + return false; + } + + AppExtensionMulticloudServiceAppApp other = (AppExtensionMulticloudServiceAppApp) o; + return java.util.Objects.equals(this.multicloudServiceType, other.multicloudServiceType) + && java.util.Objects.equals(this.multicloudPlatformUrl, other.multicloudPlatformUrl) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.multicloudServiceType == null + ? 43 + : this.multicloudServiceType.hashCode()); + result = + (result * PRIME) + + (this.multicloudPlatformUrl == null + ? 43 + : this.multicloudPlatformUrl.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionOpcServiceApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionOpcServiceApp.java new file mode 100644 index 00000000000..f6c4397306c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionOpcServiceApp.java @@ -0,0 +1,787 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * This extension defines attributes specific to Apps that represent instances of an Oracle Public + * Cloud (OPC) service.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppExtensionOpcServiceApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppExtensionOpcServiceApp + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "serviceInstanceIdentifier", + "region", + "currentFederationMode", + "currentSynchronizationMode", + "nextFederationMode", + "nextSynchronizationMode", + "enablingNextFedSyncModes" + }) + public AppExtensionOpcServiceApp( + String serviceInstanceIdentifier, + String region, + CurrentFederationMode currentFederationMode, + CurrentSynchronizationMode currentSynchronizationMode, + NextFederationMode nextFederationMode, + NextSynchronizationMode nextSynchronizationMode, + Boolean enablingNextFedSyncModes) { + super(); + this.serviceInstanceIdentifier = serviceInstanceIdentifier; + this.region = region; + this.currentFederationMode = currentFederationMode; + this.currentSynchronizationMode = currentSynchronizationMode; + this.nextFederationMode = nextFederationMode; + this.nextSynchronizationMode = nextSynchronizationMode; + this.enablingNextFedSyncModes = enablingNextFedSyncModes; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * This value specifies the unique identifier assigned to an instance of an Oracle Public + * Cloud service app. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceInstanceIdentifier") + private String serviceInstanceIdentifier; + + /** + * This value specifies the unique identifier assigned to an instance of an Oracle Public + * Cloud service app. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + * + * @param serviceInstanceIdentifier the value to set + * @return this builder + */ + public Builder serviceInstanceIdentifier(String serviceInstanceIdentifier) { + this.serviceInstanceIdentifier = serviceInstanceIdentifier; + this.__explicitlySet__.add("serviceInstanceIdentifier"); + return this; + } + /** + * This value identifies the OPC region in which the service is running. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("region") + private String region; + + /** + * This value identifies the OPC region in which the service is running. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param region the value to set + * @return this builder + */ + public Builder region(String region) { + this.region = region; + this.__explicitlySet__.add("region"); + return this; + } + /** + * Current Federation Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("currentFederationMode") + private CurrentFederationMode currentFederationMode; + + /** + * Current Federation Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string + * + * @param currentFederationMode the value to set + * @return this builder + */ + public Builder currentFederationMode(CurrentFederationMode currentFederationMode) { + this.currentFederationMode = currentFederationMode; + this.__explicitlySet__.add("currentFederationMode"); + return this; + } + /** + * Current Synchronization Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("currentSynchronizationMode") + private CurrentSynchronizationMode currentSynchronizationMode; + + /** + * Current Synchronization Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string + * + * @param currentSynchronizationMode the value to set + * @return this builder + */ + public Builder currentSynchronizationMode( + CurrentSynchronizationMode currentSynchronizationMode) { + this.currentSynchronizationMode = currentSynchronizationMode; + this.__explicitlySet__.add("currentSynchronizationMode"); + return this; + } + /** + * Next Federation Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("nextFederationMode") + private NextFederationMode nextFederationMode; + + /** + * Next Federation Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string + * + * @param nextFederationMode the value to set + * @return this builder + */ + public Builder nextFederationMode(NextFederationMode nextFederationMode) { + this.nextFederationMode = nextFederationMode; + this.__explicitlySet__.add("nextFederationMode"); + return this; + } + /** + * Next Synchronization Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("nextSynchronizationMode") + private NextSynchronizationMode nextSynchronizationMode; + + /** + * Next Synchronization Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string + * + * @param nextSynchronizationMode the value to set + * @return this builder + */ + public Builder nextSynchronizationMode(NextSynchronizationMode nextSynchronizationMode) { + this.nextSynchronizationMode = nextSynchronizationMode; + this.__explicitlySet__.add("nextSynchronizationMode"); + return this; + } + /** + * If true, indicates that enablement is in progress started but not completed + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("enablingNextFedSyncModes") + private Boolean enablingNextFedSyncModes; + + /** + * If true, indicates that enablement is in progress started but not completed + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean + * + * @param enablingNextFedSyncModes the value to set + * @return this builder + */ + public Builder enablingNextFedSyncModes(Boolean enablingNextFedSyncModes) { + this.enablingNextFedSyncModes = enablingNextFedSyncModes; + this.__explicitlySet__.add("enablingNextFedSyncModes"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppExtensionOpcServiceApp build() { + AppExtensionOpcServiceApp model = + new AppExtensionOpcServiceApp( + this.serviceInstanceIdentifier, + this.region, + this.currentFederationMode, + this.currentSynchronizationMode, + this.nextFederationMode, + this.nextSynchronizationMode, + this.enablingNextFedSyncModes); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppExtensionOpcServiceApp model) { + if (model.wasPropertyExplicitlySet("serviceInstanceIdentifier")) { + this.serviceInstanceIdentifier(model.getServiceInstanceIdentifier()); + } + if (model.wasPropertyExplicitlySet("region")) { + this.region(model.getRegion()); + } + if (model.wasPropertyExplicitlySet("currentFederationMode")) { + this.currentFederationMode(model.getCurrentFederationMode()); + } + if (model.wasPropertyExplicitlySet("currentSynchronizationMode")) { + this.currentSynchronizationMode(model.getCurrentSynchronizationMode()); + } + if (model.wasPropertyExplicitlySet("nextFederationMode")) { + this.nextFederationMode(model.getNextFederationMode()); + } + if (model.wasPropertyExplicitlySet("nextSynchronizationMode")) { + this.nextSynchronizationMode(model.getNextSynchronizationMode()); + } + if (model.wasPropertyExplicitlySet("enablingNextFedSyncModes")) { + this.enablingNextFedSyncModes(model.getEnablingNextFedSyncModes()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * This value specifies the unique identifier assigned to an instance of an Oracle Public Cloud + * service app. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceInstanceIdentifier") + private final String serviceInstanceIdentifier; + + /** + * This value specifies the unique identifier assigned to an instance of an Oracle Public Cloud + * service app. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + * + * @return the value + */ + public String getServiceInstanceIdentifier() { + return serviceInstanceIdentifier; + } + + /** + * This value identifies the OPC region in which the service is running. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("region") + private final String region; + + /** + * This value identifies the OPC region in which the service is running. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getRegion() { + return region; + } + + /** + * Current Federation Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string + */ + public enum CurrentFederationMode implements com.oracle.bmc.http.internal.BmcEnum { + None("None"), + AppAsServiceProvider("AppAsServiceProvider"), + AppAsIdentityProvider("AppAsIdentityProvider"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(CurrentFederationMode.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (CurrentFederationMode v : CurrentFederationMode.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + CurrentFederationMode(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static CurrentFederationMode create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'CurrentFederationMode', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Current Federation Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("currentFederationMode") + private final CurrentFederationMode currentFederationMode; + + /** + * Current Federation Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string + * + * @return the value + */ + public CurrentFederationMode getCurrentFederationMode() { + return currentFederationMode; + } + + /** + * Current Synchronization Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string + */ + public enum CurrentSynchronizationMode implements com.oracle.bmc.http.internal.BmcEnum { + None("None"), + AppAsTarget("AppAsTarget"), + AppAsSource("AppAsSource"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(CurrentSynchronizationMode.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (CurrentSynchronizationMode v : CurrentSynchronizationMode.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + CurrentSynchronizationMode(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static CurrentSynchronizationMode create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'CurrentSynchronizationMode', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Current Synchronization Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("currentSynchronizationMode") + private final CurrentSynchronizationMode currentSynchronizationMode; + + /** + * Current Synchronization Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string + * + * @return the value + */ + public CurrentSynchronizationMode getCurrentSynchronizationMode() { + return currentSynchronizationMode; + } + + /** + * Next Federation Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string + */ + public enum NextFederationMode implements com.oracle.bmc.http.internal.BmcEnum { + None("None"), + AppAsServiceProvider("AppAsServiceProvider"), + AppAsIdentityProvider("AppAsIdentityProvider"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(NextFederationMode.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (NextFederationMode v : NextFederationMode.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + NextFederationMode(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static NextFederationMode create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'NextFederationMode', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Next Federation Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("nextFederationMode") + private final NextFederationMode nextFederationMode; + + /** + * Next Federation Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string + * + * @return the value + */ + public NextFederationMode getNextFederationMode() { + return nextFederationMode; + } + + /** + * Next Synchronization Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string + */ + public enum NextSynchronizationMode implements com.oracle.bmc.http.internal.BmcEnum { + None("None"), + AppAsTarget("AppAsTarget"), + AppAsSource("AppAsSource"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(NextSynchronizationMode.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (NextSynchronizationMode v : NextSynchronizationMode.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + NextSynchronizationMode(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static NextSynchronizationMode create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'NextSynchronizationMode', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Next Synchronization Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("nextSynchronizationMode") + private final NextSynchronizationMode nextSynchronizationMode; + + /** + * Next Synchronization Mode + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string + * + * @return the value + */ + public NextSynchronizationMode getNextSynchronizationMode() { + return nextSynchronizationMode; + } + + /** + * If true, indicates that enablement is in progress started but not completed + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("enablingNextFedSyncModes") + private final Boolean enablingNextFedSyncModes; + + /** + * If true, indicates that enablement is in progress started but not completed + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean + * + * @return the value + */ + public Boolean getEnablingNextFedSyncModes() { + return enablingNextFedSyncModes; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppExtensionOpcServiceApp("); + sb.append("super=").append(super.toString()); + sb.append("serviceInstanceIdentifier=") + .append(String.valueOf(this.serviceInstanceIdentifier)); + sb.append(", region=").append(String.valueOf(this.region)); + sb.append(", currentFederationMode=").append(String.valueOf(this.currentFederationMode)); + sb.append(", currentSynchronizationMode=") + .append(String.valueOf(this.currentSynchronizationMode)); + sb.append(", nextFederationMode=").append(String.valueOf(this.nextFederationMode)); + sb.append(", nextSynchronizationMode=") + .append(String.valueOf(this.nextSynchronizationMode)); + sb.append(", enablingNextFedSyncModes=") + .append(String.valueOf(this.enablingNextFedSyncModes)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppExtensionOpcServiceApp)) { + return false; + } + + AppExtensionOpcServiceApp other = (AppExtensionOpcServiceApp) o; + return java.util.Objects.equals( + this.serviceInstanceIdentifier, other.serviceInstanceIdentifier) + && java.util.Objects.equals(this.region, other.region) + && java.util.Objects.equals(this.currentFederationMode, other.currentFederationMode) + && java.util.Objects.equals( + this.currentSynchronizationMode, other.currentSynchronizationMode) + && java.util.Objects.equals(this.nextFederationMode, other.nextFederationMode) + && java.util.Objects.equals( + this.nextSynchronizationMode, other.nextSynchronizationMode) + && java.util.Objects.equals( + this.enablingNextFedSyncModes, other.enablingNextFedSyncModes) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.serviceInstanceIdentifier == null + ? 43 + : this.serviceInstanceIdentifier.hashCode()); + result = (result * PRIME) + (this.region == null ? 43 : this.region.hashCode()); + result = + (result * PRIME) + + (this.currentFederationMode == null + ? 43 + : this.currentFederationMode.hashCode()); + result = + (result * PRIME) + + (this.currentSynchronizationMode == null + ? 43 + : this.currentSynchronizationMode.hashCode()); + result = + (result * PRIME) + + (this.nextFederationMode == null + ? 43 + : this.nextFederationMode.hashCode()); + result = + (result * PRIME) + + (this.nextSynchronizationMode == null + ? 43 + : this.nextSynchronizationMode.hashCode()); + result = + (result * PRIME) + + (this.enablingNextFedSyncModes == null + ? 43 + : this.enablingNextFedSyncModes.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionRadiusAppApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionRadiusAppApp.java new file mode 100644 index 00000000000..aa399f4a7bc --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionRadiusAppApp.java @@ -0,0 +1,1111 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * This extension defines attributes specific to Apps that represent instances of Radius App.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppExtensionRadiusAppApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppExtensionRadiusAppApp + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "clientIP", + "port", + "secretKey", + "includeGroupInResponse", + "captureClientIp", + "typeOfRadiusApp", + "endUserIPAttribute", + "radiusVendorSpecificId", + "countryCodeResponseAttributeId", + "groupMembershipRadiusAttribute", + "responseFormat", + "responseFormatDelimiter", + "groupNameFormat", + "passwordAndOtpTogether", + "groupMembershipToReturn" + }) + public AppExtensionRadiusAppApp( + String clientIP, + String port, + String secretKey, + Boolean includeGroupInResponse, + Boolean captureClientIp, + String typeOfRadiusApp, + String endUserIPAttribute, + String radiusVendorSpecificId, + String countryCodeResponseAttributeId, + String groupMembershipRadiusAttribute, + String responseFormat, + String responseFormatDelimiter, + String groupNameFormat, + Boolean passwordAndOtpTogether, + java.util.List groupMembershipToReturn) { + super(); + this.clientIP = clientIP; + this.port = port; + this.secretKey = secretKey; + this.includeGroupInResponse = includeGroupInResponse; + this.captureClientIp = captureClientIp; + this.typeOfRadiusApp = typeOfRadiusApp; + this.endUserIPAttribute = endUserIPAttribute; + this.radiusVendorSpecificId = radiusVendorSpecificId; + this.countryCodeResponseAttributeId = countryCodeResponseAttributeId; + this.groupMembershipRadiusAttribute = groupMembershipRadiusAttribute; + this.responseFormat = responseFormat; + this.responseFormatDelimiter = responseFormatDelimiter; + this.groupNameFormat = groupNameFormat; + this.passwordAndOtpTogether = passwordAndOtpTogether; + this.groupMembershipToReturn = groupMembershipToReturn; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * This is the IP address of the RADIUS Client like Oracle Database server. It can be only + * IP address and not hostname. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("clientIP") + private String clientIP; + + /** + * This is the IP address of the RADIUS Client like Oracle Database server. It can be only + * IP address and not hostname. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: true - returned: default - type: string + * + * @param clientIP the value to set + * @return this builder + */ + public Builder clientIP(String clientIP) { + this.clientIP = clientIP; + this.__explicitlySet__.add("clientIP"); + return this; + } + /** + * This is the port of RADIUS Proxy which RADIUS client will connect to. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("port") + private String port; + + /** + * This is the port of RADIUS Proxy which RADIUS client will connect to. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: true - returned: default - type: string + * + * @param port the value to set + * @return this builder + */ + public Builder port(String port) { + this.port = port; + this.__explicitlySet__.add("port"); + return this; + } + /** + * Secret key used to secure communication between RADIUS Proxy and RADIUS client + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretKey") + private String secretKey; + + /** + * Secret key used to secure communication between RADIUS Proxy and RADIUS client + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: true - returned: default - type: string + * + * @param secretKey the value to set + * @return this builder + */ + public Builder secretKey(String secretKey) { + this.secretKey = secretKey; + this.__explicitlySet__.add("secretKey"); + return this; + } + /** + * Indicates to include groups in RADIUS response + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("includeGroupInResponse") + private Boolean includeGroupInResponse; + + /** + * Indicates to include groups in RADIUS response + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: true - returned: default - type: boolean + * + * @param includeGroupInResponse the value to set + * @return this builder + */ + public Builder includeGroupInResponse(Boolean includeGroupInResponse) { + this.includeGroupInResponse = includeGroupInResponse; + this.__explicitlySet__.add("includeGroupInResponse"); + return this; + } + /** + * If true, capture the client IP address from the RADIUS request packet. IP Address is used + * for auditing, policy-evaluation and country-code calculation. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("captureClientIp") + private Boolean captureClientIp; + + /** + * If true, capture the client IP address from the RADIUS request packet. IP Address is used + * for auditing, policy-evaluation and country-code calculation. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean + * + * @param captureClientIp the value to set + * @return this builder + */ + public Builder captureClientIp(Boolean captureClientIp) { + this.captureClientIp = captureClientIp; + this.__explicitlySet__.add("captureClientIp"); + return this; + } + /** + * Value consists of type of RADIUS App. Type can be Oracle Database, VPN etc + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("typeOfRadiusApp") + private String typeOfRadiusApp; + + /** + * Value consists of type of RADIUS App. Type can be Oracle Database, VPN etc + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + * + * @param typeOfRadiusApp the value to set + * @return this builder + */ + public Builder typeOfRadiusApp(String typeOfRadiusApp) { + this.typeOfRadiusApp = typeOfRadiusApp; + this.__explicitlySet__.add("typeOfRadiusApp"); + return this; + } + /** + * The name of the attribute that contains the Internet Protocol address of the end-user. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("endUserIPAttribute") + private String endUserIPAttribute; + + /** + * The name of the attribute that contains the Internet Protocol address of the end-user. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + * + * @param endUserIPAttribute the value to set + * @return this builder + */ + public Builder endUserIPAttribute(String endUserIPAttribute) { + this.endUserIPAttribute = endUserIPAttribute; + this.__explicitlySet__.add("endUserIPAttribute"); + return this; + } + /** + * ID used to identify a particular vendor. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("radiusVendorSpecificId") + private String radiusVendorSpecificId; + + /** + * ID used to identify a particular vendor. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + * + * @param radiusVendorSpecificId the value to set + * @return this builder + */ + public Builder radiusVendorSpecificId(String radiusVendorSpecificId) { + this.radiusVendorSpecificId = radiusVendorSpecificId; + this.__explicitlySet__.add("radiusVendorSpecificId"); + return this; + } + /** + * Vendor-specific identifier of the attribute in the RADIUS response that will contain the + * end-user's country code. This is an integer-value in the range 1 to 255 + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("countryCodeResponseAttributeId") + private String countryCodeResponseAttributeId; + + /** + * Vendor-specific identifier of the attribute in the RADIUS response that will contain the + * end-user's country code. This is an integer-value in the range 1 to 255 + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + * + * @param countryCodeResponseAttributeId the value to set + * @return this builder + */ + public Builder countryCodeResponseAttributeId(String countryCodeResponseAttributeId) { + this.countryCodeResponseAttributeId = countryCodeResponseAttributeId; + this.__explicitlySet__.add("countryCodeResponseAttributeId"); + return this; + } + /** + * RADIUS attribute that RADIUS-enabled system uses to pass the group membership + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("groupMembershipRadiusAttribute") + private String groupMembershipRadiusAttribute; + + /** + * RADIUS attribute that RADIUS-enabled system uses to pass the group membership + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string + * + * @param groupMembershipRadiusAttribute the value to set + * @return this builder + */ + public Builder groupMembershipRadiusAttribute(String groupMembershipRadiusAttribute) { + this.groupMembershipRadiusAttribute = groupMembershipRadiusAttribute; + this.__explicitlySet__.add("groupMembershipRadiusAttribute"); + return this; + } + /** + * Configure the responseFormat based on vendor in order to pass it to RADIUS infra + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("responseFormat") + private String responseFormat; + + /** + * Configure the responseFormat based on vendor in order to pass it to RADIUS infra + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string + * + * @param responseFormat the value to set + * @return this builder + */ + public Builder responseFormat(String responseFormat) { + this.responseFormat = responseFormat; + this.__explicitlySet__.add("responseFormat"); + return this; + } + /** + * The delimiter used if group membership responseFormat is a delimited list instead of + * repeating attributes + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("responseFormatDelimiter") + private String responseFormatDelimiter; + + /** + * The delimiter used if group membership responseFormat is a delimited list instead of + * repeating attributes + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string + * + * @param responseFormatDelimiter the value to set + * @return this builder + */ + public Builder responseFormatDelimiter(String responseFormatDelimiter) { + this.responseFormatDelimiter = responseFormatDelimiter; + this.__explicitlySet__.add("responseFormatDelimiter"); + return this; + } + /** + * Configure the groupNameFormat based on vendor in order to pass it to RADIUS infra + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("groupNameFormat") + private String groupNameFormat; + + /** + * Configure the groupNameFormat based on vendor in order to pass it to RADIUS infra + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string + * + * @param groupNameFormat the value to set + * @return this builder + */ + public Builder groupNameFormat(String groupNameFormat) { + this.groupNameFormat = groupNameFormat; + this.__explicitlySet__.add("groupNameFormat"); + return this; + } + /** + * Indicates if password and OTP are passed in the same sign-in request or not. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("passwordAndOtpTogether") + private Boolean passwordAndOtpTogether; + + /** + * Indicates if password and OTP are passed in the same sign-in request or not. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean + * + * @param passwordAndOtpTogether the value to set + * @return this builder + */ + public Builder passwordAndOtpTogether(Boolean passwordAndOtpTogether) { + this.passwordAndOtpTogether = passwordAndOtpTogether; + this.__explicitlySet__.add("passwordAndOtpTogether"); + return this; + } + /** + * In a successful authentication response, Oracle Identity Cloud Service will pass user's + * group information restricted to groups persisted in this attribute, in the specified + * RADIUS attribute. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("groupMembershipToReturn") + private java.util.List groupMembershipToReturn; + + /** + * In a successful authentication response, Oracle Identity Cloud Service will pass user's + * group information restricted to groups persisted in this attribute, in the specified + * RADIUS attribute. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param groupMembershipToReturn the value to set + * @return this builder + */ + public Builder groupMembershipToReturn( + java.util.List groupMembershipToReturn) { + this.groupMembershipToReturn = groupMembershipToReturn; + this.__explicitlySet__.add("groupMembershipToReturn"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppExtensionRadiusAppApp build() { + AppExtensionRadiusAppApp model = + new AppExtensionRadiusAppApp( + this.clientIP, + this.port, + this.secretKey, + this.includeGroupInResponse, + this.captureClientIp, + this.typeOfRadiusApp, + this.endUserIPAttribute, + this.radiusVendorSpecificId, + this.countryCodeResponseAttributeId, + this.groupMembershipRadiusAttribute, + this.responseFormat, + this.responseFormatDelimiter, + this.groupNameFormat, + this.passwordAndOtpTogether, + this.groupMembershipToReturn); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppExtensionRadiusAppApp model) { + if (model.wasPropertyExplicitlySet("clientIP")) { + this.clientIP(model.getClientIP()); + } + if (model.wasPropertyExplicitlySet("port")) { + this.port(model.getPort()); + } + if (model.wasPropertyExplicitlySet("secretKey")) { + this.secretKey(model.getSecretKey()); + } + if (model.wasPropertyExplicitlySet("includeGroupInResponse")) { + this.includeGroupInResponse(model.getIncludeGroupInResponse()); + } + if (model.wasPropertyExplicitlySet("captureClientIp")) { + this.captureClientIp(model.getCaptureClientIp()); + } + if (model.wasPropertyExplicitlySet("typeOfRadiusApp")) { + this.typeOfRadiusApp(model.getTypeOfRadiusApp()); + } + if (model.wasPropertyExplicitlySet("endUserIPAttribute")) { + this.endUserIPAttribute(model.getEndUserIPAttribute()); + } + if (model.wasPropertyExplicitlySet("radiusVendorSpecificId")) { + this.radiusVendorSpecificId(model.getRadiusVendorSpecificId()); + } + if (model.wasPropertyExplicitlySet("countryCodeResponseAttributeId")) { + this.countryCodeResponseAttributeId(model.getCountryCodeResponseAttributeId()); + } + if (model.wasPropertyExplicitlySet("groupMembershipRadiusAttribute")) { + this.groupMembershipRadiusAttribute(model.getGroupMembershipRadiusAttribute()); + } + if (model.wasPropertyExplicitlySet("responseFormat")) { + this.responseFormat(model.getResponseFormat()); + } + if (model.wasPropertyExplicitlySet("responseFormatDelimiter")) { + this.responseFormatDelimiter(model.getResponseFormatDelimiter()); + } + if (model.wasPropertyExplicitlySet("groupNameFormat")) { + this.groupNameFormat(model.getGroupNameFormat()); + } + if (model.wasPropertyExplicitlySet("passwordAndOtpTogether")) { + this.passwordAndOtpTogether(model.getPasswordAndOtpTogether()); + } + if (model.wasPropertyExplicitlySet("groupMembershipToReturn")) { + this.groupMembershipToReturn(model.getGroupMembershipToReturn()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * This is the IP address of the RADIUS Client like Oracle Database server. It can be only IP + * address and not hostname. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("clientIP") + private final String clientIP; + + /** + * This is the IP address of the RADIUS Client like Oracle Database server. It can be only IP + * address and not hostname. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string + * + * @return the value + */ + public String getClientIP() { + return clientIP; + } + + /** + * This is the port of RADIUS Proxy which RADIUS client will connect to. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("port") + private final String port; + + /** + * This is the port of RADIUS Proxy which RADIUS client will connect to. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string + * + * @return the value + */ + public String getPort() { + return port; + } + + /** + * Secret key used to secure communication between RADIUS Proxy and RADIUS client + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("secretKey") + private final String secretKey; + + /** + * Secret key used to secure communication between RADIUS Proxy and RADIUS client + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string + * + * @return the value + */ + public String getSecretKey() { + return secretKey; + } + + /** + * Indicates to include groups in RADIUS response + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("includeGroupInResponse") + private final Boolean includeGroupInResponse; + + /** + * Indicates to include groups in RADIUS response + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: boolean + * + * @return the value + */ + public Boolean getIncludeGroupInResponse() { + return includeGroupInResponse; + } + + /** + * If true, capture the client IP address from the RADIUS request packet. IP Address is used for + * auditing, policy-evaluation and country-code calculation. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("captureClientIp") + private final Boolean captureClientIp; + + /** + * If true, capture the client IP address from the RADIUS request packet. IP Address is used for + * auditing, policy-evaluation and country-code calculation. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean + * + * @return the value + */ + public Boolean getCaptureClientIp() { + return captureClientIp; + } + + /** + * Value consists of type of RADIUS App. Type can be Oracle Database, VPN etc + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("typeOfRadiusApp") + private final String typeOfRadiusApp; + + /** + * Value consists of type of RADIUS App. Type can be Oracle Database, VPN etc + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + * + * @return the value + */ + public String getTypeOfRadiusApp() { + return typeOfRadiusApp; + } + + /** + * The name of the attribute that contains the Internet Protocol address of the end-user. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("endUserIPAttribute") + private final String endUserIPAttribute; + + /** + * The name of the attribute that contains the Internet Protocol address of the end-user. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + * + * @return the value + */ + public String getEndUserIPAttribute() { + return endUserIPAttribute; + } + + /** + * ID used to identify a particular vendor. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("radiusVendorSpecificId") + private final String radiusVendorSpecificId; + + /** + * ID used to identify a particular vendor. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + * + * @return the value + */ + public String getRadiusVendorSpecificId() { + return radiusVendorSpecificId; + } + + /** + * Vendor-specific identifier of the attribute in the RADIUS response that will contain the + * end-user's country code. This is an integer-value in the range 1 to 255 + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("countryCodeResponseAttributeId") + private final String countryCodeResponseAttributeId; + + /** + * Vendor-specific identifier of the attribute in the RADIUS response that will contain the + * end-user's country code. This is an integer-value in the range 1 to 255 + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + * + * @return the value + */ + public String getCountryCodeResponseAttributeId() { + return countryCodeResponseAttributeId; + } + + /** + * RADIUS attribute that RADIUS-enabled system uses to pass the group membership + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("groupMembershipRadiusAttribute") + private final String groupMembershipRadiusAttribute; + + /** + * RADIUS attribute that RADIUS-enabled system uses to pass the group membership + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + * + * @return the value + */ + public String getGroupMembershipRadiusAttribute() { + return groupMembershipRadiusAttribute; + } + + /** + * Configure the responseFormat based on vendor in order to pass it to RADIUS infra + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("responseFormat") + private final String responseFormat; + + /** + * Configure the responseFormat based on vendor in order to pass it to RADIUS infra + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + * + * @return the value + */ + public String getResponseFormat() { + return responseFormat; + } + + /** + * The delimiter used if group membership responseFormat is a delimited list instead of + * repeating attributes + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("responseFormatDelimiter") + private final String responseFormatDelimiter; + + /** + * The delimiter used if group membership responseFormat is a delimited list instead of + * repeating attributes + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + * + * @return the value + */ + public String getResponseFormatDelimiter() { + return responseFormatDelimiter; + } + + /** + * Configure the groupNameFormat based on vendor in order to pass it to RADIUS infra + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("groupNameFormat") + private final String groupNameFormat; + + /** + * Configure the groupNameFormat based on vendor in order to pass it to RADIUS infra + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string + * + * @return the value + */ + public String getGroupNameFormat() { + return groupNameFormat; + } + + /** + * Indicates if password and OTP are passed in the same sign-in request or not. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("passwordAndOtpTogether") + private final Boolean passwordAndOtpTogether; + + /** + * Indicates if password and OTP are passed in the same sign-in request or not. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean + * + * @return the value + */ + public Boolean getPasswordAndOtpTogether() { + return passwordAndOtpTogether; + } + + /** + * In a successful authentication response, Oracle Identity Cloud Service will pass user's group + * information restricted to groups persisted in this attribute, in the specified RADIUS + * attribute. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: request - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("groupMembershipToReturn") + private final java.util.List groupMembershipToReturn; + + /** + * In a successful authentication response, Oracle Identity Cloud Service will pass user's group + * information restricted to groups persisted in this attribute, in the specified RADIUS + * attribute. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: request - type: complex - + * uniqueness: none + * + * @return the value + */ + public java.util.List getGroupMembershipToReturn() { + return groupMembershipToReturn; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppExtensionRadiusAppApp("); + sb.append("super=").append(super.toString()); + sb.append("clientIP=").append(String.valueOf(this.clientIP)); + sb.append(", port=").append(String.valueOf(this.port)); + sb.append(", secretKey=").append(String.valueOf(this.secretKey)); + sb.append(", includeGroupInResponse=").append(String.valueOf(this.includeGroupInResponse)); + sb.append(", captureClientIp=").append(String.valueOf(this.captureClientIp)); + sb.append(", typeOfRadiusApp=").append(String.valueOf(this.typeOfRadiusApp)); + sb.append(", endUserIPAttribute=").append(String.valueOf(this.endUserIPAttribute)); + sb.append(", radiusVendorSpecificId=").append(String.valueOf(this.radiusVendorSpecificId)); + sb.append(", countryCodeResponseAttributeId=") + .append(String.valueOf(this.countryCodeResponseAttributeId)); + sb.append(", groupMembershipRadiusAttribute=") + .append(String.valueOf(this.groupMembershipRadiusAttribute)); + sb.append(", responseFormat=").append(String.valueOf(this.responseFormat)); + sb.append(", responseFormatDelimiter=") + .append(String.valueOf(this.responseFormatDelimiter)); + sb.append(", groupNameFormat=").append(String.valueOf(this.groupNameFormat)); + sb.append(", passwordAndOtpTogether=").append(String.valueOf(this.passwordAndOtpTogether)); + sb.append(", groupMembershipToReturn=") + .append(String.valueOf(this.groupMembershipToReturn)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppExtensionRadiusAppApp)) { + return false; + } + + AppExtensionRadiusAppApp other = (AppExtensionRadiusAppApp) o; + return java.util.Objects.equals(this.clientIP, other.clientIP) + && java.util.Objects.equals(this.port, other.port) + && java.util.Objects.equals(this.secretKey, other.secretKey) + && java.util.Objects.equals( + this.includeGroupInResponse, other.includeGroupInResponse) + && java.util.Objects.equals(this.captureClientIp, other.captureClientIp) + && java.util.Objects.equals(this.typeOfRadiusApp, other.typeOfRadiusApp) + && java.util.Objects.equals(this.endUserIPAttribute, other.endUserIPAttribute) + && java.util.Objects.equals( + this.radiusVendorSpecificId, other.radiusVendorSpecificId) + && java.util.Objects.equals( + this.countryCodeResponseAttributeId, other.countryCodeResponseAttributeId) + && java.util.Objects.equals( + this.groupMembershipRadiusAttribute, other.groupMembershipRadiusAttribute) + && java.util.Objects.equals(this.responseFormat, other.responseFormat) + && java.util.Objects.equals( + this.responseFormatDelimiter, other.responseFormatDelimiter) + && java.util.Objects.equals(this.groupNameFormat, other.groupNameFormat) + && java.util.Objects.equals( + this.passwordAndOtpTogether, other.passwordAndOtpTogether) + && java.util.Objects.equals( + this.groupMembershipToReturn, other.groupMembershipToReturn) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.clientIP == null ? 43 : this.clientIP.hashCode()); + result = (result * PRIME) + (this.port == null ? 43 : this.port.hashCode()); + result = (result * PRIME) + (this.secretKey == null ? 43 : this.secretKey.hashCode()); + result = + (result * PRIME) + + (this.includeGroupInResponse == null + ? 43 + : this.includeGroupInResponse.hashCode()); + result = + (result * PRIME) + + (this.captureClientIp == null ? 43 : this.captureClientIp.hashCode()); + result = + (result * PRIME) + + (this.typeOfRadiusApp == null ? 43 : this.typeOfRadiusApp.hashCode()); + result = + (result * PRIME) + + (this.endUserIPAttribute == null + ? 43 + : this.endUserIPAttribute.hashCode()); + result = + (result * PRIME) + + (this.radiusVendorSpecificId == null + ? 43 + : this.radiusVendorSpecificId.hashCode()); + result = + (result * PRIME) + + (this.countryCodeResponseAttributeId == null + ? 43 + : this.countryCodeResponseAttributeId.hashCode()); + result = + (result * PRIME) + + (this.groupMembershipRadiusAttribute == null + ? 43 + : this.groupMembershipRadiusAttribute.hashCode()); + result = + (result * PRIME) + + (this.responseFormat == null ? 43 : this.responseFormat.hashCode()); + result = + (result * PRIME) + + (this.responseFormatDelimiter == null + ? 43 + : this.responseFormatDelimiter.hashCode()); + result = + (result * PRIME) + + (this.groupNameFormat == null ? 43 : this.groupNameFormat.hashCode()); + result = + (result * PRIME) + + (this.passwordAndOtpTogether == null + ? 43 + : this.passwordAndOtpTogether.hashCode()); + result = + (result * PRIME) + + (this.groupMembershipToReturn == null + ? 43 + : this.groupMembershipToReturn.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionRequestableApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionRequestableApp.java new file mode 100644 index 00000000000..e9186c57134 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionRequestableApp.java @@ -0,0 +1,161 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Requestable App
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppExtensionRequestableApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppExtensionRequestableApp + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"requestable"}) + public AppExtensionRequestableApp(Boolean requestable) { + super(); + this.requestable = requestable; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Flag controlling whether resource can be request by user through self service console. + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: request - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("requestable") + private Boolean requestable; + + /** + * Flag controlling whether resource can be request by user through self service console. + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: request - type: boolean - uniqueness: + * none + * + * @param requestable the value to set + * @return this builder + */ + public Builder requestable(Boolean requestable) { + this.requestable = requestable; + this.__explicitlySet__.add("requestable"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppExtensionRequestableApp build() { + AppExtensionRequestableApp model = new AppExtensionRequestableApp(this.requestable); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppExtensionRequestableApp model) { + if (model.wasPropertyExplicitlySet("requestable")) { + this.requestable(model.getRequestable()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Flag controlling whether resource can be request by user through self service console. + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: request - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("requestable") + private final Boolean requestable; + + /** + * Flag controlling whether resource can be request by user through self service console. + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: request - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getRequestable() { + return requestable; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppExtensionRequestableApp("); + sb.append("super=").append(super.toString()); + sb.append("requestable=").append(String.valueOf(this.requestable)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppExtensionRequestableApp)) { + return false; + } + + AppExtensionRequestableApp other = (AppExtensionRequestableApp) o; + return java.util.Objects.equals(this.requestable, other.requestable) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.requestable == null ? 43 : this.requestable.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionSamlServiceProviderApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionSamlServiceProviderApp.java new file mode 100644 index 00000000000..687a0d43c62 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionSamlServiceProviderApp.java @@ -0,0 +1,2145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * This extension defines attributes related to the Service Providers configuration.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppExtensionSamlServiceProviderApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppExtensionSamlServiceProviderApp + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "metadata", + "partnerProviderId", + "partnerProviderPattern", + "tenantProviderId", + "succinctId", + "assertionConsumerUrl", + "logoutRequestUrl", + "logoutResponseUrl", + "nameIdFormat", + "signingCertificate", + "encryptionCertificate", + "encryptionAlgorithm", + "keyEncryptionAlgorithm", + "encryptAssertion", + "signResponseOrAssertion", + "includeSigningCertInSignature", + "logoutBinding", + "logoutEnabled", + "signatureHashAlgorithm", + "federationProtocol", + "nameIdUserstoreAttribute", + "hokRequired", + "hokAcsUrl", + "lastNotificationSentTime", + "outboundAssertionAttributes", + "userAssertionAttributes", + "groupAssertionAttributes" + }) + public AppExtensionSamlServiceProviderApp( + String metadata, + String partnerProviderId, + String partnerProviderPattern, + String tenantProviderId, + String succinctId, + String assertionConsumerUrl, + String logoutRequestUrl, + String logoutResponseUrl, + String nameIdFormat, + String signingCertificate, + String encryptionCertificate, + EncryptionAlgorithm encryptionAlgorithm, + KeyEncryptionAlgorithm keyEncryptionAlgorithm, + Boolean encryptAssertion, + SignResponseOrAssertion signResponseOrAssertion, + Boolean includeSigningCertInSignature, + LogoutBinding logoutBinding, + Boolean logoutEnabled, + SignatureHashAlgorithm signatureHashAlgorithm, + FederationProtocol federationProtocol, + String nameIdUserstoreAttribute, + Boolean hokRequired, + String hokAcsUrl, + String lastNotificationSentTime, + AppOutboundAssertionAttributes outboundAssertionAttributes, + java.util.List userAssertionAttributes, + java.util.List groupAssertionAttributes) { + super(); + this.metadata = metadata; + this.partnerProviderId = partnerProviderId; + this.partnerProviderPattern = partnerProviderPattern; + this.tenantProviderId = tenantProviderId; + this.succinctId = succinctId; + this.assertionConsumerUrl = assertionConsumerUrl; + this.logoutRequestUrl = logoutRequestUrl; + this.logoutResponseUrl = logoutResponseUrl; + this.nameIdFormat = nameIdFormat; + this.signingCertificate = signingCertificate; + this.encryptionCertificate = encryptionCertificate; + this.encryptionAlgorithm = encryptionAlgorithm; + this.keyEncryptionAlgorithm = keyEncryptionAlgorithm; + this.encryptAssertion = encryptAssertion; + this.signResponseOrAssertion = signResponseOrAssertion; + this.includeSigningCertInSignature = includeSigningCertInSignature; + this.logoutBinding = logoutBinding; + this.logoutEnabled = logoutEnabled; + this.signatureHashAlgorithm = signatureHashAlgorithm; + this.federationProtocol = federationProtocol; + this.nameIdUserstoreAttribute = nameIdUserstoreAttribute; + this.hokRequired = hokRequired; + this.hokAcsUrl = hokAcsUrl; + this.lastNotificationSentTime = lastNotificationSentTime; + this.outboundAssertionAttributes = outboundAssertionAttributes; + this.userAssertionAttributes = userAssertionAttributes; + this.groupAssertionAttributes = groupAssertionAttributes; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * This attribute represents the metadata of a Security Provider in the Security Assertion + * Markup Language protocol. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + private String metadata; + + /** + * This attribute represents the metadata of a Security Provider in the Security Assertion + * Markup Language protocol. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param metadata the value to set + * @return this builder + */ + public Builder metadata(String metadata) { + this.metadata = metadata; + this.__explicitlySet__.add("metadata"); + return this; + } + /** + * The ID of the Provider. This value corresponds to the entityID from the Service Provider + * metadata. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("partnerProviderId") + private String partnerProviderId; + + /** + * The ID of the Provider. This value corresponds to the entityID from the Service Provider + * metadata. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param partnerProviderId the value to set + * @return this builder + */ + public Builder partnerProviderId(String partnerProviderId) { + this.partnerProviderId = partnerProviderId; + this.__explicitlySet__.add("partnerProviderId"); + return this; + } + /** + * The pattern of the Provider. This value corresponds to the entityID from the Service + * Provider metadata. + * + *

*Added In:** 2202230830 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: request - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("partnerProviderPattern") + private String partnerProviderPattern; + + /** + * The pattern of the Provider. This value corresponds to the entityID from the Service + * Provider metadata. + * + *

*Added In:** 2202230830 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: request - type: string - + * uniqueness: none + * + * @param partnerProviderPattern the value to set + * @return this builder + */ + public Builder partnerProviderPattern(String partnerProviderPattern) { + this.partnerProviderPattern = partnerProviderPattern; + this.__explicitlySet__.add("partnerProviderPattern"); + return this; + } + /** + * The alternate Provider ID to be used as the Oracle Identity Cloud Service providerID + * (instead of the one in SamlSettings) when interacting with this SP. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenantProviderId") + private String tenantProviderId; + + /** + * The alternate Provider ID to be used as the Oracle Identity Cloud Service providerID + * (instead of the one in SamlSettings) when interacting with this SP. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenantProviderId the value to set + * @return this builder + */ + public Builder tenantProviderId(String tenantProviderId) { + this.tenantProviderId = tenantProviderId; + this.__explicitlySet__.add("tenantProviderId"); + return this; + } + /** + * This attribute represents the Succinct ID. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("succinctId") + private String succinctId; + + /** + * This attribute represents the Succinct ID. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * server + * + * @param succinctId the value to set + * @return this builder + */ + public Builder succinctId(String succinctId) { + this.succinctId = succinctId; + this.__explicitlySet__.add("succinctId"); + return this; + } + /** + * The attribute represents the URL to which the SAML Assertions will be sent by the SAML + * IdP. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("assertionConsumerUrl") + private String assertionConsumerUrl; + + /** + * The attribute represents the URL to which the SAML Assertions will be sent by the SAML + * IdP. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param assertionConsumerUrl the value to set + * @return this builder + */ + public Builder assertionConsumerUrl(String assertionConsumerUrl) { + this.assertionConsumerUrl = assertionConsumerUrl; + this.__explicitlySet__.add("assertionConsumerUrl"); + return this; + } + /** + * The URL to which the partner sends the logout request. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("logoutRequestUrl") + private String logoutRequestUrl; + + /** + * The URL to which the partner sends the logout request. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param logoutRequestUrl the value to set + * @return this builder + */ + public Builder logoutRequestUrl(String logoutRequestUrl) { + this.logoutRequestUrl = logoutRequestUrl; + this.__explicitlySet__.add("logoutRequestUrl"); + return this; + } + /** + * The URL to which the partner sends the logout response. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("logoutResponseUrl") + private String logoutResponseUrl; + + /** + * The URL to which the partner sends the logout response. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param logoutResponseUrl the value to set + * @return this builder + */ + public Builder logoutResponseUrl(String logoutResponseUrl) { + this.logoutResponseUrl = logoutResponseUrl; + this.__explicitlySet__.add("logoutResponseUrl"); + return this; + } + /** + * This can be any string, but there are a set of standard nameIdFormats. If a nameIdFormat + * other than the standard list is chosen, it will be considered a custom nameidformat. The + * standard nameidformats include: saml-x509, saml-emailaddress, saml-windowsnamequalifier, + * saml-kerberos, saml-persistent, saml-transient, saml-unspecified, saml-none, and + * saml-persistent-opaque. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("nameIdFormat") + private String nameIdFormat; + + /** + * This can be any string, but there are a set of standard nameIdFormats. If a nameIdFormat + * other than the standard list is chosen, it will be considered a custom nameidformat. The + * standard nameidformats include: saml-x509, saml-emailaddress, saml-windowsnamequalifier, + * saml-kerberos, saml-persistent, saml-transient, saml-unspecified, saml-none, and + * saml-persistent-opaque. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param nameIdFormat the value to set + * @return this builder + */ + public Builder nameIdFormat(String nameIdFormat) { + this.nameIdFormat = nameIdFormat; + this.__explicitlySet__.add("nameIdFormat"); + return this; + } + /** + * This attribute represents the signing certificate that an App uses to verify the signed + * authentication request. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("signingCertificate") + private String signingCertificate; + + /** + * This attribute represents the signing certificate that an App uses to verify the signed + * authentication request. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param signingCertificate the value to set + * @return this builder + */ + public Builder signingCertificate(String signingCertificate) { + this.signingCertificate = signingCertificate; + this.__explicitlySet__.add("signingCertificate"); + return this; + } + /** + * This attribute represents the encryption certificate that an App uses to encrypt the + * Security Assertion Markup Language (SAML) assertion. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionCertificate") + private String encryptionCertificate; + + /** + * This attribute represents the encryption certificate that an App uses to encrypt the + * Security Assertion Markup Language (SAML) assertion. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param encryptionCertificate the value to set + * @return this builder + */ + public Builder encryptionCertificate(String encryptionCertificate) { + this.encryptionCertificate = encryptionCertificate; + this.__explicitlySet__.add("encryptionCertificate"); + return this; + } + /** + * This attribute indicates the encryption algorithm used to encrypt the SAML assertion. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionAlgorithm") + private EncryptionAlgorithm encryptionAlgorithm; + + /** + * This attribute indicates the encryption algorithm used to encrypt the SAML assertion. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param encryptionAlgorithm the value to set + * @return this builder + */ + public Builder encryptionAlgorithm(EncryptionAlgorithm encryptionAlgorithm) { + this.encryptionAlgorithm = encryptionAlgorithm; + this.__explicitlySet__.add("encryptionAlgorithm"); + return this; + } + /** + * This attribute indicates the key encryption algorithm. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("keyEncryptionAlgorithm") + private KeyEncryptionAlgorithm keyEncryptionAlgorithm; + + /** + * This attribute indicates the key encryption algorithm. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param keyEncryptionAlgorithm the value to set + * @return this builder + */ + public Builder keyEncryptionAlgorithm(KeyEncryptionAlgorithm keyEncryptionAlgorithm) { + this.keyEncryptionAlgorithm = keyEncryptionAlgorithm; + this.__explicitlySet__.add("keyEncryptionAlgorithm"); + return this; + } + /** + * If true, indicates that the system must encrypt the Security Assertion Markup Language + * (SAML) assertion. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptAssertion") + private Boolean encryptAssertion; + + /** + * If true, indicates that the system must encrypt the Security Assertion Markup Language + * (SAML) assertion. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param encryptAssertion the value to set + * @return this builder + */ + public Builder encryptAssertion(Boolean encryptAssertion) { + this.encryptAssertion = encryptAssertion; + this.__explicitlySet__.add("encryptAssertion"); + return this; + } + /** + * Indicates which part of the response should be signed. A value of \\"Assertion\\" + * indicates that the Assertion should be signed. A value of \\"Response\\" indicates that + * the SSO Response should be signed. A value of \\"AssertionAndResponse\\" indicates that + * both the Assertion and the SSO Response should be signed. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("signResponseOrAssertion") + private SignResponseOrAssertion signResponseOrAssertion; + + /** + * Indicates which part of the response should be signed. A value of \\"Assertion\\" + * indicates that the Assertion should be signed. A value of \\"Response\\" indicates that + * the SSO Response should be signed. A value of \\"AssertionAndResponse\\" indicates that + * both the Assertion and the SSO Response should be signed. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param signResponseOrAssertion the value to set + * @return this builder + */ + public Builder signResponseOrAssertion(SignResponseOrAssertion signResponseOrAssertion) { + this.signResponseOrAssertion = signResponseOrAssertion; + this.__explicitlySet__.add("signResponseOrAssertion"); + return this; + } + /** + * If true, then the signing certificate is included in the signature. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("includeSigningCertInSignature") + private Boolean includeSigningCertInSignature; + + /** + * If true, then the signing certificate is included in the signature. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param includeSigningCertInSignature the value to set + * @return this builder + */ + public Builder includeSigningCertInSignature(Boolean includeSigningCertInSignature) { + this.includeSigningCertInSignature = includeSigningCertInSignature; + this.__explicitlySet__.add("includeSigningCertInSignature"); + return this; + } + /** + * This attribute represents the HTTP binding that would be used while logout. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("logoutBinding") + private LogoutBinding logoutBinding; + + /** + * This attribute represents the HTTP binding that would be used while logout. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param logoutBinding the value to set + * @return this builder + */ + public Builder logoutBinding(LogoutBinding logoutBinding) { + this.logoutBinding = logoutBinding; + this.__explicitlySet__.add("logoutBinding"); + return this; + } + /** + * If true, then the SAML Service supports logout for this App. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("logoutEnabled") + private Boolean logoutEnabled; + + /** + * If true, then the SAML Service supports logout for this App. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param logoutEnabled the value to set + * @return this builder + */ + public Builder logoutEnabled(Boolean logoutEnabled) { + this.logoutEnabled = logoutEnabled; + this.__explicitlySet__.add("logoutEnabled"); + return this; + } + /** + * This attribute represents the algorithm used to hash the signature. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("signatureHashAlgorithm") + private SignatureHashAlgorithm signatureHashAlgorithm; + + /** + * This attribute represents the algorithm used to hash the signature. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param signatureHashAlgorithm the value to set + * @return this builder + */ + public Builder signatureHashAlgorithm(SignatureHashAlgorithm signatureHashAlgorithm) { + this.signatureHashAlgorithm = signatureHashAlgorithm; + this.__explicitlySet__.add("signatureHashAlgorithm"); + return this; + } + /** + * Specifies the preferred federation protocol (SAML2.0 or WS-Fed1.1). + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: SAML2.0 - idcsSearchable: + * true - multiValued: false - mutability: readWrite - required: false - returned: default - + * type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("federationProtocol") + private FederationProtocol federationProtocol; + + /** + * Specifies the preferred federation protocol (SAML2.0 or WS-Fed1.1). + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: SAML2.0 - idcsSearchable: + * true - multiValued: false - mutability: readWrite - required: false - returned: default - + * type: string - uniqueness: none + * + * @param federationProtocol the value to set + * @return this builder + */ + public Builder federationProtocol(FederationProtocol federationProtocol) { + this.federationProtocol = federationProtocol; + this.__explicitlySet__.add("federationProtocol"); + return this; + } + /** + * **Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none This property + * specifies which user attribute is used as the NameID value in the SAML assertion. This + * attribute can be constructed by using attributes from the Oracle Identity Cloud Service + * Core Users schema. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nameIdUserstoreAttribute") + private String nameIdUserstoreAttribute; + + /** + * **Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none This property + * specifies which user attribute is used as the NameID value in the SAML assertion. This + * attribute can be constructed by using attributes from the Oracle Identity Cloud Service + * Core Users schema. + * + * @param nameIdUserstoreAttribute the value to set + * @return this builder + */ + public Builder nameIdUserstoreAttribute(String nameIdUserstoreAttribute) { + this.nameIdUserstoreAttribute = nameIdUserstoreAttribute; + this.__explicitlySet__.add("nameIdUserstoreAttribute"); + return this; + } + /** + * If enabled, then the SAML Service supports Hok for this App. + * + *

*Added In:** 2101262133 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("hokRequired") + private Boolean hokRequired; + + /** + * If enabled, then the SAML Service supports Hok for this App. + * + *

*Added In:** 2101262133 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param hokRequired the value to set + * @return this builder + */ + public Builder hokRequired(Boolean hokRequired) { + this.hokRequired = hokRequired; + this.__explicitlySet__.add("hokRequired"); + return this; + } + /** + * Hok Assertion Consumer Service Url + * + *

*Added In:** 2101262133 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("hokAcsUrl") + private String hokAcsUrl; + + /** + * Hok Assertion Consumer Service Url + * + *

*Added In:** 2101262133 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param hokAcsUrl the value to set + * @return this builder + */ + public Builder hokAcsUrl(String hokAcsUrl) { + this.hokAcsUrl = hokAcsUrl; + this.__explicitlySet__.add("hokAcsUrl"); + return this; + } + /** + * Records the notification timestamp for the SP whose signing certificate is about to + * expire. + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: dateTime - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastNotificationSentTime") + private String lastNotificationSentTime; + + /** + * Records the notification timestamp for the SP whose signing certificate is about to + * expire. + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: dateTime - + * uniqueness: none + * + * @param lastNotificationSentTime the value to set + * @return this builder + */ + public Builder lastNotificationSentTime(String lastNotificationSentTime) { + this.lastNotificationSentTime = lastNotificationSentTime; + this.__explicitlySet__.add("lastNotificationSentTime"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("outboundAssertionAttributes") + private AppOutboundAssertionAttributes outboundAssertionAttributes; + + public Builder outboundAssertionAttributes( + AppOutboundAssertionAttributes outboundAssertionAttributes) { + this.outboundAssertionAttributes = outboundAssertionAttributes; + this.__explicitlySet__.add("outboundAssertionAttributes"); + return this; + } + /** + * Each value of this attribute describes an attribute of User that will be sent in a + * Security Assertion Markup Language (SAML) assertion. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: + * false - idcsValuePersistedInOtherAttribute: true - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userAssertionAttributes") + private java.util.List userAssertionAttributes; + + /** + * Each value of this attribute describes an attribute of User that will be sent in a + * Security Assertion Markup Language (SAML) assertion. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: + * false - idcsValuePersistedInOtherAttribute: true - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + * + * @param userAssertionAttributes the value to set + * @return this builder + */ + public Builder userAssertionAttributes( + java.util.List userAssertionAttributes) { + this.userAssertionAttributes = userAssertionAttributes; + this.__explicitlySet__.add("userAssertionAttributes"); + return this; + } + /** + * Each value of this attribute describes an attribute of Group that will be sent in a + * Security Assertion Markup Language (SAML) assertion. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: + * false - idcsValuePersistedInOtherAttribute: true - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("groupAssertionAttributes") + private java.util.List groupAssertionAttributes; + + /** + * Each value of this attribute describes an attribute of Group that will be sent in a + * Security Assertion Markup Language (SAML) assertion. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: + * false - idcsValuePersistedInOtherAttribute: true - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + * + * @param groupAssertionAttributes the value to set + * @return this builder + */ + public Builder groupAssertionAttributes( + java.util.List groupAssertionAttributes) { + this.groupAssertionAttributes = groupAssertionAttributes; + this.__explicitlySet__.add("groupAssertionAttributes"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppExtensionSamlServiceProviderApp build() { + AppExtensionSamlServiceProviderApp model = + new AppExtensionSamlServiceProviderApp( + this.metadata, + this.partnerProviderId, + this.partnerProviderPattern, + this.tenantProviderId, + this.succinctId, + this.assertionConsumerUrl, + this.logoutRequestUrl, + this.logoutResponseUrl, + this.nameIdFormat, + this.signingCertificate, + this.encryptionCertificate, + this.encryptionAlgorithm, + this.keyEncryptionAlgorithm, + this.encryptAssertion, + this.signResponseOrAssertion, + this.includeSigningCertInSignature, + this.logoutBinding, + this.logoutEnabled, + this.signatureHashAlgorithm, + this.federationProtocol, + this.nameIdUserstoreAttribute, + this.hokRequired, + this.hokAcsUrl, + this.lastNotificationSentTime, + this.outboundAssertionAttributes, + this.userAssertionAttributes, + this.groupAssertionAttributes); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppExtensionSamlServiceProviderApp model) { + if (model.wasPropertyExplicitlySet("metadata")) { + this.metadata(model.getMetadata()); + } + if (model.wasPropertyExplicitlySet("partnerProviderId")) { + this.partnerProviderId(model.getPartnerProviderId()); + } + if (model.wasPropertyExplicitlySet("partnerProviderPattern")) { + this.partnerProviderPattern(model.getPartnerProviderPattern()); + } + if (model.wasPropertyExplicitlySet("tenantProviderId")) { + this.tenantProviderId(model.getTenantProviderId()); + } + if (model.wasPropertyExplicitlySet("succinctId")) { + this.succinctId(model.getSuccinctId()); + } + if (model.wasPropertyExplicitlySet("assertionConsumerUrl")) { + this.assertionConsumerUrl(model.getAssertionConsumerUrl()); + } + if (model.wasPropertyExplicitlySet("logoutRequestUrl")) { + this.logoutRequestUrl(model.getLogoutRequestUrl()); + } + if (model.wasPropertyExplicitlySet("logoutResponseUrl")) { + this.logoutResponseUrl(model.getLogoutResponseUrl()); + } + if (model.wasPropertyExplicitlySet("nameIdFormat")) { + this.nameIdFormat(model.getNameIdFormat()); + } + if (model.wasPropertyExplicitlySet("signingCertificate")) { + this.signingCertificate(model.getSigningCertificate()); + } + if (model.wasPropertyExplicitlySet("encryptionCertificate")) { + this.encryptionCertificate(model.getEncryptionCertificate()); + } + if (model.wasPropertyExplicitlySet("encryptionAlgorithm")) { + this.encryptionAlgorithm(model.getEncryptionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("keyEncryptionAlgorithm")) { + this.keyEncryptionAlgorithm(model.getKeyEncryptionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("encryptAssertion")) { + this.encryptAssertion(model.getEncryptAssertion()); + } + if (model.wasPropertyExplicitlySet("signResponseOrAssertion")) { + this.signResponseOrAssertion(model.getSignResponseOrAssertion()); + } + if (model.wasPropertyExplicitlySet("includeSigningCertInSignature")) { + this.includeSigningCertInSignature(model.getIncludeSigningCertInSignature()); + } + if (model.wasPropertyExplicitlySet("logoutBinding")) { + this.logoutBinding(model.getLogoutBinding()); + } + if (model.wasPropertyExplicitlySet("logoutEnabled")) { + this.logoutEnabled(model.getLogoutEnabled()); + } + if (model.wasPropertyExplicitlySet("signatureHashAlgorithm")) { + this.signatureHashAlgorithm(model.getSignatureHashAlgorithm()); + } + if (model.wasPropertyExplicitlySet("federationProtocol")) { + this.federationProtocol(model.getFederationProtocol()); + } + if (model.wasPropertyExplicitlySet("nameIdUserstoreAttribute")) { + this.nameIdUserstoreAttribute(model.getNameIdUserstoreAttribute()); + } + if (model.wasPropertyExplicitlySet("hokRequired")) { + this.hokRequired(model.getHokRequired()); + } + if (model.wasPropertyExplicitlySet("hokAcsUrl")) { + this.hokAcsUrl(model.getHokAcsUrl()); + } + if (model.wasPropertyExplicitlySet("lastNotificationSentTime")) { + this.lastNotificationSentTime(model.getLastNotificationSentTime()); + } + if (model.wasPropertyExplicitlySet("outboundAssertionAttributes")) { + this.outboundAssertionAttributes(model.getOutboundAssertionAttributes()); + } + if (model.wasPropertyExplicitlySet("userAssertionAttributes")) { + this.userAssertionAttributes(model.getUserAssertionAttributes()); + } + if (model.wasPropertyExplicitlySet("groupAssertionAttributes")) { + this.groupAssertionAttributes(model.getGroupAssertionAttributes()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * This attribute represents the metadata of a Security Provider in the Security Assertion + * Markup Language protocol. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("metadata") + private final String metadata; + + /** + * This attribute represents the metadata of a Security Provider in the Security Assertion + * Markup Language protocol. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getMetadata() { + return metadata; + } + + /** + * The ID of the Provider. This value corresponds to the entityID from the Service Provider + * metadata. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("partnerProviderId") + private final String partnerProviderId; + + /** + * The ID of the Provider. This value corresponds to the entityID from the Service Provider + * metadata. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getPartnerProviderId() { + return partnerProviderId; + } + + /** + * The pattern of the Provider. This value corresponds to the entityID from the Service Provider + * metadata. + * + *

*Added In:** 2202230830 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("partnerProviderPattern") + private final String partnerProviderPattern; + + /** + * The pattern of the Provider. This value corresponds to the entityID from the Service Provider + * metadata. + * + *

*Added In:** 2202230830 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getPartnerProviderPattern() { + return partnerProviderPattern; + } + + /** + * The alternate Provider ID to be used as the Oracle Identity Cloud Service providerID (instead + * of the one in SamlSettings) when interacting with this SP. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenantProviderId") + private final String tenantProviderId; + + /** + * The alternate Provider ID to be used as the Oracle Identity Cloud Service providerID (instead + * of the one in SamlSettings) when interacting with this SP. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenantProviderId() { + return tenantProviderId; + } + + /** + * This attribute represents the Succinct ID. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("succinctId") + private final String succinctId; + + /** + * This attribute represents the Succinct ID. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * server + * + * @return the value + */ + public String getSuccinctId() { + return succinctId; + } + + /** + * The attribute represents the URL to which the SAML Assertions will be sent by the SAML IdP. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("assertionConsumerUrl") + private final String assertionConsumerUrl; + + /** + * The attribute represents the URL to which the SAML Assertions will be sent by the SAML IdP. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getAssertionConsumerUrl() { + return assertionConsumerUrl; + } + + /** + * The URL to which the partner sends the logout request. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("logoutRequestUrl") + private final String logoutRequestUrl; + + /** + * The URL to which the partner sends the logout request. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getLogoutRequestUrl() { + return logoutRequestUrl; + } + + /** + * The URL to which the partner sends the logout response. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("logoutResponseUrl") + private final String logoutResponseUrl; + + /** + * The URL to which the partner sends the logout response. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getLogoutResponseUrl() { + return logoutResponseUrl; + } + + /** + * This can be any string, but there are a set of standard nameIdFormats. If a nameIdFormat + * other than the standard list is chosen, it will be considered a custom nameidformat. The + * standard nameidformats include: saml-x509, saml-emailaddress, saml-windowsnamequalifier, + * saml-kerberos, saml-persistent, saml-transient, saml-unspecified, saml-none, and + * saml-persistent-opaque. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("nameIdFormat") + private final String nameIdFormat; + + /** + * This can be any string, but there are a set of standard nameIdFormats. If a nameIdFormat + * other than the standard list is chosen, it will be considered a custom nameidformat. The + * standard nameidformats include: saml-x509, saml-emailaddress, saml-windowsnamequalifier, + * saml-kerberos, saml-persistent, saml-transient, saml-unspecified, saml-none, and + * saml-persistent-opaque. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getNameIdFormat() { + return nameIdFormat; + } + + /** + * This attribute represents the signing certificate that an App uses to verify the signed + * authentication request. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("signingCertificate") + private final String signingCertificate; + + /** + * This attribute represents the signing certificate that an App uses to verify the signed + * authentication request. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getSigningCertificate() { + return signingCertificate; + } + + /** + * This attribute represents the encryption certificate that an App uses to encrypt the Security + * Assertion Markup Language (SAML) assertion. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionCertificate") + private final String encryptionCertificate; + + /** + * This attribute represents the encryption certificate that an App uses to encrypt the Security + * Assertion Markup Language (SAML) assertion. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getEncryptionCertificate() { + return encryptionCertificate; + } + + /** + * This attribute indicates the encryption algorithm used to encrypt the SAML assertion. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum EncryptionAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + _3Des("3DES"), + Aes128("AES-128"), + Aes256("AES-256"), + Aes192("AES-192"), + Aes128Gcm("AES-128-GCM"), + Aes256Gcm("AES-256-GCM"), + Aes192Gcm("AES-192-GCM"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(EncryptionAlgorithm.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (EncryptionAlgorithm v : EncryptionAlgorithm.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + EncryptionAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static EncryptionAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'EncryptionAlgorithm', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * This attribute indicates the encryption algorithm used to encrypt the SAML assertion. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionAlgorithm") + private final EncryptionAlgorithm encryptionAlgorithm; + + /** + * This attribute indicates the encryption algorithm used to encrypt the SAML assertion. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public EncryptionAlgorithm getEncryptionAlgorithm() { + return encryptionAlgorithm; + } + + /** + * This attribute indicates the key encryption algorithm. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum KeyEncryptionAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + RsaV15("RSA-v1.5"), + RsaOaep("RSA-OAEP"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(KeyEncryptionAlgorithm.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (KeyEncryptionAlgorithm v : KeyEncryptionAlgorithm.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + KeyEncryptionAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static KeyEncryptionAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'KeyEncryptionAlgorithm', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * This attribute indicates the key encryption algorithm. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("keyEncryptionAlgorithm") + private final KeyEncryptionAlgorithm keyEncryptionAlgorithm; + + /** + * This attribute indicates the key encryption algorithm. + * + *

*Added In:** 18.4.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public KeyEncryptionAlgorithm getKeyEncryptionAlgorithm() { + return keyEncryptionAlgorithm; + } + + /** + * If true, indicates that the system must encrypt the Security Assertion Markup Language (SAML) + * assertion. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptAssertion") + private final Boolean encryptAssertion; + + /** + * If true, indicates that the system must encrypt the Security Assertion Markup Language (SAML) + * assertion. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getEncryptAssertion() { + return encryptAssertion; + } + + /** + * Indicates which part of the response should be signed. A value of \\"Assertion\\" indicates + * that the Assertion should be signed. A value of \\"Response\\" indicates that the SSO + * Response should be signed. A value of \\"AssertionAndResponse\\" indicates that both the + * Assertion and the SSO Response should be signed. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum SignResponseOrAssertion implements com.oracle.bmc.http.internal.BmcEnum { + Assertion("Assertion"), + Response("Response"), + AssertionAndResponse("AssertionAndResponse"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(SignResponseOrAssertion.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SignResponseOrAssertion v : SignResponseOrAssertion.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + SignResponseOrAssertion(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SignResponseOrAssertion create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'SignResponseOrAssertion', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Indicates which part of the response should be signed. A value of \\"Assertion\\" indicates + * that the Assertion should be signed. A value of \\"Response\\" indicates that the SSO + * Response should be signed. A value of \\"AssertionAndResponse\\" indicates that both the + * Assertion and the SSO Response should be signed. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("signResponseOrAssertion") + private final SignResponseOrAssertion signResponseOrAssertion; + + /** + * Indicates which part of the response should be signed. A value of \\"Assertion\\" indicates + * that the Assertion should be signed. A value of \\"Response\\" indicates that the SSO + * Response should be signed. A value of \\"AssertionAndResponse\\" indicates that both the + * Assertion and the SSO Response should be signed. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public SignResponseOrAssertion getSignResponseOrAssertion() { + return signResponseOrAssertion; + } + + /** + * If true, then the signing certificate is included in the signature. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("includeSigningCertInSignature") + private final Boolean includeSigningCertInSignature; + + /** + * If true, then the signing certificate is included in the signature. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIncludeSigningCertInSignature() { + return includeSigningCertInSignature; + } + + /** + * This attribute represents the HTTP binding that would be used while logout. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum LogoutBinding implements com.oracle.bmc.http.internal.BmcEnum { + Redirect("Redirect"), + Post("Post"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(LogoutBinding.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (LogoutBinding v : LogoutBinding.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + LogoutBinding(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static LogoutBinding create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'LogoutBinding', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * This attribute represents the HTTP binding that would be used while logout. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("logoutBinding") + private final LogoutBinding logoutBinding; + + /** + * This attribute represents the HTTP binding that would be used while logout. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public LogoutBinding getLogoutBinding() { + return logoutBinding; + } + + /** + * If true, then the SAML Service supports logout for this App. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("logoutEnabled") + private final Boolean logoutEnabled; + + /** + * If true, then the SAML Service supports logout for this App. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getLogoutEnabled() { + return logoutEnabled; + } + + /** + * This attribute represents the algorithm used to hash the signature. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum SignatureHashAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + Sha1("SHA-1"), + Sha256("SHA-256"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(SignatureHashAlgorithm.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SignatureHashAlgorithm v : SignatureHashAlgorithm.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + SignatureHashAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SignatureHashAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'SignatureHashAlgorithm', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * This attribute represents the algorithm used to hash the signature. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("signatureHashAlgorithm") + private final SignatureHashAlgorithm signatureHashAlgorithm; + + /** + * This attribute represents the algorithm used to hash the signature. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public SignatureHashAlgorithm getSignatureHashAlgorithm() { + return signatureHashAlgorithm; + } + + /** + * Specifies the preferred federation protocol (SAML2.0 or WS-Fed1.1). + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: SAML2.0 - idcsSearchable: true + * - multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + */ + public enum FederationProtocol implements com.oracle.bmc.http.internal.BmcEnum { + Saml20("SAML2.0"), + WsFed11("WS-Fed1.1"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(FederationProtocol.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (FederationProtocol v : FederationProtocol.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + FederationProtocol(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static FederationProtocol create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'FederationProtocol', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Specifies the preferred federation protocol (SAML2.0 or WS-Fed1.1). + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: SAML2.0 - idcsSearchable: true + * - multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("federationProtocol") + private final FederationProtocol federationProtocol; + + /** + * Specifies the preferred federation protocol (SAML2.0 or WS-Fed1.1). + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: SAML2.0 - idcsSearchable: true + * - multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + * + * @return the value + */ + public FederationProtocol getFederationProtocol() { + return federationProtocol; + } + + /** + * **Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none This property specifies + * which user attribute is used as the NameID value in the SAML assertion. This attribute can be + * constructed by using attributes from the Oracle Identity Cloud Service Core Users schema. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nameIdUserstoreAttribute") + private final String nameIdUserstoreAttribute; + + /** + * **Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none This property specifies + * which user attribute is used as the NameID value in the SAML assertion. This attribute can be + * constructed by using attributes from the Oracle Identity Cloud Service Core Users schema. + * + * @return the value + */ + public String getNameIdUserstoreAttribute() { + return nameIdUserstoreAttribute; + } + + /** + * If enabled, then the SAML Service supports Hok for this App. + * + *

*Added In:** 2101262133 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("hokRequired") + private final Boolean hokRequired; + + /** + * If enabled, then the SAML Service supports Hok for this App. + * + *

*Added In:** 2101262133 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getHokRequired() { + return hokRequired; + } + + /** + * Hok Assertion Consumer Service Url + * + *

*Added In:** 2101262133 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("hokAcsUrl") + private final String hokAcsUrl; + + /** + * Hok Assertion Consumer Service Url + * + *

*Added In:** 2101262133 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getHokAcsUrl() { + return hokAcsUrl; + } + + /** + * Records the notification timestamp for the SP whose signing certificate is about to expire. + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastNotificationSentTime") + private final String lastNotificationSentTime; + + /** + * Records the notification timestamp for the SP whose signing certificate is about to expire. + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + * + * @return the value + */ + public String getLastNotificationSentTime() { + return lastNotificationSentTime; + } + + @com.fasterxml.jackson.annotation.JsonProperty("outboundAssertionAttributes") + private final AppOutboundAssertionAttributes outboundAssertionAttributes; + + public AppOutboundAssertionAttributes getOutboundAssertionAttributes() { + return outboundAssertionAttributes; + } + + /** + * Each value of this attribute describes an attribute of User that will be sent in a Security + * Assertion Markup Language (SAML) assertion. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: + * false - idcsValuePersistedInOtherAttribute: true - multiValued: true - mutability: readWrite + * - required: false - returned: default - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userAssertionAttributes") + private final java.util.List userAssertionAttributes; + + /** + * Each value of this attribute describes an attribute of User that will be sent in a Security + * Assertion Markup Language (SAML) assertion. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: + * false - idcsValuePersistedInOtherAttribute: true - multiValued: true - mutability: readWrite + * - required: false - returned: default - type: complex - uniqueness: none + * + * @return the value + */ + public java.util.List getUserAssertionAttributes() { + return userAssertionAttributes; + } + + /** + * Each value of this attribute describes an attribute of Group that will be sent in a Security + * Assertion Markup Language (SAML) assertion. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: + * false - idcsValuePersistedInOtherAttribute: true - multiValued: true - mutability: readWrite + * - required: false - returned: default - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("groupAssertionAttributes") + private final java.util.List groupAssertionAttributes; + + /** + * Each value of this attribute describes an attribute of Group that will be sent in a Security + * Assertion Markup Language (SAML) assertion. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: + * false - idcsValuePersistedInOtherAttribute: true - multiValued: true - mutability: readWrite + * - required: false - returned: default - type: complex - uniqueness: none + * + * @return the value + */ + public java.util.List getGroupAssertionAttributes() { + return groupAssertionAttributes; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppExtensionSamlServiceProviderApp("); + sb.append("super=").append(super.toString()); + sb.append("metadata=").append(String.valueOf(this.metadata)); + sb.append(", partnerProviderId=").append(String.valueOf(this.partnerProviderId)); + sb.append(", partnerProviderPattern=").append(String.valueOf(this.partnerProviderPattern)); + sb.append(", tenantProviderId=").append(String.valueOf(this.tenantProviderId)); + sb.append(", succinctId=").append(String.valueOf(this.succinctId)); + sb.append(", assertionConsumerUrl=").append(String.valueOf(this.assertionConsumerUrl)); + sb.append(", logoutRequestUrl=").append(String.valueOf(this.logoutRequestUrl)); + sb.append(", logoutResponseUrl=").append(String.valueOf(this.logoutResponseUrl)); + sb.append(", nameIdFormat=").append(String.valueOf(this.nameIdFormat)); + sb.append(", signingCertificate=").append(String.valueOf(this.signingCertificate)); + sb.append(", encryptionCertificate=").append(String.valueOf(this.encryptionCertificate)); + sb.append(", encryptionAlgorithm=").append(String.valueOf(this.encryptionAlgorithm)); + sb.append(", keyEncryptionAlgorithm=").append(String.valueOf(this.keyEncryptionAlgorithm)); + sb.append(", encryptAssertion=").append(String.valueOf(this.encryptAssertion)); + sb.append(", signResponseOrAssertion=") + .append(String.valueOf(this.signResponseOrAssertion)); + sb.append(", includeSigningCertInSignature=") + .append(String.valueOf(this.includeSigningCertInSignature)); + sb.append(", logoutBinding=").append(String.valueOf(this.logoutBinding)); + sb.append(", logoutEnabled=").append(String.valueOf(this.logoutEnabled)); + sb.append(", signatureHashAlgorithm=").append(String.valueOf(this.signatureHashAlgorithm)); + sb.append(", federationProtocol=").append(String.valueOf(this.federationProtocol)); + sb.append(", nameIdUserstoreAttribute=") + .append(String.valueOf(this.nameIdUserstoreAttribute)); + sb.append(", hokRequired=").append(String.valueOf(this.hokRequired)); + sb.append(", hokAcsUrl=").append(String.valueOf(this.hokAcsUrl)); + sb.append(", lastNotificationSentTime=") + .append(String.valueOf(this.lastNotificationSentTime)); + sb.append(", outboundAssertionAttributes=") + .append(String.valueOf(this.outboundAssertionAttributes)); + sb.append(", userAssertionAttributes=") + .append(String.valueOf(this.userAssertionAttributes)); + sb.append(", groupAssertionAttributes=") + .append(String.valueOf(this.groupAssertionAttributes)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppExtensionSamlServiceProviderApp)) { + return false; + } + + AppExtensionSamlServiceProviderApp other = (AppExtensionSamlServiceProviderApp) o; + return java.util.Objects.equals(this.metadata, other.metadata) + && java.util.Objects.equals(this.partnerProviderId, other.partnerProviderId) + && java.util.Objects.equals( + this.partnerProviderPattern, other.partnerProviderPattern) + && java.util.Objects.equals(this.tenantProviderId, other.tenantProviderId) + && java.util.Objects.equals(this.succinctId, other.succinctId) + && java.util.Objects.equals(this.assertionConsumerUrl, other.assertionConsumerUrl) + && java.util.Objects.equals(this.logoutRequestUrl, other.logoutRequestUrl) + && java.util.Objects.equals(this.logoutResponseUrl, other.logoutResponseUrl) + && java.util.Objects.equals(this.nameIdFormat, other.nameIdFormat) + && java.util.Objects.equals(this.signingCertificate, other.signingCertificate) + && java.util.Objects.equals(this.encryptionCertificate, other.encryptionCertificate) + && java.util.Objects.equals(this.encryptionAlgorithm, other.encryptionAlgorithm) + && java.util.Objects.equals( + this.keyEncryptionAlgorithm, other.keyEncryptionAlgorithm) + && java.util.Objects.equals(this.encryptAssertion, other.encryptAssertion) + && java.util.Objects.equals( + this.signResponseOrAssertion, other.signResponseOrAssertion) + && java.util.Objects.equals( + this.includeSigningCertInSignature, other.includeSigningCertInSignature) + && java.util.Objects.equals(this.logoutBinding, other.logoutBinding) + && java.util.Objects.equals(this.logoutEnabled, other.logoutEnabled) + && java.util.Objects.equals( + this.signatureHashAlgorithm, other.signatureHashAlgorithm) + && java.util.Objects.equals(this.federationProtocol, other.federationProtocol) + && java.util.Objects.equals( + this.nameIdUserstoreAttribute, other.nameIdUserstoreAttribute) + && java.util.Objects.equals(this.hokRequired, other.hokRequired) + && java.util.Objects.equals(this.hokAcsUrl, other.hokAcsUrl) + && java.util.Objects.equals( + this.lastNotificationSentTime, other.lastNotificationSentTime) + && java.util.Objects.equals( + this.outboundAssertionAttributes, other.outboundAssertionAttributes) + && java.util.Objects.equals( + this.userAssertionAttributes, other.userAssertionAttributes) + && java.util.Objects.equals( + this.groupAssertionAttributes, other.groupAssertionAttributes) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.metadata == null ? 43 : this.metadata.hashCode()); + result = + (result * PRIME) + + (this.partnerProviderId == null ? 43 : this.partnerProviderId.hashCode()); + result = + (result * PRIME) + + (this.partnerProviderPattern == null + ? 43 + : this.partnerProviderPattern.hashCode()); + result = + (result * PRIME) + + (this.tenantProviderId == null ? 43 : this.tenantProviderId.hashCode()); + result = (result * PRIME) + (this.succinctId == null ? 43 : this.succinctId.hashCode()); + result = + (result * PRIME) + + (this.assertionConsumerUrl == null + ? 43 + : this.assertionConsumerUrl.hashCode()); + result = + (result * PRIME) + + (this.logoutRequestUrl == null ? 43 : this.logoutRequestUrl.hashCode()); + result = + (result * PRIME) + + (this.logoutResponseUrl == null ? 43 : this.logoutResponseUrl.hashCode()); + result = (result * PRIME) + (this.nameIdFormat == null ? 43 : this.nameIdFormat.hashCode()); + result = + (result * PRIME) + + (this.signingCertificate == null + ? 43 + : this.signingCertificate.hashCode()); + result = + (result * PRIME) + + (this.encryptionCertificate == null + ? 43 + : this.encryptionCertificate.hashCode()); + result = + (result * PRIME) + + (this.encryptionAlgorithm == null + ? 43 + : this.encryptionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.keyEncryptionAlgorithm == null + ? 43 + : this.keyEncryptionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.encryptAssertion == null ? 43 : this.encryptAssertion.hashCode()); + result = + (result * PRIME) + + (this.signResponseOrAssertion == null + ? 43 + : this.signResponseOrAssertion.hashCode()); + result = + (result * PRIME) + + (this.includeSigningCertInSignature == null + ? 43 + : this.includeSigningCertInSignature.hashCode()); + result = + (result * PRIME) + + (this.logoutBinding == null ? 43 : this.logoutBinding.hashCode()); + result = + (result * PRIME) + + (this.logoutEnabled == null ? 43 : this.logoutEnabled.hashCode()); + result = + (result * PRIME) + + (this.signatureHashAlgorithm == null + ? 43 + : this.signatureHashAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.federationProtocol == null + ? 43 + : this.federationProtocol.hashCode()); + result = + (result * PRIME) + + (this.nameIdUserstoreAttribute == null + ? 43 + : this.nameIdUserstoreAttribute.hashCode()); + result = (result * PRIME) + (this.hokRequired == null ? 43 : this.hokRequired.hashCode()); + result = (result * PRIME) + (this.hokAcsUrl == null ? 43 : this.hokAcsUrl.hashCode()); + result = + (result * PRIME) + + (this.lastNotificationSentTime == null + ? 43 + : this.lastNotificationSentTime.hashCode()); + result = + (result * PRIME) + + (this.outboundAssertionAttributes == null + ? 43 + : this.outboundAssertionAttributes.hashCode()); + result = + (result * PRIME) + + (this.userAssertionAttributes == null + ? 43 + : this.userAssertionAttributes.hashCode()); + result = + (result * PRIME) + + (this.groupAssertionAttributes == null + ? 43 + : this.groupAssertionAttributes.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionWebTierPolicyApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionWebTierPolicyApp.java new file mode 100644 index 00000000000..4b14f6be500 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppExtensionWebTierPolicyApp.java @@ -0,0 +1,345 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * WebTier Policy
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppExtensionWebTierPolicyApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppExtensionWebTierPolicyApp + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "webTierPolicyJson", + "webTierPolicyAZControl", + "resourceRef" + }) + public AppExtensionWebTierPolicyApp( + String webTierPolicyJson, + WebTierPolicyAZControl webTierPolicyAZControl, + Boolean resourceRef) { + super(); + this.webTierPolicyJson = webTierPolicyJson; + this.webTierPolicyAZControl = webTierPolicyAZControl; + this.resourceRef = resourceRef; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Store the web tier policy for an application as a string in Javascript Object + * Notification (JSON) format. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("webTierPolicyJson") + private String webTierPolicyJson; + + /** + * Store the web tier policy for an application as a string in Javascript Object + * Notification (JSON) format. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: request - type: string - uniqueness: none + * + * @param webTierPolicyJson the value to set + * @return this builder + */ + public Builder webTierPolicyJson(String webTierPolicyJson) { + this.webTierPolicyJson = webTierPolicyJson; + this.__explicitlySet__.add("webTierPolicyJson"); + return this; + } + /** + * Webtier policy AZ Control + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("webTierPolicyAZControl") + private WebTierPolicyAZControl webTierPolicyAZControl; + + /** + * Webtier policy AZ Control + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param webTierPolicyAZControl the value to set + * @return this builder + */ + public Builder webTierPolicyAZControl(WebTierPolicyAZControl webTierPolicyAZControl) { + this.webTierPolicyAZControl = webTierPolicyAZControl; + this.__explicitlySet__.add("webTierPolicyAZControl"); + return this; + } + /** + * If this Attribute is true, resource ref id and resource ref name attributes will we + * included in wtp json response. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("resourceRef") + private Boolean resourceRef; + + /** + * If this Attribute is true, resource ref id and resource ref name attributes will we + * included in wtp json response. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param resourceRef the value to set + * @return this builder + */ + public Builder resourceRef(Boolean resourceRef) { + this.resourceRef = resourceRef; + this.__explicitlySet__.add("resourceRef"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppExtensionWebTierPolicyApp build() { + AppExtensionWebTierPolicyApp model = + new AppExtensionWebTierPolicyApp( + this.webTierPolicyJson, this.webTierPolicyAZControl, this.resourceRef); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppExtensionWebTierPolicyApp model) { + if (model.wasPropertyExplicitlySet("webTierPolicyJson")) { + this.webTierPolicyJson(model.getWebTierPolicyJson()); + } + if (model.wasPropertyExplicitlySet("webTierPolicyAZControl")) { + this.webTierPolicyAZControl(model.getWebTierPolicyAZControl()); + } + if (model.wasPropertyExplicitlySet("resourceRef")) { + this.resourceRef(model.getResourceRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Store the web tier policy for an application as a string in Javascript Object Notification + * (JSON) format. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("webTierPolicyJson") + private final String webTierPolicyJson; + + /** + * Store the web tier policy for an application as a string in Javascript Object Notification + * (JSON) format. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getWebTierPolicyJson() { + return webTierPolicyJson; + } + + /** + * Webtier policy AZ Control + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + public enum WebTierPolicyAZControl implements com.oracle.bmc.http.internal.BmcEnum { + Server("server"), + Local("local"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(WebTierPolicyAZControl.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (WebTierPolicyAZControl v : WebTierPolicyAZControl.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + WebTierPolicyAZControl(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static WebTierPolicyAZControl create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'WebTierPolicyAZControl', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Webtier policy AZ Control + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("webTierPolicyAZControl") + private final WebTierPolicyAZControl webTierPolicyAZControl; + + /** + * Webtier policy AZ Control + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public WebTierPolicyAZControl getWebTierPolicyAZControl() { + return webTierPolicyAZControl; + } + + /** + * If this Attribute is true, resource ref id and resource ref name attributes will we included + * in wtp json response. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("resourceRef") + private final Boolean resourceRef; + + /** + * If this Attribute is true, resource ref id and resource ref name attributes will we included + * in wtp json response. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getResourceRef() { + return resourceRef; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppExtensionWebTierPolicyApp("); + sb.append("super=").append(super.toString()); + sb.append("webTierPolicyJson=").append(String.valueOf(this.webTierPolicyJson)); + sb.append(", webTierPolicyAZControl=").append(String.valueOf(this.webTierPolicyAZControl)); + sb.append(", resourceRef=").append(String.valueOf(this.resourceRef)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppExtensionWebTierPolicyApp)) { + return false; + } + + AppExtensionWebTierPolicyApp other = (AppExtensionWebTierPolicyApp) o; + return java.util.Objects.equals(this.webTierPolicyJson, other.webTierPolicyJson) + && java.util.Objects.equals( + this.webTierPolicyAZControl, other.webTierPolicyAZControl) + && java.util.Objects.equals(this.resourceRef, other.resourceRef) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.webTierPolicyJson == null ? 43 : this.webTierPolicyJson.hashCode()); + result = + (result * PRIME) + + (this.webTierPolicyAZControl == null + ? 43 + : this.webTierPolicyAZControl.hashCode()); + result = (result * PRIME) + (this.resourceRef == null ? 43 : this.resourceRef.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppFlatFileBundleConfigurationProperties.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppFlatFileBundleConfigurationProperties.java new file mode 100644 index 00000000000..319a4c51233 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppFlatFileBundleConfigurationProperties.java @@ -0,0 +1,662 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Flat file connector bundle configuration properties + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: complex - uniqueness: none + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppFlatFileBundleConfigurationProperties.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppFlatFileBundleConfigurationProperties + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "name", + "displayName", + "icfType", + "value", + "order", + "helpMessage", + "required", + "confidential" + }) + public AppFlatFileBundleConfigurationProperties( + String name, + String displayName, + IcfType icfType, + java.util.List value, + Integer order, + String helpMessage, + Boolean required, + Boolean confidential) { + super(); + this.name = name; + this.displayName = displayName; + this.icfType = icfType; + this.value = value; + this.order = order; + this.helpMessage = helpMessage; + this.required = required; + this.confidential = confidential; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Name of the flatfile bundle configuration property. This attribute maps to \\"name\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Name of the flatfile bundle configuration property. This attribute maps to \\"name\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * Display name of the flatfile bundle configuration property. This attribute maps to + * \\"displayName\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * Display name of the flatfile bundle configuration property. This attribute maps to + * \\"displayName\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * ICF data type of flatfile the bundle configuration property. This attribute maps to + * \\"type\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("icfType") + private IcfType icfType; + + /** + * ICF data type of flatfile the bundle configuration property. This attribute maps to + * \\"type\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + * + * @param icfType the value to set + * @return this builder + */ + public Builder icfType(IcfType icfType) { + this.icfType = icfType; + this.__explicitlySet__.add("icfType"); + return this; + } + /** + * Value of the flatfile bundle configuration property. This attribute maps to \\"value\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: + * encrypt - multiValued: true - mutability: readWrite - required: false - returned: default + * - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private java.util.List value; + + /** + * Value of the flatfile bundle configuration property. This attribute maps to \\"value\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: + * encrypt - multiValued: true - mutability: readWrite - required: false - returned: default + * - type: string - uniqueness: none + * + * @param value the value to set + * @return this builder + */ + public Builder value(java.util.List value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Display sequence of the bundle configuration property. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: integer - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("order") + private Integer order; + + /** + * Display sequence of the bundle configuration property. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: integer - + * uniqueness: none + * + * @param order the value to set + * @return this builder + */ + public Builder order(Integer order) { + this.order = order; + this.__explicitlySet__.add("order"); + return this; + } + /** + * Help message of the flatfile bundle configuration property. This attribute maps to + * \\"helpMessage\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("helpMessage") + private String helpMessage; + + /** + * Help message of the flatfile bundle configuration property. This attribute maps to + * \\"helpMessage\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param helpMessage the value to set + * @return this builder + */ + public Builder helpMessage(String helpMessage) { + this.helpMessage = helpMessage; + this.__explicitlySet__.add("helpMessage"); + return this; + } + /** + * If true, this flatfile bundle configuration property is required to connect to the target + * connected managed app. This attribute maps to \\"isRequired\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("required") + private Boolean required; + + /** + * If true, this flatfile bundle configuration property is required to connect to the target + * connected managed app. This attribute maps to \\"isRequired\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: boolean - uniqueness: none + * + * @param required the value to set + * @return this builder + */ + public Builder required(Boolean required) { + this.required = required; + this.__explicitlySet__.add("required"); + return this; + } + /** + * If true, this flatfile bundle configuration property value is confidential and will be + * encrypted in Oracle Identity Cloud Service. This attribute maps to \\"isConfidential\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("confidential") + private Boolean confidential; + + /** + * If true, this flatfile bundle configuration property value is confidential and will be + * encrypted in Oracle Identity Cloud Service. This attribute maps to \\"isConfidential\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + * + * @param confidential the value to set + * @return this builder + */ + public Builder confidential(Boolean confidential) { + this.confidential = confidential; + this.__explicitlySet__.add("confidential"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppFlatFileBundleConfigurationProperties build() { + AppFlatFileBundleConfigurationProperties model = + new AppFlatFileBundleConfigurationProperties( + this.name, + this.displayName, + this.icfType, + this.value, + this.order, + this.helpMessage, + this.required, + this.confidential); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppFlatFileBundleConfigurationProperties model) { + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("icfType")) { + this.icfType(model.getIcfType()); + } + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("order")) { + this.order(model.getOrder()); + } + if (model.wasPropertyExplicitlySet("helpMessage")) { + this.helpMessage(model.getHelpMessage()); + } + if (model.wasPropertyExplicitlySet("required")) { + this.required(model.getRequired()); + } + if (model.wasPropertyExplicitlySet("confidential")) { + this.confidential(model.getConfidential()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Name of the flatfile bundle configuration property. This attribute maps to \\"name\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Name of the flatfile bundle configuration property. This attribute maps to \\"name\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * Display name of the flatfile bundle configuration property. This attribute maps to + * \\"displayName\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * Display name of the flatfile bundle configuration property. This attribute maps to + * \\"displayName\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * ICF data type of flatfile the bundle configuration property. This attribute maps to + * \\"type\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + */ + public enum IcfType implements com.oracle.bmc.http.internal.BmcEnum { + Long("Long"), + String("String"), + Character("Character"), + Double("Double"), + Float("Float"), + Integer("Integer"), + Boolean("Boolean"), + Uri("URI"), + File("File"), + GuardedByteArray("GuardedByteArray"), + GuardedString("GuardedString"), + ArrayOfLong("ArrayOfLong"), + ArrayOfString("ArrayOfString"), + ArrayOfCharacter("ArrayOfCharacter"), + ArrayOfDouble("ArrayOfDouble"), + ArrayOfFloat("ArrayOfFloat"), + ArrayOfInteger("ArrayOfInteger"), + ArrayOfBoolean("ArrayOfBoolean"), + ArrayOfUri("ArrayOfURI"), + ArrayOfFile("ArrayOfFile"), + ArrayOfGuardedByteArray("ArrayOfGuardedByteArray"), + ArrayOfGuardedString("ArrayOfGuardedString"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(IcfType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (IcfType v : IcfType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + IcfType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static IcfType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'IcfType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * ICF data type of flatfile the bundle configuration property. This attribute maps to + * \\"type\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("icfType") + private final IcfType icfType; + + /** + * ICF data type of flatfile the bundle configuration property. This attribute maps to + * \\"type\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public IcfType getIcfType() { + return icfType; + } + + /** + * Value of the flatfile bundle configuration property. This attribute maps to \\"value\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: encrypt + * - multiValued: true - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final java.util.List value; + + /** + * Value of the flatfile bundle configuration property. This attribute maps to \\"value\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: encrypt + * - multiValued: true - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + * + * @return the value + */ + public java.util.List getValue() { + return value; + } + + /** + * Display sequence of the bundle configuration property. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("order") + private final Integer order; + + /** + * Display sequence of the bundle configuration property. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: integer - uniqueness: + * none + * + * @return the value + */ + public Integer getOrder() { + return order; + } + + /** + * Help message of the flatfile bundle configuration property. This attribute maps to + * \\"helpMessage\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("helpMessage") + private final String helpMessage; + + /** + * Help message of the flatfile bundle configuration property. This attribute maps to + * \\"helpMessage\\" attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getHelpMessage() { + return helpMessage; + } + + /** + * If true, this flatfile bundle configuration property is required to connect to the target + * connected managed app. This attribute maps to \\"isRequired\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: true - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("required") + private final Boolean required; + + /** + * If true, this flatfile bundle configuration property is required to connect to the target + * connected managed app. This attribute maps to \\"isRequired\\" attribute in + * \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: true - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getRequired() { + return required; + } + + /** + * If true, this flatfile bundle configuration property value is confidential and will be + * encrypted in Oracle Identity Cloud Service. This attribute maps to \\"isConfidential\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("confidential") + private final Boolean confidential; + + /** + * If true, this flatfile bundle configuration property value is confidential and will be + * encrypted in Oracle Identity Cloud Service. This attribute maps to \\"isConfidential\\" + * attribute in \\"ConfigurationProperty\\" in ICF. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getConfidential() { + return confidential; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppFlatFileBundleConfigurationProperties("); + sb.append("super=").append(super.toString()); + sb.append("name=").append(String.valueOf(this.name)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", icfType=").append(String.valueOf(this.icfType)); + sb.append(", value=").append(String.valueOf(this.value)); + sb.append(", order=").append(String.valueOf(this.order)); + sb.append(", helpMessage=").append(String.valueOf(this.helpMessage)); + sb.append(", required=").append(String.valueOf(this.required)); + sb.append(", confidential=").append(String.valueOf(this.confidential)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppFlatFileBundleConfigurationProperties)) { + return false; + } + + AppFlatFileBundleConfigurationProperties other = + (AppFlatFileBundleConfigurationProperties) o; + return java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.icfType, other.icfType) + && java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.order, other.order) + && java.util.Objects.equals(this.helpMessage, other.helpMessage) + && java.util.Objects.equals(this.required, other.required) + && java.util.Objects.equals(this.confidential, other.confidential) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.icfType == null ? 43 : this.icfType.hashCode()); + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.order == null ? 43 : this.order.hashCode()); + result = (result * PRIME) + (this.helpMessage == null ? 43 : this.helpMessage.hashCode()); + result = (result * PRIME) + (this.required == null ? 43 : this.required.hashCode()); + result = (result * PRIME) + (this.confidential == null ? 43 : this.confidential.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppFlatFileConnectorBundle.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppFlatFileConnectorBundle.java new file mode 100644 index 00000000000..7e5f340851c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppFlatFileConnectorBundle.java @@ -0,0 +1,321 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Flat file connector bundle to sync from a flat file. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppFlatFileConnectorBundle.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppFlatFileConnectorBundle + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display", "wellKnownId"}) + public AppFlatFileConnectorBundle( + String value, String ref, String display, String wellKnownId) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + this.wellKnownId = wellKnownId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * ConnectorBundle identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * ConnectorBundle identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * ConnectorBundle URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * ConnectorBundle URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * ConnectorBundle display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * ConnectorBundle display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * Unique well-known identifier used to reference connector bundle. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("wellKnownId") + private String wellKnownId; + + /** + * Unique well-known identifier used to reference connector bundle. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * none + * + * @param wellKnownId the value to set + * @return this builder + */ + public Builder wellKnownId(String wellKnownId) { + this.wellKnownId = wellKnownId; + this.__explicitlySet__.add("wellKnownId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppFlatFileConnectorBundle build() { + AppFlatFileConnectorBundle model = + new AppFlatFileConnectorBundle( + this.value, this.ref, this.display, this.wellKnownId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppFlatFileConnectorBundle model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("wellKnownId")) { + this.wellKnownId(model.getWellKnownId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * ConnectorBundle identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * ConnectorBundle identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * ConnectorBundle URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * ConnectorBundle URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * ConnectorBundle display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * ConnectorBundle display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * Unique well-known identifier used to reference connector bundle. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("wellKnownId") + private final String wellKnownId; + + /** + * Unique well-known identifier used to reference connector bundle. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getWellKnownId() { + return wellKnownId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppFlatFileConnectorBundle("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", wellKnownId=").append(String.valueOf(this.wellKnownId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppFlatFileConnectorBundle)) { + return false; + } + + AppFlatFileConnectorBundle other = (AppFlatFileConnectorBundle) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.wellKnownId, other.wellKnownId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.wellKnownId == null ? 43 : this.wellKnownId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppFormFillUrlMatch.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppFormFillUrlMatch.java new file mode 100644 index 00000000000..dd66842ba33 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppFormFillUrlMatch.java @@ -0,0 +1,225 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A list of application-formURLs that FormFill should match against any formUrl that the + * user-specifies when signing in to the target service. Each item in the list also indicates how + * FormFill should interpret that formUrl. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [formUrl] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppFormFillUrlMatch.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppFormFillUrlMatch + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"formUrlMatchType", "formUrl"}) + public AppFormFillUrlMatch(String formUrlMatchType, String formUrl) { + super(); + this.formUrlMatchType = formUrlMatchType; + this.formUrl = formUrl; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Indicates how to interpret the value of 'formUrl' when matching against a user-specified + * formUrl. The system currently supports only 'Exact', which indicates that the value of + * 'formUrl' should be treated as a literal value. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formUrlMatchType") + private String formUrlMatchType; + + /** + * Indicates how to interpret the value of 'formUrl' when matching against a user-specified + * formUrl. The system currently supports only 'Exact', which indicates that the value of + * 'formUrl' should be treated as a literal value. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param formUrlMatchType the value to set + * @return this builder + */ + public Builder formUrlMatchType(String formUrlMatchType) { + this.formUrlMatchType = formUrlMatchType; + this.__explicitlySet__.add("formUrlMatchType"); + return this; + } + /** + * An application formUrl that FormFill will match against any formUrl that a User enters in + * trying to access the target-service which this App represents. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formUrl") + private String formUrl; + + /** + * An application formUrl that FormFill will match against any formUrl that a User enters in + * trying to access the target-service which this App represents. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param formUrl the value to set + * @return this builder + */ + public Builder formUrl(String formUrl) { + this.formUrl = formUrl; + this.__explicitlySet__.add("formUrl"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppFormFillUrlMatch build() { + AppFormFillUrlMatch model = + new AppFormFillUrlMatch(this.formUrlMatchType, this.formUrl); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppFormFillUrlMatch model) { + if (model.wasPropertyExplicitlySet("formUrlMatchType")) { + this.formUrlMatchType(model.getFormUrlMatchType()); + } + if (model.wasPropertyExplicitlySet("formUrl")) { + this.formUrl(model.getFormUrl()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Indicates how to interpret the value of 'formUrl' when matching against a user-specified + * formUrl. The system currently supports only 'Exact', which indicates that the value of + * 'formUrl' should be treated as a literal value. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formUrlMatchType") + private final String formUrlMatchType; + + /** + * Indicates how to interpret the value of 'formUrl' when matching against a user-specified + * formUrl. The system currently supports only 'Exact', which indicates that the value of + * 'formUrl' should be treated as a literal value. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getFormUrlMatchType() { + return formUrlMatchType; + } + + /** + * An application formUrl that FormFill will match against any formUrl that a User enters in + * trying to access the target-service which this App represents. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("formUrl") + private final String formUrl; + + /** + * An application formUrl that FormFill will match against any formUrl that a User enters in + * trying to access the target-service which this App represents. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getFormUrl() { + return formUrl; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppFormFillUrlMatch("); + sb.append("super=").append(super.toString()); + sb.append("formUrlMatchType=").append(String.valueOf(this.formUrlMatchType)); + sb.append(", formUrl=").append(String.valueOf(this.formUrl)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppFormFillUrlMatch)) { + return false; + } + + AppFormFillUrlMatch other = (AppFormFillUrlMatch) o; + return java.util.Objects.equals(this.formUrlMatchType, other.formUrlMatchType) + && java.util.Objects.equals(this.formUrl, other.formUrl) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.formUrlMatchType == null ? 43 : this.formUrlMatchType.hashCode()); + result = (result * PRIME) + (this.formUrl == null ? 43 : this.formUrl.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGrantedAppRoles.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGrantedAppRoles.java new file mode 100644 index 00000000000..79e8bbb3de0 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGrantedAppRoles.java @@ -0,0 +1,689 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A list of AppRoles that are granted to this App (and that are defined by other Apps). Within the + * Oracle Public Cloud infrastructure, this allows AppID-based association. Such an association + * allows this App to act as a consumer and thus to access resources of another App that acts as a + * producer.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppGrantedAppRoles.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppGrantedAppRoles + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "value", + "ref", + "type", + "display", + "appId", + "appName", + "adminRole", + "legacyGroupName", + "readOnly" + }) + public AppGrantedAppRoles( + String value, + String ref, + Type type, + String display, + String appId, + String appName, + Boolean adminRole, + String legacyGroupName, + Boolean readOnly) { + super(); + this.value = value; + this.ref = ref; + this.type = type; + this.display = display; + this.appId = appId; + this.appName = appName; + this.adminRole = adminRole; + this.legacyGroupName = legacyGroupName; + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The id of an AppRole that is granted to this App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * The id of an AppRole that is granted to this App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * The URI of an AppRole that is granted to this App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: reference - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * The URI of an AppRole that is granted to this App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: reference - + * uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * A label that indicates whether this AppRole was granted directly to the App (or + * indirectly through a Group). For an App, the value of this attribute will always be + * 'direct' (because an App cannot be a member of a Group). + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * A label that indicates whether this AppRole was granted directly to the App (or + * indirectly through a Group). For an App, the value of this attribute will always be + * 'direct' (because an App cannot be a member of a Group). + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param type the value to set + * @return this builder + */ + public Builder type(Type type) { + this.type = type; + this.__explicitlySet__.add("type"); + return this; + } + /** + * The display-name of an AppRole that is granted to this App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * The display-name of an AppRole that is granted to this App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * The id of the App that defines this AppRole, which is granted to this App. The App that + * defines the AppRole acts as the producer; the App to which the AppRole is granted acts as + * a consumer. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appId") + private String appId; + + /** + * The id of the App that defines this AppRole, which is granted to this App. The App that + * defines the AppRole acts as the producer; the App to which the AppRole is granted acts as + * a consumer. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param appId the value to set + * @return this builder + */ + public Builder appId(String appId) { + this.appId = appId; + this.__explicitlySet__.add("appId"); + return this; + } + /** + * The name of the App that defines this AppRole, which is granted to this App. The App that + * defines the AppRole acts as the producer; the App to which the AppRole is granted acts as + * a consumer. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appName") + private String appName; + + /** + * The name of the App that defines this AppRole, which is granted to this App. The App that + * defines the AppRole acts as the producer; the App to which the AppRole is granted acts as + * a consumer. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param appName the value to set + * @return this builder + */ + public Builder appName(String appName) { + this.appName = appName; + this.__explicitlySet__.add("appName"); + return this; + } + /** + * If true, then this granted AppRole confers administrative privileges within the App that + * defines it. Otherwise, the granted AppRole confers only functional privileges. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("adminRole") + private Boolean adminRole; + + /** + * If true, then this granted AppRole confers administrative privileges within the App that + * defines it. Otherwise, the granted AppRole confers only functional privileges. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param adminRole the value to set + * @return this builder + */ + public Builder adminRole(Boolean adminRole) { + this.adminRole = adminRole; + this.__explicitlySet__.add("adminRole"); + return this; + } + /** + * The name of the legacy group associated with this AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("legacyGroupName") + private String legacyGroupName; + + /** + * The name of the legacy group associated with this AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param legacyGroupName the value to set + * @return this builder + */ + public Builder legacyGroupName(String legacyGroupName) { + this.legacyGroupName = legacyGroupName; + this.__explicitlySet__.add("legacyGroupName"); + return this; + } + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + private Boolean readOnly; + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param readOnly the value to set + * @return this builder + */ + public Builder readOnly(Boolean readOnly) { + this.readOnly = readOnly; + this.__explicitlySet__.add("readOnly"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppGrantedAppRoles build() { + AppGrantedAppRoles model = + new AppGrantedAppRoles( + this.value, + this.ref, + this.type, + this.display, + this.appId, + this.appName, + this.adminRole, + this.legacyGroupName, + this.readOnly); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppGrantedAppRoles model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("type")) { + this.type(model.getType()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("appId")) { + this.appId(model.getAppId()); + } + if (model.wasPropertyExplicitlySet("appName")) { + this.appName(model.getAppName()); + } + if (model.wasPropertyExplicitlySet("adminRole")) { + this.adminRole(model.getAdminRole()); + } + if (model.wasPropertyExplicitlySet("legacyGroupName")) { + this.legacyGroupName(model.getLegacyGroupName()); + } + if (model.wasPropertyExplicitlySet("readOnly")) { + this.readOnly(model.getReadOnly()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The id of an AppRole that is granted to this App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * The id of an AppRole that is granted to this App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * The URI of an AppRole that is granted to this App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * The URI of an AppRole that is granted to this App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: + * none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * A label that indicates whether this AppRole was granted directly to the App (or indirectly + * through a Group). For an App, the value of this attribute will always be 'direct' (because an + * App cannot be a member of a Group). + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + Direct("direct"), + Indirect("indirect"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; + /** + * A label that indicates whether this AppRole was granted directly to the App (or indirectly + * through a Group). For an App, the value of this attribute will always be 'direct' (because an + * App cannot be a member of a Group). + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * A label that indicates whether this AppRole was granted directly to the App (or indirectly + * through a Group). For an App, the value of this attribute will always be 'direct' (because an + * App cannot be a member of a Group). + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public Type getType() { + return type; + } + + /** + * The display-name of an AppRole that is granted to this App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * The display-name of an AppRole that is granted to this App. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * The id of the App that defines this AppRole, which is granted to this App. The App that + * defines the AppRole acts as the producer; the App to which the AppRole is granted acts as a + * consumer. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appId") + private final String appId; + + /** + * The id of the App that defines this AppRole, which is granted to this App. The App that + * defines the AppRole acts as the producer; the App to which the AppRole is granted acts as a + * consumer. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getAppId() { + return appId; + } + + /** + * The name of the App that defines this AppRole, which is granted to this App. The App that + * defines the AppRole acts as the producer; the App to which the AppRole is granted acts as a + * consumer. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appName") + private final String appName; + + /** + * The name of the App that defines this AppRole, which is granted to this App. The App that + * defines the AppRole acts as the producer; the App to which the AppRole is granted acts as a + * consumer. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getAppName() { + return appName; + } + + /** + * If true, then this granted AppRole confers administrative privileges within the App that + * defines it. Otherwise, the granted AppRole confers only functional privileges. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("adminRole") + private final Boolean adminRole; + + /** + * If true, then this granted AppRole confers administrative privileges within the App that + * defines it. Otherwise, the granted AppRole confers only functional privileges. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAdminRole() { + return adminRole; + } + + /** + * The name of the legacy group associated with this AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("legacyGroupName") + private final String legacyGroupName; + + /** + * The name of the legacy group associated with this AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getLegacyGroupName() { + return legacyGroupName; + } + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + private final Boolean readOnly; + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getReadOnly() { + return readOnly; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppGrantedAppRoles("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", type=").append(String.valueOf(this.type)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", appId=").append(String.valueOf(this.appId)); + sb.append(", appName=").append(String.valueOf(this.appName)); + sb.append(", adminRole=").append(String.valueOf(this.adminRole)); + sb.append(", legacyGroupName=").append(String.valueOf(this.legacyGroupName)); + sb.append(", readOnly=").append(String.valueOf(this.readOnly)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppGrantedAppRoles)) { + return false; + } + + AppGrantedAppRoles other = (AppGrantedAppRoles) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.type, other.type) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.appId, other.appId) + && java.util.Objects.equals(this.appName, other.appName) + && java.util.Objects.equals(this.adminRole, other.adminRole) + && java.util.Objects.equals(this.legacyGroupName, other.legacyGroupName) + && java.util.Objects.equals(this.readOnly, other.readOnly) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.appId == null ? 43 : this.appId.hashCode()); + result = (result * PRIME) + (this.appName == null ? 43 : this.appName.hashCode()); + result = (result * PRIME) + (this.adminRole == null ? 43 : this.adminRole.hashCode()); + result = + (result * PRIME) + + (this.legacyGroupName == null ? 43 : this.legacyGroupName.hashCode()); + result = (result * PRIME) + (this.readOnly == null ? 43 : this.readOnly.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGrants.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGrants.java new file mode 100644 index 00000000000..c47bcfed9c7 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGrants.java @@ -0,0 +1,514 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Grants assigned to the app
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppGrants.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppGrants extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "value", + "ref", + "granteeId", + "granteeType", + "grantMechanism" + }) + public AppGrants( + String value, + String ref, + String granteeId, + GranteeType granteeType, + GrantMechanism grantMechanism) { + super(); + this.value = value; + this.ref = ref; + this.granteeId = granteeId; + this.granteeType = granteeType; + this.grantMechanism = grantMechanism; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Grant identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Grant identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Grant URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * Grant URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Grantee identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("granteeId") + private String granteeId; + + /** + * Grantee identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param granteeId the value to set + * @return this builder + */ + public Builder granteeId(String granteeId) { + this.granteeId = granteeId; + this.__explicitlySet__.add("granteeId"); + return this; + } + /** + * Grantee resource type. Allowed values are User and Group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("granteeType") + private GranteeType granteeType; + + /** + * Grantee resource type. Allowed values are User and Group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param granteeType the value to set + * @return this builder + */ + public Builder granteeType(GranteeType granteeType) { + this.granteeType = granteeType; + this.__explicitlySet__.add("granteeType"); + return this; + } + /** + * Each value of grantMechanism indicates how (or by what component) some App (or + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values + * that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a + * specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which + * results in indirect grants to Users who are members of that Group. - + * 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains + * access to the granted (server) App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("grantMechanism") + private GrantMechanism grantMechanism; + + /** + * Each value of grantMechanism indicates how (or by what component) some App (or + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values + * that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a + * specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which + * results in indirect grants to Users who are members of that Group. - + * 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains + * access to the granted (server) App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param grantMechanism the value to set + * @return this builder + */ + public Builder grantMechanism(GrantMechanism grantMechanism) { + this.grantMechanism = grantMechanism; + this.__explicitlySet__.add("grantMechanism"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppGrants build() { + AppGrants model = + new AppGrants( + this.value, + this.ref, + this.granteeId, + this.granteeType, + this.grantMechanism); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppGrants model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("granteeId")) { + this.granteeId(model.getGranteeId()); + } + if (model.wasPropertyExplicitlySet("granteeType")) { + this.granteeType(model.getGranteeType()); + } + if (model.wasPropertyExplicitlySet("grantMechanism")) { + this.grantMechanism(model.getGrantMechanism()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Grant identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Grant identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Grant URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * Grant URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Grantee identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("granteeId") + private final String granteeId; + + /** + * Grantee identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getGranteeId() { + return granteeId; + } + + /** + * Grantee resource type. Allowed values are User and Group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + public enum GranteeType implements com.oracle.bmc.http.internal.BmcEnum { + User("User"), + Group("Group"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(GranteeType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (GranteeType v : GranteeType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + GranteeType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static GranteeType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'GranteeType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Grantee resource type. Allowed values are User and Group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("granteeType") + private final GranteeType granteeType; + + /** + * Grantee resource type. Allowed values are User and Group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public GranteeType getGranteeType() { + return granteeType; + } + + /** + * Each value of grantMechanism indicates how (or by what component) some App (or + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a + * grant to a specific App. The grantee (client) App gains access to the granted (server) App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + public enum GrantMechanism implements com.oracle.bmc.http.internal.BmcEnum { + ImportApproleMembers("IMPORT_APPROLE_MEMBERS"), + AdministratorToUser("ADMINISTRATOR_TO_USER"), + AdministratorToGroup("ADMINISTRATOR_TO_GROUP"), + ServiceManagerToUser("SERVICE_MANAGER_TO_USER"), + AdministratorToApp("ADMINISTRATOR_TO_APP"), + ServiceManagerToApp("SERVICE_MANAGER_TO_APP"), + OpcInfraToApp("OPC_INFRA_TO_APP"), + GroupMembership("GROUP_MEMBERSHIP"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(GrantMechanism.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (GrantMechanism v : GrantMechanism.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + GrantMechanism(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static GrantMechanism create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'GrantMechanism', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Each value of grantMechanism indicates how (or by what component) some App (or + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a + * grant to a specific App. The grantee (client) App gains access to the granted (server) App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("grantMechanism") + private final GrantMechanism grantMechanism; + + /** + * Each value of grantMechanism indicates how (or by what component) some App (or + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a + * grant to a specific App. The grantee (client) App gains access to the granted (server) App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public GrantMechanism getGrantMechanism() { + return grantMechanism; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppGrants("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", granteeId=").append(String.valueOf(this.granteeId)); + sb.append(", granteeType=").append(String.valueOf(this.granteeType)); + sb.append(", grantMechanism=").append(String.valueOf(this.grantMechanism)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppGrants)) { + return false; + } + + AppGrants other = (AppGrants) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.granteeId, other.granteeId) + && java.util.Objects.equals(this.granteeType, other.granteeType) + && java.util.Objects.equals(this.grantMechanism, other.grantMechanism) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.granteeId == null ? 43 : this.granteeId.hashCode()); + result = (result * PRIME) + (this.granteeType == null ? 43 : this.granteeType.hashCode()); + result = + (result * PRIME) + + (this.grantMechanism == null ? 43 : this.grantMechanism.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGroupAssertionAttributes.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGroupAssertionAttributes.java new file mode 100644 index 00000000000..5ac32fa1193 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGroupAssertionAttributes.java @@ -0,0 +1,365 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Each value of this attribute describes an attribute of Group that will be sent in a Security + * Assertion Markup Language (SAML) assertion. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: true - mutability: readWrite - required: + * false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppGroupAssertionAttributes.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppGroupAssertionAttributes + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"name", "format", "condition", "groupName"}) + public AppGroupAssertionAttributes( + String name, String format, String condition, String groupName) { + super(); + this.name = name; + this.format = format; + this.condition = condition; + this.groupName = groupName; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The attribute represents the name of the attribute that will be used in the Security + * Assertion Markup Language (SAML) assertion + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * The attribute represents the name of the attribute that will be used in the Security + * Assertion Markup Language (SAML) assertion + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * Indicates the format of the assertion attribute. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("format") + private String format; + + /** + * Indicates the format of the assertion attribute. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + * + * @param format the value to set + * @return this builder + */ + public Builder format(String format) { + this.format = format; + this.__explicitlySet__.add("format"); + return this; + } + /** + * Indicates the filter types that are supported for the Group assertion attributes. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("condition") + private String condition; + + /** + * Indicates the filter types that are supported for the Group assertion attributes. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + * + * @param condition the value to set + * @return this builder + */ + public Builder condition(String condition) { + this.condition = condition; + this.__explicitlySet__.add("condition"); + return this; + } + /** + * Indicates the group name that are supported for the group assertion attributes. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("groupName") + private String groupName; + + /** + * Indicates the group name that are supported for the group assertion attributes. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + * + * @param groupName the value to set + * @return this builder + */ + public Builder groupName(String groupName) { + this.groupName = groupName; + this.__explicitlySet__.add("groupName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppGroupAssertionAttributes build() { + AppGroupAssertionAttributes model = + new AppGroupAssertionAttributes( + this.name, this.format, this.condition, this.groupName); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppGroupAssertionAttributes model) { + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("format")) { + this.format(model.getFormat()); + } + if (model.wasPropertyExplicitlySet("condition")) { + this.condition(model.getCondition()); + } + if (model.wasPropertyExplicitlySet("groupName")) { + this.groupName(model.getGroupName()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The attribute represents the name of the attribute that will be used in the Security + * Assertion Markup Language (SAML) assertion + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * The attribute represents the name of the attribute that will be used in the Security + * Assertion Markup Language (SAML) assertion + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * Indicates the format of the assertion attribute. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("format") + private final String format; + + /** + * Indicates the format of the assertion attribute. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getFormat() { + return format; + } + + /** + * Indicates the filter types that are supported for the Group assertion attributes. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("condition") + private final String condition; + + /** + * Indicates the filter types that are supported for the Group assertion attributes. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCondition() { + return condition; + } + + /** + * Indicates the group name that are supported for the group assertion attributes. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("groupName") + private final String groupName; + + /** + * Indicates the group name that are supported for the group assertion attributes. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getGroupName() { + return groupName; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppGroupAssertionAttributes("); + sb.append("super=").append(super.toString()); + sb.append("name=").append(String.valueOf(this.name)); + sb.append(", format=").append(String.valueOf(this.format)); + sb.append(", condition=").append(String.valueOf(this.condition)); + sb.append(", groupName=").append(String.valueOf(this.groupName)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppGroupAssertionAttributes)) { + return false; + } + + AppGroupAssertionAttributes other = (AppGroupAssertionAttributes) o; + return java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.format, other.format) + && java.util.Objects.equals(this.condition, other.condition) + && java.util.Objects.equals(this.groupName, other.groupName) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + (this.format == null ? 43 : this.format.hashCode()); + result = (result * PRIME) + (this.condition == null ? 43 : this.condition.hashCode()); + result = (result * PRIME) + (this.groupName == null ? 43 : this.groupName.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGroupMembershipToReturn.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGroupMembershipToReturn.java new file mode 100644 index 00000000000..da58e966273 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppGroupMembershipToReturn.java @@ -0,0 +1,286 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * In a successful authentication response, Oracle Identity Cloud Service will pass user's group + * information restricted to groups persisted in this attribute, in the specified RADIUS attribute. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: false - returned: request - type: complex - uniqueness: none + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppGroupMembershipToReturn.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppGroupMembershipToReturn + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display"}) + public AppGroupMembershipToReturn(String value, String ref, String display) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The identifier of the User's group. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * The identifier of the User's group. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * The URI of the corresponding Group resource to which the user belongs + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * The URI of the corresponding Group resource to which the user belongs + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * A human readable name, primarily used for display purposes. READ-ONLY. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * A human readable name, primarily used for display purposes. READ-ONLY. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppGroupMembershipToReturn build() { + AppGroupMembershipToReturn model = + new AppGroupMembershipToReturn(this.value, this.ref, this.display); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppGroupMembershipToReturn model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The identifier of the User's group. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * The identifier of the User's group. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * The URI of the corresponding Group resource to which the user belongs + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * The URI of the corresponding Group resource to which the user belongs + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * A human readable name, primarily used for display purposes. READ-ONLY. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * A human readable name, primarily used for display purposes. READ-ONLY. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppGroupMembershipToReturn("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppGroupMembershipToReturn)) { + return false; + } + + AppGroupMembershipToReturn other = (AppGroupMembershipToReturn) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppIdentityBridges.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppIdentityBridges.java new file mode 100644 index 00000000000..8f94990eef3 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppIdentityBridges.java @@ -0,0 +1,285 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * IdentityBridges associated with this App + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppIdentityBridges.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppIdentityBridges + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "name"}) + public AppIdentityBridges(String value, String ref, String name) { + super(); + this.value = value; + this.ref = ref; + this.name = name; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The Id of the IdentityBridge associated with the App. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * The Id of the IdentityBridge associated with the App. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * The URI of the IdentityBridge associated with the App. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * The URI of the IdentityBridge associated with the App. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Name of the IdentityBridge associated with the App. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Name of the IdentityBridge associated with the App. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppIdentityBridges build() { + AppIdentityBridges model = new AppIdentityBridges(this.value, this.ref, this.name); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppIdentityBridges model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The Id of the IdentityBridge associated with the App. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * The Id of the IdentityBridge associated with the App. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * The URI of the IdentityBridge associated with the App. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * The URI of the IdentityBridge associated with the App. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Name of the IdentityBridge associated with the App. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Name of the IdentityBridge associated with the App. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppIdentityBridges("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", name=").append(String.valueOf(this.name)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppIdentityBridges)) { + return false; + } + + AppIdentityBridges other = (AppIdentityBridges) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.name, other.name) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppIdentityProviders.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppIdentityProviders.java new file mode 100644 index 00000000000..2436e75c229 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppIdentityProviders.java @@ -0,0 +1,255 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A list of IdentityProvider assigned to app. A user trying to access this app will be + * automatically redirected to configured IdP during the authentication phase, before being able to + * access App.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppIdentityProviders.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppIdentityProviders + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display"}) + public AppIdentityProviders(String value, String ref, String display) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * ID of the IdentityProvider. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * ID of the IdentityProvider. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the IdentityProvider. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the IdentityProvider. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Display-name of the IdentityProvider. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Display-name of the IdentityProvider. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppIdentityProviders build() { + AppIdentityProviders model = + new AppIdentityProviders(this.value, this.ref, this.display); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppIdentityProviders model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * ID of the IdentityProvider. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * ID of the IdentityProvider. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the IdentityProvider. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the IdentityProvider. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Display-name of the IdentityProvider. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Display-name of the IdentityProvider. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppIdentityProviders("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppIdentityProviders)) { + return false; + } + + AppIdentityProviders other = (AppIdentityProviders) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppIdpPolicy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppIdpPolicy.java new file mode 100644 index 00000000000..6542f8b9aef --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppIdpPolicy.java @@ -0,0 +1,222 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * IDP Policy. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppIdpPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppIdpPolicy extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public AppIdpPolicy(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Identifier of the Policy. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Identifier of the Policy. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the policy. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the policy. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppIdpPolicy build() { + AppIdpPolicy model = new AppIdpPolicy(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppIdpPolicy model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Identifier of the Policy. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Identifier of the Policy. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the policy. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the policy. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppIdpPolicy("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppIdpPolicy)) { + return false; + } + + AppIdpPolicy other = (AppIdpPolicy) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppObjectClasses.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppObjectClasses.java new file mode 100644 index 00000000000..9a8a4a93e8a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppObjectClasses.java @@ -0,0 +1,502 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Object classes + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value] - idcsSearchable: true - multiValued: true - + * mutability: readOnly - required: false - returned: default - type: complex - uniqueness: none + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppObjectClasses.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppObjectClasses + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "value", + "ref", + "display", + "resourceType", + "isAccountObjectClass", + "type" + }) + public AppObjectClasses( + String value, + String ref, + String display, + String resourceType, + Boolean isAccountObjectClass, + Type type) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + this.resourceType = resourceType; + this.isAccountObjectClass = isAccountObjectClass; + this.type = type; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Object class template identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Object class template identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Object class URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * Object class URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Object class display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Object class display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * Object class resource type + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("resourceType") + private String resourceType; + + /** + * Object class resource type + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param resourceType the value to set + * @return this builder + */ + public Builder resourceType(String resourceType) { + this.resourceType = resourceType; + this.__explicitlySet__.add("resourceType"); + return this; + } + /** + * If true, the object class represents an account. The isAccountObjectClass attribute value + * 'true' MUST appear no more than once. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAccountObjectClass") + private Boolean isAccountObjectClass; + + /** + * If true, the object class represents an account. The isAccountObjectClass attribute value + * 'true' MUST appear no more than once. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isAccountObjectClass the value to set + * @return this builder + */ + public Builder isAccountObjectClass(Boolean isAccountObjectClass) { + this.isAccountObjectClass = isAccountObjectClass; + this.__explicitlySet__.add("isAccountObjectClass"); + return this; + } + /** + * Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. + * + *

*Added In:** 18.1.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: AccountObjectClass - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. + * + *

*Added In:** 18.1.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: AccountObjectClass - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + * + * @param type the value to set + * @return this builder + */ + public Builder type(Type type) { + this.type = type; + this.__explicitlySet__.add("type"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppObjectClasses build() { + AppObjectClasses model = + new AppObjectClasses( + this.value, + this.ref, + this.display, + this.resourceType, + this.isAccountObjectClass, + this.type); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppObjectClasses model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("resourceType")) { + this.resourceType(model.getResourceType()); + } + if (model.wasPropertyExplicitlySet("isAccountObjectClass")) { + this.isAccountObjectClass(model.getIsAccountObjectClass()); + } + if (model.wasPropertyExplicitlySet("type")) { + this.type(model.getType()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Object class template identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Object class template identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Object class URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * Object class URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Object class display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Object class display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * Object class resource type + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("resourceType") + private final String resourceType; + + /** + * Object class resource type + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getResourceType() { + return resourceType; + } + + /** + * If true, the object class represents an account. The isAccountObjectClass attribute value + * 'true' MUST appear no more than once. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAccountObjectClass") + private final Boolean isAccountObjectClass; + + /** + * If true, the object class represents an account. The isAccountObjectClass attribute value + * 'true' MUST appear no more than once. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsAccountObjectClass() { + return isAccountObjectClass; + } + + /** + * Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. + * + *

*Added In:** 18.1.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: AccountObjectClass - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + AccountObjectClass("AccountObjectClass"), + ManagedObjectClass("ManagedObjectClass"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; + /** + * Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. + * + *

*Added In:** 18.1.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: AccountObjectClass - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. + * + *

*Added In:** 18.1.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: AccountObjectClass - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + * + * @return the value + */ + public Type getType() { + return type; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppObjectClasses("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", resourceType=").append(String.valueOf(this.resourceType)); + sb.append(", isAccountObjectClass=").append(String.valueOf(this.isAccountObjectClass)); + sb.append(", type=").append(String.valueOf(this.type)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppObjectClasses)) { + return false; + } + + AppObjectClasses other = (AppObjectClasses) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.resourceType, other.resourceType) + && java.util.Objects.equals(this.isAccountObjectClass, other.isAccountObjectClass) + && java.util.Objects.equals(this.type, other.type) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.resourceType == null ? 43 : this.resourceType.hashCode()); + result = + (result * PRIME) + + (this.isAccountObjectClass == null + ? 43 + : this.isAccountObjectClass.hashCode()); + result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppOutboundAssertionAttributes.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppOutboundAssertionAttributes.java new file mode 100644 index 00000000000..5bf56870a2f --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppOutboundAssertionAttributes.java @@ -0,0 +1,283 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Use to construct the outgoing SAML attributes + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: true - + * multiValued: false - mutability: readOnly - required: false - returned: default - type: complex - + * uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppOutboundAssertionAttributes.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppOutboundAssertionAttributes + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "direction"}) + public AppOutboundAssertionAttributes(String value, String ref, String direction) { + super(); + this.value = value; + this.ref = ref; + this.direction = direction; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Mapped Attribute identifier + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - mutability: readOnly + * - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Mapped Attribute identifier + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - mutability: readOnly + * - required: true - returned: default - type: string - uniqueness: none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Mapped Attribute URI + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - mutability: readOnly - required: false + * - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * Mapped Attribute URI + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - mutability: readOnly - required: false + * - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Mapped Attribute Direction + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("direction") + private String direction; + + /** + * Mapped Attribute Direction + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param direction the value to set + * @return this builder + */ + public Builder direction(String direction) { + this.direction = direction; + this.__explicitlySet__.add("direction"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppOutboundAssertionAttributes build() { + AppOutboundAssertionAttributes model = + new AppOutboundAssertionAttributes(this.value, this.ref, this.direction); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppOutboundAssertionAttributes model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("direction")) { + this.direction(model.getDirection()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Mapped Attribute identifier + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - mutability: readOnly - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Mapped Attribute identifier + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - mutability: readOnly - + * required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Mapped Attribute URI + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - mutability: readOnly - required: false - + * returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * Mapped Attribute URI + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - mutability: readOnly - required: false - + * returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Mapped Attribute Direction + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("direction") + private final String direction; + + /** + * Mapped Attribute Direction + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDirection() { + return direction; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppOutboundAssertionAttributes("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", direction=").append(String.valueOf(this.direction)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppOutboundAssertionAttributes)) { + return false; + } + + AppOutboundAssertionAttributes other = (AppOutboundAssertionAttributes) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.direction, other.direction) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.direction == null ? 43 : this.direction.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppProtectableSecondaryAudiences.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppProtectableSecondaryAudiences.java new file mode 100644 index 00000000000..b6c2f4450e2 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppProtectableSecondaryAudiences.java @@ -0,0 +1,226 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A list of secondary audiences--additional URIs to be added automatically to any OAuth token that + * allows access to this App. Note: This attribute is used mainly for backward compatibility in + * certain Oracle Public Cloud Apps.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppProtectableSecondaryAudiences.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppProtectableSecondaryAudiences + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "readOnly"}) + public AppProtectableSecondaryAudiences(String value, Boolean readOnly) { + super(); + this.value = value; + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The value of an secondary audience--additional URI to be added automatically to any OAuth + * token that allows access to this App. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * The value of an secondary audience--additional URI to be added automatically to any OAuth + * token that allows access to this App. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + private Boolean readOnly; + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param readOnly the value to set + * @return this builder + */ + public Builder readOnly(Boolean readOnly) { + this.readOnly = readOnly; + this.__explicitlySet__.add("readOnly"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppProtectableSecondaryAudiences build() { + AppProtectableSecondaryAudiences model = + new AppProtectableSecondaryAudiences(this.value, this.readOnly); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppProtectableSecondaryAudiences model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("readOnly")) { + this.readOnly(model.getReadOnly()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The value of an secondary audience--additional URI to be added automatically to any OAuth + * token that allows access to this App. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * The value of an secondary audience--additional URI to be added automatically to any OAuth + * token that allows access to this App. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + private final Boolean readOnly; + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getReadOnly() { + return readOnly; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppProtectableSecondaryAudiences("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", readOnly=").append(String.valueOf(this.readOnly)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppProtectableSecondaryAudiences)) { + return false; + } + + AppProtectableSecondaryAudiences other = (AppProtectableSecondaryAudiences) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.readOnly, other.readOnly) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.readOnly == null ? 43 : this.readOnly.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRadiusPolicy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRadiusPolicy.java new file mode 100644 index 00000000000..1e4b180dd67 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRadiusPolicy.java @@ -0,0 +1,223 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * RADIUS Policy assigned to this application. + * + *

*Added In:** 2209070044 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppRadiusPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppRadiusPolicy + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public AppRadiusPolicy(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Identifier of the Policy. + * + *

*Added In:** 2209070044 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Identifier of the Policy. + * + *

*Added In:** 2209070044 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the policy. + * + *

*Added In:** 2209070044 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the policy. + * + *

*Added In:** 2209070044 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppRadiusPolicy build() { + AppRadiusPolicy model = new AppRadiusPolicy(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppRadiusPolicy model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Identifier of the Policy. + * + *

*Added In:** 2209070044 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Identifier of the Policy. + * + *

*Added In:** 2209070044 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the policy. + * + *

*Added In:** 2209070044 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the policy. + * + *

*Added In:** 2209070044 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppRadiusPolicy("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppRadiusPolicy)) { + return false; + } + + AppRadiusPolicy other = (AppRadiusPolicy) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRole.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRole.java new file mode 100644 index 00000000000..976d4338432 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRole.java @@ -0,0 +1,1576 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * AppRole resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppRole.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppRole extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "displayName", + "uniqueName", + "description", + "legacyGroupName", + "adminRole", + "limitedToOneOrMoreGroups", + "availableToUsers", + "availableToGroups", + "availableToClients", + "isPublic", + "localizedDisplayName", + "app", + "members" + }) + public AppRole( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + String displayName, + String uniqueName, + String description, + String legacyGroupName, + Boolean adminRole, + Boolean limitedToOneOrMoreGroups, + Boolean availableToUsers, + Boolean availableToGroups, + Boolean availableToClients, + Boolean isPublic, + String localizedDisplayName, + AppRoleApp app, + java.util.List members) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.displayName = displayName; + this.uniqueName = uniqueName; + this.description = description; + this.legacyGroupName = legacyGroupName; + this.adminRole = adminRole; + this.limitedToOneOrMoreGroups = limitedToOneOrMoreGroups; + this.availableToUsers = availableToUsers; + this.availableToGroups = availableToGroups; + this.availableToClients = availableToClients; + this.isPublic = isPublic; + this.localizedDisplayName = localizedDisplayName; + this.app = app; + this.members = members; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * AppRole name + * + *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - + * idcsCsvAttributeNameMappings: [[columnHeaderName:Entitlement Value]] - idcsSearchable: + * true - multiValued: false - mutability: immutable - required: true - returned: always - + * type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * AppRole name + * + *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - + * idcsCsvAttributeNameMappings: [[columnHeaderName:Entitlement Value]] - idcsSearchable: + * true - multiValued: false - mutability: immutable - required: true - returned: always - + * type: string - uniqueness: none + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * AppRole unique name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: always - type: string - uniqueness: server + */ + @com.fasterxml.jackson.annotation.JsonProperty("uniqueName") + private String uniqueName; + + /** + * AppRole unique name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: always - type: string - uniqueness: server + * + * @param uniqueName the value to set + * @return this builder + */ + public Builder uniqueName(String uniqueName) { + this.uniqueName = uniqueName; + this.__explicitlySet__.add("uniqueName"); + return this; + } + /** + * AppRole description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * AppRole description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + /** + * The name of the legacy group associated with this AppRole. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("legacyGroupName") + private String legacyGroupName; + + /** + * The name of the legacy group associated with this AppRole. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + * + * @param legacyGroupName the value to set + * @return this builder + */ + public Builder legacyGroupName(String legacyGroupName) { + this.legacyGroupName = legacyGroupName; + this.__explicitlySet__.add("legacyGroupName"); + return this; + } + /** + * If true, the role provides administrative access privileges. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("adminRole") + private Boolean adminRole; + + /** + * If true, the role provides administrative access privileges. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + * + * @param adminRole the value to set + * @return this builder + */ + public Builder adminRole(Boolean adminRole) { + this.adminRole = adminRole; + this.__explicitlySet__.add("adminRole"); + return this; + } + /** + * If true, indicates that this Oracle Identity Cloud Service AppRole can be granted to a + * delegated administrator whose scope is limited to users that are members of one or more + * groups. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("limitedToOneOrMoreGroups") + private Boolean limitedToOneOrMoreGroups; + + /** + * If true, indicates that this Oracle Identity Cloud Service AppRole can be granted to a + * delegated administrator whose scope is limited to users that are members of one or more + * groups. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param limitedToOneOrMoreGroups the value to set + * @return this builder + */ + public Builder limitedToOneOrMoreGroups(Boolean limitedToOneOrMoreGroups) { + this.limitedToOneOrMoreGroups = limitedToOneOrMoreGroups; + this.__explicitlySet__.add("limitedToOneOrMoreGroups"); + return this; + } + /** + * If true, this AppRole can be granted to Users. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("availableToUsers") + private Boolean availableToUsers; + + /** + * If true, this AppRole can be granted to Users. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + * + * @param availableToUsers the value to set + * @return this builder + */ + public Builder availableToUsers(Boolean availableToUsers) { + this.availableToUsers = availableToUsers; + this.__explicitlySet__.add("availableToUsers"); + return this; + } + /** + * If true, this AppRole can be granted to Groups. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("availableToGroups") + private Boolean availableToGroups; + + /** + * If true, this AppRole can be granted to Groups. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + * + * @param availableToGroups the value to set + * @return this builder + */ + public Builder availableToGroups(Boolean availableToGroups) { + this.availableToGroups = availableToGroups; + this.__explicitlySet__.add("availableToGroups"); + return this; + } + /** + * If true, this AppRole can be granted to Apps. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("availableToClients") + private Boolean availableToClients; + + /** + * If true, this AppRole can be granted to Apps. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: boolean - uniqueness: none + * + * @param availableToClients the value to set + * @return this builder + */ + public Builder availableToClients(Boolean availableToClients) { + this.availableToClients = availableToClients; + this.__explicitlySet__.add("availableToClients"); + return this; + } + /** + * If true, this AppRole is available automatically to every Oracle Identity Cloud Service + * User in this tenancy. There is no need to grant it to individual Users or Groups. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("public") + private Boolean isPublic; + + /** + * If true, this AppRole is available automatically to every Oracle Identity Cloud Service + * User in this tenancy. There is no need to grant it to individual Users or Groups. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isPublic the value to set + * @return this builder + */ + public Builder isPublic(Boolean isPublic) { + this.isPublic = isPublic; + this.__explicitlySet__.add("isPublic"); + return this; + } + /** + * AppRole localization name + * + *

*Added In:** 2109090424 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("localizedDisplayName") + private String localizedDisplayName; + + /** + * AppRole localization name + * + *

*Added In:** 2109090424 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param localizedDisplayName the value to set + * @return this builder + */ + public Builder localizedDisplayName(String localizedDisplayName) { + this.localizedDisplayName = localizedDisplayName; + this.__explicitlySet__.add("localizedDisplayName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("app") + private AppRoleApp app; + + public Builder app(AppRoleApp app) { + this.app = app; + this.__explicitlySet__.add("app"); + return this; + } + /** + * AppRole members - when requesting members attribute, it is recommended to use startIndex + * and count to return members in pages instead of in a single response, eg : + * #attributes=members[startIndex=1%26count=10] + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value, type] - + * idcsCsvAttributeNameMappings: [[columnHeaderName:Grantee Name, mapsTo:members.value], + * [columnHeaderName:Grantee Type, mapsTo:members.type]] - idcsSearchable: true - + * multiValued: true - mutability: readOnly - required: false - returned: request - + * idcsPaginateResponse: true - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("members") + private java.util.List members; + + /** + * AppRole members - when requesting members attribute, it is recommended to use startIndex + * and count to return members in pages instead of in a single response, eg : + * #attributes=members[startIndex=1%26count=10] + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value, type] - + * idcsCsvAttributeNameMappings: [[columnHeaderName:Grantee Name, mapsTo:members.value], + * [columnHeaderName:Grantee Type, mapsTo:members.type]] - idcsSearchable: true - + * multiValued: true - mutability: readOnly - required: false - returned: request - + * idcsPaginateResponse: true - type: complex - uniqueness: none + * + * @param members the value to set + * @return this builder + */ + public Builder members(java.util.List members) { + this.members = members; + this.__explicitlySet__.add("members"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppRole build() { + AppRole model = + new AppRole( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.displayName, + this.uniqueName, + this.description, + this.legacyGroupName, + this.adminRole, + this.limitedToOneOrMoreGroups, + this.availableToUsers, + this.availableToGroups, + this.availableToClients, + this.isPublic, + this.localizedDisplayName, + this.app, + this.members); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppRole model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("uniqueName")) { + this.uniqueName(model.getUniqueName()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("legacyGroupName")) { + this.legacyGroupName(model.getLegacyGroupName()); + } + if (model.wasPropertyExplicitlySet("adminRole")) { + this.adminRole(model.getAdminRole()); + } + if (model.wasPropertyExplicitlySet("limitedToOneOrMoreGroups")) { + this.limitedToOneOrMoreGroups(model.getLimitedToOneOrMoreGroups()); + } + if (model.wasPropertyExplicitlySet("availableToUsers")) { + this.availableToUsers(model.getAvailableToUsers()); + } + if (model.wasPropertyExplicitlySet("availableToGroups")) { + this.availableToGroups(model.getAvailableToGroups()); + } + if (model.wasPropertyExplicitlySet("availableToClients")) { + this.availableToClients(model.getAvailableToClients()); + } + if (model.wasPropertyExplicitlySet("isPublic")) { + this.isPublic(model.isPublic()); + } + if (model.wasPropertyExplicitlySet("localizedDisplayName")) { + this.localizedDisplayName(model.getLocalizedDisplayName()); + } + if (model.wasPropertyExplicitlySet("app")) { + this.app(model.getApp()); + } + if (model.wasPropertyExplicitlySet("members")) { + this.members(model.getMembers()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * AppRole name + * + *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - + * idcsCsvAttributeNameMappings: [[columnHeaderName:Entitlement Value]] - idcsSearchable: true - + * multiValued: false - mutability: immutable - required: true - returned: always - type: string + * - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * AppRole name + * + *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - + * idcsCsvAttributeNameMappings: [[columnHeaderName:Entitlement Value]] - idcsSearchable: true - + * multiValued: false - mutability: immutable - required: true - returned: always - type: string + * - uniqueness: none + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * AppRole unique name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: always - type: string - uniqueness: server + */ + @com.fasterxml.jackson.annotation.JsonProperty("uniqueName") + private final String uniqueName; + + /** + * AppRole unique name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: always - type: string - uniqueness: server + * + * @return the value + */ + public String getUniqueName() { + return uniqueName; + } + + /** + * AppRole description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * AppRole description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** + * The name of the legacy group associated with this AppRole. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("legacyGroupName") + private final String legacyGroupName; + + /** + * The name of the legacy group associated with this AppRole. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * server + * + * @return the value + */ + public String getLegacyGroupName() { + return legacyGroupName; + } + + /** + * If true, the role provides administrative access privileges. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("adminRole") + private final Boolean adminRole; + + /** + * If true, the role provides administrative access privileges. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAdminRole() { + return adminRole; + } + + /** + * If true, indicates that this Oracle Identity Cloud Service AppRole can be granted to a + * delegated administrator whose scope is limited to users that are members of one or more + * groups. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("limitedToOneOrMoreGroups") + private final Boolean limitedToOneOrMoreGroups; + + /** + * If true, indicates that this Oracle Identity Cloud Service AppRole can be granted to a + * delegated administrator whose scope is limited to users that are members of one or more + * groups. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getLimitedToOneOrMoreGroups() { + return limitedToOneOrMoreGroups; + } + + /** + * If true, this AppRole can be granted to Users. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("availableToUsers") + private final Boolean availableToUsers; + + /** + * If true, this AppRole can be granted to Users. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAvailableToUsers() { + return availableToUsers; + } + + /** + * If true, this AppRole can be granted to Groups. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("availableToGroups") + private final Boolean availableToGroups; + + /** + * If true, this AppRole can be granted to Groups. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAvailableToGroups() { + return availableToGroups; + } + + /** + * If true, this AppRole can be granted to Apps. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("availableToClients") + private final Boolean availableToClients; + + /** + * If true, this AppRole can be granted to Apps. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAvailableToClients() { + return availableToClients; + } + + /** + * If true, this AppRole is available automatically to every Oracle Identity Cloud Service User + * in this tenancy. There is no need to grant it to individual Users or Groups. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("public") + private final Boolean isPublic; + + /** + * If true, this AppRole is available automatically to every Oracle Identity Cloud Service User + * in this tenancy. There is no need to grant it to individual Users or Groups. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean isPublic() { + return isPublic; + } + + /** + * AppRole localization name + * + *

*Added In:** 2109090424 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("localizedDisplayName") + private final String localizedDisplayName; + + /** + * AppRole localization name + * + *

*Added In:** 2109090424 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getLocalizedDisplayName() { + return localizedDisplayName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("app") + private final AppRoleApp app; + + public AppRoleApp getApp() { + return app; + } + + /** + * AppRole members - when requesting members attribute, it is recommended to use startIndex and + * count to return members in pages instead of in a single response, eg : + * #attributes=members[startIndex=1%26count=10] + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value, type] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Grantee Name, mapsTo:members.value], [columnHeaderName:Grantee Type, + * mapsTo:members.type]] - idcsSearchable: true - multiValued: true - mutability: readOnly - + * required: false - returned: request - idcsPaginateResponse: true - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("members") + private final java.util.List members; + + /** + * AppRole members - when requesting members attribute, it is recommended to use startIndex and + * count to return members in pages instead of in a single response, eg : + * #attributes=members[startIndex=1%26count=10] + * + *

*SCIM++ Properties:** - idcsCompositeKey: [value, type] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Grantee Name, mapsTo:members.value], [columnHeaderName:Grantee Type, + * mapsTo:members.type]] - idcsSearchable: true - multiValued: true - mutability: readOnly - + * required: false - returned: request - idcsPaginateResponse: true - type: complex - + * uniqueness: none + * + * @return the value + */ + public java.util.List getMembers() { + return members; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppRole("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", uniqueName=").append(String.valueOf(this.uniqueName)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", legacyGroupName=").append(String.valueOf(this.legacyGroupName)); + sb.append(", adminRole=").append(String.valueOf(this.adminRole)); + sb.append(", limitedToOneOrMoreGroups=") + .append(String.valueOf(this.limitedToOneOrMoreGroups)); + sb.append(", availableToUsers=").append(String.valueOf(this.availableToUsers)); + sb.append(", availableToGroups=").append(String.valueOf(this.availableToGroups)); + sb.append(", availableToClients=").append(String.valueOf(this.availableToClients)); + sb.append(", isPublic=").append(String.valueOf(this.isPublic)); + sb.append(", localizedDisplayName=").append(String.valueOf(this.localizedDisplayName)); + sb.append(", app=").append(String.valueOf(this.app)); + sb.append(", members=").append(String.valueOf(this.members)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppRole)) { + return false; + } + + AppRole other = (AppRole) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.uniqueName, other.uniqueName) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.legacyGroupName, other.legacyGroupName) + && java.util.Objects.equals(this.adminRole, other.adminRole) + && java.util.Objects.equals( + this.limitedToOneOrMoreGroups, other.limitedToOneOrMoreGroups) + && java.util.Objects.equals(this.availableToUsers, other.availableToUsers) + && java.util.Objects.equals(this.availableToGroups, other.availableToGroups) + && java.util.Objects.equals(this.availableToClients, other.availableToClients) + && java.util.Objects.equals(this.isPublic, other.isPublic) + && java.util.Objects.equals(this.localizedDisplayName, other.localizedDisplayName) + && java.util.Objects.equals(this.app, other.app) + && java.util.Objects.equals(this.members, other.members) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.uniqueName == null ? 43 : this.uniqueName.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = + (result * PRIME) + + (this.legacyGroupName == null ? 43 : this.legacyGroupName.hashCode()); + result = (result * PRIME) + (this.adminRole == null ? 43 : this.adminRole.hashCode()); + result = + (result * PRIME) + + (this.limitedToOneOrMoreGroups == null + ? 43 + : this.limitedToOneOrMoreGroups.hashCode()); + result = + (result * PRIME) + + (this.availableToUsers == null ? 43 : this.availableToUsers.hashCode()); + result = + (result * PRIME) + + (this.availableToGroups == null ? 43 : this.availableToGroups.hashCode()); + result = + (result * PRIME) + + (this.availableToClients == null + ? 43 + : this.availableToClients.hashCode()); + result = (result * PRIME) + (this.isPublic == null ? 43 : this.isPublic.hashCode()); + result = + (result * PRIME) + + (this.localizedDisplayName == null + ? 43 + : this.localizedDisplayName.hashCode()); + result = (result * PRIME) + (this.app == null ? 43 : this.app.hashCode()); + result = (result * PRIME) + (this.members == null ? 43 : this.members.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoleApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoleApp.java new file mode 100644 index 00000000000..fc125eff4d2 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoleApp.java @@ -0,0 +1,387 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A unique identifier for the application that references this role. + * + *

*SCIM++ Properties:** - idcsSearchable: true - idcsCsvAttributeNameMappings: + * [[columnHeaderName:App Name, mapsTo:app.display]] - multiValued: false - mutability: immutable - + * required: true - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppRoleApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppRoleApp extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "value", + "ref", + "display", + "name", + "serviceInstanceIdentifier" + }) + public AppRoleApp( + String value, + String ref, + String display, + String name, + String serviceInstanceIdentifier) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + this.name = name; + this.serviceInstanceIdentifier = serviceInstanceIdentifier; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * App identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * App identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * App URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * App URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * App display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * App display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: always - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * Application name + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Application name + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * The serviceInstanceIdentifier of the App that defines this AppRole. This value will match + * the opcServiceInstanceGUID of any service-instance that the App represents. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceInstanceIdentifier") + private String serviceInstanceIdentifier; + + /** + * The serviceInstanceIdentifier of the App that defines this AppRole. This value will match + * the opcServiceInstanceGUID of any service-instance that the App represents. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param serviceInstanceIdentifier the value to set + * @return this builder + */ + public Builder serviceInstanceIdentifier(String serviceInstanceIdentifier) { + this.serviceInstanceIdentifier = serviceInstanceIdentifier; + this.__explicitlySet__.add("serviceInstanceIdentifier"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppRoleApp build() { + AppRoleApp model = + new AppRoleApp( + this.value, + this.ref, + this.display, + this.name, + this.serviceInstanceIdentifier); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppRoleApp model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("serviceInstanceIdentifier")) { + this.serviceInstanceIdentifier(model.getServiceInstanceIdentifier()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * App identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * App identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * App URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * App URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * App display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * App display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * Application name + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Application name + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * The serviceInstanceIdentifier of the App that defines this AppRole. This value will match the + * opcServiceInstanceGUID of any service-instance that the App represents. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceInstanceIdentifier") + private final String serviceInstanceIdentifier; + + /** + * The serviceInstanceIdentifier of the App that defines this AppRole. This value will match the + * opcServiceInstanceGUID of any service-instance that the App represents. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getServiceInstanceIdentifier() { + return serviceInstanceIdentifier; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppRoleApp("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", name=").append(String.valueOf(this.name)); + sb.append(", serviceInstanceIdentifier=") + .append(String.valueOf(this.serviceInstanceIdentifier)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppRoleApp)) { + return false; + } + + AppRoleApp other = (AppRoleApp) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals( + this.serviceInstanceIdentifier, other.serviceInstanceIdentifier) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = + (result * PRIME) + + (this.serviceInstanceIdentifier == null + ? 43 + : this.serviceInstanceIdentifier.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoleMembers.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoleMembers.java new file mode 100644 index 00000000000..32d47b63260 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoleMembers.java @@ -0,0 +1,364 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * AppRole members - when requesting members attribute, it is recommended to use startIndex and + * count to return members in pages instead of in a single response, eg : + * #attributes=members[startIndex=1%26count=10]
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppRoleMembers.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppRoleMembers + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display", "type"}) + public AppRoleMembers(String value, String ref, String display, Type type) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + this.type = type; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * ID of the member of this AppRole + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member - + * idcsSearchable: true - multiValued: false - mutability: readWrite - required: true - + * returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * ID of the member of this AppRole + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member - + * idcsSearchable: true - multiValued: false - mutability: readWrite - required: true - + * returned: always - type: string - uniqueness: none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * The URI corresponding to the member Resource of this Group + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * The URI corresponding to the member Resource of this Group + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Member display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Member display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * Indicates the type of Resource--for example, User, Group or DynamicResourceGroup + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member Type - + * idcsDefaultValue: User - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * Indicates the type of Resource--for example, User, Group or DynamicResourceGroup + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member Type - + * idcsDefaultValue: User - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @param type the value to set + * @return this builder + */ + public Builder type(Type type) { + this.type = type; + this.__explicitlySet__.add("type"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppRoleMembers build() { + AppRoleMembers model = + new AppRoleMembers(this.value, this.ref, this.display, this.type); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppRoleMembers model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("type")) { + this.type(model.getType()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * ID of the member of this AppRole + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member - idcsSearchable: + * true - multiValued: false - mutability: readWrite - required: true - returned: always - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * ID of the member of this AppRole + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member - idcsSearchable: + * true - multiValued: false - mutability: readWrite - required: true - returned: always - type: + * string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * The URI corresponding to the member Resource of this Group + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * The URI corresponding to the member Resource of this Group + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Member display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Member display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * Indicates the type of Resource--for example, User, Group or DynamicResourceGroup + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member Type - + * idcsDefaultValue: User - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + User("User"), + Group("Group"), + DynamicResourceGroup("DynamicResourceGroup"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; + /** + * Indicates the type of Resource--for example, User, Group or DynamicResourceGroup + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member Type - + * idcsDefaultValue: User - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * Indicates the type of Resource--for example, User, Group or DynamicResourceGroup + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member Type - + * idcsDefaultValue: User - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public Type getType() { + return type; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppRoleMembers("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", type=").append(String.valueOf(this.type)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppRoleMembers)) { + return false; + } + + AppRoleMembers other = (AppRoleMembers) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.type, other.type) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoleSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoleSearchRequest.java new file mode 100644 index 00000000000..82a379d501a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoleSearchRequest.java @@ -0,0 +1,538 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Clients MAY execute queries without passing parameters on the URL by using the HTTP POST verb + * combined with the **.search** path extension. The inclusion of **.search** on the end of a valid + * SCIM endpoint SHALL be used to indicate the HTTP POST verb is intended to be a query operation. + * To create a new query result set, a SCIM client sends an HTTP POST request to the desired SCIM + * resource endpoint (ending in **.search**). The body of the POST request MAY include any of the + * parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppRoleSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppRoleSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "attributes", + "attributeSets", + "filter", + "sortBy", + "sortOrder", + "startIndex", + "count" + }) + public AppRoleSearchRequest( + java.util.List schemas, + java.util.List attributes, + java.util.List attributeSets, + String filter, + String sortBy, + SortOrder sortOrder, + Integer startIndex, + Integer count) { + super(); + this.schemas = schemas; + this.attributes = attributes; + this.attributeSets = attributeSets; + this.filter = filter; + this.sortBy = sortBy; + this.sortOrder = sortOrder; + this.startIndex = startIndex; + this.count = count; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @param attributes the value to set + * @return this builder + */ + public Builder attributes(java.util.List attributes) { + this.attributes = attributes; + this.__explicitlySet__.add("attributes"); + return this; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + * + * @param attributeSets the value to set + * @return this builder + */ + public Builder attributeSets(java.util.List attributeSets) { + this.attributeSets = attributeSets; + this.__explicitlySet__.add("attributeSets"); + return this; + } + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @param filter the value to set + * @return this builder + */ + public Builder filter(String filter) { + this.filter = filter; + this.__explicitlySet__.add("filter"); + return this; + } + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + * + * @param sortBy the value to set + * @return this builder + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + this.__explicitlySet__.add("sortBy"); + return this; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder + */ + public Builder sortOrder(SortOrder sortOrder) { + this.sortOrder = sortOrder; + this.__explicitlySet__.add("sortOrder"); + return this; + } + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @param count the value to set + * @return this builder + */ + public Builder count(Integer count) { + this.count = count; + this.__explicitlySet__.add("count"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppRoleSearchRequest build() { + AppRoleSearchRequest model = + new AppRoleSearchRequest( + this.schemas, + this.attributes, + this.attributeSets, + this.filter, + this.sortBy, + this.sortOrder, + this.startIndex, + this.count); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppRoleSearchRequest model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("attributes")) { + this.attributes(model.getAttributes()); + } + if (model.wasPropertyExplicitlySet("attributeSets")) { + this.attributeSets(model.getAttributeSets()); + } + if (model.wasPropertyExplicitlySet("filter")) { + this.filter(model.getFilter()); + } + if (model.wasPropertyExplicitlySet("sortBy")) { + this.sortBy(model.getSortBy()); + } + if (model.wasPropertyExplicitlySet("sortOrder")) { + this.sortOrder(model.getSortOrder()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("count")) { + this.count(model.getCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private final java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private final java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private final String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @return the value + */ + public String getFilter() { + return filter; + } + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private final String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + * + * @return the value + */ + public String getSortBy() { + return sortBy; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private final SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @return the value + */ + public SortOrder getSortOrder() { + return sortOrder; + } + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private final Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @return the value + */ + public Integer getCount() { + return count; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppRoleSearchRequest("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", attributes=").append(String.valueOf(this.attributes)); + sb.append(", attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(", filter=").append(String.valueOf(this.filter)); + sb.append(", sortBy=").append(String.valueOf(this.sortBy)); + sb.append(", sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", count=").append(String.valueOf(this.count)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppRoleSearchRequest)) { + return false; + } + + AppRoleSearchRequest other = (AppRoleSearchRequest) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoles.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoles.java new file mode 100644 index 00000000000..f7e4cc1e3fd --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppRoles.java @@ -0,0 +1,356 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppRoles.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppRoles extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public AppRoles( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppRoles build() { + AppRoles model = + new AppRoles( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppRoles model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppRoles("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppRoles)) { + return false; + } + + AppRoles other = (AppRoles) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppSamlServiceProvider.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppSamlServiceProvider.java new file mode 100644 index 00000000000..c3fc312ab03 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppSamlServiceProvider.java @@ -0,0 +1,208 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * An attribute that refers to the SAML Service Provider that runtime services will use to log an + * end user in to this App automatically. Note that this will be used only if the loginMechanism is + * 'SAML'. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppSamlServiceProvider.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppSamlServiceProvider + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public AppSamlServiceProvider(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The id of the App that acts as a Service Provider. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * The id of the App that acts as a Service Provider. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * The URI of the App that acts as a Service Provider. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * The URI of the App that acts as a Service Provider. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppSamlServiceProvider build() { + AppSamlServiceProvider model = new AppSamlServiceProvider(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppSamlServiceProvider model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The id of the App that acts as a Service Provider. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * The id of the App that acts as a Service Provider. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * The URI of the App that acts as a Service Provider. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * The URI of the App that acts as a Service Provider. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppSamlServiceProvider("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppSamlServiceProvider)) { + return false; + } + + AppSamlServiceProvider other = (AppSamlServiceProvider) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppScopes.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppScopes.java new file mode 100644 index 00000000000..4304d2b457b --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppScopes.java @@ -0,0 +1,467 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Scopes defined by this App. Used when this App acts as an OAuth Resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppScopes.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppScopes extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "value", + "fqs", + "description", + "displayName", + "requiresConsent", + "readOnly" + }) + public AppScopes( + String value, + String fqs, + String description, + String displayName, + Boolean requiresConsent, + Boolean readOnly) { + super(); + this.value = value; + this.fqs = fqs; + this.description = description; + this.displayName = displayName; + this.requiresConsent = requiresConsent; + this.readOnly = readOnly; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * OAuth scope. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * OAuth scope. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * The fully qualified value of this scope within this App. A fully qualified scope combines + * the 'value' of each scope with the value of 'audience'. Each value of 'fqs' must be + * unique across the system. Used only when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("fqs") + private String fqs; + + /** + * The fully qualified value of this scope within this App. A fully qualified scope combines + * the 'value' of each scope with the value of 'audience'. Each value of 'fqs' must be + * unique across the system. Used only when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * server + * + * @param fqs the value to set + * @return this builder + */ + public Builder fqs(String fqs) { + this.fqs = fqs; + this.__explicitlySet__.add("fqs"); + return this; + } + /** + * OAuth scope description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * OAuth scope description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + /** + * OAuth scope display name + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * OAuth scope display name + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * If true, indicates that a user must provide consent to access this scope. Note: Used only + * when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("requiresConsent") + private Boolean requiresConsent; + + /** + * If true, indicates that a user must provide consent to access this scope. Note: Used only + * when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param requiresConsent the value to set + * @return this builder + */ + public Builder requiresConsent(Boolean requiresConsent) { + this.requiresConsent = requiresConsent; + this.__explicitlySet__.add("requiresConsent"); + return this; + } + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + private Boolean readOnly; + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: boolean - uniqueness: none + * + * @param readOnly the value to set + * @return this builder + */ + public Builder readOnly(Boolean readOnly) { + this.readOnly = readOnly; + this.__explicitlySet__.add("readOnly"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppScopes build() { + AppScopes model = + new AppScopes( + this.value, + this.fqs, + this.description, + this.displayName, + this.requiresConsent, + this.readOnly); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppScopes model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("fqs")) { + this.fqs(model.getFqs()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("requiresConsent")) { + this.requiresConsent(model.getRequiresConsent()); + } + if (model.wasPropertyExplicitlySet("readOnly")) { + this.readOnly(model.getReadOnly()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * OAuth scope. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * OAuth scope. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * The fully qualified value of this scope within this App. A fully qualified scope combines the + * 'value' of each scope with the value of 'audience'. Each value of 'fqs' must be unique across + * the system. Used only when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("fqs") + private final String fqs; + + /** + * The fully qualified value of this scope within this App. A fully qualified scope combines the + * 'value' of each scope with the value of 'audience'. Each value of 'fqs' must be unique across + * the system. Used only when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * server + * + * @return the value + */ + public String getFqs() { + return fqs; + } + + /** + * OAuth scope description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * OAuth scope description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** + * OAuth scope display name + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * OAuth scope display name + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * If true, indicates that a user must provide consent to access this scope. Note: Used only + * when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("requiresConsent") + private final Boolean requiresConsent; + + /** + * If true, indicates that a user must provide consent to access this scope. Note: Used only + * when this App acts as an OAuth Resource. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getRequiresConsent() { + return requiresConsent; + } + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("readOnly") + private final Boolean readOnly; + + /** + * If true, indicates that this value must be protected. + * + *

*Added In:** 18.2.2 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getReadOnly() { + return readOnly; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppScopes("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", fqs=").append(String.valueOf(this.fqs)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", requiresConsent=").append(String.valueOf(this.requiresConsent)); + sb.append(", readOnly=").append(String.valueOf(this.readOnly)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppScopes)) { + return false; + } + + AppScopes other = (AppScopes) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.fqs, other.fqs) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.requiresConsent, other.requiresConsent) + && java.util.Objects.equals(this.readOnly, other.readOnly) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.fqs == null ? 43 : this.fqs.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = + (result * PRIME) + + (this.requiresConsent == null ? 43 : this.requiresConsent.hashCode()); + result = (result * PRIME) + (this.readOnly == null ? 43 : this.readOnly.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppSearchRequest.java new file mode 100644 index 00000000000..fca00decd3c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppSearchRequest.java @@ -0,0 +1,537 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Clients MAY execute queries without passing parameters on the URL by using the HTTP POST verb + * combined with the **.search** path extension. The inclusion of **.search** on the end of a valid + * SCIM endpoint SHALL be used to indicate the HTTP POST verb is intended to be a query operation. + * To create a new query result set, a SCIM client sends an HTTP POST request to the desired SCIM + * resource endpoint (ending in **.search**). The body of the POST request MAY include any of the + * parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "attributes", + "attributeSets", + "filter", + "sortBy", + "sortOrder", + "startIndex", + "count" + }) + public AppSearchRequest( + java.util.List schemas, + java.util.List attributes, + java.util.List attributeSets, + String filter, + String sortBy, + SortOrder sortOrder, + Integer startIndex, + Integer count) { + super(); + this.schemas = schemas; + this.attributes = attributes; + this.attributeSets = attributeSets; + this.filter = filter; + this.sortBy = sortBy; + this.sortOrder = sortOrder; + this.startIndex = startIndex; + this.count = count; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @param attributes the value to set + * @return this builder + */ + public Builder attributes(java.util.List attributes) { + this.attributes = attributes; + this.__explicitlySet__.add("attributes"); + return this; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + * + * @param attributeSets the value to set + * @return this builder + */ + public Builder attributeSets(java.util.List attributeSets) { + this.attributeSets = attributeSets; + this.__explicitlySet__.add("attributeSets"); + return this; + } + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @param filter the value to set + * @return this builder + */ + public Builder filter(String filter) { + this.filter = filter; + this.__explicitlySet__.add("filter"); + return this; + } + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + * + * @param sortBy the value to set + * @return this builder + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + this.__explicitlySet__.add("sortBy"); + return this; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder + */ + public Builder sortOrder(SortOrder sortOrder) { + this.sortOrder = sortOrder; + this.__explicitlySet__.add("sortOrder"); + return this; + } + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @param count the value to set + * @return this builder + */ + public Builder count(Integer count) { + this.count = count; + this.__explicitlySet__.add("count"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppSearchRequest build() { + AppSearchRequest model = + new AppSearchRequest( + this.schemas, + this.attributes, + this.attributeSets, + this.filter, + this.sortBy, + this.sortOrder, + this.startIndex, + this.count); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppSearchRequest model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("attributes")) { + this.attributes(model.getAttributes()); + } + if (model.wasPropertyExplicitlySet("attributeSets")) { + this.attributeSets(model.getAttributeSets()); + } + if (model.wasPropertyExplicitlySet("filter")) { + this.filter(model.getFilter()); + } + if (model.wasPropertyExplicitlySet("sortBy")) { + this.sortBy(model.getSortBy()); + } + if (model.wasPropertyExplicitlySet("sortOrder")) { + this.sortOrder(model.getSortOrder()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("count")) { + this.count(model.getCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private final java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private final java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private final String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @return the value + */ + public String getFilter() { + return filter; + } + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private final String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + * + * @return the value + */ + public String getSortBy() { + return sortBy; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private final SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @return the value + */ + public SortOrder getSortOrder() { + return sortOrder; + } + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private final Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @return the value + */ + public Integer getCount() { + return count; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppSearchRequest("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", attributes=").append(String.valueOf(this.attributes)); + sb.append(", attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(", filter=").append(String.valueOf(this.filter)); + sb.append(", sortBy=").append(String.valueOf(this.sortBy)); + sb.append(", sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", count=").append(String.valueOf(this.count)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppSearchRequest)) { + return false; + } + + AppSearchRequest other = (AppSearchRequest) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppServiceParams.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppServiceParams.java new file mode 100644 index 00000000000..ae990ffb53e --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppServiceParams.java @@ -0,0 +1,200 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Custom attribute that is required to compute other attribute values during app creation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppServiceParams.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppServiceParams + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"name", "value"}) + public AppServiceParams(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The name of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * The name of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * The value of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * The value of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppServiceParams build() { + AppServiceParams model = new AppServiceParams(this.name, this.value); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppServiceParams model) { + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The name of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * The name of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * The value of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * The value of the attribute. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppServiceParams("); + sb.append("super=").append(super.toString()); + sb.append("name=").append(String.valueOf(this.name)); + sb.append(", value=").append(String.valueOf(this.value)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppServiceParams)) { + return false; + } + + AppServiceParams other = (AppServiceParams) o; + return java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.value, other.value) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppSignonPolicy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppSignonPolicy.java new file mode 100644 index 00000000000..3f5e3454d22 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppSignonPolicy.java @@ -0,0 +1,223 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Sign-on Policy. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppSignonPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppSignonPolicy + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public AppSignonPolicy(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Identifier of the Policy. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Identifier of the Policy. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the policy. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the policy. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppSignonPolicy build() { + AppSignonPolicy model = new AppSignonPolicy(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppSignonPolicy model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Identifier of the Policy. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Identifier of the Policy. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the policy. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the policy. + * + *

*Deprecated Since: 17.3.4** + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppSignonPolicy("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppSignonPolicy)) { + return false; + } + + AppSignonPolicy other = (AppSignonPolicy) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppStatusChanger.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppStatusChanger.java new file mode 100644 index 00000000000..fb08fb15bf3 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppStatusChanger.java @@ -0,0 +1,873 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Schema for AppStatusChanger resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppStatusChanger.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppStatusChanger + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "active" + }) + public AppStatusChanger( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + Boolean active) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.active = active; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * Application status + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: true - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private Boolean active; + + /** + * Application status + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: true - returned: default - type: boolean - uniqueness: none + * + * @param active the value to set + * @return this builder + */ + public Builder active(Boolean active) { + this.active = active; + this.__explicitlySet__.add("active"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppStatusChanger build() { + AppStatusChanger model = + new AppStatusChanger( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.active); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppStatusChanger model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("active")) { + this.active(model.getActive()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * Application status + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: true - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private final Boolean active; + + /** + * Application status + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: true - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getActive() { + return active; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppStatusChanger("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", active=").append(String.valueOf(this.active)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppStatusChanger)) { + return false; + } + + AppStatusChanger other = (AppStatusChanger) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.active, other.active) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = (result * PRIME) + (this.active == null ? 43 : this.active.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppTermsOfUse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppTermsOfUse.java new file mode 100644 index 00000000000..4d587725519 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppTermsOfUse.java @@ -0,0 +1,283 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Terms Of Use. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppTermsOfUse.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppTermsOfUse extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "name"}) + public AppTermsOfUse(String value, String ref, String name) { + super(); + this.value = value; + this.ref = ref; + this.name = name; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Identifier of the TermsOfUse + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Identifier of the TermsOfUse + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the TermsOfUse. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the TermsOfUse. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Terms Of Use name + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Terms Of Use name + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppTermsOfUse build() { + AppTermsOfUse model = new AppTermsOfUse(this.value, this.ref, this.name); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppTermsOfUse model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Identifier of the TermsOfUse + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Identifier of the TermsOfUse + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the TermsOfUse. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the TermsOfUse. + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Terms Of Use name + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Terms Of Use name + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppTermsOfUse("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", name=").append(String.valueOf(this.name)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppTermsOfUse)) { + return false; + } + + AppTermsOfUse other = (AppTermsOfUse) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.name, other.name) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppThreeLeggedOAuthCredential.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppThreeLeggedOAuthCredential.java new file mode 100644 index 00000000000..04de85fa32f --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppThreeLeggedOAuthCredential.java @@ -0,0 +1,276 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The value of this attribute persists any OAuth access token that the system uses to connect to + * this ManagedApp. The system obtains this access token using an OAuth protocol flow that could be + * two-legged or three-legged. A two-legged flow involves only the requester and the server. A + * three-legged flow also requires the consent of a user -- in this case the consent of an + * administrator. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: complex
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppThreeLeggedOAuthCredential.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppThreeLeggedOAuthCredential + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"accessToken", "refreshToken", "accessTokenExpiry"}) + public AppThreeLeggedOAuthCredential( + String accessToken, String refreshToken, String accessTokenExpiry) { + super(); + this.accessToken = accessToken; + this.refreshToken = refreshToken; + this.accessTokenExpiry = accessTokenExpiry; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Access Token + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - idcsSensitive: + * encrypt - multiValued: false - mutability: readWrite - required: false - returned: + * default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accessToken") + private String accessToken; + + /** + * Access Token + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - idcsSensitive: + * encrypt - multiValued: false - mutability: readWrite - required: false - returned: + * default - type: string - uniqueness: none + * + * @param accessToken the value to set + * @return this builder + */ + public Builder accessToken(String accessToken) { + this.accessToken = accessToken; + this.__explicitlySet__.add("accessToken"); + return this; + } + /** + * Refresh Token + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsSensitive: + * encrypt - multiValued: false - mutability: readWrite - required: false - returned: + * default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("refreshToken") + private String refreshToken; + + /** + * Refresh Token + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsSensitive: + * encrypt - multiValued: false - mutability: readWrite - required: false - returned: + * default - type: string - uniqueness: none + * + * @param refreshToken the value to set + * @return this builder + */ + public Builder refreshToken(String refreshToken) { + this.refreshToken = refreshToken; + this.__explicitlySet__.add("refreshToken"); + return this; + } + /** + * Access token expiry + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: dateTime - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accessTokenExpiry") + private String accessTokenExpiry; + + /** + * Access token expiry + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: dateTime - + * uniqueness: none + * + * @param accessTokenExpiry the value to set + * @return this builder + */ + public Builder accessTokenExpiry(String accessTokenExpiry) { + this.accessTokenExpiry = accessTokenExpiry; + this.__explicitlySet__.add("accessTokenExpiry"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppThreeLeggedOAuthCredential build() { + AppThreeLeggedOAuthCredential model = + new AppThreeLeggedOAuthCredential( + this.accessToken, this.refreshToken, this.accessTokenExpiry); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppThreeLeggedOAuthCredential model) { + if (model.wasPropertyExplicitlySet("accessToken")) { + this.accessToken(model.getAccessToken()); + } + if (model.wasPropertyExplicitlySet("refreshToken")) { + this.refreshToken(model.getRefreshToken()); + } + if (model.wasPropertyExplicitlySet("accessTokenExpiry")) { + this.accessTokenExpiry(model.getAccessTokenExpiry()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Access Token + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - idcsSensitive: encrypt - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accessToken") + private final String accessToken; + + /** + * Access Token + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - idcsSensitive: encrypt - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + * + * @return the value + */ + public String getAccessToken() { + return accessToken; + } + + /** + * Refresh Token + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsSensitive: encrypt - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("refreshToken") + private final String refreshToken; + + /** + * Refresh Token + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsSensitive: encrypt - + * multiValued: false - mutability: readWrite - required: false - returned: default - type: + * string - uniqueness: none + * + * @return the value + */ + public String getRefreshToken() { + return refreshToken; + } + + /** + * Access token expiry + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accessTokenExpiry") + private final String accessTokenExpiry; + + /** + * Access token expiry + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: dateTime - uniqueness: + * none + * + * @return the value + */ + public String getAccessTokenExpiry() { + return accessTokenExpiry; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppThreeLeggedOAuthCredential("); + sb.append("super=").append(super.toString()); + sb.append("accessToken=").append(String.valueOf(this.accessToken)); + sb.append(", refreshToken=").append(String.valueOf(this.refreshToken)); + sb.append(", accessTokenExpiry=").append(String.valueOf(this.accessTokenExpiry)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppThreeLeggedOAuthCredential)) { + return false; + } + + AppThreeLeggedOAuthCredential other = (AppThreeLeggedOAuthCredential) o; + return java.util.Objects.equals(this.accessToken, other.accessToken) + && java.util.Objects.equals(this.refreshToken, other.refreshToken) + && java.util.Objects.equals(this.accessTokenExpiry, other.accessTokenExpiry) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.accessToken == null ? 43 : this.accessToken.hashCode()); + result = (result * PRIME) + (this.refreshToken == null ? 43 : this.refreshToken.hashCode()); + result = + (result * PRIME) + + (this.accessTokenExpiry == null ? 43 : this.accessTokenExpiry.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppTrustPolicies.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppTrustPolicies.java new file mode 100644 index 00000000000..2f85cba1d37 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppTrustPolicies.java @@ -0,0 +1,202 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Trust Policies.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppTrustPolicies.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppTrustPolicies + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public AppTrustPolicies(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Identifier of the Policy. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Identifier of the Policy. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the policy. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the policy. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppTrustPolicies build() { + AppTrustPolicies model = new AppTrustPolicies(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppTrustPolicies model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Identifier of the Policy. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Identifier of the Policy. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the policy. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the policy. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppTrustPolicies("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppTrustPolicies)) { + return false; + } + + AppTrustPolicies other = (AppTrustPolicies) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppUserAssertionAttributes.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppUserAssertionAttributes.java new file mode 100644 index 00000000000..594d27137b0 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppUserAssertionAttributes.java @@ -0,0 +1,320 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Each value of this attribute describes an attribute of User that will be sent in a Security + * Assertion Markup Language (SAML) assertion. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [name] - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: true - mutability: readWrite - required: + * false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AppUserAssertionAttributes.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppUserAssertionAttributes + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"name", "userStoreAttributeName", "format"}) + public AppUserAssertionAttributes(String name, String userStoreAttributeName, String format) { + super(); + this.name = name; + this.userStoreAttributeName = userStoreAttributeName; + this.format = format; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The attribute represents the name of the attribute that will be used in the Security + * Assertion Markup Language (SAML) assertion + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * The attribute represents the name of the attribute that will be used in the Security + * Assertion Markup Language (SAML) assertion + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * This attribute specifies which user attribute should be used to create the value of the + * SAML assertion attribute. The userstore attribute can be constructed by using attributes + * from the Oracle Identity Cloud Service Core Users schema.
+ * Note: Attributes from extensions to the Core User schema are not supported in + * v1.0. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userStoreAttributeName") + private String userStoreAttributeName; + + /** + * This attribute specifies which user attribute should be used to create the value of the + * SAML assertion attribute. The userstore attribute can be constructed by using attributes + * from the Oracle Identity Cloud Service Core Users schema.
+ * Note: Attributes from extensions to the Core User schema are not supported in + * v1.0. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + * + * @param userStoreAttributeName the value to set + * @return this builder + */ + public Builder userStoreAttributeName(String userStoreAttributeName) { + this.userStoreAttributeName = userStoreAttributeName; + this.__explicitlySet__.add("userStoreAttributeName"); + return this; + } + /** + * Indicates the format of the assertion attribute. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("format") + private String format; + + /** + * Indicates the format of the assertion attribute. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + * + * @param format the value to set + * @return this builder + */ + public Builder format(String format) { + this.format = format; + this.__explicitlySet__.add("format"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppUserAssertionAttributes build() { + AppUserAssertionAttributes model = + new AppUserAssertionAttributes( + this.name, this.userStoreAttributeName, this.format); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppUserAssertionAttributes model) { + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("userStoreAttributeName")) { + this.userStoreAttributeName(model.getUserStoreAttributeName()); + } + if (model.wasPropertyExplicitlySet("format")) { + this.format(model.getFormat()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The attribute represents the name of the attribute that will be used in the Security + * Assertion Markup Language (SAML) assertion + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * The attribute represents the name of the attribute that will be used in the Security + * Assertion Markup Language (SAML) assertion + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * This attribute specifies which user attribute should be used to create the value of the SAML + * assertion attribute. The userstore attribute can be constructed by using attributes from the + * Oracle Identity Cloud Service Core Users schema.
+ * Note: Attributes from extensions to the Core User schema are not supported in v1.0. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userStoreAttributeName") + private final String userStoreAttributeName; + + /** + * This attribute specifies which user attribute should be used to create the value of the SAML + * assertion attribute. The userstore attribute can be constructed by using attributes from the + * Oracle Identity Cloud Service Core Users schema.
+ * Note: Attributes from extensions to the Core User schema are not supported in v1.0. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getUserStoreAttributeName() { + return userStoreAttributeName; + } + + /** + * Indicates the format of the assertion attribute. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("format") + private final String format; + + /** + * Indicates the format of the assertion attribute. + * + *

*Deprecated Since: 18.2.2** + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - + * idcsValuePersistedInOtherAttribute: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getFormat() { + return format; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppUserAssertionAttributes("); + sb.append("super=").append(super.toString()); + sb.append("name=").append(String.valueOf(this.name)); + sb.append(", userStoreAttributeName=").append(String.valueOf(this.userStoreAttributeName)); + sb.append(", format=").append(String.valueOf(this.format)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppUserAssertionAttributes)) { + return false; + } + + AppUserAssertionAttributes other = (AppUserAssertionAttributes) o; + return java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals( + this.userStoreAttributeName, other.userStoreAttributeName) + && java.util.Objects.equals(this.format, other.format) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = + (result * PRIME) + + (this.userStoreAttributeName == null + ? 43 + : this.userStoreAttributeName.hashCode()); + result = (result * PRIME) + (this.format == null ? 43 : this.format.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppUserRoles.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppUserRoles.java new file mode 100644 index 00000000000..f6dcaf8df18 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AppUserRoles.java @@ -0,0 +1,303 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A list of AppRoles defined by this UnmanagedApp. Membership in each of these AppRoles confers + * end-user privilege within this App.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AppUserRoles.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AppUserRoles extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display", "description"}) + public AppUserRoles(String value, String ref, String display, String description) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + this.description = description; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * ID of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * ID of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: true - returned: default - type: string - uniqueness: none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * URI of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * URI of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Display-name of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Display-name of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * The description of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * The description of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AppUserRoles build() { + AppUserRoles model = + new AppUserRoles(this.value, this.ref, this.display, this.description); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AppUserRoles model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * ID of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * ID of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * URI of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * URI of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Display-name of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Display-name of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * The description of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * The description of the AppRole. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDescription() { + return description; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AppUserRoles("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AppUserRoles)) { + return false; + } + + AppUserRoles other = (AppUserRoles) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.description, other.description) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Apps.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Apps.java new file mode 100644 index 00000000000..05c2dc9a0b8 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Apps.java @@ -0,0 +1,356 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = Apps.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class Apps extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public Apps( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public Apps build() { + Apps model = + new Apps( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(Apps model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("Apps("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof Apps)) { + return false; + } + + Apps other = (Apps) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AuthToken.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AuthToken.java index 9720ac99f8f..d967b2f90a6 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AuthToken.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AuthToken.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User's Auth token resource
+ * The user's Auth token resource.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -416,7 +416,7 @@ public Builder description(String description) { return this; } /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -428,7 +428,7 @@ public Builder description(String description) { private Status status; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -445,7 +445,7 @@ public Builder status(Status status) { return this; } /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -457,7 +457,7 @@ public Builder status(Status status) { private String expiresOn; /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -885,7 +885,7 @@ public String getDescription() { } /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -937,7 +937,7 @@ public static Status create(String key) { } }; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -948,7 +948,7 @@ public static Status create(String key) { private final Status status; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -962,7 +962,7 @@ public Status getStatus() { } /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -974,7 +974,7 @@ public Status getStatus() { private final String expiresOn; /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AuthTokenUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AuthTokenUser.java index a6c94ce9162..7494a830d5e 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AuthTokenUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AuthTokenUser.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User linked to auth token + * The user linked to the Auth token. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: default - type: complex - uniqueness: none @@ -38,7 +38,7 @@ public AuthTokenUser(String value, String ocid, String ref, String display, Stri @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -48,7 +48,7 @@ public static class Builder { private String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -63,7 +63,7 @@ public Builder value(String value) { return this; } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -73,7 +73,7 @@ public Builder value(String value) { private String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -113,7 +113,7 @@ public Builder ref(String ref) { return this; } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -123,7 +123,7 @@ public Builder ref(String ref) { private String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -138,7 +138,7 @@ public Builder display(String display) { return this; } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -148,7 +148,7 @@ public Builder display(String display) { private String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -206,7 +206,7 @@ public Builder toBuilder() { } /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -215,7 +215,7 @@ public Builder toBuilder() { private final String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -227,7 +227,7 @@ public String getValue() { } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -236,7 +236,7 @@ public String getValue() { private final String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -271,7 +271,7 @@ public String getRef() { } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -280,7 +280,7 @@ public String getRef() { private final String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -292,7 +292,7 @@ public String getDisplay() { } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -301,7 +301,7 @@ public String getDisplay() { private final String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AuthenticationFactorSetting.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AuthenticationFactorSetting.java index d89865de75b..5938734c942 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AuthenticationFactorSetting.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/AuthenticationFactorSetting.java @@ -1747,6 +1747,7 @@ public enum UserEnrollmentDisabledFactors implements com.oracle.bmc.http.interna PhoneCall("PHONE_CALL"), Thirdparty("THIRDPARTY"), FidoAuthenticator("FIDO_AUTHENTICATOR"), + YubicoOtp("YUBICO_OTP"), /** * This value is used if a service returns a value for this enum that is not recognized by diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/CustomerSecretKey.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/CustomerSecretKey.java index eb7feae3e3e..451f137aec0 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/CustomerSecretKey.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/CustomerSecretKey.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User's customer secret key
+ * The user's customer secret key.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -443,7 +443,7 @@ public Builder description(String description) { return this; } /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -455,7 +455,7 @@ public Builder description(String description) { private Status status; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -472,7 +472,7 @@ public Builder status(Status status) { return this; } /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -484,7 +484,7 @@ public Builder status(Status status) { private String expiresOn; /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -501,7 +501,7 @@ public Builder expiresOn(String expiresOn) { return this; } /** - * Access key + * The access key. * *

*SCIM++ Properties:** - caseExact: true - type: string - mutability: readOnly - * required: false - returned: default @@ -510,7 +510,7 @@ public Builder expiresOn(String expiresOn) { private String accessKey; /** - * Access key + * The access key. * *

*SCIM++ Properties:** - caseExact: true - type: string - mutability: readOnly - * required: false - returned: default @@ -960,7 +960,7 @@ public String getDescription() { } /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -1012,7 +1012,7 @@ public static Status create(String key) { } }; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -1023,7 +1023,7 @@ public static Status create(String key) { private final Status status; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -1037,7 +1037,7 @@ public Status getStatus() { } /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -1049,7 +1049,7 @@ public Status getStatus() { private final String expiresOn; /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -1064,7 +1064,7 @@ public String getExpiresOn() { } /** - * Access key + * The access key. * *

*SCIM++ Properties:** - caseExact: true - type: string - mutability: readOnly - required: * false - returned: default @@ -1073,7 +1073,7 @@ public String getExpiresOn() { private final String accessKey; /** - * Access key + * The access key. * *

*SCIM++ Properties:** - caseExact: true - type: string - mutability: readOnly - required: * false - returned: default diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/CustomerSecretKeyUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/CustomerSecretKeyUser.java index 523a9f0c6ed..aa2f61b126c 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/CustomerSecretKeyUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/CustomerSecretKeyUser.java @@ -41,7 +41,7 @@ public CustomerSecretKeyUser( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -51,7 +51,7 @@ public static class Builder { private String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -66,7 +66,7 @@ public Builder value(String value) { return this; } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -76,7 +76,7 @@ public Builder value(String value) { private String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -91,7 +91,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -101,7 +101,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -116,7 +116,7 @@ public Builder ref(String ref) { return this; } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -126,7 +126,7 @@ public Builder ref(String ref) { private String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -141,7 +141,7 @@ public Builder display(String display) { return this; } /** - * User name + * The user's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -151,7 +151,7 @@ public Builder display(String display) { private String name; /** - * User name + * The user's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -210,7 +210,7 @@ public Builder toBuilder() { } /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -219,7 +219,7 @@ public Builder toBuilder() { private final String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -231,7 +231,7 @@ public String getValue() { } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -240,7 +240,7 @@ public String getValue() { private final String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -252,7 +252,7 @@ public String getOcid() { } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -262,7 +262,7 @@ public String getOcid() { private final String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -275,7 +275,7 @@ public String getRef() { } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -284,7 +284,7 @@ public String getRef() { private final String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -296,7 +296,7 @@ public String getDisplay() { } /** - * User name + * The user's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -305,7 +305,7 @@ public String getDisplay() { private final String name; /** - * User name + * The user's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/DynamicResourceGroupGrants.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/DynamicResourceGroupGrants.java index b8937b4cf14..d3b89270e6e 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/DynamicResourceGroupGrants.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/DynamicResourceGroupGrants.java @@ -112,10 +112,10 @@ public Builder appId(String appId) { } /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which - * results in indirect grants to Users who are members of that Group.\ - + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values + * that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a + * specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which + * results in indirect grants to Users who are members of that Group. - * 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains * access to the granted (server) App. * @@ -128,10 +128,10 @@ public Builder appId(String appId) { /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which - * results in indirect grants to Users who are members of that Group.\ - + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values + * that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a + * specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which + * results in indirect grants to Users who are members of that Group. - * 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains * access to the granted (server) App. * @@ -259,10 +259,10 @@ public String getAppId() { /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results - * in indirect grants to Users who are members of that Group.\ - 'ADMINISTRATOR_TO_APP' is for a + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a * grant to a specific App. The grantee (client) App gains access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsAddedSinceVersion: 3 - idcsSearchable: true @@ -323,10 +323,10 @@ public static GrantMechanism create(String key) { }; /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results - * in indirect grants to Users who are members of that Group.\ - 'ADMINISTRATOR_TO_APP' is for a + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a * grant to a specific App. The grantee (client) App gains access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsAddedSinceVersion: 3 - idcsSearchable: true @@ -338,10 +338,10 @@ public static GrantMechanism create(String key) { /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results - * in indirect grants to Users who are members of that Group.\ - 'ADMINISTRATOR_TO_APP' is for a + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a * grant to a specific App. The grantee (client) App gains access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsAddedSinceVersion: 3 - idcsSearchable: true diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionCapabilitiesUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionCapabilitiesUser.java index 1d786f2973d..edd90f2795e 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionCapabilitiesUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionCapabilitiesUser.java @@ -30,7 +30,8 @@ public final class ExtensionCapabilitiesUser "canUseCustomerSecretKeys", "canUseOAuth2ClientCredentials", "canUseSmtpCredentials", - "canUseDbCredentials" + "canUseDbCredentials", + "canUseConsole" }) public ExtensionCapabilitiesUser( Boolean canUseApiKeys, @@ -39,7 +40,8 @@ public ExtensionCapabilitiesUser( Boolean canUseCustomerSecretKeys, Boolean canUseOAuth2ClientCredentials, Boolean canUseSmtpCredentials, - Boolean canUseDbCredentials) { + Boolean canUseDbCredentials, + Boolean canUseConsole) { super(); this.canUseApiKeys = canUseApiKeys; this.canUseAuthTokens = canUseAuthTokens; @@ -48,12 +50,13 @@ public ExtensionCapabilitiesUser( this.canUseOAuth2ClientCredentials = canUseOAuth2ClientCredentials; this.canUseSmtpCredentials = canUseSmtpCredentials; this.canUseDbCredentials = canUseDbCredentials; + this.canUseConsole = canUseConsole; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * Indicates weather a user can use api keys + * Indicates whether a user can use API keys. * *

*Added In:** 2012271618 * @@ -65,7 +68,7 @@ public static class Builder { private Boolean canUseApiKeys; /** - * Indicates weather a user can use api keys + * Indicates whether a user can use API keys. * *

*Added In:** 2012271618 * @@ -82,7 +85,7 @@ public Builder canUseApiKeys(Boolean canUseApiKeys) { return this; } /** - * Indicates weather a user can use auth tokens + * Indicates whether a user can use Auth tokens. * *

*Added In:** 2012271618 * @@ -94,7 +97,7 @@ public Builder canUseApiKeys(Boolean canUseApiKeys) { private Boolean canUseAuthTokens; /** - * Indicates weather a user can use auth tokens + * Indicates whether a user can use Auth tokens. * *

*Added In:** 2012271618 * @@ -111,7 +114,7 @@ public Builder canUseAuthTokens(Boolean canUseAuthTokens) { return this; } /** - * Indicates weather a user can use console password + * Indicates whether a user can use Console passwords. * *

*Added In:** 2012271618 * @@ -123,7 +126,7 @@ public Builder canUseAuthTokens(Boolean canUseAuthTokens) { private Boolean canUseConsolePassword; /** - * Indicates weather a user can use console password + * Indicates whether a user can use Console passwords. * *

*Added In:** 2012271618 * @@ -140,7 +143,7 @@ public Builder canUseConsolePassword(Boolean canUseConsolePassword) { return this; } /** - * Indicates weather a user can use customer secret keys + * Indicates whether a user can use customer secret keys. * *

*Added In:** 2012271618 * @@ -152,7 +155,7 @@ public Builder canUseConsolePassword(Boolean canUseConsolePassword) { private Boolean canUseCustomerSecretKeys; /** - * Indicates weather a user can use customer secret keys + * Indicates whether a user can use customer secret keys. * *

*Added In:** 2012271618 * @@ -169,7 +172,7 @@ public Builder canUseCustomerSecretKeys(Boolean canUseCustomerSecretKeys) { return this; } /** - * Indicates weather a user can use oauth2 client credentials + * Indicates whether a user can use OAuth2 client credentials. * *

*Added In:** 2012271618 * @@ -181,7 +184,7 @@ public Builder canUseCustomerSecretKeys(Boolean canUseCustomerSecretKeys) { private Boolean canUseOAuth2ClientCredentials; /** - * Indicates weather a user can use oauth2 client credentials + * Indicates whether a user can use OAuth2 client credentials. * *

*Added In:** 2012271618 * @@ -198,7 +201,7 @@ public Builder canUseOAuth2ClientCredentials(Boolean canUseOAuth2ClientCredentia return this; } /** - * Indicates weather a user can use smtp credentials + * Indicates whether a user can use SMTP credentials. * *

*Added In:** 2012271618 * @@ -210,7 +213,7 @@ public Builder canUseOAuth2ClientCredentials(Boolean canUseOAuth2ClientCredentia private Boolean canUseSmtpCredentials; /** - * Indicates weather a user can use smtp credentials + * Indicates whether a user can use SMTP credentials. * *

*Added In:** 2012271618 * @@ -227,7 +230,7 @@ public Builder canUseSmtpCredentials(Boolean canUseSmtpCredentials) { return this; } /** - * Indicates weather a user can use db credentials + * Indicates whether a user can use database credentials. * *

*Added In:** 2012271618 * @@ -239,7 +242,7 @@ public Builder canUseSmtpCredentials(Boolean canUseSmtpCredentials) { private Boolean canUseDbCredentials; /** - * Indicates weather a user can use db credentials + * Indicates whether a user can use database credentials. * *

*Added In:** 2012271618 * @@ -255,6 +258,35 @@ public Builder canUseDbCredentials(Boolean canUseDbCredentials) { this.__explicitlySet__.add("canUseDbCredentials"); return this; } + /** + * Specifies whether user can access the Console. + * + *

*Added In:** 2206280902 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("canUseConsole") + private Boolean canUseConsole; + + /** + * Specifies whether user can access the Console. + * + *

*Added In:** 2206280902 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param canUseConsole the value to set + * @return this builder + */ + public Builder canUseConsole(Boolean canUseConsole) { + this.canUseConsole = canUseConsole; + this.__explicitlySet__.add("canUseConsole"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -268,7 +300,8 @@ public ExtensionCapabilitiesUser build() { this.canUseCustomerSecretKeys, this.canUseOAuth2ClientCredentials, this.canUseSmtpCredentials, - this.canUseDbCredentials); + this.canUseDbCredentials, + this.canUseConsole); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -298,6 +331,9 @@ public Builder copy(ExtensionCapabilitiesUser model) { if (model.wasPropertyExplicitlySet("canUseDbCredentials")) { this.canUseDbCredentials(model.getCanUseDbCredentials()); } + if (model.wasPropertyExplicitlySet("canUseConsole")) { + this.canUseConsole(model.getCanUseConsole()); + } return this; } } @@ -312,7 +348,7 @@ public Builder toBuilder() { } /** - * Indicates weather a user can use api keys + * Indicates whether a user can use API keys. * *

*Added In:** 2012271618 * @@ -324,7 +360,7 @@ public Builder toBuilder() { private final Boolean canUseApiKeys; /** - * Indicates weather a user can use api keys + * Indicates whether a user can use API keys. * *

*Added In:** 2012271618 * @@ -339,7 +375,7 @@ public Boolean getCanUseApiKeys() { } /** - * Indicates weather a user can use auth tokens + * Indicates whether a user can use Auth tokens. * *

*Added In:** 2012271618 * @@ -351,7 +387,7 @@ public Boolean getCanUseApiKeys() { private final Boolean canUseAuthTokens; /** - * Indicates weather a user can use auth tokens + * Indicates whether a user can use Auth tokens. * *

*Added In:** 2012271618 * @@ -366,7 +402,7 @@ public Boolean getCanUseAuthTokens() { } /** - * Indicates weather a user can use console password + * Indicates whether a user can use Console passwords. * *

*Added In:** 2012271618 * @@ -378,7 +414,7 @@ public Boolean getCanUseAuthTokens() { private final Boolean canUseConsolePassword; /** - * Indicates weather a user can use console password + * Indicates whether a user can use Console passwords. * *

*Added In:** 2012271618 * @@ -393,7 +429,7 @@ public Boolean getCanUseConsolePassword() { } /** - * Indicates weather a user can use customer secret keys + * Indicates whether a user can use customer secret keys. * *

*Added In:** 2012271618 * @@ -405,7 +441,7 @@ public Boolean getCanUseConsolePassword() { private final Boolean canUseCustomerSecretKeys; /** - * Indicates weather a user can use customer secret keys + * Indicates whether a user can use customer secret keys. * *

*Added In:** 2012271618 * @@ -420,7 +456,7 @@ public Boolean getCanUseCustomerSecretKeys() { } /** - * Indicates weather a user can use oauth2 client credentials + * Indicates whether a user can use OAuth2 client credentials. * *

*Added In:** 2012271618 * @@ -432,7 +468,7 @@ public Boolean getCanUseCustomerSecretKeys() { private final Boolean canUseOAuth2ClientCredentials; /** - * Indicates weather a user can use oauth2 client credentials + * Indicates whether a user can use OAuth2 client credentials. * *

*Added In:** 2012271618 * @@ -447,7 +483,7 @@ public Boolean getCanUseOAuth2ClientCredentials() { } /** - * Indicates weather a user can use smtp credentials + * Indicates whether a user can use SMTP credentials. * *

*Added In:** 2012271618 * @@ -459,7 +495,7 @@ public Boolean getCanUseOAuth2ClientCredentials() { private final Boolean canUseSmtpCredentials; /** - * Indicates weather a user can use smtp credentials + * Indicates whether a user can use SMTP credentials. * *

*Added In:** 2012271618 * @@ -474,7 +510,7 @@ public Boolean getCanUseSmtpCredentials() { } /** - * Indicates weather a user can use db credentials + * Indicates whether a user can use database credentials. * *

*Added In:** 2012271618 * @@ -486,7 +522,7 @@ public Boolean getCanUseSmtpCredentials() { private final Boolean canUseDbCredentials; /** - * Indicates weather a user can use db credentials + * Indicates whether a user can use database credentials. * *

*Added In:** 2012271618 * @@ -500,6 +536,33 @@ public Boolean getCanUseDbCredentials() { return canUseDbCredentials; } + /** + * Specifies whether user can access the Console. + * + *

*Added In:** 2206280902 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("canUseConsole") + private final Boolean canUseConsole; + + /** + * Specifies whether user can access the Console. + * + *

*Added In:** 2206280902 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getCanUseConsole() { + return canUseConsole; + } + @Override public String toString() { return this.toString(true); @@ -524,6 +587,7 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.canUseOAuth2ClientCredentials)); sb.append(", canUseSmtpCredentials=").append(String.valueOf(this.canUseSmtpCredentials)); sb.append(", canUseDbCredentials=").append(String.valueOf(this.canUseDbCredentials)); + sb.append(", canUseConsole=").append(String.valueOf(this.canUseConsole)); sb.append(")"); return sb.toString(); } @@ -547,6 +611,7 @@ public boolean equals(Object o) { this.canUseOAuth2ClientCredentials, other.canUseOAuth2ClientCredentials) && java.util.Objects.equals(this.canUseSmtpCredentials, other.canUseSmtpCredentials) && java.util.Objects.equals(this.canUseDbCredentials, other.canUseDbCredentials) + && java.util.Objects.equals(this.canUseConsole, other.canUseConsole) && super.equals(other); } @@ -585,6 +650,9 @@ public int hashCode() { + (this.canUseDbCredentials == null ? 43 : this.canUseDbCredentials.hashCode()); + result = + (result * PRIME) + + (this.canUseConsole == null ? 43 : this.canUseConsole.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionDbCredentialsUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionDbCredentialsUser.java index 77d247f26cd..d48cd7977b3 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionDbCredentialsUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionDbCredentialsUser.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * Db Credentials User extension
+ * The database credentials user extension.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -33,7 +33,7 @@ public ExtensionDbCredentialsUser(String dbUserName, Integer dbLoginAttempts) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The Database User Name + * The database username. * *

*Added In:** 2102181953 * @@ -45,7 +45,7 @@ public static class Builder { private String dbUserName; /** - * The Database User Name + * The database username. * *

*Added In:** 2102181953 * @@ -123,7 +123,7 @@ public Builder toBuilder() { } /** - * The Database User Name + * The database username. * *

*Added In:** 2102181953 * @@ -134,7 +134,7 @@ public Builder toBuilder() { private final String dbUserName; /** - * The Database User Name + * The database username. * *

*Added In:** 2102181953 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionFidoAuthenticationFactorSettings.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionFidoAuthenticationFactorSettings.java index 1b58a1bdb0c..92c9578f3a6 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionFidoAuthenticationFactorSettings.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionFidoAuthenticationFactorSettings.java @@ -285,7 +285,7 @@ public Builder excludeCredentials(Boolean excludeCredentials) { return this; } /** - * Number of domain levels IDCS should use for origin comparision + * Number of domain levels Oracle Identity Cloud Service should use for origin comparision * *

*Added In:** 2109020413 * @@ -297,7 +297,7 @@ public Builder excludeCredentials(Boolean excludeCredentials) { private Integer domainValidationLevel; /** - * Number of domain levels IDCS should use for origin comparision + * Number of domain levels Oracle Identity Cloud Service should use for origin comparision * *

*Added In:** 2109020413 * @@ -851,7 +851,7 @@ public Boolean getExcludeCredentials() { } /** - * Number of domain levels IDCS should use for origin comparision + * Number of domain levels Oracle Identity Cloud Service should use for origin comparision * *

*Added In:** 2109020413 * @@ -863,7 +863,7 @@ public Boolean getExcludeCredentials() { private final Integer domainValidationLevel; /** - * Number of domain levels IDCS should use for origin comparision + * Number of domain levels Oracle Identity Cloud Service should use for origin comparision * *

*Added In:** 2109020413 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionGroupGroup.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionGroupGroup.java index e7500be9516..ac99a281ab1 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionGroupGroup.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionGroupGroup.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * Idcs Group
+ * Oracle Identity Cloud Service Group
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionKerberosUserUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionKerberosUserUser.java index 1f876f71883..aa17d3b940a 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionKerberosUserUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionKerberosUserUser.java @@ -32,7 +32,7 @@ public ExtensionKerberosUserUser(java.util.List realmUsers) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * A list of kerberos realm users for an OCI IAM User + * A list of kerberos realm users for an Oracle Identity Cloud Service User * *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: * readWrite - required: false - returned: request - type: complex - uniqueness: none @@ -41,7 +41,7 @@ public static class Builder { private java.util.List realmUsers; /** - * A list of kerberos realm users for an OCI IAM User + * A list of kerberos realm users for an Oracle Identity Cloud Service User * *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: * readWrite - required: false - returned: request - type: complex - uniqueness: none @@ -85,7 +85,7 @@ public Builder toBuilder() { } /** - * A list of kerberos realm users for an OCI IAM User + * A list of kerberos realm users for an Oracle Identity Cloud Service User * *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: * readWrite - required: false - returned: request - type: complex - uniqueness: none @@ -94,7 +94,7 @@ public Builder toBuilder() { private final java.util.List realmUsers; /** - * A list of kerberos realm users for an OCI IAM User + * A list of kerberos realm users for an Oracle Identity Cloud Service User * *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: * readWrite - required: false - returned: request - type: complex - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionMeUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionMeUser.java index 29fb00a08ad..874014881fc 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionMeUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionMeUser.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * OCI IAM self service schema extension
+ * Oracle Identity Cloud Service self service schema extension
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionMfaUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionMfaUser.java index e93e57ea3da..eabab3f4723 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionMfaUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionMfaUser.java @@ -66,7 +66,7 @@ public ExtensionMfaUser( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * Preferred Authentication Factor Type + * The preferred authentication factor type. * *

*Added In:** 18.3.6 * @@ -78,7 +78,7 @@ public static class Builder { private PreferredAuthenticationFactor preferredAuthenticationFactor; /** - * Preferred Authentication Factor Type + * The preferred authentication factor type. * *

*Added In:** 18.3.6 * @@ -96,25 +96,25 @@ public Builder preferredAuthenticationFactor( return this; } /** - * User Opted for MFA + * The user opted for MFA. * *

*Added In:** 18.3.6 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: - * none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("mfaStatus") private MfaStatus mfaStatus; /** - * User Opted for MFA + * The user opted for MFA. * *

*Added In:** 18.3.6 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: - * none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: default - type: string - uniqueness: none * * @param mfaStatus the value to set * @return this builder @@ -125,7 +125,7 @@ public Builder mfaStatus(MfaStatus mfaStatus) { return this; } /** - * Preferred Third party vendor name + * The preferred third-party vendor name. * *

*Added In:** 19.2.1 * @@ -137,7 +137,7 @@ public Builder mfaStatus(MfaStatus mfaStatus) { private String preferredThirdPartyVendor; /** - * Preferred Third party vendor name + * The preferred third-party vendor name. * *

*Added In:** 19.2.1 * @@ -154,7 +154,7 @@ public Builder preferredThirdPartyVendor(String preferredThirdPartyVendor) { return this; } /** - * Preferred Authentication method + * The preferred authentication method. * *

*Added In:** 2009232244 * @@ -166,7 +166,7 @@ public Builder preferredThirdPartyVendor(String preferredThirdPartyVendor) { private String preferredAuthenticationMethod; /** - * Preferred Authentication method + * The preferred authentication method. * *

*Added In:** 2009232244 * @@ -183,27 +183,31 @@ public Builder preferredAuthenticationMethod(String preferredAuthenticationMetho return this; } /** - * Number of incorrect Multi Factor Authentication login attempts made by this user. The - * user gets locked, if this reaches the threshold specified in the maxIncorrectAttempts - * attribute in AuthenticationFactorSettings + * The number of incorrect multi factor authentication sign in attempts made by this user. + * The user is locked if this reaches the threshold specified in the maxIncorrectAttempts + * attribute in AuthenticationFactorSettings. * *

*Added In:** 18.3.6 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: integer - uniqueness: none + * readOnly - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * default - type: integer - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("loginAttempts") private Integer loginAttempts; /** - * Number of incorrect Multi Factor Authentication login attempts made by this user. The - * user gets locked, if this reaches the threshold specified in the maxIncorrectAttempts - * attribute in AuthenticationFactorSettings + * The number of incorrect multi factor authentication sign in attempts made by this user. + * The user is locked if this reaches the threshold specified in the maxIncorrectAttempts + * attribute in AuthenticationFactorSettings. * *

*Added In:** 18.3.6 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: integer - uniqueness: none + * readOnly - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * default - type: integer - uniqueness: none * * @param loginAttempts the value to set * @return this builder @@ -214,8 +218,8 @@ public Builder loginAttempts(Integer loginAttempts) { return this; } /** - * This represents the date when the user enrolled for multi factor authentication. This - * will be set to null, when the user resets his factors. + * The date when the user enrolled in multi factor authentication. This will be set to null, + * when the user resets their factors. * *

*Added In:** 18.3.6 * @@ -226,8 +230,8 @@ public Builder loginAttempts(Integer loginAttempts) { private String mfaEnabledOn; /** - * This represents the date when the user enrolled for multi factor authentication. This - * will be set to null, when the user resets his factors. + * The date when the user enrolled in multi factor authentication. This will be set to null, + * when the user resets their factors. * *

*Added In:** 18.3.6 * @@ -308,7 +312,7 @@ public Builder devices(java.util.List devices) { return this; } /** - * A list of bypass codes belongs to user + * A list of bypass codes that belongs to the user. * *

*Added In:** 18.3.6 * @@ -319,7 +323,7 @@ public Builder devices(java.util.List devices) { private java.util.List bypassCodes; /** - * A list of bypass codes belongs to user + * A list of bypass codes that belongs to the user. * *

*Added In:** 18.3.6 * @@ -445,7 +449,7 @@ public Builder toBuilder() { } /** - * Preferred Authentication Factor Type + * The preferred authentication factor type. * *

*Added In:** 18.3.6 * @@ -508,7 +512,7 @@ public static PreferredAuthenticationFactor create(String key) { } }; /** - * Preferred Authentication Factor Type + * The preferred authentication factor type. * *

*Added In:** 18.3.6 * @@ -519,7 +523,7 @@ public static PreferredAuthenticationFactor create(String key) { private final PreferredAuthenticationFactor preferredAuthenticationFactor; /** - * Preferred Authentication Factor Type + * The preferred authentication factor type. * *

*Added In:** 18.3.6 * @@ -533,12 +537,13 @@ public PreferredAuthenticationFactor getPreferredAuthenticationFactor() { } /** - * User Opted for MFA + * The user opted for MFA. * *

*Added In:** 18.3.6 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: string - uniqueness: none */ public enum MfaStatus implements com.oracle.bmc.http.internal.BmcEnum { Enrolled("ENROLLED"), @@ -588,23 +593,25 @@ public static MfaStatus create(String key) { } }; /** - * User Opted for MFA + * The user opted for MFA. * *

*Added In:** 18.3.6 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("mfaStatus") private final MfaStatus mfaStatus; /** - * User Opted for MFA + * The user opted for MFA. * *

*Added In:** 18.3.6 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: string - uniqueness: none * * @return the value */ @@ -613,7 +620,7 @@ public MfaStatus getMfaStatus() { } /** - * Preferred Third party vendor name + * The preferred third-party vendor name. * *

*Added In:** 19.2.1 * @@ -624,7 +631,7 @@ public MfaStatus getMfaStatus() { private final String preferredThirdPartyVendor; /** - * Preferred Third party vendor name + * The preferred third-party vendor name. * *

*Added In:** 19.2.1 * @@ -638,7 +645,7 @@ public String getPreferredThirdPartyVendor() { } /** - * Preferred Authentication method + * The preferred authentication method. * *

*Added In:** 2009232244 * @@ -649,7 +656,7 @@ public String getPreferredThirdPartyVendor() { private final String preferredAuthenticationMethod; /** - * Preferred Authentication method + * The preferred authentication method. * *

*Added In:** 2009232244 * @@ -663,27 +670,29 @@ public String getPreferredAuthenticationMethod() { } /** - * Number of incorrect Multi Factor Authentication login attempts made by this user. The user - * gets locked, if this reaches the threshold specified in the maxIncorrectAttempts attribute in - * AuthenticationFactorSettings + * The number of incorrect multi factor authentication sign in attempts made by this user. The + * user is locked if this reaches the threshold specified in the maxIncorrectAttempts attribute + * in AuthenticationFactorSettings. * *

*Added In:** 18.3.6 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: integer - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true - required: false - returned: default - type: integer - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("loginAttempts") private final Integer loginAttempts; /** - * Number of incorrect Multi Factor Authentication login attempts made by this user. The user - * gets locked, if this reaches the threshold specified in the maxIncorrectAttempts attribute in - * AuthenticationFactorSettings + * The number of incorrect multi factor authentication sign in attempts made by this user. The + * user is locked if this reaches the threshold specified in the maxIncorrectAttempts attribute + * in AuthenticationFactorSettings. * *

*Added In:** 18.3.6 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: integer - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true - required: false - returned: default - type: integer - uniqueness: none * * @return the value */ @@ -692,8 +701,8 @@ public Integer getLoginAttempts() { } /** - * This represents the date when the user enrolled for multi factor authentication. This will be - * set to null, when the user resets his factors. + * The date when the user enrolled in multi factor authentication. This will be set to null, + * when the user resets their factors. * *

*Added In:** 18.3.6 * @@ -704,8 +713,8 @@ public Integer getLoginAttempts() { private final String mfaEnabledOn; /** - * This represents the date when the user enrolled for multi factor authentication. This will be - * set to null, when the user resets his factors. + * The date when the user enrolled in multi factor authentication. This will be set to null, + * when the user resets their factors. * *

*Added In:** 18.3.6 * @@ -776,7 +785,7 @@ public java.util.List getDevices() { } /** - * A list of bypass codes belongs to user + * A list of bypass codes that belongs to the user. * *

*Added In:** 18.3.6 * @@ -787,7 +796,7 @@ public java.util.List getDevices() { private final java.util.List bypassCodes; /** - * A list of bypass codes belongs to user + * A list of bypass codes that belongs to the user. * *

*Added In:** 18.3.6 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionSecurityQuestionsUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionSecurityQuestionsUser.java index b1a73e94f32..82261ec6821 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionSecurityQuestionsUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionSecurityQuestionsUser.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * This extension defines attributes used to store Security Questions of User.
+ * This extension defines the attributes used to store the security questions of a user.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -32,8 +32,9 @@ public ExtensionSecurityQuestionsUser(java.util.List secQue @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * Security question and answers provided by end-user for Account recovery and/or MFA. While - * setting up security questions, end-user can also provide hint along with answer. + * The schema used to mnage security question and answers provided by a user for account + * recovery and/or MFA. While setting up security questions, a user can also provide a hint + * for the answer. * *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: * readWrite - required: false - returned: request - type: complex - uniqueness: none @@ -42,8 +43,9 @@ public static class Builder { private java.util.List secQuestions; /** - * Security question and answers provided by end-user for Account recovery and/or MFA. While - * setting up security questions, end-user can also provide hint along with answer. + * The schema used to mnage security question and answers provided by a user for account + * recovery and/or MFA. While setting up security questions, a user can also provide a hint + * for the answer. * *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: * readWrite - required: false - returned: request - type: complex - uniqueness: none @@ -88,8 +90,9 @@ public Builder toBuilder() { } /** - * Security question and answers provided by end-user for Account recovery and/or MFA. While - * setting up security questions, end-user can also provide hint along with answer. + * The schema used to mnage security question and answers provided by a user for account + * recovery and/or MFA. While setting up security questions, a user can also provide a hint for + * the answer. * *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: * readWrite - required: false - returned: request - type: complex - uniqueness: none @@ -98,8 +101,9 @@ public Builder toBuilder() { private final java.util.List secQuestions; /** - * Security question and answers provided by end-user for Account recovery and/or MFA. While - * setting up security questions, end-user can also provide hint along with answer. + * The schema used to mnage security question and answers provided by a user for account + * recovery and/or MFA. While setting up security questions, a user can also provide a hint for + * the answer. * *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: * readWrite - required: false - returned: request - type: complex - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionUserCredentialsUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionUserCredentialsUser.java index 7b1e4c9ae84..62995db532a 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionUserCredentialsUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionUserCredentialsUser.java @@ -50,7 +50,7 @@ public ExtensionUserCredentialsUser( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * A list of db credentials corresponding to user. + * A list of database credentials corresponding to user. * *

*Added In:** 2102181953 * @@ -62,7 +62,7 @@ public static class Builder { private java.util.List dbCredentials; /** - * A list of db credentials corresponding to user. + * A list of database credentials corresponding to user. * *

*Added In:** 2102181953 * @@ -109,7 +109,7 @@ public Builder customerSecretKeys( return this; } /** - * A list of auth tokens corresponding to user. + * A list of Auth tokens corresponding to user. * *

*Added In:** 2012271618 * @@ -121,7 +121,7 @@ public Builder customerSecretKeys( private java.util.List authTokens; /** - * A list of auth tokens corresponding to user. + * A list of Auth tokens corresponding to user. * *

*Added In:** 2012271618 * @@ -138,7 +138,7 @@ public Builder authTokens(java.util.List authTokens) { return this; } /** - * A list of smtp credentials corresponding to user. + * A list of SMTP credentials corresponding to user. * *

*Added In:** 2012271618 * @@ -150,7 +150,7 @@ public Builder authTokens(java.util.List authTokens) { private java.util.List smtpCredentials; /** - * A list of smtp credentials corresponding to user. + * A list of SMTP credentials corresponding to user. * *

*Added In:** 2012271618 * @@ -167,7 +167,7 @@ public Builder smtpCredentials(java.util.List smtpCreden return this; } /** - * A list of api keys corresponding to user. + * A list of API keys corresponding to user. * *

*Added In:** 2012271618 * @@ -179,7 +179,7 @@ public Builder smtpCredentials(java.util.List smtpCreden private java.util.List apiKeys; /** - * A list of api keys corresponding to user. + * A list of API keys corresponding to user. * *

*Added In:** 2012271618 * @@ -196,7 +196,7 @@ public Builder apiKeys(java.util.List apiKeys) { return this; } /** - * A list of oauth2 client credentials corresponding to user. + * A list of OAuth2 client credentials corresponding to a user. * *

*Added In:** 2012271618 * @@ -208,7 +208,7 @@ public Builder apiKeys(java.util.List apiKeys) { private java.util.List oAuth2ClientCredentials; /** - * A list of oauth2 client credentials corresponding to user. + * A list of OAuth2 client credentials corresponding to a user. * *

*Added In:** 2012271618 * @@ -278,7 +278,7 @@ public Builder toBuilder() { } /** - * A list of db credentials corresponding to user. + * A list of database credentials corresponding to user. * *

*Added In:** 2102181953 * @@ -290,7 +290,7 @@ public Builder toBuilder() { private final java.util.List dbCredentials; /** - * A list of db credentials corresponding to user. + * A list of database credentials corresponding to user. * *

*Added In:** 2102181953 * @@ -332,7 +332,7 @@ public java.util.List getCustomerSecretKeys() { } /** - * A list of auth tokens corresponding to user. + * A list of Auth tokens corresponding to user. * *

*Added In:** 2012271618 * @@ -344,7 +344,7 @@ public java.util.List getCustomerSecretKeys() { private final java.util.List authTokens; /** - * A list of auth tokens corresponding to user. + * A list of Auth tokens corresponding to user. * *

*Added In:** 2012271618 * @@ -359,7 +359,7 @@ public java.util.List getAuthTokens() { } /** - * A list of smtp credentials corresponding to user. + * A list of SMTP credentials corresponding to user. * *

*Added In:** 2012271618 * @@ -371,7 +371,7 @@ public java.util.List getAuthTokens() { private final java.util.List smtpCredentials; /** - * A list of smtp credentials corresponding to user. + * A list of SMTP credentials corresponding to user. * *

*Added In:** 2012271618 * @@ -386,7 +386,7 @@ public java.util.List getSmtpCredentials() { } /** - * A list of api keys corresponding to user. + * A list of API keys corresponding to user. * *

*Added In:** 2012271618 * @@ -398,7 +398,7 @@ public java.util.List getSmtpCredentials() { private final java.util.List apiKeys; /** - * A list of api keys corresponding to user. + * A list of API keys corresponding to user. * *

*Added In:** 2012271618 * @@ -413,7 +413,7 @@ public java.util.List getApiKeys() { } /** - * A list of oauth2 client credentials corresponding to user. + * A list of OAuth2 client credentials corresponding to a user. * *

*Added In:** 2012271618 * @@ -425,7 +425,7 @@ public java.util.List getApiKeys() { private final java.util.List oAuth2ClientCredentials; /** - * A list of oauth2 client credentials corresponding to user. + * A list of OAuth2 client credentials corresponding to a user. * *

*Added In:** 2012271618 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionUserStateUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionUserStateUser.java index 5160f76bee6..f6980d30176 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionUserStateUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionUserStateUser.java @@ -5,9 +5,9 @@ package com.oracle.bmc.identitydomains.model; /** - * This extension defines attributes used to manage account passwords within a service provider. The - * extension is typically applied to a User resource, but MAY be applied to other resources that use - * passwords.
+ * This extension defines the attributes used to manage account passwords within a service provider. + * The extension is typically applied to a User resource, but MAY be applied to other resources that + * use passwords.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -61,21 +61,21 @@ public ExtensionUserStateUser( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The last successful login date + * The last successful login date. * *

*SCIM++ Properties:** - idcsSearchable: true - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readOnly - required: false - returned: request - type: - * dateTime - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - + * required: false - returned: request - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lastSuccessfulLoginDate") private String lastSuccessfulLoginDate; /** - * The last successful login date + * The last successful login date. * *

*SCIM++ Properties:** - idcsSearchable: true - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readOnly - required: false - returned: request - type: - * dateTime - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - + * required: false - returned: request - type: dateTime - uniqueness: none * * @param lastSuccessfulLoginDate the value to set * @return this builder @@ -86,21 +86,21 @@ public Builder lastSuccessfulLoginDate(String lastSuccessfulLoginDate) { return this; } /** - * The previous successful login date + * The previous successful login date. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * - mutability: readOnly - required: false - returned: request - type: dateTime - - * uniqueness: none + * - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: request - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("previousSuccessfulLoginDate") private String previousSuccessfulLoginDate; /** - * The previous successful login date + * The previous successful login date. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * - mutability: readOnly - required: false - returned: request - type: dateTime - - * uniqueness: none + * - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: request - type: dateTime - uniqueness: none * * @param previousSuccessfulLoginDate the value to set * @return this builder @@ -111,21 +111,21 @@ public Builder previousSuccessfulLoginDate(String previousSuccessfulLoginDate) { return this; } /** - * The last failed login date + * The last failed login date. * *

*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readOnly - required: false - returned: request - type: - * dateTime - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - + * required: false - returned: request - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lastFailedLoginDate") private String lastFailedLoginDate; /** - * The last failed login date + * The last failed login date. * *

*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readOnly - required: false - returned: request - type: - * dateTime - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - + * required: false - returned: request - type: dateTime - uniqueness: none * * @param lastFailedLoginDate the value to set * @return this builder @@ -139,8 +139,9 @@ public Builder lastFailedLoginDate(String lastFailedLoginDate) { * The number of failed login attempts. The value is reset to 0 after a successful login. * *

*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readOnly - required: false - returned: request - type: - * integer - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * request - type: integer - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("loginAttempts") private Integer loginAttempts; @@ -149,8 +150,9 @@ public Builder lastFailedLoginDate(String lastFailedLoginDate) { * The number of failed login attempts. The value is reset to 0 after a successful login. * *

*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readOnly - required: false - returned: request - type: - * integer - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * request - type: integer - uniqueness: none * * @param loginAttempts the value to set * @return this builder @@ -166,7 +168,8 @@ public Builder loginAttempts(Integer loginAttempts) { *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: request - type: integer - uniqueness: none + * readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - + * type: integer - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("recoveryAttempts") private Integer recoveryAttempts; @@ -177,7 +180,8 @@ public Builder loginAttempts(Integer loginAttempts) { *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: request - type: integer - uniqueness: none + * readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - + * type: integer - uniqueness: none * * @param recoveryAttempts the value to set * @return this builder @@ -215,7 +219,7 @@ public Builder recoveryEnrollAttempts(Integer recoveryEnrollAttempts) { return this; } /** - * Maximum number of concurrent sessions for a User + * The maximum number of concurrent sessions for a user. * *

*Added In:** 20.1.3 * @@ -227,7 +231,7 @@ public Builder recoveryEnrollAttempts(Integer recoveryEnrollAttempts) { private Integer maxConcurrentSessions; /** - * Maximum number of concurrent sessions for a User + * The maximum number of concurrent sessions for a user. * *

*Added In:** 20.1.3 * @@ -326,21 +330,21 @@ public Builder toBuilder() { } /** - * The last successful login date + * The last successful login date. * *

*SCIM++ Properties:** - idcsSearchable: true - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readOnly - required: false - returned: request - type: - * dateTime - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: + * false - returned: request - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lastSuccessfulLoginDate") private final String lastSuccessfulLoginDate; /** - * The last successful login date + * The last successful login date. * *

*SCIM++ Properties:** - idcsSearchable: true - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readOnly - required: false - returned: request - type: - * dateTime - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: + * false - returned: request - type: dateTime - uniqueness: none * * @return the value */ @@ -349,21 +353,21 @@ public String getLastSuccessfulLoginDate() { } /** - * The previous successful login date + * The previous successful login date. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - - * mutability: readOnly - required: false - returned: request - type: dateTime - uniqueness: - * none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * request - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("previousSuccessfulLoginDate") private final String previousSuccessfulLoginDate; /** - * The previous successful login date + * The previous successful login date. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - - * mutability: readOnly - required: false - returned: request - type: dateTime - uniqueness: - * none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * request - type: dateTime - uniqueness: none * * @return the value */ @@ -372,21 +376,21 @@ public String getPreviousSuccessfulLoginDate() { } /** - * The last failed login date + * The last failed login date. * *

*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readOnly - required: false - returned: request - type: - * dateTime - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: + * false - returned: request - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lastFailedLoginDate") private final String lastFailedLoginDate; /** - * The last failed login date + * The last failed login date. * *

*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readOnly - required: false - returned: request - type: - * dateTime - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: + * false - returned: request - type: dateTime - uniqueness: none * * @return the value */ @@ -398,8 +402,9 @@ public String getLastFailedLoginDate() { * The number of failed login attempts. The value is reset to 0 after a successful login. * *

*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readOnly - required: false - returned: request - type: - * integer - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: request + * - type: integer - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("loginAttempts") private final Integer loginAttempts; @@ -408,8 +413,9 @@ public String getLastFailedLoginDate() { * The number of failed login attempts. The value is reset to 0 after a successful login. * *

*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readOnly - required: false - returned: request - type: - * integer - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: request + * - type: integer - uniqueness: none * * @return the value */ @@ -423,7 +429,8 @@ public Integer getLoginAttempts() { *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: request - type: integer - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: integer + * - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("recoveryAttempts") private final Integer recoveryAttempts; @@ -434,7 +441,8 @@ public Integer getLoginAttempts() { *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: request - type: integer - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: integer + * - uniqueness: none * * @return the value */ @@ -468,7 +476,7 @@ public Integer getRecoveryEnrollAttempts() { } /** - * Maximum number of concurrent sessions for a User + * The maximum number of concurrent sessions for a user. * *

*Added In:** 20.1.3 * @@ -480,7 +488,7 @@ public Integer getRecoveryEnrollAttempts() { private final Integer maxConcurrentSessions; /** - * Maximum number of concurrent sessions for a User + * The maximum number of concurrent sessions for a user. * *

*Added In:** 20.1.3 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionUserUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionUserUser.java index a14d6c509d3..44cf81b923b 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionUserUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionUserUser.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * OCI IAM User
+ * Oracle Identity Cloud Service User
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -28,7 +28,9 @@ public final class ExtensionUserUser "isAuthenticationDelegated", "status", "provider", + "preferredUiLandingPage", "creationMechanism", + "groupMembershipLastModified", "doNotShowGettingStarted", "bypassNotification", "isAccountRecoveryEnrolled", @@ -52,7 +54,9 @@ public ExtensionUserUser( Boolean isAuthenticationDelegated, Status status, Provider provider, + PreferredUiLandingPage preferredUiLandingPage, CreationMechanism creationMechanism, + String groupMembershipLastModified, Boolean doNotShowGettingStarted, Boolean bypassNotification, Boolean isAccountRecoveryEnrolled, @@ -75,7 +79,9 @@ public ExtensionUserUser( this.isAuthenticationDelegated = isAuthenticationDelegated; this.status = status; this.provider = provider; + this.preferredUiLandingPage = preferredUiLandingPage; this.creationMechanism = creationMechanism; + this.groupMembershipLastModified = groupMembershipLastModified; this.doNotShowGettingStarted = doNotShowGettingStarted; this.bypassNotification = bypassNotification; this.isAccountRecoveryEnrolled = isAccountRecoveryEnrolled; @@ -102,8 +108,8 @@ public static class Builder { * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Federated - * idcsCsvAttributeNameMappings: [[columnHeaderName:Federated]] - idcsSearchable: true - - * multiValued: false - mutability: readWrite - required: false - returned: default - type: - * boolean - uniqueness: none + * multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - + * required: false - returned: default - type: boolean - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("isFederatedUser") private Boolean isFederatedUser; @@ -113,8 +119,8 @@ public static class Builder { * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Federated - * idcsCsvAttributeNameMappings: [[columnHeaderName:Federated]] - idcsSearchable: true - - * multiValued: false - mutability: readWrite - required: false - returned: default - type: - * boolean - uniqueness: none + * multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - + * required: false - returned: default - type: boolean - uniqueness: none * * @param isFederatedUser the value to set * @return this builder @@ -207,12 +213,42 @@ public Builder provider(Provider provider) { this.__explicitlySet__.add("provider"); return this; } + /** + * User's preferred landing page following login, logout and reset password. + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("preferredUiLandingPage") + private PreferredUiLandingPage preferredUiLandingPage; + + /** + * User's preferred landing page following login, logout and reset password. + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param preferredUiLandingPage the value to set + * @return this builder + */ + public Builder preferredUiLandingPage(PreferredUiLandingPage preferredUiLandingPage) { + this.preferredUiLandingPage = preferredUiLandingPage; + this.__explicitlySet__.add("preferredUiLandingPage"); + return this; + } /** * User creation mechanism * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeNameMappings: * [[defaultValue:import]] - idcsSearchable: true - multiValued: false - mutability: - * immutable - required: false - returned: request - type: string - uniqueness: none + * immutable - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - + * type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("creationMechanism") private CreationMechanism creationMechanism; @@ -222,7 +258,8 @@ public Builder provider(Provider provider) { * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeNameMappings: * [[defaultValue:import]] - idcsSearchable: true - multiValued: false - mutability: - * immutable - required: false - returned: request - type: string - uniqueness: none + * immutable - idcsRequiresWriteForAccessFlows: true - required: false - returned: request - + * type: string - uniqueness: none * * @param creationMechanism the value to set * @return this builder @@ -232,6 +269,33 @@ public Builder creationMechanism(CreationMechanism creationMechanism) { this.__explicitlySet__.add("creationMechanism"); return this; } + /** + * Specifies date time when a User's group membership was last modified. + * + *

*Added In:** 2304270343 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: dateTime - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("groupMembershipLastModified") + private String groupMembershipLastModified; + + /** + * Specifies date time when a User's group membership was last modified. + * + *

*Added In:** 2304270343 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: dateTime - uniqueness: none + * + * @param groupMembershipLastModified the value to set + * @return this builder + */ + public Builder groupMembershipLastModified(String groupMembershipLastModified) { + this.groupMembershipLastModified = groupMembershipLastModified; + this.__explicitlySet__.add("groupMembershipLastModified"); + return this; + } /** * A Boolean value indicating whether or not to hide the getting started page * @@ -263,8 +327,8 @@ public Builder doNotShowGettingStarted(Boolean doNotShowGettingStarted) { * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeNameMappings: * [[columnHeaderName:ByPass Notification]] - idcsSearchable: false - multiValued: false - - * mutability: immutable - required: false - returned: never - type: boolean - uniqueness: - * none + * mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: never - type: boolean - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("bypassNotification") private Boolean bypassNotification; @@ -275,8 +339,8 @@ public Builder doNotShowGettingStarted(Boolean doNotShowGettingStarted) { * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeNameMappings: * [[columnHeaderName:ByPass Notification]] - idcsSearchable: false - multiValued: false - - * mutability: immutable - required: false - returned: never - type: boolean - uniqueness: - * none + * mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: never - type: boolean - uniqueness: none * * @param bypassNotification the value to set * @return this builder @@ -655,7 +719,9 @@ public ExtensionUserUser build() { this.isAuthenticationDelegated, this.status, this.provider, + this.preferredUiLandingPage, this.creationMechanism, + this.groupMembershipLastModified, this.doNotShowGettingStarted, this.bypassNotification, this.isAccountRecoveryEnrolled, @@ -693,9 +759,15 @@ public Builder copy(ExtensionUserUser model) { if (model.wasPropertyExplicitlySet("provider")) { this.provider(model.getProvider()); } + if (model.wasPropertyExplicitlySet("preferredUiLandingPage")) { + this.preferredUiLandingPage(model.getPreferredUiLandingPage()); + } if (model.wasPropertyExplicitlySet("creationMechanism")) { this.creationMechanism(model.getCreationMechanism()); } + if (model.wasPropertyExplicitlySet("groupMembershipLastModified")) { + this.groupMembershipLastModified(model.getGroupMembershipLastModified()); + } if (model.wasPropertyExplicitlySet("doNotShowGettingStarted")) { this.doNotShowGettingStarted(model.getDoNotShowGettingStarted()); } @@ -768,8 +840,8 @@ public Builder toBuilder() { * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Federated - * idcsCsvAttributeNameMappings: [[columnHeaderName:Federated]] - idcsSearchable: true - - * multiValued: false - mutability: readWrite - required: false - returned: default - type: - * boolean - uniqueness: none + * multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - + * required: false - returned: default - type: boolean - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("isFederatedUser") private final Boolean isFederatedUser; @@ -779,8 +851,8 @@ public Builder toBuilder() { * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Federated - * idcsCsvAttributeNameMappings: [[columnHeaderName:Federated]] - idcsSearchable: true - - * multiValued: false - mutability: readWrite - required: false - returned: default - type: - * boolean - uniqueness: none + * multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - + * required: false - returned: default - type: boolean - uniqueness: none * * @return the value */ @@ -962,12 +1034,92 @@ public Provider getProvider() { return provider; } + /** + * User's preferred landing page following login, logout and reset password. + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + public enum PreferredUiLandingPage implements com.oracle.bmc.http.internal.BmcEnum { + MyApps("MyApps"), + MyProfile("MyProfile"), + OciConsole("OciConsole"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(PreferredUiLandingPage.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (PreferredUiLandingPage v : PreferredUiLandingPage.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + PreferredUiLandingPage(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static PreferredUiLandingPage create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'PreferredUiLandingPage', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * User's preferred landing page following login, logout and reset password. + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("preferredUiLandingPage") + private final PreferredUiLandingPage preferredUiLandingPage; + + /** + * User's preferred landing page following login, logout and reset password. + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public PreferredUiLandingPage getPreferredUiLandingPage() { + return preferredUiLandingPage; + } + /** * User creation mechanism * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeNameMappings: * [[defaultValue:import]] - idcsSearchable: true - multiValued: false - mutability: immutable - - * required: false - returned: request - type: string - uniqueness: none + * idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: string - + * uniqueness: none */ public enum CreationMechanism implements com.oracle.bmc.http.internal.BmcEnum { Bulk("bulk"), @@ -1025,7 +1177,8 @@ public static CreationMechanism create(String key) { * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeNameMappings: * [[defaultValue:import]] - idcsSearchable: true - multiValued: false - mutability: immutable - - * required: false - returned: request - type: string - uniqueness: none + * idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: string - + * uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("creationMechanism") private final CreationMechanism creationMechanism; @@ -1035,7 +1188,8 @@ public static CreationMechanism create(String key) { * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeNameMappings: * [[defaultValue:import]] - idcsSearchable: true - multiValued: false - mutability: immutable - - * required: false - returned: request - type: string - uniqueness: none + * idcsRequiresWriteForAccessFlows: true - required: false - returned: request - type: string - + * uniqueness: none * * @return the value */ @@ -1043,6 +1197,31 @@ public CreationMechanism getCreationMechanism() { return creationMechanism; } + /** + * Specifies date time when a User's group membership was last modified. + * + *

*Added In:** 2304270343 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: dateTime - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("groupMembershipLastModified") + private final String groupMembershipLastModified; + + /** + * Specifies date time when a User's group membership was last modified. + * + *

*Added In:** 2304270343 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: dateTime - uniqueness: none + * + * @return the value + */ + public String getGroupMembershipLastModified() { + return groupMembershipLastModified; + } + /** * A Boolean value indicating whether or not to hide the getting started page * @@ -1072,7 +1251,8 @@ public Boolean getDoNotShowGettingStarted() { * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeNameMappings: * [[columnHeaderName:ByPass Notification]] - idcsSearchable: false - multiValued: false - - * mutability: immutable - required: false - returned: never - type: boolean - uniqueness: none + * mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * never - type: boolean - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("bypassNotification") private final Boolean bypassNotification; @@ -1083,7 +1263,8 @@ public Boolean getDoNotShowGettingStarted() { * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeNameMappings: * [[columnHeaderName:ByPass Notification]] - idcsSearchable: false - multiValued: false - - * mutability: immutable - required: false - returned: never - type: boolean - uniqueness: none + * mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * never - type: boolean - uniqueness: none * * @return the value */ @@ -1422,7 +1603,10 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.isAuthenticationDelegated)); sb.append(", status=").append(String.valueOf(this.status)); sb.append(", provider=").append(String.valueOf(this.provider)); + sb.append(", preferredUiLandingPage=").append(String.valueOf(this.preferredUiLandingPage)); sb.append(", creationMechanism=").append(String.valueOf(this.creationMechanism)); + sb.append(", groupMembershipLastModified=") + .append(String.valueOf(this.groupMembershipLastModified)); sb.append(", doNotShowGettingStarted=") .append(String.valueOf(this.doNotShowGettingStarted)); sb.append(", bypassNotification=").append(String.valueOf(this.bypassNotification)); @@ -1469,7 +1653,11 @@ public boolean equals(Object o) { this.isAuthenticationDelegated, other.isAuthenticationDelegated) && java.util.Objects.equals(this.status, other.status) && java.util.Objects.equals(this.provider, other.provider) + && java.util.Objects.equals( + this.preferredUiLandingPage, other.preferredUiLandingPage) && java.util.Objects.equals(this.creationMechanism, other.creationMechanism) + && java.util.Objects.equals( + this.groupMembershipLastModified, other.groupMembershipLastModified) && java.util.Objects.equals( this.doNotShowGettingStarted, other.doNotShowGettingStarted) && java.util.Objects.equals(this.bypassNotification, other.bypassNotification) @@ -1518,9 +1706,19 @@ public int hashCode() { : this.isAuthenticationDelegated.hashCode()); result = (result * PRIME) + (this.status == null ? 43 : this.status.hashCode()); result = (result * PRIME) + (this.provider == null ? 43 : this.provider.hashCode()); + result = + (result * PRIME) + + (this.preferredUiLandingPage == null + ? 43 + : this.preferredUiLandingPage.hashCode()); result = (result * PRIME) + (this.creationMechanism == null ? 43 : this.creationMechanism.hashCode()); + result = + (result * PRIME) + + (this.groupMembershipLastModified == null + ? 43 + : this.groupMembershipLastModified.hashCode()); result = (result * PRIME) + (this.doNotShowGettingStarted == null diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionX509IdentityProvider.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionX509IdentityProvider.java index a8ba5729d4b..542f263e64c 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionX509IdentityProvider.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ExtensionX509IdentityProvider.java @@ -38,7 +38,9 @@ public final class ExtensionX509IdentityProvider "crlEnabled", "crlCheckOnOCSPFailureEnabled", "crlLocation", - "crlReloadDuration" + "crlReloadDuration", + "ekuValidationEnabled", + "ekuValues" }) public ExtensionX509IdentityProvider( String certMatchAttribute, @@ -55,7 +57,9 @@ public ExtensionX509IdentityProvider( Boolean crlEnabled, Boolean crlCheckOnOCSPFailureEnabled, String crlLocation, - Integer crlReloadDuration) { + Integer crlReloadDuration, + Boolean ekuValidationEnabled, + java.util.List ekuValues) { super(); this.certMatchAttribute = certMatchAttribute; this.userMatchAttribute = userMatchAttribute; @@ -72,6 +76,8 @@ public ExtensionX509IdentityProvider( this.crlCheckOnOCSPFailureEnabled = crlCheckOnOCSPFailureEnabled; this.crlLocation = crlLocation; this.crlReloadDuration = crlReloadDuration; + this.ekuValidationEnabled = ekuValidationEnabled; + this.ekuValues = ekuValues; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -513,6 +519,64 @@ public Builder crlReloadDuration(Integer crlReloadDuration) { this.__explicitlySet__.add("crlReloadDuration"); return this; } + /** + * Set to true to enable EKU Validation + * + *

*Added In:** 2304270343 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("ekuValidationEnabled") + private Boolean ekuValidationEnabled; + + /** + * Set to true to enable EKU Validation + * + *

*Added In:** 2304270343 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param ekuValidationEnabled the value to set + * @return this builder + */ + public Builder ekuValidationEnabled(Boolean ekuValidationEnabled) { + this.ekuValidationEnabled = ekuValidationEnabled; + this.__explicitlySet__.add("ekuValidationEnabled"); + return this; + } + /** + * List of EKU which needs to be validated + * + *

*Added In:** 2304270343 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("ekuValues") + private java.util.List ekuValues; + + /** + * List of EKU which needs to be validated + * + *

*Added In:** 2304270343 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param ekuValues the value to set + * @return this builder + */ + public Builder ekuValues(java.util.List ekuValues) { + this.ekuValues = ekuValues; + this.__explicitlySet__.add("ekuValues"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -534,7 +598,9 @@ public ExtensionX509IdentityProvider build() { this.crlEnabled, this.crlCheckOnOCSPFailureEnabled, this.crlLocation, - this.crlReloadDuration); + this.crlReloadDuration, + this.ekuValidationEnabled, + this.ekuValues); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -588,6 +654,12 @@ public Builder copy(ExtensionX509IdentityProvider model) { if (model.wasPropertyExplicitlySet("crlReloadDuration")) { this.crlReloadDuration(model.getCrlReloadDuration()); } + if (model.wasPropertyExplicitlySet("ekuValidationEnabled")) { + this.ekuValidationEnabled(model.getEkuValidationEnabled()); + } + if (model.wasPropertyExplicitlySet("ekuValues")) { + this.ekuValues(model.getEkuValues()); + } return this; } } @@ -992,6 +1064,108 @@ public Integer getCrlReloadDuration() { return crlReloadDuration; } + /** + * Set to true to enable EKU Validation + * + *

*Added In:** 2304270343 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("ekuValidationEnabled") + private final Boolean ekuValidationEnabled; + + /** + * Set to true to enable EKU Validation + * + *

*Added In:** 2304270343 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getEkuValidationEnabled() { + return ekuValidationEnabled; + } + + /** */ + public enum EkuValues implements com.oracle.bmc.http.internal.BmcEnum { + ServerAuth("SERVER_AUTH"), + ClientAuth("CLIENT_AUTH"), + CodeSigning("CODE_SIGNING"), + EmailProtection("EMAIL_PROTECTION"), + TimeStamping("TIME_STAMPING"), + OcspSigning("OCSP_SIGNING"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(EkuValues.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (EkuValues v : EkuValues.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + EkuValues(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static EkuValues create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'EkuValues', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * List of EKU which needs to be validated + * + *

*Added In:** 2304270343 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("ekuValues") + private final java.util.List ekuValues; + + /** + * List of EKU which needs to be validated + * + *

*Added In:** 2304270343 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getEkuValues() { + return ekuValues; + } + @Override public String toString() { return this.toString(true); @@ -1027,6 +1201,8 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.crlCheckOnOCSPFailureEnabled)); sb.append(", crlLocation=").append(String.valueOf(this.crlLocation)); sb.append(", crlReloadDuration=").append(String.valueOf(this.crlReloadDuration)); + sb.append(", ekuValidationEnabled=").append(String.valueOf(this.ekuValidationEnabled)); + sb.append(", ekuValues=").append(String.valueOf(this.ekuValues)); sb.append(")"); return sb.toString(); } @@ -1061,6 +1237,8 @@ public boolean equals(Object o) { this.crlCheckOnOCSPFailureEnabled, other.crlCheckOnOCSPFailureEnabled) && java.util.Objects.equals(this.crlLocation, other.crlLocation) && java.util.Objects.equals(this.crlReloadDuration, other.crlReloadDuration) + && java.util.Objects.equals(this.ekuValidationEnabled, other.ekuValidationEnabled) + && java.util.Objects.equals(this.ekuValues, other.ekuValues) && super.equals(other); } @@ -1125,6 +1303,12 @@ public int hashCode() { result = (result * PRIME) + (this.crlReloadDuration == null ? 43 : this.crlReloadDuration.hashCode()); + result = + (result * PRIME) + + (this.ekuValidationEnabled == null + ? 43 + : this.ekuValidationEnabled.hashCode()); + result = (result * PRIME) + (this.ekuValues == null ? 43 : this.ekuValues.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Grant.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Grant.java new file mode 100644 index 00000000000..99791c29ba6 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Grant.java @@ -0,0 +1,1298 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Schema for Grant Resource
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = Grant.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class Grant extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "grantMechanism", + "compositeKey", + "isFulfilled", + "grantedAttributeValuesJson", + "appEntitlementCollection", + "grantor", + "grantee", + "app", + "entitlement" + }) + public Grant( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + GrantMechanism grantMechanism, + String compositeKey, + Boolean isFulfilled, + String grantedAttributeValuesJson, + GrantAppEntitlementCollection appEntitlementCollection, + GrantGrantor grantor, + GrantGrantee grantee, + GrantApp app, + GrantEntitlement entitlement) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.grantMechanism = grantMechanism; + this.compositeKey = compositeKey; + this.isFulfilled = isFulfilled; + this.grantedAttributeValuesJson = grantedAttributeValuesJson; + this.appEntitlementCollection = appEntitlementCollection; + this.grantor = grantor; + this.grantee = grantee; + this.app = app; + this.entitlement = entitlement; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * Each value of grantMechanism indicates how (or by what component) some App (or + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values + * that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a + * specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which + * results in indirect grants to Users who are members of that Group. - + * 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains + * access to the granted (server) App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: + * [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("grantMechanism") + private GrantMechanism grantMechanism; + + /** + * Each value of grantMechanism indicates how (or by what component) some App (or + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values + * that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a + * specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which + * results in indirect grants to Users who are members of that Group. - + * 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains + * access to the granted (server) App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: + * [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + * + * @param grantMechanism the value to set + * @return this builder + */ + public Builder grantMechanism(GrantMechanism grantMechanism) { + this.grantMechanism = grantMechanism; + this.__explicitlySet__.add("grantMechanism"); + return this; + } + /** + * Unique key of grant, composed by combining a subset of app, entitlement, grantee, grantor + * and grantMechanism. Used to prevent duplicate Grants. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("compositeKey") + private String compositeKey; + + /** + * Unique key of grant, composed by combining a subset of app, entitlement, grantee, grantor + * and grantMechanism. Used to prevent duplicate Grants. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * server + * + * @param compositeKey the value to set + * @return this builder + */ + public Builder compositeKey(String compositeKey) { + this.compositeKey = compositeKey; + this.__explicitlySet__.add("compositeKey"); + return this; + } + /** + * If true, this Grant has been fulfilled successfully. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isFulfilled") + private Boolean isFulfilled; + + /** + * If true, this Grant has been fulfilled successfully. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isFulfilled the value to set + * @return this builder + */ + public Builder isFulfilled(Boolean isFulfilled) { + this.isFulfilled = isFulfilled; + this.__explicitlySet__.add("isFulfilled"); + return this; + } + /** + * Store granted attribute-values as a string in Javascript Object Notation (JSON) format. + * + *

*Added In:** 18.3.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("grantedAttributeValuesJson") + private String grantedAttributeValuesJson; + + /** + * Store granted attribute-values as a string in Javascript Object Notation (JSON) format. + * + *

*Added In:** 18.3.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param grantedAttributeValuesJson the value to set + * @return this builder + */ + public Builder grantedAttributeValuesJson(String grantedAttributeValuesJson) { + this.grantedAttributeValuesJson = grantedAttributeValuesJson; + this.__explicitlySet__.add("grantedAttributeValuesJson"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("appEntitlementCollection") + private GrantAppEntitlementCollection appEntitlementCollection; + + public Builder appEntitlementCollection( + GrantAppEntitlementCollection appEntitlementCollection) { + this.appEntitlementCollection = appEntitlementCollection; + this.__explicitlySet__.add("appEntitlementCollection"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grantor") + private GrantGrantor grantor; + + public Builder grantor(GrantGrantor grantor) { + this.grantor = grantor; + this.__explicitlySet__.add("grantor"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grantee") + private GrantGrantee grantee; + + public Builder grantee(GrantGrantee grantee) { + this.grantee = grantee; + this.__explicitlySet__.add("grantee"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("app") + private GrantApp app; + + public Builder app(GrantApp app) { + this.app = app; + this.__explicitlySet__.add("app"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("entitlement") + private GrantEntitlement entitlement; + + public Builder entitlement(GrantEntitlement entitlement) { + this.entitlement = entitlement; + this.__explicitlySet__.add("entitlement"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public Grant build() { + Grant model = + new Grant( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.grantMechanism, + this.compositeKey, + this.isFulfilled, + this.grantedAttributeValuesJson, + this.appEntitlementCollection, + this.grantor, + this.grantee, + this.app, + this.entitlement); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(Grant model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("grantMechanism")) { + this.grantMechanism(model.getGrantMechanism()); + } + if (model.wasPropertyExplicitlySet("compositeKey")) { + this.compositeKey(model.getCompositeKey()); + } + if (model.wasPropertyExplicitlySet("isFulfilled")) { + this.isFulfilled(model.getIsFulfilled()); + } + if (model.wasPropertyExplicitlySet("grantedAttributeValuesJson")) { + this.grantedAttributeValuesJson(model.getGrantedAttributeValuesJson()); + } + if (model.wasPropertyExplicitlySet("appEntitlementCollection")) { + this.appEntitlementCollection(model.getAppEntitlementCollection()); + } + if (model.wasPropertyExplicitlySet("grantor")) { + this.grantor(model.getGrantor()); + } + if (model.wasPropertyExplicitlySet("grantee")) { + this.grantee(model.getGrantee()); + } + if (model.wasPropertyExplicitlySet("app")) { + this.app(model.getApp()); + } + if (model.wasPropertyExplicitlySet("entitlement")) { + this.entitlement(model.getEntitlement()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * Each value of grantMechanism indicates how (or by what component) some App (or + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a + * grant to a specific App. The grantee (client) App gains access to the granted (server) App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: + * [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + */ + public enum GrantMechanism implements com.oracle.bmc.http.internal.BmcEnum { + ImportApproleMembers("IMPORT_APPROLE_MEMBERS"), + AdministratorToUser("ADMINISTRATOR_TO_USER"), + AdministratorToDelegatedUser("ADMINISTRATOR_TO_DELEGATED_USER"), + AdministratorToGroup("ADMINISTRATOR_TO_GROUP"), + ServiceManagerToUser("SERVICE_MANAGER_TO_USER"), + AdministratorToApp("ADMINISTRATOR_TO_APP"), + ServiceManagerToApp("SERVICE_MANAGER_TO_APP"), + OpcInfraToApp("OPC_INFRA_TO_APP"), + GroupMembership("GROUP_MEMBERSHIP"), + ImportGrants("IMPORT_GRANTS"), + SyncToUser("SYNC_TO_USER"), + AccessRequest("ACCESS_REQUEST"), + AppEntitlementCollection("APP_ENTITLEMENT_COLLECTION"), + AdministratorToDynamicResourceGroup("ADMINISTRATOR_TO_DYNAMIC_RESOURCE_GROUP"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(GrantMechanism.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (GrantMechanism v : GrantMechanism.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + GrantMechanism(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static GrantMechanism create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'GrantMechanism', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Each value of grantMechanism indicates how (or by what component) some App (or + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a + * grant to a specific App. The grantee (client) App gains access to the granted (server) App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: + * [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("grantMechanism") + private final GrantMechanism grantMechanism; + + /** + * Each value of grantMechanism indicates how (or by what component) some App (or + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a + * grant to a specific App. The grantee (client) App gains access to the granted (server) App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeNameMappings: + * [[defaultValue:IMPORT_GRANTS]] - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public GrantMechanism getGrantMechanism() { + return grantMechanism; + } + + /** + * Unique key of grant, composed by combining a subset of app, entitlement, grantee, grantor and + * grantMechanism. Used to prevent duplicate Grants. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * server + */ + @com.fasterxml.jackson.annotation.JsonProperty("compositeKey") + private final String compositeKey; + + /** + * Unique key of grant, composed by combining a subset of app, entitlement, grantee, grantor and + * grantMechanism. Used to prevent duplicate Grants. + * + *

*Added In:** 18.1.2 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * server + * + * @return the value + */ + public String getCompositeKey() { + return compositeKey; + } + + /** + * If true, this Grant has been fulfilled successfully. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isFulfilled") + private final Boolean isFulfilled; + + /** + * If true, this Grant has been fulfilled successfully. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsFulfilled() { + return isFulfilled; + } + + /** + * Store granted attribute-values as a string in Javascript Object Notation (JSON) format. + * + *

*Added In:** 18.3.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("grantedAttributeValuesJson") + private final String grantedAttributeValuesJson; + + /** + * Store granted attribute-values as a string in Javascript Object Notation (JSON) format. + * + *

*Added In:** 18.3.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getGrantedAttributeValuesJson() { + return grantedAttributeValuesJson; + } + + @com.fasterxml.jackson.annotation.JsonProperty("appEntitlementCollection") + private final GrantAppEntitlementCollection appEntitlementCollection; + + public GrantAppEntitlementCollection getAppEntitlementCollection() { + return appEntitlementCollection; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grantor") + private final GrantGrantor grantor; + + public GrantGrantor getGrantor() { + return grantor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("grantee") + private final GrantGrantee grantee; + + public GrantGrantee getGrantee() { + return grantee; + } + + @com.fasterxml.jackson.annotation.JsonProperty("app") + private final GrantApp app; + + public GrantApp getApp() { + return app; + } + + @com.fasterxml.jackson.annotation.JsonProperty("entitlement") + private final GrantEntitlement entitlement; + + public GrantEntitlement getEntitlement() { + return entitlement; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("Grant("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", grantMechanism=").append(String.valueOf(this.grantMechanism)); + sb.append(", compositeKey=").append(String.valueOf(this.compositeKey)); + sb.append(", isFulfilled=").append(String.valueOf(this.isFulfilled)); + sb.append(", grantedAttributeValuesJson=") + .append(String.valueOf(this.grantedAttributeValuesJson)); + sb.append(", appEntitlementCollection=") + .append(String.valueOf(this.appEntitlementCollection)); + sb.append(", grantor=").append(String.valueOf(this.grantor)); + sb.append(", grantee=").append(String.valueOf(this.grantee)); + sb.append(", app=").append(String.valueOf(this.app)); + sb.append(", entitlement=").append(String.valueOf(this.entitlement)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof Grant)) { + return false; + } + + Grant other = (Grant) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.grantMechanism, other.grantMechanism) + && java.util.Objects.equals(this.compositeKey, other.compositeKey) + && java.util.Objects.equals(this.isFulfilled, other.isFulfilled) + && java.util.Objects.equals( + this.grantedAttributeValuesJson, other.grantedAttributeValuesJson) + && java.util.Objects.equals( + this.appEntitlementCollection, other.appEntitlementCollection) + && java.util.Objects.equals(this.grantor, other.grantor) + && java.util.Objects.equals(this.grantee, other.grantee) + && java.util.Objects.equals(this.app, other.app) + && java.util.Objects.equals(this.entitlement, other.entitlement) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = + (result * PRIME) + + (this.grantMechanism == null ? 43 : this.grantMechanism.hashCode()); + result = (result * PRIME) + (this.compositeKey == null ? 43 : this.compositeKey.hashCode()); + result = (result * PRIME) + (this.isFulfilled == null ? 43 : this.isFulfilled.hashCode()); + result = + (result * PRIME) + + (this.grantedAttributeValuesJson == null + ? 43 + : this.grantedAttributeValuesJson.hashCode()); + result = + (result * PRIME) + + (this.appEntitlementCollection == null + ? 43 + : this.appEntitlementCollection.hashCode()); + result = (result * PRIME) + (this.grantor == null ? 43 : this.grantor.hashCode()); + result = (result * PRIME) + (this.grantee == null ? 43 : this.grantee.hashCode()); + result = (result * PRIME) + (this.app == null ? 43 : this.app.hashCode()); + result = (result * PRIME) + (this.entitlement == null ? 43 : this.entitlement.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantApp.java new file mode 100644 index 00000000000..b3deaf87c12 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantApp.java @@ -0,0 +1,258 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Application that is being granted. Each Grant must grant either an App or an + * App-Entitlement-Collection. + * + *

*SCIM++ Properties:** - idcsCsvAttributeNameMappings: [[columnHeaderName:App Name, + * defaultValue:jobParam:appDisplayName, mapsTo:app.value]] - idcsSearchable: true - multiValued: + * false - mutability: immutable - required: false - returned: default - type: complex - uniqueness: + * none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = GrantApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class GrantApp extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display"}) + public GrantApp(String value, String ref, String display) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Application identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Application identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Application URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * Application URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Application display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Application display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public GrantApp build() { + GrantApp model = new GrantApp(this.value, this.ref, this.display); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(GrantApp model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Application identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Application identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Application URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * Application URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Application display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Application display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("GrantApp("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GrantApp)) { + return false; + } + + GrantApp other = (GrantApp) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantAppEntitlementCollection.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantAppEntitlementCollection.java new file mode 100644 index 00000000000..264978bdc70 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantAppEntitlementCollection.java @@ -0,0 +1,226 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Application-Entitlement-Collection that is being granted. Each Grant must grant either an App or + * an App-Entitlement-Collection. + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = GrantAppEntitlementCollection.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class GrantAppEntitlementCollection + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public GrantAppEntitlementCollection(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Application Entitlement Collection identifier + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Application Entitlement Collection identifier + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Application Entitlement Collection URI + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * Application Entitlement Collection URI + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public GrantAppEntitlementCollection build() { + GrantAppEntitlementCollection model = + new GrantAppEntitlementCollection(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(GrantAppEntitlementCollection model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Application Entitlement Collection identifier + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Application Entitlement Collection identifier + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Application Entitlement Collection URI + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * Application Entitlement Collection URI + * + *

*Added In:** 18.2.4 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("GrantAppEntitlementCollection("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GrantAppEntitlementCollection)) { + return false; + } + + GrantAppEntitlementCollection other = (GrantAppEntitlementCollection) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantEntitlement.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantEntitlement.java new file mode 100644 index 00000000000..132890dbf99 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantEntitlement.java @@ -0,0 +1,231 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The entitlement or privilege that is being granted + * + *

*SCIM++ Properties:** - idcsCsvAttributeNameMappings: [[columnHeaderName:Entitlement Value, + * csvColumnForResolvingResourceType:Entitlement Name, mapsTo:entitlement.attributeValue, + * referencedResourceTypeUniqueAttributeNameMappings:[[mapsFromColumnName:Entitlement Value, + * resourceTypeAttributeName:displayName], [mapsFromColumnName:App Name, + * resourceTypeAttributeName:app.display]], resolveValueUsingResourceType:[[resolveBy:AppRole, + * valueToBeResolved:appRoles]]], [columnHeaderName:Entitlement Name, defaultValue:appRoles, + * mapsTo:entitlement.attributeName]] - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: false - returned: default - type: complex
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = GrantEntitlement.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class GrantEntitlement + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"attributeName", "attributeValue"}) + public GrantEntitlement(String attributeName, String attributeValue) { + super(); + this.attributeName = attributeName; + this.attributeValue = attributeValue; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The name of the attribute whose value (specified by attributeValue) confers privilege + * within the service-instance (specified by app). + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeName") + private String attributeName; + + /** + * The name of the attribute whose value (specified by attributeValue) confers privilege + * within the service-instance (specified by app). + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + * + * @param attributeName the value to set + * @return this builder + */ + public Builder attributeName(String attributeName) { + this.attributeName = attributeName; + this.__explicitlySet__.add("attributeName"); + return this; + } + /** + * The value of the attribute (specified by attributeName) that confers privilege within the + * service-instance (specified by app). If attributeName is 'appRoles', then attributeValue + * is the ID of the AppRole. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Display Name - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeValue") + private String attributeValue; + + /** + * The value of the attribute (specified by attributeName) that confers privilege within the + * service-instance (specified by app). If attributeName is 'appRoles', then attributeValue + * is the ID of the AppRole. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Display Name - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + * + * @param attributeValue the value to set + * @return this builder + */ + public Builder attributeValue(String attributeValue) { + this.attributeValue = attributeValue; + this.__explicitlySet__.add("attributeValue"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public GrantEntitlement build() { + GrantEntitlement model = new GrantEntitlement(this.attributeName, this.attributeValue); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(GrantEntitlement model) { + if (model.wasPropertyExplicitlySet("attributeName")) { + this.attributeName(model.getAttributeName()); + } + if (model.wasPropertyExplicitlySet("attributeValue")) { + this.attributeValue(model.getAttributeValue()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The name of the attribute whose value (specified by attributeValue) confers privilege within + * the service-instance (specified by app). + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeName") + private final String attributeName; + + /** + * The name of the attribute whose value (specified by attributeValue) confers privilege within + * the service-instance (specified by app). + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getAttributeName() { + return attributeName; + } + + /** + * The value of the attribute (specified by attributeName) that confers privilege within the + * service-instance (specified by app). If attributeName is 'appRoles', then attributeValue is + * the ID of the AppRole. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Display Name - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeValue") + private final String attributeValue; + + /** + * The value of the attribute (specified by attributeName) that confers privilege within the + * service-instance (specified by app). If attributeName is 'appRoles', then attributeValue is + * the ID of the AppRole. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Display Name - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getAttributeValue() { + return attributeValue; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("GrantEntitlement("); + sb.append("super=").append(super.toString()); + sb.append("attributeName=").append(String.valueOf(this.attributeName)); + sb.append(", attributeValue=").append(String.valueOf(this.attributeValue)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GrantEntitlement)) { + return false; + } + + GrantEntitlement other = (GrantEntitlement) o; + return java.util.Objects.equals(this.attributeName, other.attributeName) + && java.util.Objects.equals(this.attributeValue, other.attributeValue) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.attributeName == null ? 43 : this.attributeName.hashCode()); + result = + (result * PRIME) + + (this.attributeValue == null ? 43 : this.attributeValue.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantGrantee.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantGrantee.java new file mode 100644 index 00000000000..59d3d208995 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantGrantee.java @@ -0,0 +1,366 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Grantee beneficiary. The grantee may be a User, Group, App or DynamicResourceGroup. + * + *

*SCIM++ Properties:** - idcsCsvAttributeNameMappings: [[columnHeaderName:Grantee Name, + * csvColumnForResolvingResourceType:Grantee Type, mapsTo:grantee.value], [columnHeaderName:Grantee + * Type, mapsTo:grantee.type]] - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: true - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = GrantGrantee.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class GrantGrantee extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "type", "display"}) + public GrantGrantee(String value, String ref, Type type, String display) { + super(); + this.value = value; + this.ref = ref; + this.type = type; + this.display = display; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Grantee identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Grantee identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Grantee URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * Grantee URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Grantee resource type. Allowed values are User, Group, App and DynamicResourceGroup. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member Type - + * idcsDefaultValue: User - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * Grantee resource type. Allowed values are User, Group, App and DynamicResourceGroup. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member Type - + * idcsDefaultValue: User - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + * + * @param type the value to set + * @return this builder + */ + public Builder type(Type type) { + this.type = type; + this.__explicitlySet__.add("type"); + return this; + } + /** + * Grantee display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Grantee display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public GrantGrantee build() { + GrantGrantee model = new GrantGrantee(this.value, this.ref, this.type, this.display); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(GrantGrantee model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("type")) { + this.type(model.getType()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Grantee identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member - idcsSearchable: + * true - multiValued: false - mutability: immutable - required: true - returned: default - + * type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Grantee identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member - idcsSearchable: + * true - multiValued: false - mutability: immutable - required: true - returned: default - + * type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Grantee URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * Grantee URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Grantee resource type. Allowed values are User, Group, App and DynamicResourceGroup. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member Type - + * idcsDefaultValue: User - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: true - returned: default - type: string - uniqueness: none + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + User("User"), + Group("Group"), + App("App"), + DynamicResourceGroup("DynamicResourceGroup"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; + /** + * Grantee resource type. Allowed values are User, Group, App and DynamicResourceGroup. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member Type - + * idcsDefaultValue: User - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * Grantee resource type. Allowed values are User, Group, App and DynamicResourceGroup. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member Type - + * idcsDefaultValue: User - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public Type getType() { + return type; + } + + /** + * Grantee display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Grantee display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("GrantGrantee("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", type=").append(String.valueOf(this.type)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GrantGrantee)) { + return false; + } + + GrantGrantee other = (GrantGrantee) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.type, other.type) + && java.util.Objects.equals(this.display, other.display) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantGrantor.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantGrantor.java new file mode 100644 index 00000000000..995cfaedb12 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantGrantor.java @@ -0,0 +1,364 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * User conferring the grant to the beneficiary + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * idcsIgnoreReadOnlyAndImmutableRefAttrsDuringForceDelete: true - required: false - returned: + * default - type: complex
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = GrantGrantor.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class GrantGrantor extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "type", "display"}) + public GrantGrantor(String value, String ref, Type type, String display) { + super(); + this.value = value; + this.ref = ref; + this.type = type; + this.display = display; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Grantor user identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Grantor user identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Grantor URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * Grantor URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Resource type of the grantor. Allowed values are User and App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: User - idcsSearchable: + * true - multiValued: false - mutability: readOnly - required: true - returned: default - + * type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * Resource type of the grantor. Allowed values are User and App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: User - idcsSearchable: + * true - multiValued: false - mutability: readOnly - required: true - returned: default - + * type: string - uniqueness: none + * + * @param type the value to set + * @return this builder + */ + public Builder type(Type type) { + this.type = type; + this.__explicitlySet__.add("type"); + return this; + } + /** + * Grantor display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Grantor display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public GrantGrantor build() { + GrantGrantor model = new GrantGrantor(this.value, this.ref, this.type, this.display); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(GrantGrantor model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("type")) { + this.type(model.getType()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Grantor user identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Grantor user identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Grantor URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * Grantor URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Resource type of the grantor. Allowed values are User and App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: User - idcsSearchable: true - + * multiValued: false - mutability: readOnly - required: true - returned: default - type: string + * - uniqueness: none + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + User("User"), + App("App"), + Group("Group"), + AppEntitlementCollection("AppEntitlementCollection"), + DynamicResourceGroup("DynamicResourceGroup"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; + /** + * Resource type of the grantor. Allowed values are User and App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: User - idcsSearchable: true - + * multiValued: false - mutability: readOnly - required: true - returned: default - type: string + * - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * Resource type of the grantor. Allowed values are User and App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsDefaultValue: User - idcsSearchable: true - + * multiValued: false - mutability: readOnly - required: true - returned: default - type: string + * - uniqueness: none + * + * @return the value + */ + public Type getType() { + return type; + } + + /** + * Grantor display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Grantor display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("GrantGrantor("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", type=").append(String.valueOf(this.type)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GrantGrantor)) { + return false; + } + + GrantGrantor other = (GrantGrantor) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.type, other.type) + && java.util.Objects.equals(this.display, other.display) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantSearchRequest.java new file mode 100644 index 00000000000..4f223ed5cec --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GrantSearchRequest.java @@ -0,0 +1,538 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Clients MAY execute queries without passing parameters on the URL by using the HTTP POST verb + * combined with the **.search** path extension. The inclusion of **.search** on the end of a valid + * SCIM endpoint SHALL be used to indicate the HTTP POST verb is intended to be a query operation. + * To create a new query result set, a SCIM client sends an HTTP POST request to the desired SCIM + * resource endpoint (ending in **.search**). The body of the POST request MAY include any of the + * parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = GrantSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class GrantSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "attributes", + "attributeSets", + "filter", + "sortBy", + "sortOrder", + "startIndex", + "count" + }) + public GrantSearchRequest( + java.util.List schemas, + java.util.List attributes, + java.util.List attributeSets, + String filter, + String sortBy, + SortOrder sortOrder, + Integer startIndex, + Integer count) { + super(); + this.schemas = schemas; + this.attributes = attributes; + this.attributeSets = attributeSets; + this.filter = filter; + this.sortBy = sortBy; + this.sortOrder = sortOrder; + this.startIndex = startIndex; + this.count = count; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @param attributes the value to set + * @return this builder + */ + public Builder attributes(java.util.List attributes) { + this.attributes = attributes; + this.__explicitlySet__.add("attributes"); + return this; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + * + * @param attributeSets the value to set + * @return this builder + */ + public Builder attributeSets(java.util.List attributeSets) { + this.attributeSets = attributeSets; + this.__explicitlySet__.add("attributeSets"); + return this; + } + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @param filter the value to set + * @return this builder + */ + public Builder filter(String filter) { + this.filter = filter; + this.__explicitlySet__.add("filter"); + return this; + } + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + * + * @param sortBy the value to set + * @return this builder + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + this.__explicitlySet__.add("sortBy"); + return this; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder + */ + public Builder sortOrder(SortOrder sortOrder) { + this.sortOrder = sortOrder; + this.__explicitlySet__.add("sortOrder"); + return this; + } + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @param count the value to set + * @return this builder + */ + public Builder count(Integer count) { + this.count = count; + this.__explicitlySet__.add("count"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public GrantSearchRequest build() { + GrantSearchRequest model = + new GrantSearchRequest( + this.schemas, + this.attributes, + this.attributeSets, + this.filter, + this.sortBy, + this.sortOrder, + this.startIndex, + this.count); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(GrantSearchRequest model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("attributes")) { + this.attributes(model.getAttributes()); + } + if (model.wasPropertyExplicitlySet("attributeSets")) { + this.attributeSets(model.getAttributeSets()); + } + if (model.wasPropertyExplicitlySet("filter")) { + this.filter(model.getFilter()); + } + if (model.wasPropertyExplicitlySet("sortBy")) { + this.sortBy(model.getSortBy()); + } + if (model.wasPropertyExplicitlySet("sortOrder")) { + this.sortOrder(model.getSortOrder()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("count")) { + this.count(model.getCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private final java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private final java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private final String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @return the value + */ + public String getFilter() { + return filter; + } + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private final String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + * + * @return the value + */ + public String getSortBy() { + return sortBy; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private final SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @return the value + */ + public SortOrder getSortOrder() { + return sortOrder; + } + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private final Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @return the value + */ + public Integer getCount() { + return count; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("GrantSearchRequest("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", attributes=").append(String.valueOf(this.attributes)); + sb.append(", attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(", filter=").append(String.valueOf(this.filter)); + sb.append(", sortBy=").append(String.valueOf(this.sortBy)); + sb.append(", sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", count=").append(String.valueOf(this.count)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GrantSearchRequest)) { + return false; + } + + GrantSearchRequest other = (GrantSearchRequest) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Grants.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Grants.java new file mode 100644 index 00000000000..dba282dedbf --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Grants.java @@ -0,0 +1,356 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = Grants.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class Grants extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public Grants( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public Grants build() { + Grants model = + new Grants( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(Grants model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("Grants("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof Grants)) { + return false; + } + + Grants other = (Grants) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Group.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Group.java index d5868231024..78cf6513f8b 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Group.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Group.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * Group resource.
+ * The Group resource.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -448,7 +448,7 @@ public Builder externalId(String externalId) { return this; } /** - * Group display name + * The Group display name. * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - * idcsCsvAttributeNameMappings: [[columnHeaderName:Name, deprecatedColumnHeaderName:Display @@ -459,7 +459,7 @@ public Builder externalId(String externalId) { private String displayName; /** - * Group display name + * The Group display name. * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - * idcsCsvAttributeNameMappings: [[columnHeaderName:Name, deprecatedColumnHeaderName:Display @@ -475,7 +475,7 @@ public Builder displayName(String displayName) { return this; } /** - * A human readable name for Group as defined by the Service Consumer + * A human readable name for the group as defined by the Service Consumer. * *

*Added In:** 2011192329 * @@ -487,7 +487,7 @@ public Builder displayName(String displayName) { private String nonUniqueDisplayName; /** - * A human readable name for Group as defined by the Service Consumer + * A human readable name for the group as defined by the Service Consumer. * *

*Added In:** 2011192329 * @@ -504,10 +504,11 @@ public Builder nonUniqueDisplayName(String nonUniqueDisplayName) { return this; } /** - * Group members - when requesting members attribute, a max of 10,000 members will be - * returned in a single request. It is recommended to use startIndex and count to return - * members in pages instead of in a single response, eg : - * #attributes=members[startIndex=1%26count=10] + * The group members. Important: When requesting group members, a maximum of 10,000 + * members can be returned in a single request. If the response contains more than 10,000 + * members, the request will fail. Use 'startIndex' and 'count' to return members in pages + * instead of in a single response, for example: + * #attributes=members[startIndex=1%26count=10]. This REST API is SCIM compliant. * *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - * idcsCsvAttributeNameMappings: [[columnHeaderName:User Members, @@ -519,10 +520,11 @@ public Builder nonUniqueDisplayName(String nonUniqueDisplayName) { private java.util.List members; /** - * Group members - when requesting members attribute, a max of 10,000 members will be - * returned in a single request. It is recommended to use startIndex and count to return - * members in pages instead of in a single response, eg : - * #attributes=members[startIndex=1%26count=10] + * The group members. Important: When requesting group members, a maximum of 10,000 + * members can be returned in a single request. If the response contains more than 10,000 + * members, the request will fail. Use 'startIndex' and 'count' to return members in pages + * instead of in a single response, for example: + * #attributes=members[startIndex=1%26count=10]. This REST API is SCIM compliant. * *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - * idcsCsvAttributeNameMappings: [[columnHeaderName:User Members, @@ -1044,7 +1046,7 @@ public String getExternalId() { } /** - * Group display name + * The Group display name. * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - * idcsCsvAttributeNameMappings: [[columnHeaderName:Name, deprecatedColumnHeaderName:Display @@ -1055,7 +1057,7 @@ public String getExternalId() { private final String displayName; /** - * Group display name + * The Group display name. * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - * idcsCsvAttributeNameMappings: [[columnHeaderName:Name, deprecatedColumnHeaderName:Display @@ -1069,7 +1071,7 @@ public String getDisplayName() { } /** - * A human readable name for Group as defined by the Service Consumer + * A human readable name for the group as defined by the Service Consumer. * *

*Added In:** 2011192329 * @@ -1081,7 +1083,7 @@ public String getDisplayName() { private final String nonUniqueDisplayName; /** - * A human readable name for Group as defined by the Service Consumer + * A human readable name for the group as defined by the Service Consumer. * *

*Added In:** 2011192329 * @@ -1096,9 +1098,11 @@ public String getNonUniqueDisplayName() { } /** - * Group members - when requesting members attribute, a max of 10,000 members will be returned - * in a single request. It is recommended to use startIndex and count to return members in pages - * instead of in a single response, eg : #attributes=members[startIndex=1%26count=10] + * The group members. Important: When requesting group members, a maximum of 10,000 + * members can be returned in a single request. If the response contains more than 10,000 + * members, the request will fail. Use 'startIndex' and 'count' to return members in pages + * instead of in a single response, for example: #attributes=members[startIndex=1%26count=10]. + * This REST API is SCIM compliant. * *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - * idcsCsvAttributeNameMappings: [[columnHeaderName:User Members, mapsTo:members[User].value, @@ -1110,9 +1114,11 @@ public String getNonUniqueDisplayName() { private final java.util.List members; /** - * Group members - when requesting members attribute, a max of 10,000 members will be returned - * in a single request. It is recommended to use startIndex and count to return members in pages - * instead of in a single response, eg : #attributes=members[startIndex=1%26count=10] + * The group members. Important: When requesting group members, a maximum of 10,000 + * members can be returned in a single request. If the response contains more than 10,000 + * members, the request will fail. Use 'startIndex' and 'count' to return members in pages + * instead of in a single response, for example: #attributes=members[startIndex=1%26count=10]. + * This REST API is SCIM compliant. * *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - * idcsCsvAttributeNameMappings: [[columnHeaderName:User Members, mapsTo:members[User].value, diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GroupExtGrants.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GroupExtGrants.java index 653994c27ae..f99cc0f4c9d 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GroupExtGrants.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GroupExtGrants.java @@ -111,10 +111,10 @@ public Builder appId(String appId) { } /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which - * results in indirect grants to Users who are members of that Group.\ - + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values + * that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a + * specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which + * results in indirect grants to Users who are members of that Group. - * 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains * access to the granted (server) App. * @@ -127,10 +127,10 @@ public Builder appId(String appId) { /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which - * results in indirect grants to Users who are members of that Group.\ - + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values + * that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a + * specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which + * results in indirect grants to Users who are members of that Group. - * 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains * access to the granted (server) App. * @@ -251,10 +251,10 @@ public String getAppId() { /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results - * in indirect grants to Users who are members of that Group.\ - 'ADMINISTRATOR_TO_APP' is for a + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a * grant to a specific App. The grantee (client) App gains access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - @@ -313,10 +313,10 @@ public static GrantMechanism create(String key) { }; /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results - * in indirect grants to Users who are members of that Group.\ - 'ADMINISTRATOR_TO_APP' is for a + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a * grant to a specific App. The grantee (client) App gains access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - @@ -327,10 +327,10 @@ public static GrantMechanism create(String key) { /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results - * in indirect grants to Users who are members of that Group.\ - 'ADMINISTRATOR_TO_APP' is for a + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a * grant to a specific App. The grantee (client) App gains access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GroupMembers.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GroupMembers.java index 75eb5bfa93f..5daabbb0b87 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GroupMembers.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/GroupMembers.java @@ -5,9 +5,11 @@ package com.oracle.bmc.identitydomains.model; /** - * Group members - when requesting members attribute, a max of 10,000 members will be returned in a - * single request. It is recommended to use startIndex and count to return members in pages instead - * of in a single response, eg : #attributes=members[startIndex=1%26count=10]
+ * The group members. Important: When requesting group members, a maximum of 10,000 members + * can be returned in a single request. If the response contains more than 10,000 members, the + * request will fail. Use 'startIndex' and 'count' to return members in pages instead of in a single + * response, for example: #attributes=members[startIndex=1%26count=10]. This REST API is SCIM + * compliant.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -56,7 +58,7 @@ public GroupMembers( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * ID of the member of this Group + * The ID of the member of this Group * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: always - type: string - uniqueness: @@ -66,7 +68,7 @@ public static class Builder { private String value; /** - * ID of the member of this Group + * The ID of the member of this Group * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: always - type: string - uniqueness: @@ -81,7 +83,7 @@ public Builder value(String value) { return this; } /** - * The DateTime the member was added to the Group. + * The date and time that the member was added to the group. * *

*Added In:** 2012271618 * @@ -92,7 +94,7 @@ public Builder value(String value) { private String dateAdded; /** - * The DateTime the member was added to the Group. + * The date and time that the member was added to the group. * *

*Added In:** 2012271618 * @@ -108,7 +110,7 @@ public Builder dateAdded(String dateAdded) { return this; } /** - * OCID of the member of this Group + * The OCID of the member of this group. * *

*Added In:** 2012271618 * @@ -120,7 +122,7 @@ public Builder dateAdded(String dateAdded) { private String ocid; /** - * OCID of the member of this Group + * The OCID of the member of this group. * *

*Added In:** 2012271618 * @@ -137,7 +139,7 @@ public Builder ocid(String ocid) { return this; } /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2102181953 * @@ -149,7 +151,7 @@ public Builder ocid(String ocid) { private String membershipOcid; /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2102181953 * @@ -166,7 +168,7 @@ public Builder membershipOcid(String membershipOcid) { return this; } /** - * The URI that corresponds to the member Resource of this Group + * The URI that corresponds to the member Resource of this group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -176,7 +178,7 @@ public Builder membershipOcid(String membershipOcid) { private String ref; /** - * The URI that corresponds to the member Resource of this Group + * The URI that corresponds to the member Resource of this group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -191,7 +193,7 @@ public Builder ref(String ref) { return this; } /** - * Member display name + * The member's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -201,7 +203,7 @@ public Builder ref(String ref) { private String display; /** - * Member display name + * The member's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -216,7 +218,7 @@ public Builder display(String display) { return this; } /** - * Indicates the type of resource--for example, User or Group + * Indicates the type of resource, for example, User or Group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: * User - multiValued: false - mutability: readWrite - required: true - returned: default - @@ -226,7 +228,7 @@ public Builder display(String display) { private Type type; /** - * Indicates the type of resource--for example, User or Group + * Indicates the type of resource, for example, User or Group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: * User - multiValued: false - mutability: readWrite - required: true - returned: default - @@ -241,7 +243,7 @@ public Builder type(Type type) { return this; } /** - * Member name + * The member's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -251,7 +253,7 @@ public Builder type(Type type) { private String name; /** - * Member name + * The member's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -326,7 +328,7 @@ public Builder toBuilder() { } /** - * ID of the member of this Group + * The ID of the member of this Group * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none @@ -335,7 +337,7 @@ public Builder toBuilder() { private final String value; /** - * ID of the member of this Group + * The ID of the member of this Group * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none @@ -347,7 +349,7 @@ public String getValue() { } /** - * The DateTime the member was added to the Group. + * The date and time that the member was added to the group. * *

*Added In:** 2012271618 * @@ -358,7 +360,7 @@ public String getValue() { private final String dateAdded; /** - * The DateTime the member was added to the Group. + * The date and time that the member was added to the group. * *

*Added In:** 2012271618 * @@ -372,7 +374,7 @@ public String getDateAdded() { } /** - * OCID of the member of this Group + * The OCID of the member of this group. * *

*Added In:** 2012271618 * @@ -383,7 +385,7 @@ public String getDateAdded() { private final String ocid; /** - * OCID of the member of this Group + * The OCID of the member of this group. * *

*Added In:** 2012271618 * @@ -397,7 +399,7 @@ public String getOcid() { } /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2102181953 * @@ -408,7 +410,7 @@ public String getOcid() { private final String membershipOcid; /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2102181953 * @@ -422,7 +424,7 @@ public String getMembershipOcid() { } /** - * The URI that corresponds to the member Resource of this Group + * The URI that corresponds to the member Resource of this group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -432,7 +434,7 @@ public String getMembershipOcid() { private final String ref; /** - * The URI that corresponds to the member Resource of this Group + * The URI that corresponds to the member Resource of this group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -445,7 +447,7 @@ public String getRef() { } /** - * Member display name + * The member's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -454,7 +456,7 @@ public String getRef() { private final String display; /** - * Member display name + * The member's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -466,7 +468,7 @@ public String getDisplay() { } /** - * Indicates the type of resource--for example, User or Group + * Indicates the type of resource, for example, User or Group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: User - * multiValued: false - mutability: readWrite - required: true - returned: default - type: @@ -515,7 +517,7 @@ public static Type create(String key) { } }; /** - * Indicates the type of resource--for example, User or Group + * Indicates the type of resource, for example, User or Group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: User - * multiValued: false - mutability: readWrite - required: true - returned: default - type: @@ -525,7 +527,7 @@ public static Type create(String key) { private final Type type; /** - * Indicates the type of resource--for example, User or Group + * Indicates the type of resource, for example, User or Group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: User - * multiValued: false - mutability: readWrite - required: true - returned: default - type: @@ -538,7 +540,7 @@ public Type getType() { } /** - * Member name + * The member's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -547,7 +549,7 @@ public Type getType() { private final String name; /** - * Member name + * The member's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentityProvider.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentityProvider.java index 740124f7adc..b60d4e80683 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentityProvider.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentityProvider.java @@ -64,7 +64,6 @@ public final class IdentityProvider "jitUserProvAttributeUpdateEnabled", "jitUserProvGroupAssignmentMethod", "jitUserProvGroupMappingMode", - "jitUserProvGroupMappings", "jitUserProvGroupSAMLAttributeName", "serviceInstanceIdentifier", "userMappingMethod", @@ -76,6 +75,8 @@ public final class IdentityProvider "samlHoKRequired", "requestedAuthenticationContext", "jitUserProvIgnoreErrorOnAbsentGroups", + "lastNotificationSentTime", + "jitUserProvGroupMappings", "jitUserProvAttributes", "jitUserProvAssignedGroups", "correlationPolicy", @@ -124,7 +125,6 @@ public IdentityProvider( Boolean jitUserProvAttributeUpdateEnabled, JitUserProvGroupAssignmentMethod jitUserProvGroupAssignmentMethod, JitUserProvGroupMappingMode jitUserProvGroupMappingMode, - java.util.List jitUserProvGroupMappings, String jitUserProvGroupSAMLAttributeName, String serviceInstanceIdentifier, UserMappingMethod userMappingMethod, @@ -136,6 +136,8 @@ public IdentityProvider( Boolean samlHoKRequired, java.util.List requestedAuthenticationContext, Boolean jitUserProvIgnoreErrorOnAbsentGroups, + String lastNotificationSentTime, + java.util.List jitUserProvGroupMappings, IdentityProviderJitUserProvAttributes jitUserProvAttributes, java.util.List jitUserProvAssignedGroups, IdentityProviderCorrelationPolicy correlationPolicy, @@ -185,7 +187,6 @@ public IdentityProvider( this.jitUserProvAttributeUpdateEnabled = jitUserProvAttributeUpdateEnabled; this.jitUserProvGroupAssignmentMethod = jitUserProvGroupAssignmentMethod; this.jitUserProvGroupMappingMode = jitUserProvGroupMappingMode; - this.jitUserProvGroupMappings = jitUserProvGroupMappings; this.jitUserProvGroupSAMLAttributeName = jitUserProvGroupSAMLAttributeName; this.serviceInstanceIdentifier = serviceInstanceIdentifier; this.userMappingMethod = userMappingMethod; @@ -197,6 +198,8 @@ public IdentityProvider( this.samlHoKRequired = samlHoKRequired; this.requestedAuthenticationContext = requestedAuthenticationContext; this.jitUserProvIgnoreErrorOnAbsentGroups = jitUserProvIgnoreErrorOnAbsentGroups; + this.lastNotificationSentTime = lastNotificationSentTime; + this.jitUserProvGroupMappings = jitUserProvGroupMappings; this.jitUserProvAttributes = jitUserProvAttributes; this.jitUserProvAssignedGroups = jitUserProvAssignedGroups; this.correlationPolicy = correlationPolicy; @@ -1272,34 +1275,6 @@ public Builder jitUserProvGroupMappingMode( this.__explicitlySet__.add("jitUserProvGroupMappingMode"); return this; } - /** - * The list of mappings between the Identity Domain Group and the IDP group. - * - *

*Added In:** 2205120021 - * - *

*SCIM++ Properties:** - idcsCompositeKey: [idpGroup] - multiValued: true - mutability: - * readWrite - required: false - returned: default - type: complex - uniqueness: none - */ - @com.fasterxml.jackson.annotation.JsonProperty("jitUserProvGroupMappings") - private java.util.List jitUserProvGroupMappings; - - /** - * The list of mappings between the Identity Domain Group and the IDP group. - * - *

*Added In:** 2205120021 - * - *

*SCIM++ Properties:** - idcsCompositeKey: [idpGroup] - multiValued: true - mutability: - * readWrite - required: false - returned: default - type: complex - uniqueness: none - * - * @param jitUserProvGroupMappings the value to set - * @return this builder - */ - public Builder jitUserProvGroupMappings( - java.util.List jitUserProvGroupMappings) { - this.jitUserProvGroupMappings = jitUserProvGroupMappings; - this.__explicitlySet__.add("jitUserProvGroupMappings"); - return this; - } /** * Name of the assertion attribute containing the users groups * @@ -1639,6 +1614,65 @@ public Builder jitUserProvIgnoreErrorOnAbsentGroups( this.__explicitlySet__.add("jitUserProvIgnoreErrorOnAbsentGroups"); return this; } + /** + * Records the notification timestamp for the IdP whose signing certificate is about to + * expire + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: dateTime - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastNotificationSentTime") + private String lastNotificationSentTime; + + /** + * Records the notification timestamp for the IdP whose signing certificate is about to + * expire + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: dateTime - + * uniqueness: none + * + * @param lastNotificationSentTime the value to set + * @return this builder + */ + public Builder lastNotificationSentTime(String lastNotificationSentTime) { + this.lastNotificationSentTime = lastNotificationSentTime; + this.__explicitlySet__.add("lastNotificationSentTime"); + return this; + } + /** + * The list of mappings between the Identity Domain Group and the IDP group. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [idpGroup] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("jitUserProvGroupMappings") + private java.util.List jitUserProvGroupMappings; + + /** + * The list of mappings between the Identity Domain Group and the IDP group. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [idpGroup] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + * + * @param jitUserProvGroupMappings the value to set + * @return this builder + */ + public Builder jitUserProvGroupMappings( + java.util.List jitUserProvGroupMappings) { + this.jitUserProvGroupMappings = jitUserProvGroupMappings; + this.__explicitlySet__.add("jitUserProvGroupMappings"); + return this; + } @com.fasterxml.jackson.annotation.JsonProperty("jitUserProvAttributes") private IdentityProviderJitUserProvAttributes jitUserProvAttributes; @@ -1769,7 +1803,6 @@ public IdentityProvider build() { this.jitUserProvAttributeUpdateEnabled, this.jitUserProvGroupAssignmentMethod, this.jitUserProvGroupMappingMode, - this.jitUserProvGroupMappings, this.jitUserProvGroupSAMLAttributeName, this.serviceInstanceIdentifier, this.userMappingMethod, @@ -1781,6 +1814,8 @@ public IdentityProvider build() { this.samlHoKRequired, this.requestedAuthenticationContext, this.jitUserProvIgnoreErrorOnAbsentGroups, + this.lastNotificationSentTime, + this.jitUserProvGroupMappings, this.jitUserProvAttributes, this.jitUserProvAssignedGroups, this.correlationPolicy, @@ -1920,9 +1955,6 @@ public Builder copy(IdentityProvider model) { if (model.wasPropertyExplicitlySet("jitUserProvGroupMappingMode")) { this.jitUserProvGroupMappingMode(model.getJitUserProvGroupMappingMode()); } - if (model.wasPropertyExplicitlySet("jitUserProvGroupMappings")) { - this.jitUserProvGroupMappings(model.getJitUserProvGroupMappings()); - } if (model.wasPropertyExplicitlySet("jitUserProvGroupSAMLAttributeName")) { this.jitUserProvGroupSAMLAttributeName( model.getJitUserProvGroupSAMLAttributeName()); @@ -1958,6 +1990,12 @@ public Builder copy(IdentityProvider model) { this.jitUserProvIgnoreErrorOnAbsentGroups( model.getJitUserProvIgnoreErrorOnAbsentGroups()); } + if (model.wasPropertyExplicitlySet("lastNotificationSentTime")) { + this.lastNotificationSentTime(model.getLastNotificationSentTime()); + } + if (model.wasPropertyExplicitlySet("jitUserProvGroupMappings")) { + this.jitUserProvGroupMappings(model.getJitUserProvGroupMappings()); + } if (model.wasPropertyExplicitlySet("jitUserProvAttributes")) { this.jitUserProvAttributes(model.getJitUserProvAttributes()); } @@ -3180,31 +3218,6 @@ public JitUserProvGroupMappingMode getJitUserProvGroupMappingMode() { return jitUserProvGroupMappingMode; } - /** - * The list of mappings between the Identity Domain Group and the IDP group. - * - *

*Added In:** 2205120021 - * - *

*SCIM++ Properties:** - idcsCompositeKey: [idpGroup] - multiValued: true - mutability: - * readWrite - required: false - returned: default - type: complex - uniqueness: none - */ - @com.fasterxml.jackson.annotation.JsonProperty("jitUserProvGroupMappings") - private final java.util.List jitUserProvGroupMappings; - - /** - * The list of mappings between the Identity Domain Group and the IDP group. - * - *

*Added In:** 2205120021 - * - *

*SCIM++ Properties:** - idcsCompositeKey: [idpGroup] - multiValued: true - mutability: - * readWrite - required: false - returned: default - type: complex - uniqueness: none - * - * @return the value - */ - public java.util.List getJitUserProvGroupMappings() { - return jitUserProvGroupMappings; - } - /** * Name of the assertion attribute containing the users groups * @@ -3621,6 +3634,58 @@ public Boolean getJitUserProvIgnoreErrorOnAbsentGroups() { return jitUserProvIgnoreErrorOnAbsentGroups; } + /** + * Records the notification timestamp for the IdP whose signing certificate is about to expire + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastNotificationSentTime") + private final String lastNotificationSentTime; + + /** + * Records the notification timestamp for the IdP whose signing certificate is about to expire + * + *

*Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + * + * @return the value + */ + public String getLastNotificationSentTime() { + return lastNotificationSentTime; + } + + /** + * The list of mappings between the Identity Domain Group and the IDP group. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [idpGroup] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("jitUserProvGroupMappings") + private final java.util.List jitUserProvGroupMappings; + + /** + * The list of mappings between the Identity Domain Group and the IDP group. + * + *

*Added In:** 2205120021 + * + *

*SCIM++ Properties:** - idcsCompositeKey: [idpGroup] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex - uniqueness: none + * + * @return the value + */ + public java.util.List getJitUserProvGroupMappings() { + return jitUserProvGroupMappings; + } + @com.fasterxml.jackson.annotation.JsonProperty("jitUserProvAttributes") private final IdentityProviderJitUserProvAttributes jitUserProvAttributes; @@ -3751,8 +3816,6 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.jitUserProvGroupAssignmentMethod)); sb.append(", jitUserProvGroupMappingMode=") .append(String.valueOf(this.jitUserProvGroupMappingMode)); - sb.append(", jitUserProvGroupMappings=") - .append(String.valueOf(this.jitUserProvGroupMappings)); sb.append(", jitUserProvGroupSAMLAttributeName=") .append(String.valueOf(this.jitUserProvGroupSAMLAttributeName)); sb.append(", serviceInstanceIdentifier=") @@ -3770,6 +3833,10 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.requestedAuthenticationContext)); sb.append(", jitUserProvIgnoreErrorOnAbsentGroups=") .append(String.valueOf(this.jitUserProvIgnoreErrorOnAbsentGroups)); + sb.append(", lastNotificationSentTime=") + .append(String.valueOf(this.lastNotificationSentTime)); + sb.append(", jitUserProvGroupMappings=") + .append(String.valueOf(this.jitUserProvGroupMappings)); sb.append(", jitUserProvAttributes=").append(String.valueOf(this.jitUserProvAttributes)); sb.append(", jitUserProvAssignedGroups=") .append(String.valueOf(this.jitUserProvAssignedGroups)); @@ -3853,8 +3920,6 @@ public boolean equals(Object o) { other.jitUserProvGroupAssignmentMethod) && java.util.Objects.equals( this.jitUserProvGroupMappingMode, other.jitUserProvGroupMappingMode) - && java.util.Objects.equals( - this.jitUserProvGroupMappings, other.jitUserProvGroupMappings) && java.util.Objects.equals( this.jitUserProvGroupSAMLAttributeName, other.jitUserProvGroupSAMLAttributeName) @@ -3874,6 +3939,10 @@ public boolean equals(Object o) { && java.util.Objects.equals( this.jitUserProvIgnoreErrorOnAbsentGroups, other.jitUserProvIgnoreErrorOnAbsentGroups) + && java.util.Objects.equals( + this.lastNotificationSentTime, other.lastNotificationSentTime) + && java.util.Objects.equals( + this.jitUserProvGroupMappings, other.jitUserProvGroupMappings) && java.util.Objects.equals(this.jitUserProvAttributes, other.jitUserProvAttributes) && java.util.Objects.equals( this.jitUserProvAssignedGroups, other.jitUserProvAssignedGroups) @@ -4012,11 +4081,6 @@ public int hashCode() { + (this.jitUserProvGroupMappingMode == null ? 43 : this.jitUserProvGroupMappingMode.hashCode()); - result = - (result * PRIME) - + (this.jitUserProvGroupMappings == null - ? 43 - : this.jitUserProvGroupMappings.hashCode()); result = (result * PRIME) + (this.jitUserProvGroupSAMLAttributeName == null @@ -4062,6 +4126,16 @@ public int hashCode() { + (this.jitUserProvIgnoreErrorOnAbsentGroups == null ? 43 : this.jitUserProvIgnoreErrorOnAbsentGroups.hashCode()); + result = + (result * PRIME) + + (this.lastNotificationSentTime == null + ? 43 + : this.lastNotificationSentTime.hashCode()); + result = + (result * PRIME) + + (this.jitUserProvGroupMappings == null + ? 43 + : this.jitUserProvGroupMappings.hashCode()); result = (result * PRIME) + (this.jitUserProvAttributes == null diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySetting.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySetting.java new file mode 100644 index 00000000000..09d03e1249d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySetting.java @@ -0,0 +1,1384 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Identity Settings
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = IdentitySetting.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class IdentitySetting + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "externalId", + "userAllowedToSetRecoveryEmail", + "emitLockedMessageWhenUserIsLocked", + "primaryEmailRequired", + "removeInvalidEmails", + "returnInactiveOverLockedMessage", + "myProfile", + "pOSIXUid", + "pOSIXGid", + "tokens" + }) + public IdentitySetting( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + String externalId, + Boolean userAllowedToSetRecoveryEmail, + Boolean emitLockedMessageWhenUserIsLocked, + Boolean primaryEmailRequired, + Boolean removeInvalidEmails, + Boolean returnInactiveOverLockedMessage, + IdentitySettingsMyProfile myProfile, + IdentitySettingsPOSIXUid pOSIXUid, + IdentitySettingsPOSIXGid pOSIXGid, + java.util.List tokens) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.externalId = externalId; + this.userAllowedToSetRecoveryEmail = userAllowedToSetRecoveryEmail; + this.emitLockedMessageWhenUserIsLocked = emitLockedMessageWhenUserIsLocked; + this.primaryEmailRequired = primaryEmailRequired; + this.removeInvalidEmails = removeInvalidEmails; + this.returnInactiveOverLockedMessage = returnInactiveOverLockedMessage; + this.myProfile = myProfile; + this.pOSIXUid = pOSIXUid; + this.pOSIXGid = pOSIXGid; + this.tokens = tokens; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the + * need to store a local mapping between the local identifier of the Resource and the + * identifier used by the Service Provider. Each Resource MAY include a non-empty externalId + * value. The value of the externalId attribute is always issued by the Service Consumer and + * can never be specified by the Service Provider. The Service Provider MUST always + * interpret the externalId as scoped to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("externalId") + private String externalId; + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the + * need to store a local mapping between the local identifier of the Resource and the + * identifier used by the Service Provider. Each Resource MAY include a non-empty externalId + * value. The value of the externalId attribute is always issued by the Service Consumer and + * can never be specified by the Service Provider. The Service Provider MUST always + * interpret the externalId as scoped to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @param externalId the value to set + * @return this builder + */ + public Builder externalId(String externalId) { + this.externalId = externalId; + this.__explicitlySet__.add("externalId"); + return this; + } + /** + * Indicates whether a user is allowed to change their own recovery email. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userAllowedToSetRecoveryEmail") + private Boolean userAllowedToSetRecoveryEmail; + + /** + * Indicates whether a user is allowed to change their own recovery email. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @param userAllowedToSetRecoveryEmail the value to set + * @return this builder + */ + public Builder userAllowedToSetRecoveryEmail(Boolean userAllowedToSetRecoveryEmail) { + this.userAllowedToSetRecoveryEmail = userAllowedToSetRecoveryEmail; + this.__explicitlySet__.add("userAllowedToSetRecoveryEmail"); + return this; + } + /** + * Indicates whether to show the 'user-is-locked' message during authentication if the user + * is already locked. The default value is false, which tells the system to show a generic + * 'authentication-failure' message. This is the most secure behavior. If the option is set + * to true, the system shows a more detailed 'error-message' that says the user is locked. + * This is more helpful but is less secure, for example, because the difference in + * error-messages could be used to determine which usernames exist and which do not. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("emitLockedMessageWhenUserIsLocked") + private Boolean emitLockedMessageWhenUserIsLocked; + + /** + * Indicates whether to show the 'user-is-locked' message during authentication if the user + * is already locked. The default value is false, which tells the system to show a generic + * 'authentication-failure' message. This is the most secure behavior. If the option is set + * to true, the system shows a more detailed 'error-message' that says the user is locked. + * This is more helpful but is less secure, for example, because the difference in + * error-messages could be used to determine which usernames exist and which do not. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @param emitLockedMessageWhenUserIsLocked the value to set + * @return this builder + */ + public Builder emitLockedMessageWhenUserIsLocked( + Boolean emitLockedMessageWhenUserIsLocked) { + this.emitLockedMessageWhenUserIsLocked = emitLockedMessageWhenUserIsLocked; + this.__explicitlySet__.add("emitLockedMessageWhenUserIsLocked"); + return this; + } + /** + * Indicates whether the primary email is required. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("primaryEmailRequired") + private Boolean primaryEmailRequired; + + /** + * Indicates whether the primary email is required. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @param primaryEmailRequired the value to set + * @return this builder + */ + public Builder primaryEmailRequired(Boolean primaryEmailRequired) { + this.primaryEmailRequired = primaryEmailRequired; + this.__explicitlySet__.add("primaryEmailRequired"); + return this; + } + /** + * Indicates whether to remove non-RFC5322 compliant emails before creating a user. + * + *

*Added In:** 2106170416 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("removeInvalidEmails") + private Boolean removeInvalidEmails; + + /** + * Indicates whether to remove non-RFC5322 compliant emails before creating a user. + * + *

*Added In:** 2106170416 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @param removeInvalidEmails the value to set + * @return this builder + */ + public Builder removeInvalidEmails(Boolean removeInvalidEmails) { + this.removeInvalidEmails = removeInvalidEmails; + this.__explicitlySet__.add("removeInvalidEmails"); + return this; + } + /** + * **Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none Determines the + * PasswordAuthenticator API response when a user is both 'locked' and 'inactive.' If false + * (default), a 'locked' message is shown. If true, an 'inactive' message is shown. + */ + @com.fasterxml.jackson.annotation.JsonProperty("returnInactiveOverLockedMessage") + private Boolean returnInactiveOverLockedMessage; + + /** + * **Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none Determines the + * PasswordAuthenticator API response when a user is both 'locked' and 'inactive.' If false + * (default), a 'locked' message is shown. If true, an 'inactive' message is shown. + * + * @param returnInactiveOverLockedMessage the value to set + * @return this builder + */ + public Builder returnInactiveOverLockedMessage(Boolean returnInactiveOverLockedMessage) { + this.returnInactiveOverLockedMessage = returnInactiveOverLockedMessage; + this.__explicitlySet__.add("returnInactiveOverLockedMessage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("myProfile") + private IdentitySettingsMyProfile myProfile; + + public Builder myProfile(IdentitySettingsMyProfile myProfile) { + this.myProfile = myProfile; + this.__explicitlySet__.add("myProfile"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("POSIXUid") + private IdentitySettingsPOSIXUid pOSIXUid; + + public Builder pOSIXUid(IdentitySettingsPOSIXUid pOSIXUid) { + this.pOSIXUid = pOSIXUid; + this.__explicitlySet__.add("pOSIXUid"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("POSIXGid") + private IdentitySettingsPOSIXGid pOSIXGid; + + public Builder pOSIXGid(IdentitySettingsPOSIXGid pOSIXGid) { + this.pOSIXGid = pOSIXGid; + this.__explicitlySet__.add("pOSIXGid"); + return this; + } + /** + * A list of tokens and their expiry length. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [type] - multiValued: + * true - required: false - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tokens") + private java.util.List tokens; + + /** + * A list of tokens and their expiry length. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [type] - multiValued: + * true - required: false - type: complex - uniqueness: none + * + * @param tokens the value to set + * @return this builder + */ + public Builder tokens(java.util.List tokens) { + this.tokens = tokens; + this.__explicitlySet__.add("tokens"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public IdentitySetting build() { + IdentitySetting model = + new IdentitySetting( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.externalId, + this.userAllowedToSetRecoveryEmail, + this.emitLockedMessageWhenUserIsLocked, + this.primaryEmailRequired, + this.removeInvalidEmails, + this.returnInactiveOverLockedMessage, + this.myProfile, + this.pOSIXUid, + this.pOSIXGid, + this.tokens); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(IdentitySetting model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("externalId")) { + this.externalId(model.getExternalId()); + } + if (model.wasPropertyExplicitlySet("userAllowedToSetRecoveryEmail")) { + this.userAllowedToSetRecoveryEmail(model.getUserAllowedToSetRecoveryEmail()); + } + if (model.wasPropertyExplicitlySet("emitLockedMessageWhenUserIsLocked")) { + this.emitLockedMessageWhenUserIsLocked( + model.getEmitLockedMessageWhenUserIsLocked()); + } + if (model.wasPropertyExplicitlySet("primaryEmailRequired")) { + this.primaryEmailRequired(model.getPrimaryEmailRequired()); + } + if (model.wasPropertyExplicitlySet("removeInvalidEmails")) { + this.removeInvalidEmails(model.getRemoveInvalidEmails()); + } + if (model.wasPropertyExplicitlySet("returnInactiveOverLockedMessage")) { + this.returnInactiveOverLockedMessage(model.getReturnInactiveOverLockedMessage()); + } + if (model.wasPropertyExplicitlySet("myProfile")) { + this.myProfile(model.getMyProfile()); + } + if (model.wasPropertyExplicitlySet("pOSIXUid")) { + this.pOSIXUid(model.getPOSIXUid()); + } + if (model.wasPropertyExplicitlySet("pOSIXGid")) { + this.pOSIXGid(model.getPOSIXGid()); + } + if (model.wasPropertyExplicitlySet("tokens")) { + this.tokens(model.getTokens()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the need to + * store a local mapping between the local identifier of the Resource and the identifier used by + * the Service Provider. Each Resource MAY include a non-empty externalId value. The value of + * the externalId attribute is always issued by the Service Consumer and can never be specified + * by the Service Provider. The Service Provider MUST always interpret the externalId as scoped + * to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("externalId") + private final String externalId; + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the need to + * store a local mapping between the local identifier of the Resource and the identifier used by + * the Service Provider. Each Resource MAY include a non-empty externalId value. The value of + * the externalId attribute is always issued by the Service Consumer and can never be specified + * by the Service Provider. The Service Provider MUST always interpret the externalId as scoped + * to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getExternalId() { + return externalId; + } + + /** + * Indicates whether a user is allowed to change their own recovery email. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("userAllowedToSetRecoveryEmail") + private final Boolean userAllowedToSetRecoveryEmail; + + /** + * Indicates whether a user is allowed to change their own recovery email. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getUserAllowedToSetRecoveryEmail() { + return userAllowedToSetRecoveryEmail; + } + + /** + * Indicates whether to show the 'user-is-locked' message during authentication if the user is + * already locked. The default value is false, which tells the system to show a generic + * 'authentication-failure' message. This is the most secure behavior. If the option is set to + * true, the system shows a more detailed 'error-message' that says the user is locked. This is + * more helpful but is less secure, for example, because the difference in error-messages could + * be used to determine which usernames exist and which do not. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("emitLockedMessageWhenUserIsLocked") + private final Boolean emitLockedMessageWhenUserIsLocked; + + /** + * Indicates whether to show the 'user-is-locked' message during authentication if the user is + * already locked. The default value is false, which tells the system to show a generic + * 'authentication-failure' message. This is the most secure behavior. If the option is set to + * true, the system shows a more detailed 'error-message' that says the user is locked. This is + * more helpful but is less secure, for example, because the difference in error-messages could + * be used to determine which usernames exist and which do not. + * + *

*Added In:** 19.2.1 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getEmitLockedMessageWhenUserIsLocked() { + return emitLockedMessageWhenUserIsLocked; + } + + /** + * Indicates whether the primary email is required. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("primaryEmailRequired") + private final Boolean primaryEmailRequired; + + /** + * Indicates whether the primary email is required. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getPrimaryEmailRequired() { + return primaryEmailRequired; + } + + /** + * Indicates whether to remove non-RFC5322 compliant emails before creating a user. + * + *

*Added In:** 2106170416 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("removeInvalidEmails") + private final Boolean removeInvalidEmails; + + /** + * Indicates whether to remove non-RFC5322 compliant emails before creating a user. + * + *

*Added In:** 2106170416 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getRemoveInvalidEmails() { + return removeInvalidEmails; + } + + /** + * **Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none Determines the + * PasswordAuthenticator API response when a user is both 'locked' and 'inactive.' If false + * (default), a 'locked' message is shown. If true, an 'inactive' message is shown. + */ + @com.fasterxml.jackson.annotation.JsonProperty("returnInactiveOverLockedMessage") + private final Boolean returnInactiveOverLockedMessage; + + /** + * **Added In:** 2302092332 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none Determines the + * PasswordAuthenticator API response when a user is both 'locked' and 'inactive.' If false + * (default), a 'locked' message is shown. If true, an 'inactive' message is shown. + * + * @return the value + */ + public Boolean getReturnInactiveOverLockedMessage() { + return returnInactiveOverLockedMessage; + } + + @com.fasterxml.jackson.annotation.JsonProperty("myProfile") + private final IdentitySettingsMyProfile myProfile; + + public IdentitySettingsMyProfile getMyProfile() { + return myProfile; + } + + @com.fasterxml.jackson.annotation.JsonProperty("POSIXUid") + private final IdentitySettingsPOSIXUid pOSIXUid; + + public IdentitySettingsPOSIXUid getPOSIXUid() { + return pOSIXUid; + } + + @com.fasterxml.jackson.annotation.JsonProperty("POSIXGid") + private final IdentitySettingsPOSIXGid pOSIXGid; + + public IdentitySettingsPOSIXGid getPOSIXGid() { + return pOSIXGid; + } + + /** + * A list of tokens and their expiry length. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [type] - multiValued: true - + * required: false - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tokens") + private final java.util.List tokens; + + /** + * A list of tokens and their expiry length. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [type] - multiValued: true - + * required: false - type: complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTokens() { + return tokens; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("IdentitySetting("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", externalId=").append(String.valueOf(this.externalId)); + sb.append(", userAllowedToSetRecoveryEmail=") + .append(String.valueOf(this.userAllowedToSetRecoveryEmail)); + sb.append(", emitLockedMessageWhenUserIsLocked=") + .append(String.valueOf(this.emitLockedMessageWhenUserIsLocked)); + sb.append(", primaryEmailRequired=").append(String.valueOf(this.primaryEmailRequired)); + sb.append(", removeInvalidEmails=").append(String.valueOf(this.removeInvalidEmails)); + sb.append(", returnInactiveOverLockedMessage=") + .append(String.valueOf(this.returnInactiveOverLockedMessage)); + sb.append(", myProfile=").append(String.valueOf(this.myProfile)); + sb.append(", pOSIXUid=").append(String.valueOf(this.pOSIXUid)); + sb.append(", pOSIXGid=").append(String.valueOf(this.pOSIXGid)); + sb.append(", tokens=").append(String.valueOf(this.tokens)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IdentitySetting)) { + return false; + } + + IdentitySetting other = (IdentitySetting) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.externalId, other.externalId) + && java.util.Objects.equals( + this.userAllowedToSetRecoveryEmail, other.userAllowedToSetRecoveryEmail) + && java.util.Objects.equals( + this.emitLockedMessageWhenUserIsLocked, + other.emitLockedMessageWhenUserIsLocked) + && java.util.Objects.equals(this.primaryEmailRequired, other.primaryEmailRequired) + && java.util.Objects.equals(this.removeInvalidEmails, other.removeInvalidEmails) + && java.util.Objects.equals( + this.returnInactiveOverLockedMessage, other.returnInactiveOverLockedMessage) + && java.util.Objects.equals(this.myProfile, other.myProfile) + && java.util.Objects.equals(this.pOSIXUid, other.pOSIXUid) + && java.util.Objects.equals(this.pOSIXGid, other.pOSIXGid) + && java.util.Objects.equals(this.tokens, other.tokens) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = (result * PRIME) + (this.externalId == null ? 43 : this.externalId.hashCode()); + result = + (result * PRIME) + + (this.userAllowedToSetRecoveryEmail == null + ? 43 + : this.userAllowedToSetRecoveryEmail.hashCode()); + result = + (result * PRIME) + + (this.emitLockedMessageWhenUserIsLocked == null + ? 43 + : this.emitLockedMessageWhenUserIsLocked.hashCode()); + result = + (result * PRIME) + + (this.primaryEmailRequired == null + ? 43 + : this.primaryEmailRequired.hashCode()); + result = + (result * PRIME) + + (this.removeInvalidEmails == null + ? 43 + : this.removeInvalidEmails.hashCode()); + result = + (result * PRIME) + + (this.returnInactiveOverLockedMessage == null + ? 43 + : this.returnInactiveOverLockedMessage.hashCode()); + result = (result * PRIME) + (this.myProfile == null ? 43 : this.myProfile.hashCode()); + result = (result * PRIME) + (this.pOSIXUid == null ? 43 : this.pOSIXUid.hashCode()); + result = (result * PRIME) + (this.pOSIXGid == null ? 43 : this.pOSIXGid.hashCode()); + result = (result * PRIME) + (this.tokens == null ? 43 : this.tokens.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettings.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettings.java new file mode 100644 index 00000000000..fa6778275c6 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettings.java @@ -0,0 +1,357 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = IdentitySettings.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class IdentitySettings + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public IdentitySettings( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public IdentitySettings build() { + IdentitySettings model = + new IdentitySettings( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(IdentitySettings model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("IdentitySettings("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IdentitySettings)) { + return false; + } + + IdentitySettings other = (IdentitySettings) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsMyProfile.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsMyProfile.java new file mode 100644 index 00000000000..c112264c1d7 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsMyProfile.java @@ -0,0 +1,392 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Whether to allow users to update their own profile. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - required: false - type: + * complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = IdentitySettingsMyProfile.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class IdentitySettingsMyProfile + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "allowEndUsersToChangeTheirPassword", + "allowEndUsersToLinkTheirSupportAccount", + "allowEndUsersToUpdateTheirSecuritySettings", + "allowEndUsersToManageTheirCapabilities" + }) + public IdentitySettingsMyProfile( + Boolean allowEndUsersToChangeTheirPassword, + Boolean allowEndUsersToLinkTheirSupportAccount, + Boolean allowEndUsersToUpdateTheirSecuritySettings, + Boolean allowEndUsersToManageTheirCapabilities) { + super(); + this.allowEndUsersToChangeTheirPassword = allowEndUsersToChangeTheirPassword; + this.allowEndUsersToLinkTheirSupportAccount = allowEndUsersToLinkTheirSupportAccount; + this.allowEndUsersToUpdateTheirSecuritySettings = + allowEndUsersToUpdateTheirSecuritySettings; + this.allowEndUsersToManageTheirCapabilities = allowEndUsersToManageTheirCapabilities; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Whether to allow users to change their own password. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowEndUsersToChangeTheirPassword") + private Boolean allowEndUsersToChangeTheirPassword; + + /** + * Whether to allow users to change their own password. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @param allowEndUsersToChangeTheirPassword the value to set + * @return this builder + */ + public Builder allowEndUsersToChangeTheirPassword( + Boolean allowEndUsersToChangeTheirPassword) { + this.allowEndUsersToChangeTheirPassword = allowEndUsersToChangeTheirPassword; + this.__explicitlySet__.add("allowEndUsersToChangeTheirPassword"); + return this; + } + /** + * Whether to allow users to link or unlink their support accounts. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowEndUsersToLinkTheirSupportAccount") + private Boolean allowEndUsersToLinkTheirSupportAccount; + + /** + * Whether to allow users to link or unlink their support accounts. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @param allowEndUsersToLinkTheirSupportAccount the value to set + * @return this builder + */ + public Builder allowEndUsersToLinkTheirSupportAccount( + Boolean allowEndUsersToLinkTheirSupportAccount) { + this.allowEndUsersToLinkTheirSupportAccount = allowEndUsersToLinkTheirSupportAccount; + this.__explicitlySet__.add("allowEndUsersToLinkTheirSupportAccount"); + return this; + } + /** + * Whether to allow users to update their security settings. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowEndUsersToUpdateTheirSecuritySettings") + private Boolean allowEndUsersToUpdateTheirSecuritySettings; + + /** + * Whether to allow users to update their security settings. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @param allowEndUsersToUpdateTheirSecuritySettings the value to set + * @return this builder + */ + public Builder allowEndUsersToUpdateTheirSecuritySettings( + Boolean allowEndUsersToUpdateTheirSecuritySettings) { + this.allowEndUsersToUpdateTheirSecuritySettings = + allowEndUsersToUpdateTheirSecuritySettings; + this.__explicitlySet__.add("allowEndUsersToUpdateTheirSecuritySettings"); + return this; + } + /** + * Whether to allow users to update their capabilities. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowEndUsersToManageTheirCapabilities") + private Boolean allowEndUsersToManageTheirCapabilities; + + /** + * Whether to allow users to update their capabilities. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @param allowEndUsersToManageTheirCapabilities the value to set + * @return this builder + */ + public Builder allowEndUsersToManageTheirCapabilities( + Boolean allowEndUsersToManageTheirCapabilities) { + this.allowEndUsersToManageTheirCapabilities = allowEndUsersToManageTheirCapabilities; + this.__explicitlySet__.add("allowEndUsersToManageTheirCapabilities"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public IdentitySettingsMyProfile build() { + IdentitySettingsMyProfile model = + new IdentitySettingsMyProfile( + this.allowEndUsersToChangeTheirPassword, + this.allowEndUsersToLinkTheirSupportAccount, + this.allowEndUsersToUpdateTheirSecuritySettings, + this.allowEndUsersToManageTheirCapabilities); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(IdentitySettingsMyProfile model) { + if (model.wasPropertyExplicitlySet("allowEndUsersToChangeTheirPassword")) { + this.allowEndUsersToChangeTheirPassword( + model.getAllowEndUsersToChangeTheirPassword()); + } + if (model.wasPropertyExplicitlySet("allowEndUsersToLinkTheirSupportAccount")) { + this.allowEndUsersToLinkTheirSupportAccount( + model.getAllowEndUsersToLinkTheirSupportAccount()); + } + if (model.wasPropertyExplicitlySet("allowEndUsersToUpdateTheirSecuritySettings")) { + this.allowEndUsersToUpdateTheirSecuritySettings( + model.getAllowEndUsersToUpdateTheirSecuritySettings()); + } + if (model.wasPropertyExplicitlySet("allowEndUsersToManageTheirCapabilities")) { + this.allowEndUsersToManageTheirCapabilities( + model.getAllowEndUsersToManageTheirCapabilities()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Whether to allow users to change their own password. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowEndUsersToChangeTheirPassword") + private final Boolean allowEndUsersToChangeTheirPassword; + + /** + * Whether to allow users to change their own password. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAllowEndUsersToChangeTheirPassword() { + return allowEndUsersToChangeTheirPassword; + } + + /** + * Whether to allow users to link or unlink their support accounts. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowEndUsersToLinkTheirSupportAccount") + private final Boolean allowEndUsersToLinkTheirSupportAccount; + + /** + * Whether to allow users to link or unlink their support accounts. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAllowEndUsersToLinkTheirSupportAccount() { + return allowEndUsersToLinkTheirSupportAccount; + } + + /** + * Whether to allow users to update their security settings. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowEndUsersToUpdateTheirSecuritySettings") + private final Boolean allowEndUsersToUpdateTheirSecuritySettings; + + /** + * Whether to allow users to update their security settings. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAllowEndUsersToUpdateTheirSecuritySettings() { + return allowEndUsersToUpdateTheirSecuritySettings; + } + + /** + * Whether to allow users to update their capabilities. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("allowEndUsersToManageTheirCapabilities") + private final Boolean allowEndUsersToManageTheirCapabilities; + + /** + * Whether to allow users to update their capabilities. + * + *

*Added In:** 2207040824 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getAllowEndUsersToManageTheirCapabilities() { + return allowEndUsersToManageTheirCapabilities; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("IdentitySettingsMyProfile("); + sb.append("super=").append(super.toString()); + sb.append("allowEndUsersToChangeTheirPassword=") + .append(String.valueOf(this.allowEndUsersToChangeTheirPassword)); + sb.append(", allowEndUsersToLinkTheirSupportAccount=") + .append(String.valueOf(this.allowEndUsersToLinkTheirSupportAccount)); + sb.append(", allowEndUsersToUpdateTheirSecuritySettings=") + .append(String.valueOf(this.allowEndUsersToUpdateTheirSecuritySettings)); + sb.append(", allowEndUsersToManageTheirCapabilities=") + .append(String.valueOf(this.allowEndUsersToManageTheirCapabilities)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IdentitySettingsMyProfile)) { + return false; + } + + IdentitySettingsMyProfile other = (IdentitySettingsMyProfile) o; + return java.util.Objects.equals( + this.allowEndUsersToChangeTheirPassword, + other.allowEndUsersToChangeTheirPassword) + && java.util.Objects.equals( + this.allowEndUsersToLinkTheirSupportAccount, + other.allowEndUsersToLinkTheirSupportAccount) + && java.util.Objects.equals( + this.allowEndUsersToUpdateTheirSecuritySettings, + other.allowEndUsersToUpdateTheirSecuritySettings) + && java.util.Objects.equals( + this.allowEndUsersToManageTheirCapabilities, + other.allowEndUsersToManageTheirCapabilities) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.allowEndUsersToChangeTheirPassword == null + ? 43 + : this.allowEndUsersToChangeTheirPassword.hashCode()); + result = + (result * PRIME) + + (this.allowEndUsersToLinkTheirSupportAccount == null + ? 43 + : this.allowEndUsersToLinkTheirSupportAccount.hashCode()); + result = + (result * PRIME) + + (this.allowEndUsersToUpdateTheirSecuritySettings == null + ? 43 + : this.allowEndUsersToUpdateTheirSecuritySettings.hashCode()); + result = + (result * PRIME) + + (this.allowEndUsersToManageTheirCapabilities == null + ? 43 + : this.allowEndUsersToManageTheirCapabilities.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsPOSIXGid.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsPOSIXGid.java new file mode 100644 index 00000000000..d8b38cefbed --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsPOSIXGid.java @@ -0,0 +1,236 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A list of Posix Gid settings. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - required: false - type: + * complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = IdentitySettingsPOSIXGid.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class IdentitySettingsPOSIXGid + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"manualAssignmentStartsFrom", "manualAssignmentEndsAt"}) + public IdentitySettingsPOSIXGid( + Integer manualAssignmentStartsFrom, Integer manualAssignmentEndsAt) { + super(); + this.manualAssignmentStartsFrom = manualAssignmentStartsFrom; + this.manualAssignmentEndsAt = manualAssignmentEndsAt; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The number from which the Posix Gid Manual assignment starts. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("manualAssignmentStartsFrom") + private Integer manualAssignmentStartsFrom; + + /** + * The number from which the Posix Gid Manual assignment starts. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + * + * @param manualAssignmentStartsFrom the value to set + * @return this builder + */ + public Builder manualAssignmentStartsFrom(Integer manualAssignmentStartsFrom) { + this.manualAssignmentStartsFrom = manualAssignmentStartsFrom; + this.__explicitlySet__.add("manualAssignmentStartsFrom"); + return this; + } + /** + * The number at which the Posix Gid Manual assignment ends. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("manualAssignmentEndsAt") + private Integer manualAssignmentEndsAt; + + /** + * The number at which the Posix Gid Manual assignment ends. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + * + * @param manualAssignmentEndsAt the value to set + * @return this builder + */ + public Builder manualAssignmentEndsAt(Integer manualAssignmentEndsAt) { + this.manualAssignmentEndsAt = manualAssignmentEndsAt; + this.__explicitlySet__.add("manualAssignmentEndsAt"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public IdentitySettingsPOSIXGid build() { + IdentitySettingsPOSIXGid model = + new IdentitySettingsPOSIXGid( + this.manualAssignmentStartsFrom, this.manualAssignmentEndsAt); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(IdentitySettingsPOSIXGid model) { + if (model.wasPropertyExplicitlySet("manualAssignmentStartsFrom")) { + this.manualAssignmentStartsFrom(model.getManualAssignmentStartsFrom()); + } + if (model.wasPropertyExplicitlySet("manualAssignmentEndsAt")) { + this.manualAssignmentEndsAt(model.getManualAssignmentEndsAt()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The number from which the Posix Gid Manual assignment starts. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("manualAssignmentStartsFrom") + private final Integer manualAssignmentStartsFrom; + + /** + * The number from which the Posix Gid Manual assignment starts. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getManualAssignmentStartsFrom() { + return manualAssignmentStartsFrom; + } + + /** + * The number at which the Posix Gid Manual assignment ends. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("manualAssignmentEndsAt") + private final Integer manualAssignmentEndsAt; + + /** + * The number at which the Posix Gid Manual assignment ends. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getManualAssignmentEndsAt() { + return manualAssignmentEndsAt; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("IdentitySettingsPOSIXGid("); + sb.append("super=").append(super.toString()); + sb.append("manualAssignmentStartsFrom=") + .append(String.valueOf(this.manualAssignmentStartsFrom)); + sb.append(", manualAssignmentEndsAt=").append(String.valueOf(this.manualAssignmentEndsAt)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IdentitySettingsPOSIXGid)) { + return false; + } + + IdentitySettingsPOSIXGid other = (IdentitySettingsPOSIXGid) o; + return java.util.Objects.equals( + this.manualAssignmentStartsFrom, other.manualAssignmentStartsFrom) + && java.util.Objects.equals( + this.manualAssignmentEndsAt, other.manualAssignmentEndsAt) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.manualAssignmentStartsFrom == null + ? 43 + : this.manualAssignmentStartsFrom.hashCode()); + result = + (result * PRIME) + + (this.manualAssignmentEndsAt == null + ? 43 + : this.manualAssignmentEndsAt.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsPOSIXUid.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsPOSIXUid.java new file mode 100644 index 00000000000..6631c054726 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsPOSIXUid.java @@ -0,0 +1,236 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A list of Posix Uid settings. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - required: false - type: + * complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = IdentitySettingsPOSIXUid.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class IdentitySettingsPOSIXUid + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"manualAssignmentStartsFrom", "manualAssignmentEndsAt"}) + public IdentitySettingsPOSIXUid( + Integer manualAssignmentStartsFrom, Integer manualAssignmentEndsAt) { + super(); + this.manualAssignmentStartsFrom = manualAssignmentStartsFrom; + this.manualAssignmentEndsAt = manualAssignmentEndsAt; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The number from which the Posix Uid Manual assignment starts. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("manualAssignmentStartsFrom") + private Integer manualAssignmentStartsFrom; + + /** + * The number from which the Posix Uid Manual assignment starts. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + * + * @param manualAssignmentStartsFrom the value to set + * @return this builder + */ + public Builder manualAssignmentStartsFrom(Integer manualAssignmentStartsFrom) { + this.manualAssignmentStartsFrom = manualAssignmentStartsFrom; + this.__explicitlySet__.add("manualAssignmentStartsFrom"); + return this; + } + /** + * The number at which the Posix Uid Manual assignment ends. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("manualAssignmentEndsAt") + private Integer manualAssignmentEndsAt; + + /** + * The number at which the Posix Uid Manual assignment ends. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + * + * @param manualAssignmentEndsAt the value to set + * @return this builder + */ + public Builder manualAssignmentEndsAt(Integer manualAssignmentEndsAt) { + this.manualAssignmentEndsAt = manualAssignmentEndsAt; + this.__explicitlySet__.add("manualAssignmentEndsAt"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public IdentitySettingsPOSIXUid build() { + IdentitySettingsPOSIXUid model = + new IdentitySettingsPOSIXUid( + this.manualAssignmentStartsFrom, this.manualAssignmentEndsAt); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(IdentitySettingsPOSIXUid model) { + if (model.wasPropertyExplicitlySet("manualAssignmentStartsFrom")) { + this.manualAssignmentStartsFrom(model.getManualAssignmentStartsFrom()); + } + if (model.wasPropertyExplicitlySet("manualAssignmentEndsAt")) { + this.manualAssignmentEndsAt(model.getManualAssignmentEndsAt()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The number from which the Posix Uid Manual assignment starts. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("manualAssignmentStartsFrom") + private final Integer manualAssignmentStartsFrom; + + /** + * The number from which the Posix Uid Manual assignment starts. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getManualAssignmentStartsFrom() { + return manualAssignmentStartsFrom; + } + + /** + * The number at which the Posix Uid Manual assignment ends. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("manualAssignmentEndsAt") + private final Integer manualAssignmentEndsAt; + + /** + * The number at which the Posix Uid Manual assignment ends. + * + *

*Added In:** 17.4.6 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getManualAssignmentEndsAt() { + return manualAssignmentEndsAt; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("IdentitySettingsPOSIXUid("); + sb.append("super=").append(super.toString()); + sb.append("manualAssignmentStartsFrom=") + .append(String.valueOf(this.manualAssignmentStartsFrom)); + sb.append(", manualAssignmentEndsAt=").append(String.valueOf(this.manualAssignmentEndsAt)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IdentitySettingsPOSIXUid)) { + return false; + } + + IdentitySettingsPOSIXUid other = (IdentitySettingsPOSIXUid) o; + return java.util.Objects.equals( + this.manualAssignmentStartsFrom, other.manualAssignmentStartsFrom) + && java.util.Objects.equals( + this.manualAssignmentEndsAt, other.manualAssignmentEndsAt) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.manualAssignmentStartsFrom == null + ? 43 + : this.manualAssignmentStartsFrom.hashCode()); + result = + (result * PRIME) + + (this.manualAssignmentEndsAt == null + ? 43 + : this.manualAssignmentEndsAt.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsSearchRequest.java new file mode 100644 index 00000000000..25689ddd04c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsSearchRequest.java @@ -0,0 +1,276 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Clients MAY execute queries without passing parameters on the URL by using the HTTP POST verb + * combined with the **.search** path extension. The inclusion of **.search** on the end of a valid + * SCIM endpoint SHALL be used to indicate the HTTP POST verb is intended to be a query operation. + * To create a new query result set, a SCIM client sends an HTTP POST request to the desired SCIM + * resource endpoint (ending in **.search**). The body of the POST request MAY include any of the + * parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = IdentitySettingsSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class IdentitySettingsSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"schemas", "attributes", "attributeSets"}) + public IdentitySettingsSearchRequest( + java.util.List schemas, + java.util.List attributes, + java.util.List attributeSets) { + super(); + this.schemas = schemas; + this.attributes = attributes; + this.attributeSets = attributeSets; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @param attributes the value to set + * @return this builder + */ + public Builder attributes(java.util.List attributes) { + this.attributes = attributes; + this.__explicitlySet__.add("attributes"); + return this; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + * + * @param attributeSets the value to set + * @return this builder + */ + public Builder attributeSets(java.util.List attributeSets) { + this.attributeSets = attributeSets; + this.__explicitlySet__.add("attributeSets"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public IdentitySettingsSearchRequest build() { + IdentitySettingsSearchRequest model = + new IdentitySettingsSearchRequest( + this.schemas, this.attributes, this.attributeSets); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(IdentitySettingsSearchRequest model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("attributes")) { + this.attributes(model.getAttributes()); + } + if (model.wasPropertyExplicitlySet("attributeSets")) { + this.attributeSets(model.getAttributeSets()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private final java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private final java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("IdentitySettingsSearchRequest("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", attributes=").append(String.valueOf(this.attributes)); + sb.append(", attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IdentitySettingsSearchRequest)) { + return false; + } + + IdentitySettingsSearchRequest other = (IdentitySettingsSearchRequest) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsTokens.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsTokens.java new file mode 100644 index 00000000000..74d5cc5ffef --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/IdentitySettingsTokens.java @@ -0,0 +1,251 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * A list of tokens and their expiry length.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = IdentitySettingsTokens.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class IdentitySettingsTokens + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"expiresAfter", "type"}) + public IdentitySettingsTokens(Integer expiresAfter, Type type) { + super(); + this.expiresAfter = expiresAfter; + this.type = type; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Indicates the number of minutes after which the token expires automatically. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("expiresAfter") + private Integer expiresAfter; + + /** + * Indicates the number of minutes after which the token expires automatically. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none + * + * @param expiresAfter the value to set + * @return this builder + */ + public Builder expiresAfter(Integer expiresAfter) { + this.expiresAfter = expiresAfter; + this.__explicitlySet__.add("expiresAfter"); + return this; + } + /** + * The token type. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * The token type. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + * + * @param type the value to set + * @return this builder + */ + public Builder type(Type type) { + this.type = type; + this.__explicitlySet__.add("type"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public IdentitySettingsTokens build() { + IdentitySettingsTokens model = new IdentitySettingsTokens(this.expiresAfter, this.type); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(IdentitySettingsTokens model) { + if (model.wasPropertyExplicitlySet("expiresAfter")) { + this.expiresAfter(model.getExpiresAfter()); + } + if (model.wasPropertyExplicitlySet("type")) { + this.type(model.getType()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Indicates the number of minutes after which the token expires automatically. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: integer - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("expiresAfter") + private final Integer expiresAfter; + + /** + * Indicates the number of minutes after which the token expires automatically. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: integer - uniqueness: none + * + * @return the value + */ + public Integer getExpiresAfter() { + return expiresAfter; + } + + /** + * The token type. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + EmailVerification("emailVerification"), + PasswordReset("passwordReset"), + CreateUser("createUser"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; + /** + * The token type. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * The token type. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public Type getType() { + return type; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("IdentitySettingsTokens("); + sb.append("super=").append(super.toString()); + sb.append("expiresAfter=").append(String.valueOf(this.expiresAfter)); + sb.append(", type=").append(String.valueOf(this.type)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IdentitySettingsTokens)) { + return false; + } + + IdentitySettingsTokens other = (IdentitySettingsTokens) o; + return java.util.Objects.equals(this.expiresAfter, other.expiresAfter) + && java.util.Objects.equals(this.type, other.type) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.expiresAfter == null ? 43 : this.expiresAfter.hashCode()); + result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MeGroups.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MeGroups.java index 88643652789..77047f8b85c 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MeGroups.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MeGroups.java @@ -83,7 +83,7 @@ public Builder value(String value) { return this; } /** - * Ocid of the User's group. + * The OCID of the User's group. * *

*Added In:** 2102181953 * @@ -95,7 +95,7 @@ public Builder value(String value) { private String ocid; /** - * Ocid of the User's group. + * The OCID of the User's group. * *

*Added In:** 2102181953 * @@ -235,7 +235,7 @@ public Builder type(Type type) { return this; } /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2103141444 * @@ -246,7 +246,7 @@ public Builder type(Type type) { private String membershipOcid; /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2103141444 * @@ -374,7 +374,7 @@ public String getValue() { } /** - * Ocid of the User's group. + * The OCID of the User's group. * *

*Added In:** 2102181953 * @@ -385,7 +385,7 @@ public String getValue() { private final String ocid; /** - * Ocid of the User's group. + * The OCID of the User's group. * *

*Added In:** 2102181953 * @@ -561,7 +561,7 @@ public Type getType() { } /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2103141444 * @@ -572,7 +572,7 @@ public Type getType() { private final String membershipOcid; /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2103141444 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MePasswordChanger.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MePasswordChanger.java index 55d771ea110..903102f9b7e 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MePasswordChanger.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MePasswordChanger.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * Schema to handle userpassword change by self.
+ * The schema used for a user changing their own password.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -446,7 +446,7 @@ public Builder password(String password) { return this; } /** - * Old password attribute + * The old password attribute. * *

*SCIM++ Properties:** - type: string - multiValued: false - required: true - * mutability: writeOnly - returned: never - uniqueness: none - caseExact: false - @@ -456,7 +456,7 @@ public Builder password(String password) { private String oldPassword; /** - * Old password attribute + * The old password attribute. * *

*SCIM++ Properties:** - type: string - multiValued: false - required: true - * mutability: writeOnly - returned: never - uniqueness: none - caseExact: false - @@ -884,7 +884,7 @@ public String getPassword() { } /** - * Old password attribute + * The old password attribute. * *

*SCIM++ Properties:** - type: string - multiValued: false - required: true - mutability: * writeOnly - returned: never - uniqueness: none - caseExact: false - idcsSensitive: none - @@ -894,7 +894,7 @@ public String getPassword() { private final String oldPassword; /** - * Old password attribute + * The old password attribute. * *

*SCIM++ Properties:** - type: string - multiValued: false - required: true - mutability: * writeOnly - returned: never - uniqueness: none - caseExact: false - idcsSensitive: none - diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApiKey.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApiKey.java index 9cad1216076..3d95183fc7b 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApiKey.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApiKey.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User's api key
+ * The user's API key.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApiKeyUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApiKeyUser.java index 3241a2f6f49..e72284b3e6c 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApiKeyUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApiKeyUser.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User linked to api key + * The user linked to the API key. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: default - type: complex - uniqueness: none @@ -38,7 +38,7 @@ public MyApiKeyUser(String value, String ocid, String ref, String display, Strin @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -48,7 +48,7 @@ public static class Builder { private String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -63,7 +63,7 @@ public Builder value(String value) { return this; } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -73,7 +73,7 @@ public Builder value(String value) { private String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -88,7 +88,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -98,7 +98,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -113,7 +113,7 @@ public Builder ref(String ref) { return this; } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -123,7 +123,7 @@ public Builder ref(String ref) { private String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -138,7 +138,7 @@ public Builder display(String display) { return this; } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -148,7 +148,7 @@ public Builder display(String display) { private String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -206,7 +206,7 @@ public Builder toBuilder() { } /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -215,7 +215,7 @@ public Builder toBuilder() { private final String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -227,7 +227,7 @@ public String getValue() { } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -236,7 +236,7 @@ public String getValue() { private final String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -248,7 +248,7 @@ public String getOcid() { } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -258,7 +258,7 @@ public String getOcid() { private final String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -271,7 +271,7 @@ public String getRef() { } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -280,7 +280,7 @@ public String getRef() { private final String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -292,7 +292,7 @@ public String getDisplay() { } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -301,7 +301,7 @@ public String getDisplay() { private final String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApp.java new file mode 100644 index 00000000000..d0d0147b8d7 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApp.java @@ -0,0 +1,1352 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Schema for MyApp resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = MyApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyApp extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "uid", + "name", + "app", + "owner", + "active", + "accountType", + "isAccount", + "favorite", + "lastAccessed", + "launchUrl", + "userWalletArtifact" + }) + public MyApp( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + String uid, + String name, + MyAppApp app, + MyAppOwner owner, + Boolean active, + String accountType, + Boolean isAccount, + Boolean favorite, + String lastAccessed, + String launchUrl, + MyAppUserWalletArtifact userWalletArtifact) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.uid = uid; + this.name = name; + this.app = app; + this.owner = owner; + this.active = active; + this.accountType = accountType; + this.isAccount = isAccount; + this.favorite = favorite; + this.lastAccessed = lastAccessed; + this.launchUrl = launchUrl; + this.userWalletArtifact = userWalletArtifact; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * Unique identifier of the Account. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("uid") + private String uid; + + /** + * Unique identifier of the Account. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param uid the value to set + * @return this builder + */ + public Builder uid(String uid) { + this.uid = uid; + this.__explicitlySet__.add("uid"); + return this; + } + /** + * Name of the Account + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Name of the Account + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: always - type: string - uniqueness: none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("app") + private MyAppApp app; + + public Builder app(MyAppApp app) { + this.app = app; + this.__explicitlySet__.add("app"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("owner") + private MyAppOwner owner; + + public Builder owner(MyAppOwner owner) { + this.owner = owner; + this.__explicitlySet__.add("owner"); + return this; + } + /** + * If true, the account is activated. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private Boolean active; + + /** + * If true, the account is activated. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param active the value to set + * @return this builder + */ + public Builder active(Boolean active) { + this.active = active; + this.__explicitlySet__.add("active"); + return this; + } + /** + * Type of the Acccount + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountType") + private String accountType; + + /** + * Type of the Acccount + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * none + * + * @param accountType the value to set + * @return this builder + */ + public Builder accountType(String accountType) { + this.accountType = accountType; + this.__explicitlySet__.add("accountType"); + return this; + } + /** + * If true, indicates that this managed object is an account, which is an identity that + * represents a user in the context of a specific application. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAccount") + private Boolean isAccount; + + /** + * If true, indicates that this managed object is an account, which is an identity that + * represents a user in the context of a specific application. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param isAccount the value to set + * @return this builder + */ + public Builder isAccount(Boolean isAccount) { + this.isAccount = isAccount; + this.__explicitlySet__.add("isAccount"); + return this; + } + /** + * If true, this account has been marked as a favorite of the User who owns it. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("favorite") + private Boolean favorite; + + /** + * If true, this account has been marked as a favorite of the User who owns it. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param favorite the value to set + * @return this builder + */ + public Builder favorite(Boolean favorite) { + this.favorite = favorite; + this.__explicitlySet__.add("favorite"); + return this; + } + /** + * Last accessed timestamp of an application + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastAccessed") + private String lastAccessed; + + /** + * Last accessed timestamp of an application + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + * + * @param lastAccessed the value to set + * @return this builder + */ + public Builder lastAccessed(String lastAccessed) { + this.lastAccessed = lastAccessed; + this.__explicitlySet__.add("lastAccessed"); + return this; + } + /** + * The URL that will be used to launch the application. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("launchUrl") + private String launchUrl; + + /** + * The URL that will be used to launch the application. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param launchUrl the value to set + * @return this builder + */ + public Builder launchUrl(String launchUrl) { + this.launchUrl = launchUrl; + this.__explicitlySet__.add("launchUrl"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("userWalletArtifact") + private MyAppUserWalletArtifact userWalletArtifact; + + public Builder userWalletArtifact(MyAppUserWalletArtifact userWalletArtifact) { + this.userWalletArtifact = userWalletArtifact; + this.__explicitlySet__.add("userWalletArtifact"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyApp build() { + MyApp model = + new MyApp( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.uid, + this.name, + this.app, + this.owner, + this.active, + this.accountType, + this.isAccount, + this.favorite, + this.lastAccessed, + this.launchUrl, + this.userWalletArtifact); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyApp model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("uid")) { + this.uid(model.getUid()); + } + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("app")) { + this.app(model.getApp()); + } + if (model.wasPropertyExplicitlySet("owner")) { + this.owner(model.getOwner()); + } + if (model.wasPropertyExplicitlySet("active")) { + this.active(model.getActive()); + } + if (model.wasPropertyExplicitlySet("accountType")) { + this.accountType(model.getAccountType()); + } + if (model.wasPropertyExplicitlySet("isAccount")) { + this.isAccount(model.getIsAccount()); + } + if (model.wasPropertyExplicitlySet("favorite")) { + this.favorite(model.getFavorite()); + } + if (model.wasPropertyExplicitlySet("lastAccessed")) { + this.lastAccessed(model.getLastAccessed()); + } + if (model.wasPropertyExplicitlySet("launchUrl")) { + this.launchUrl(model.getLaunchUrl()); + } + if (model.wasPropertyExplicitlySet("userWalletArtifact")) { + this.userWalletArtifact(model.getUserWalletArtifact()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * Unique identifier of the Account. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("uid") + private final String uid; + + /** + * Unique identifier of the Account. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getUid() { + return uid; + } + + /** + * Name of the Account + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Name of the Account + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + @com.fasterxml.jackson.annotation.JsonProperty("app") + private final MyAppApp app; + + public MyAppApp getApp() { + return app; + } + + @com.fasterxml.jackson.annotation.JsonProperty("owner") + private final MyAppOwner owner; + + public MyAppOwner getOwner() { + return owner; + } + + /** + * If true, the account is activated. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private final Boolean active; + + /** + * If true, the account is activated. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getActive() { + return active; + } + + /** + * Type of the Acccount + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("accountType") + private final String accountType; + + /** + * Type of the Acccount + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getAccountType() { + return accountType; + } + + /** + * If true, indicates that this managed object is an account, which is an identity that + * represents a user in the context of a specific application. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAccount") + private final Boolean isAccount; + + /** + * If true, indicates that this managed object is an account, which is an identity that + * represents a user in the context of a specific application. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsAccount() { + return isAccount; + } + + /** + * If true, this account has been marked as a favorite of the User who owns it. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("favorite") + private final Boolean favorite; + + /** + * If true, this account has been marked as a favorite of the User who owns it. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getFavorite() { + return favorite; + } + + /** + * Last accessed timestamp of an application + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("lastAccessed") + private final String lastAccessed; + + /** + * Last accessed timestamp of an application + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: + * none + * + * @return the value + */ + public String getLastAccessed() { + return lastAccessed; + } + + /** + * The URL that will be used to launch the application. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("launchUrl") + private final String launchUrl; + + /** + * The URL that will be used to launch the application. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getLaunchUrl() { + return launchUrl; + } + + @com.fasterxml.jackson.annotation.JsonProperty("userWalletArtifact") + private final MyAppUserWalletArtifact userWalletArtifact; + + public MyAppUserWalletArtifact getUserWalletArtifact() { + return userWalletArtifact; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyApp("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", uid=").append(String.valueOf(this.uid)); + sb.append(", name=").append(String.valueOf(this.name)); + sb.append(", app=").append(String.valueOf(this.app)); + sb.append(", owner=").append(String.valueOf(this.owner)); + sb.append(", active=").append(String.valueOf(this.active)); + sb.append(", accountType=").append(String.valueOf(this.accountType)); + sb.append(", isAccount=").append(String.valueOf(this.isAccount)); + sb.append(", favorite=").append(String.valueOf(this.favorite)); + sb.append(", lastAccessed=").append(String.valueOf(this.lastAccessed)); + sb.append(", launchUrl=").append(String.valueOf(this.launchUrl)); + sb.append(", userWalletArtifact=").append(String.valueOf(this.userWalletArtifact)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyApp)) { + return false; + } + + MyApp other = (MyApp) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.uid, other.uid) + && java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.app, other.app) + && java.util.Objects.equals(this.owner, other.owner) + && java.util.Objects.equals(this.active, other.active) + && java.util.Objects.equals(this.accountType, other.accountType) + && java.util.Objects.equals(this.isAccount, other.isAccount) + && java.util.Objects.equals(this.favorite, other.favorite) + && java.util.Objects.equals(this.lastAccessed, other.lastAccessed) + && java.util.Objects.equals(this.launchUrl, other.launchUrl) + && java.util.Objects.equals(this.userWalletArtifact, other.userWalletArtifact) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = (result * PRIME) + (this.uid == null ? 43 : this.uid.hashCode()); + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + (this.app == null ? 43 : this.app.hashCode()); + result = (result * PRIME) + (this.owner == null ? 43 : this.owner.hashCode()); + result = (result * PRIME) + (this.active == null ? 43 : this.active.hashCode()); + result = (result * PRIME) + (this.accountType == null ? 43 : this.accountType.hashCode()); + result = (result * PRIME) + (this.isAccount == null ? 43 : this.isAccount.hashCode()); + result = (result * PRIME) + (this.favorite == null ? 43 : this.favorite.hashCode()); + result = (result * PRIME) + (this.lastAccessed == null ? 43 : this.lastAccessed.hashCode()); + result = (result * PRIME) + (this.launchUrl == null ? 43 : this.launchUrl.hashCode()); + result = + (result * PRIME) + + (this.userWalletArtifact == null + ? 43 + : this.userWalletArtifact.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppApp.java new file mode 100644 index 00000000000..6eb3cfae1ce --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppApp.java @@ -0,0 +1,840 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Application on which the account is based + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: true - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = MyAppApp.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyAppApp extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "value", + "ref", + "display", + "description", + "isLoginTarget", + "showInMyApps", + "isAliasApp", + "active", + "loginMechanism", + "appIcon", + "appThumbnail", + "isOPCService", + "serviceTypeURN" + }) + public MyAppApp( + String value, + String ref, + String display, + String description, + Boolean isLoginTarget, + Boolean showInMyApps, + Boolean isAliasApp, + Boolean active, + String loginMechanism, + String appIcon, + String appThumbnail, + Boolean isOPCService, + String serviceTypeURN) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + this.description = description; + this.isLoginTarget = isLoginTarget; + this.showInMyApps = showInMyApps; + this.isAliasApp = isAliasApp; + this.active = active; + this.loginMechanism = loginMechanism; + this.appIcon = appIcon; + this.appThumbnail = appThumbnail; + this.isOPCService = isOPCService; + this.serviceTypeURN = serviceTypeURN; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Application identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Application identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Application URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * Application URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Application display name + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Application display name + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * Application description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * Application description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + /** + * If true, this App allows runtime services to log end users into this App automatically. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isLoginTarget") + private Boolean isLoginTarget; + + /** + * If true, this App allows runtime services to log end users into this App automatically. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isLoginTarget the value to set + * @return this builder + */ + public Builder isLoginTarget(Boolean isLoginTarget) { + this.isLoginTarget = isLoginTarget; + this.__explicitlySet__.add("isLoginTarget"); + return this; + } + /** + * If true, this App will be displayed in the MyApps page of each end-user who has access to + * this App. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("showInMyApps") + private Boolean showInMyApps; + + /** + * If true, this App will be displayed in the MyApps page of each end-user who has access to + * this App. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param showInMyApps the value to set + * @return this builder + */ + public Builder showInMyApps(Boolean showInMyApps) { + this.showInMyApps = showInMyApps; + this.__explicitlySet__.add("showInMyApps"); + return this; + } + /** + * If true, this App is an AliasApp and it cannot be granted to an end user directly + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAliasApp") + private Boolean isAliasApp; + + /** + * If true, this App is an AliasApp and it cannot be granted to an end user directly + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: boolean - uniqueness: none + * + * @param isAliasApp the value to set + * @return this builder + */ + public Builder isAliasApp(Boolean isAliasApp) { + this.isAliasApp = isAliasApp; + this.__explicitlySet__.add("isAliasApp"); + return this; + } + /** + * If true, this App is able to participate in runtime services, such as automatic-login, + * OAuth, and SAML. If false, all runtime services are disabled for this App, and only + * administrative operations can be performed. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private Boolean active; + + /** + * If true, this App is able to participate in runtime services, such as automatic-login, + * OAuth, and SAML. If false, all runtime services are disabled for this App, and only + * administrative operations can be performed. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param active the value to set + * @return this builder + */ + public Builder active(Boolean active) { + this.active = active; + this.__explicitlySet__.add("active"); + return this; + } + /** + * The protocol that runtime services will use to log end users in to this App + * automatically. If 'OIDC', then runtime services use the OpenID Connect protocol. If + * 'SAML', then runtime services use Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("loginMechanism") + private String loginMechanism; + + /** + * The protocol that runtime services will use to log end users in to this App + * automatically. If 'OIDC', then runtime services use the OpenID Connect protocol. If + * 'SAML', then runtime services use Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param loginMechanism the value to set + * @return this builder + */ + public Builder loginMechanism(String loginMechanism) { + this.loginMechanism = loginMechanism; + this.__explicitlySet__.add("loginMechanism"); + return this; + } + /** + * Application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appIcon") + private String appIcon; + + /** + * Application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param appIcon the value to set + * @return this builder + */ + public Builder appIcon(String appIcon) { + this.appIcon = appIcon; + this.__explicitlySet__.add("appIcon"); + return this; + } + /** + * Application thumbnail. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appThumbnail") + private String appThumbnail; + + /** + * Application thumbnail. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param appThumbnail the value to set + * @return this builder + */ + public Builder appThumbnail(String appThumbnail) { + this.appThumbnail = appThumbnail; + this.__explicitlySet__.add("appThumbnail"); + return this; + } + /** + * If true, this application is an Oracle Public Cloud service-instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOPCService") + private Boolean isOPCService; + + /** + * If true, this application is an Oracle Public Cloud service-instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isOPCService the value to set + * @return this builder + */ + public Builder isOPCService(Boolean isOPCService) { + this.isOPCService = isOPCService; + this.__explicitlySet__.add("isOPCService"); + return this; + } + /** + * This Uniform Resource Name (URN) value identifies the type of Oracle Public Cloud service + * of which this app is an instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceTypeURN") + private String serviceTypeURN; + + /** + * This Uniform Resource Name (URN) value identifies the type of Oracle Public Cloud service + * of which this app is an instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param serviceTypeURN the value to set + * @return this builder + */ + public Builder serviceTypeURN(String serviceTypeURN) { + this.serviceTypeURN = serviceTypeURN; + this.__explicitlySet__.add("serviceTypeURN"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyAppApp build() { + MyAppApp model = + new MyAppApp( + this.value, + this.ref, + this.display, + this.description, + this.isLoginTarget, + this.showInMyApps, + this.isAliasApp, + this.active, + this.loginMechanism, + this.appIcon, + this.appThumbnail, + this.isOPCService, + this.serviceTypeURN); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyAppApp model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("isLoginTarget")) { + this.isLoginTarget(model.getIsLoginTarget()); + } + if (model.wasPropertyExplicitlySet("showInMyApps")) { + this.showInMyApps(model.getShowInMyApps()); + } + if (model.wasPropertyExplicitlySet("isAliasApp")) { + this.isAliasApp(model.getIsAliasApp()); + } + if (model.wasPropertyExplicitlySet("active")) { + this.active(model.getActive()); + } + if (model.wasPropertyExplicitlySet("loginMechanism")) { + this.loginMechanism(model.getLoginMechanism()); + } + if (model.wasPropertyExplicitlySet("appIcon")) { + this.appIcon(model.getAppIcon()); + } + if (model.wasPropertyExplicitlySet("appThumbnail")) { + this.appThumbnail(model.getAppThumbnail()); + } + if (model.wasPropertyExplicitlySet("isOPCService")) { + this.isOPCService(model.getIsOPCService()); + } + if (model.wasPropertyExplicitlySet("serviceTypeURN")) { + this.serviceTypeURN(model.getServiceTypeURN()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Application identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Application identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Application URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * Application URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Application display name + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Application display name + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * Application description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * Application description + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** + * If true, this App allows runtime services to log end users into this App automatically. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isLoginTarget") + private final Boolean isLoginTarget; + + /** + * If true, this App allows runtime services to log end users into this App automatically. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsLoginTarget() { + return isLoginTarget; + } + + /** + * If true, this App will be displayed in the MyApps page of each end-user who has access to + * this App. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("showInMyApps") + private final Boolean showInMyApps; + + /** + * If true, this App will be displayed in the MyApps page of each end-user who has access to + * this App. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getShowInMyApps() { + return showInMyApps; + } + + /** + * If true, this App is an AliasApp and it cannot be granted to an end user directly + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isAliasApp") + private final Boolean isAliasApp; + + /** + * If true, this App is an AliasApp and it cannot be granted to an end user directly + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsAliasApp() { + return isAliasApp; + } + + /** + * If true, this App is able to participate in runtime services, such as automatic-login, OAuth, + * and SAML. If false, all runtime services are disabled for this App, and only administrative + * operations can be performed. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private final Boolean active; + + /** + * If true, this App is able to participate in runtime services, such as automatic-login, OAuth, + * and SAML. If false, all runtime services are disabled for this App, and only administrative + * operations can be performed. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getActive() { + return active; + } + + /** + * The protocol that runtime services will use to log end users in to this App automatically. If + * 'OIDC', then runtime services use the OpenID Connect protocol. If 'SAML', then runtime + * services use Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("loginMechanism") + private final String loginMechanism; + + /** + * The protocol that runtime services will use to log end users in to this App automatically. If + * 'OIDC', then runtime services use the OpenID Connect protocol. If 'SAML', then runtime + * services use Security Assertion Markup Language protocol. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getLoginMechanism() { + return loginMechanism; + } + + /** + * Application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appIcon") + private final String appIcon; + + /** + * Application icon. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getAppIcon() { + return appIcon; + } + + /** + * Application thumbnail. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("appThumbnail") + private final String appThumbnail; + + /** + * Application thumbnail. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getAppThumbnail() { + return appThumbnail; + } + + /** + * If true, this application is an Oracle Public Cloud service-instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOPCService") + private final Boolean isOPCService; + + /** + * If true, this application is an Oracle Public Cloud service-instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIsOPCService() { + return isOPCService; + } + + /** + * This Uniform Resource Name (URN) value identifies the type of Oracle Public Cloud service of + * which this app is an instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceTypeURN") + private final String serviceTypeURN; + + /** + * This Uniform Resource Name (URN) value identifies the type of Oracle Public Cloud service of + * which this app is an instance. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getServiceTypeURN() { + return serviceTypeURN; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyAppApp("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", isLoginTarget=").append(String.valueOf(this.isLoginTarget)); + sb.append(", showInMyApps=").append(String.valueOf(this.showInMyApps)); + sb.append(", isAliasApp=").append(String.valueOf(this.isAliasApp)); + sb.append(", active=").append(String.valueOf(this.active)); + sb.append(", loginMechanism=").append(String.valueOf(this.loginMechanism)); + sb.append(", appIcon=").append(String.valueOf(this.appIcon)); + sb.append(", appThumbnail=").append(String.valueOf(this.appThumbnail)); + sb.append(", isOPCService=").append(String.valueOf(this.isOPCService)); + sb.append(", serviceTypeURN=").append(String.valueOf(this.serviceTypeURN)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyAppApp)) { + return false; + } + + MyAppApp other = (MyAppApp) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.isLoginTarget, other.isLoginTarget) + && java.util.Objects.equals(this.showInMyApps, other.showInMyApps) + && java.util.Objects.equals(this.isAliasApp, other.isAliasApp) + && java.util.Objects.equals(this.active, other.active) + && java.util.Objects.equals(this.loginMechanism, other.loginMechanism) + && java.util.Objects.equals(this.appIcon, other.appIcon) + && java.util.Objects.equals(this.appThumbnail, other.appThumbnail) + && java.util.Objects.equals(this.isOPCService, other.isOPCService) + && java.util.Objects.equals(this.serviceTypeURN, other.serviceTypeURN) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = + (result * PRIME) + + (this.isLoginTarget == null ? 43 : this.isLoginTarget.hashCode()); + result = (result * PRIME) + (this.showInMyApps == null ? 43 : this.showInMyApps.hashCode()); + result = (result * PRIME) + (this.isAliasApp == null ? 43 : this.isAliasApp.hashCode()); + result = (result * PRIME) + (this.active == null ? 43 : this.active.hashCode()); + result = + (result * PRIME) + + (this.loginMechanism == null ? 43 : this.loginMechanism.hashCode()); + result = (result * PRIME) + (this.appIcon == null ? 43 : this.appIcon.hashCode()); + result = (result * PRIME) + (this.appThumbnail == null ? 43 : this.appThumbnail.hashCode()); + result = (result * PRIME) + (this.isOPCService == null ? 43 : this.isOPCService.hashCode()); + result = + (result * PRIME) + + (this.serviceTypeURN == null ? 43 : this.serviceTypeURN.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppOwner.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppOwner.java new file mode 100644 index 00000000000..22c8dd15e6e --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppOwner.java @@ -0,0 +1,255 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Owning user of the account + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = MyAppOwner.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyAppOwner extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display"}) + public MyAppOwner(String value, String ref, String display) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * User Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * User Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * User display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * User display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyAppOwner build() { + MyAppOwner model = new MyAppOwner(this.value, this.ref, this.display); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyAppOwner model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * User Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * User Identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * User display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * User display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyAppOwner("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyAppOwner)) { + return false; + } + + MyAppOwner other = (MyAppOwner) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppSearchRequest.java new file mode 100644 index 00000000000..55e455393bb --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppSearchRequest.java @@ -0,0 +1,538 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Clients MAY execute queries without passing parameters on the URL by using the HTTP POST verb + * combined with the **.search** path extension. The inclusion of **.search** on the end of a valid + * SCIM endpoint SHALL be used to indicate the HTTP POST verb is intended to be a query operation. + * To create a new query result set, a SCIM client sends an HTTP POST request to the desired SCIM + * resource endpoint (ending in **.search**). The body of the POST request MAY include any of the + * parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MyAppSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyAppSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "attributes", + "attributeSets", + "filter", + "sortBy", + "sortOrder", + "startIndex", + "count" + }) + public MyAppSearchRequest( + java.util.List schemas, + java.util.List attributes, + java.util.List attributeSets, + String filter, + String sortBy, + SortOrder sortOrder, + Integer startIndex, + Integer count) { + super(); + this.schemas = schemas; + this.attributes = attributes; + this.attributeSets = attributeSets; + this.filter = filter; + this.sortBy = sortBy; + this.sortOrder = sortOrder; + this.startIndex = startIndex; + this.count = count; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @param attributes the value to set + * @return this builder + */ + public Builder attributes(java.util.List attributes) { + this.attributes = attributes; + this.__explicitlySet__.add("attributes"); + return this; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + * + * @param attributeSets the value to set + * @return this builder + */ + public Builder attributeSets(java.util.List attributeSets) { + this.attributeSets = attributeSets; + this.__explicitlySet__.add("attributeSets"); + return this; + } + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @param filter the value to set + * @return this builder + */ + public Builder filter(String filter) { + this.filter = filter; + this.__explicitlySet__.add("filter"); + return this; + } + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + * + * @param sortBy the value to set + * @return this builder + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + this.__explicitlySet__.add("sortBy"); + return this; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder + */ + public Builder sortOrder(SortOrder sortOrder) { + this.sortOrder = sortOrder; + this.__explicitlySet__.add("sortOrder"); + return this; + } + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @param count the value to set + * @return this builder + */ + public Builder count(Integer count) { + this.count = count; + this.__explicitlySet__.add("count"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyAppSearchRequest build() { + MyAppSearchRequest model = + new MyAppSearchRequest( + this.schemas, + this.attributes, + this.attributeSets, + this.filter, + this.sortBy, + this.sortOrder, + this.startIndex, + this.count); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyAppSearchRequest model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("attributes")) { + this.attributes(model.getAttributes()); + } + if (model.wasPropertyExplicitlySet("attributeSets")) { + this.attributeSets(model.getAttributeSets()); + } + if (model.wasPropertyExplicitlySet("filter")) { + this.filter(model.getFilter()); + } + if (model.wasPropertyExplicitlySet("sortBy")) { + this.sortBy(model.getSortBy()); + } + if (model.wasPropertyExplicitlySet("sortOrder")) { + this.sortOrder(model.getSortOrder()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("count")) { + this.count(model.getCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private final java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private final java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private final String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @return the value + */ + public String getFilter() { + return filter; + } + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private final String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + * + * @return the value + */ + public String getSortBy() { + return sortBy; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private final SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @return the value + */ + public SortOrder getSortOrder() { + return sortOrder; + } + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private final Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @return the value + */ + public Integer getCount() { + return count; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyAppSearchRequest("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", attributes=").append(String.valueOf(this.attributes)); + sb.append(", attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(", filter=").append(String.valueOf(this.filter)); + sb.append(", sortBy=").append(String.valueOf(this.sortBy)); + sb.append(", sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", count=").append(String.valueOf(this.count)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyAppSearchRequest)) { + return false; + } + + MyAppSearchRequest other = (MyAppSearchRequest) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppUserWalletArtifact.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppUserWalletArtifact.java new file mode 100644 index 00000000000..5aca4d49b98 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAppUserWalletArtifact.java @@ -0,0 +1,207 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The UserWalletArtifact that contains the credentials that the system will use in performing + * Secure Form-Fill to log the User into this application. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MyAppUserWalletArtifact.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyAppUserWalletArtifact + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref"}) + public MyAppUserWalletArtifact(String value, String ref) { + super(); + this.value = value; + this.ref = ref; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * UserWalletArtifact identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * UserWalletArtifact identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: true - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * UserWalletArtifact URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * UserWalletArtifact URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyAppUserWalletArtifact build() { + MyAppUserWalletArtifact model = new MyAppUserWalletArtifact(this.value, this.ref); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyAppUserWalletArtifact model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * UserWalletArtifact identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * UserWalletArtifact identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * UserWalletArtifact URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * UserWalletArtifact URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyAppUserWalletArtifact("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyAppUserWalletArtifact)) { + return false; + } + + MyAppUserWalletArtifact other = (MyAppUserWalletArtifact) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApps.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApps.java new file mode 100644 index 00000000000..359c960c67d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyApps.java @@ -0,0 +1,356 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = MyApps.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyApps extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public MyApps( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyApps build() { + MyApps model = + new MyApps( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyApps model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyApps("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyApps)) { + return false; + } + + MyApps other = (MyApps) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAuthToken.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAuthToken.java index 21df6905ebb..6aa38191121 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAuthToken.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAuthToken.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User's Auth token resource
+ * The user's Auth token resource.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -412,7 +412,7 @@ public Builder description(String description) { return this; } /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -424,7 +424,7 @@ public Builder description(String description) { private Status status; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -441,7 +441,7 @@ public Builder status(Status status) { return this; } /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -453,7 +453,7 @@ public Builder status(Status status) { private String expiresOn; /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -863,7 +863,7 @@ public String getDescription() { } /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -915,7 +915,7 @@ public static Status create(String key) { } }; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -926,7 +926,7 @@ public static Status create(String key) { private final Status status; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -940,7 +940,7 @@ public Status getStatus() { } /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -952,7 +952,7 @@ public Status getStatus() { private final String expiresOn; /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAuthTokenUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAuthTokenUser.java index 084150a0d1b..bdbb5744a55 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAuthTokenUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyAuthTokenUser.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User linked to auth token + * The user linked to the Auth token. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: default - type: complex - uniqueness: none @@ -39,7 +39,7 @@ public MyAuthTokenUser(String value, String ocid, String ref, String display, St @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -49,7 +49,7 @@ public static class Builder { private String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -64,7 +64,7 @@ public Builder value(String value) { return this; } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -74,7 +74,7 @@ public Builder value(String value) { private String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -114,7 +114,7 @@ public Builder ref(String ref) { return this; } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -124,7 +124,7 @@ public Builder ref(String ref) { private String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -139,7 +139,7 @@ public Builder display(String display) { return this; } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -149,7 +149,7 @@ public Builder display(String display) { private String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -207,7 +207,7 @@ public Builder toBuilder() { } /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -216,7 +216,7 @@ public Builder toBuilder() { private final String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -228,7 +228,7 @@ public String getValue() { } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -237,7 +237,7 @@ public String getValue() { private final String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -272,7 +272,7 @@ public String getRef() { } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -281,7 +281,7 @@ public String getRef() { private final String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -293,7 +293,7 @@ public String getDisplay() { } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -302,7 +302,7 @@ public String getDisplay() { private final String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyCustomerSecretKey.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyCustomerSecretKey.java index b21e3e3ba01..c35145e0c36 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyCustomerSecretKey.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyCustomerSecretKey.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User's customer secret key
+ * The user's customer secret key.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -439,7 +439,7 @@ public Builder description(String description) { return this; } /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -451,7 +451,7 @@ public Builder description(String description) { private Status status; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -468,7 +468,7 @@ public Builder status(Status status) { return this; } /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -480,7 +480,7 @@ public Builder status(Status status) { private String expiresOn; /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -497,7 +497,7 @@ public Builder expiresOn(String expiresOn) { return this; } /** - * Access key + * The access key. * *

*SCIM++ Properties:** - caseExact: true - type: string - mutability: readOnly - * required: false - returned: default @@ -506,7 +506,7 @@ public Builder expiresOn(String expiresOn) { private String accessKey; /** - * Access key + * The access key. * *

*SCIM++ Properties:** - caseExact: true - type: string - mutability: readOnly - * required: false - returned: default @@ -938,7 +938,7 @@ public String getDescription() { } /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -990,7 +990,7 @@ public static Status create(String key) { } }; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -1001,7 +1001,7 @@ public static Status create(String key) { private final Status status; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -1015,7 +1015,7 @@ public Status getStatus() { } /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -1027,7 +1027,7 @@ public Status getStatus() { private final String expiresOn; /** - * User credential expires on + * When the user's credential expire. * *

*Added In:** 2109090424 * @@ -1042,7 +1042,7 @@ public String getExpiresOn() { } /** - * Access key + * The access key. * *

*SCIM++ Properties:** - caseExact: true - type: string - mutability: readOnly - required: * false - returned: default @@ -1051,7 +1051,7 @@ public String getExpiresOn() { private final String accessKey; /** - * Access key + * The access key. * *

*SCIM++ Properties:** - caseExact: true - type: string - mutability: readOnly - required: * false - returned: default diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyCustomerSecretKeyUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyCustomerSecretKeyUser.java index 69493fdee69..d2adafb7948 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyCustomerSecretKeyUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyCustomerSecretKeyUser.java @@ -41,7 +41,7 @@ public MyCustomerSecretKeyUser( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -51,7 +51,7 @@ public static class Builder { private String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -66,7 +66,7 @@ public Builder value(String value) { return this; } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -76,7 +76,7 @@ public Builder value(String value) { private String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -91,7 +91,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -101,7 +101,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -116,7 +116,7 @@ public Builder ref(String ref) { return this; } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -126,7 +126,7 @@ public Builder ref(String ref) { private String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -141,7 +141,7 @@ public Builder display(String display) { return this; } /** - * User name + * The user's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -151,7 +151,7 @@ public Builder display(String display) { private String name; /** - * User name + * The user's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -210,7 +210,7 @@ public Builder toBuilder() { } /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -219,7 +219,7 @@ public Builder toBuilder() { private final String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -231,7 +231,7 @@ public String getValue() { } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -240,7 +240,7 @@ public String getValue() { private final String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -252,7 +252,7 @@ public String getOcid() { } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -262,7 +262,7 @@ public String getOcid() { private final String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -275,7 +275,7 @@ public String getRef() { } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -284,7 +284,7 @@ public String getRef() { private final String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -296,7 +296,7 @@ public String getDisplay() { } /** - * User name + * The user's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -305,7 +305,7 @@ public String getDisplay() { private final String name; /** - * User name + * The user's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDevice.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDevice.java index 15bf0cc100a..3944ba449d1 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDevice.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDevice.java @@ -492,7 +492,8 @@ public Builder externalId(String externalId) { * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("displayName") private String displayName; @@ -502,7 +503,8 @@ public Builder externalId(String externalId) { * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param displayName the value to set * @return this builder @@ -516,7 +518,9 @@ public Builder displayName(String displayName) { * Device Platform * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * immutable - required: false - returned: default - type: string - uniqueness: none + * immutable - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("platform") private Platform platform; @@ -525,7 +529,9 @@ public Builder displayName(String displayName) { * Device Platform * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * immutable - required: false - returned: default - type: string - uniqueness: none + * immutable - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * default - type: string - uniqueness: none * * @param platform the value to set * @return this builder @@ -540,7 +546,8 @@ public Builder platform(Platform platform) { * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("status") private Status status; @@ -550,7 +557,8 @@ public Builder platform(Platform platform) { * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param status the value to set * @return this builder @@ -587,7 +595,9 @@ public Builder reason(String reason) { * Device hardware name/model * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: string - uniqueness: none + * readOnly - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("deviceType") private String deviceType; @@ -596,7 +606,9 @@ public Builder reason(String reason) { * Device hardware name/model * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: string - uniqueness: none + * readOnly - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param deviceType the value to set * @return this builder @@ -610,7 +622,9 @@ public Builder deviceType(String deviceType) { * Mobile Authenticator App Version * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: string - uniqueness: none + * readOnly - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("appVersion") private String appVersion; @@ -619,7 +633,9 @@ public Builder deviceType(String deviceType) { * Mobile Authenticator App Version * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: string - uniqueness: none + * readOnly - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param appVersion the value to set * @return this builder @@ -633,7 +649,9 @@ public Builder appVersion(String appVersion) { * Mobile Authenticator App Package Id * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: string - uniqueness: none + * readOnly - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("packageId") private String packageId; @@ -642,7 +660,9 @@ public Builder appVersion(String appVersion) { * Mobile Authenticator App Package Id * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: string - uniqueness: none + * readOnly - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param packageId the value to set * @return this builder @@ -656,7 +676,9 @@ public Builder packageId(String packageId) { * Last Sync time for device * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: dateTime - uniqueness: none + * readWrite - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * default - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lastSyncTime") private String lastSyncTime; @@ -665,7 +687,9 @@ public Builder packageId(String packageId) { * Last Sync time for device * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: dateTime - uniqueness: none + * readWrite - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * default - type: dateTime - uniqueness: none * * @param lastSyncTime the value to set * @return this builder @@ -682,8 +706,9 @@ public Builder lastSyncTime(String lastSyncTime) { *

*Added In:** 17.3.6 * *

*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readWrite - required: false - returned: default - type: - * dateTime - uniqueness: none + * multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * default - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lastValidatedTime") private String lastValidatedTime; @@ -695,8 +720,9 @@ public Builder lastSyncTime(String lastSyncTime) { *

*Added In:** 17.3.6 * *

*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readWrite - required: false - returned: default - type: - * dateTime - uniqueness: none + * multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * default - type: dateTime - uniqueness: none * * @param lastValidatedTime the value to set * @return this builder @@ -737,7 +763,9 @@ public Builder isCompliant(Boolean isCompliant) { *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * immutable - required: false - returned: default - type: string - uniqueness: none + * immutable - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("countryCode") private String countryCode; @@ -748,7 +776,9 @@ public Builder isCompliant(Boolean isCompliant) { *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * immutable - required: false - returned: default - type: string - uniqueness: none + * immutable - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param countryCode the value to set * @return this builder @@ -762,7 +792,9 @@ public Builder countryCode(String countryCode) { * User's Phone Number * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * immutable - required: false - returned: default - type: string - uniqueness: none + * immutable - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("phoneNumber") private String phoneNumber; @@ -771,7 +803,9 @@ public Builder countryCode(String countryCode) { * User's Phone Number * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * immutable - required: false - returned: default - type: string - uniqueness: none + * immutable - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param phoneNumber the value to set * @return this builder @@ -786,7 +820,8 @@ public Builder phoneNumber(String phoneNumber) { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("isAccRecEnabled") private Boolean isAccRecEnabled; @@ -796,7 +831,8 @@ public Builder phoneNumber(String phoneNumber) { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param isAccRecEnabled the value to set * @return this builder @@ -810,7 +846,9 @@ public Builder isAccRecEnabled(Boolean isAccRecEnabled) { * Unique id sent from device * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: string - uniqueness: none + * readOnly - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("deviceUUID") private String deviceUUID; @@ -819,7 +857,9 @@ public Builder isAccRecEnabled(Boolean isAccRecEnabled) { * Unique id sent from device * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: string - uniqueness: none + * readOnly - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param deviceUUID the value to set * @return this builder @@ -833,7 +873,9 @@ public Builder deviceUUID(String deviceUUID) { * Device base public Key * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: string - uniqueness: none + * readOnly - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("basePublicKey") private String basePublicKey; @@ -842,7 +884,9 @@ public Builder deviceUUID(String deviceUUID) { * Device base public Key * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: string - uniqueness: none + * readOnly - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param basePublicKey the value to set * @return this builder @@ -859,7 +903,9 @@ public Builder basePublicKey(String basePublicKey) { *

*Added In:** 2009232244 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: string - uniqueness: none + * readWrite - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("authenticationMethod") private String authenticationMethod; @@ -871,7 +917,9 @@ public Builder basePublicKey(String basePublicKey) { *

*Added In:** 2009232244 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: string - uniqueness: none + * readWrite - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param authenticationMethod the value to set * @return this builder @@ -1558,6 +1606,8 @@ public String getExternalId() { * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("displayName") private final String displayName; @@ -1567,6 +1617,8 @@ public String getExternalId() { * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -1578,7 +1630,8 @@ public String getDisplayName() { * Device Platform * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - * - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true - required: false - returned: default - type: string - uniqueness: none */ public enum Platform implements com.oracle.bmc.http.internal.BmcEnum { Ios("IOS"), @@ -1631,7 +1684,8 @@ public static Platform create(String key) { * Device Platform * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - * - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true - required: false - returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("platform") private final Platform platform; @@ -1640,7 +1694,8 @@ public static Platform create(String key) { * Device Platform * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - * - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true - required: false - returned: default - type: string - uniqueness: none * * @return the value */ @@ -1653,6 +1708,8 @@ public Platform getPlatform() { * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ public enum Status implements com.oracle.bmc.http.internal.BmcEnum { Initiated("INITIATED"), @@ -1707,6 +1764,8 @@ public static Status create(String key) { * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("status") private final Status status; @@ -1716,6 +1775,8 @@ public static Status create(String key) { * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -1748,7 +1809,9 @@ public String getReason() { * Device hardware name/model * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("deviceType") private final String deviceType; @@ -1757,7 +1820,9 @@ public String getReason() { * Device hardware name/model * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -1769,7 +1834,9 @@ public String getDeviceType() { * Mobile Authenticator App Version * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("appVersion") private final String appVersion; @@ -1778,7 +1845,9 @@ public String getDeviceType() { * Mobile Authenticator App Version * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -1790,7 +1859,9 @@ public String getAppVersion() { * Mobile Authenticator App Package Id * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("packageId") private final String packageId; @@ -1799,7 +1870,9 @@ public String getAppVersion() { * Mobile Authenticator App Package Id * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -1811,7 +1884,8 @@ public String getPackageId() { * Last Sync time for device * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: dateTime - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true - required: false - returned: default - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lastSyncTime") private final String lastSyncTime; @@ -1820,7 +1894,8 @@ public String getPackageId() { * Last Sync time for device * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: dateTime - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true - required: false - returned: default - type: dateTime - uniqueness: none * * @return the value */ @@ -1834,8 +1909,9 @@ public String getLastSyncTime() { *

*Added In:** 17.3.6 * *

*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readWrite - required: false - returned: default - type: - * dateTime - uniqueness: none + * multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: default + * - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lastValidatedTime") private final String lastValidatedTime; @@ -1846,8 +1922,9 @@ public String getLastSyncTime() { *

*Added In:** 17.3.6 * *

*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - - * multiValued: false - mutability: readWrite - required: false - returned: default - type: - * dateTime - uniqueness: none + * multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: default + * - type: dateTime - uniqueness: none * * @return the value */ @@ -1882,7 +1959,9 @@ public Boolean getIsCompliant() { *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("countryCode") private final String countryCode; @@ -1893,7 +1972,9 @@ public Boolean getIsCompliant() { *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -1905,7 +1986,9 @@ public String getCountryCode() { * User's Phone Number * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("phoneNumber") private final String phoneNumber; @@ -1914,7 +1997,9 @@ public String getCountryCode() { * User's Phone Number * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -1927,7 +2012,8 @@ public String getPhoneNumber() { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("isAccRecEnabled") private final Boolean isAccRecEnabled; @@ -1937,7 +2023,8 @@ public String getPhoneNumber() { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @return the value */ @@ -1949,7 +2036,9 @@ public Boolean getIsAccRecEnabled() { * Unique id sent from device * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("deviceUUID") private final String deviceUUID; @@ -1958,7 +2047,9 @@ public Boolean getIsAccRecEnabled() { * Unique id sent from device * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -1970,7 +2061,9 @@ public String getDeviceUUID() { * Device base public Key * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("basePublicKey") private final String basePublicKey; @@ -1979,7 +2072,9 @@ public String getDeviceUUID() { * Device base public Key * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -1994,7 +2089,9 @@ public String getBasePublicKey() { *

*Added In:** 2009232244 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("authenticationMethod") private final String authenticationMethod; @@ -2006,7 +2103,9 @@ public String getBasePublicKey() { *

*Added In:** 2009232244 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceAdditionalAttributes.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceAdditionalAttributes.java index 7d6af90d408..bbd9ad5c964 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceAdditionalAttributes.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceAdditionalAttributes.java @@ -36,7 +36,9 @@ public static class Builder { * Device Attribute Key Name * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: true - returned: always - type: string - uniqueness: none + * readOnly - required: true - returned: always - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("key") private String key; @@ -45,7 +47,9 @@ public static class Builder { * Device Attribute Key Name * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: true - returned: always - type: string - uniqueness: none + * readOnly - required: true - returned: always - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param key the value to set * @return this builder @@ -59,7 +63,9 @@ public Builder key(String key) { * Device Attribute Value * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: true - returned: default - type: string - uniqueness: none + * readOnly - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("value") private String value; @@ -68,7 +74,9 @@ public Builder key(String key) { * Device Attribute Value * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: true - returned: default - type: string - uniqueness: none + * readOnly - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param value the value to set * @return this builder @@ -116,7 +124,9 @@ public Builder toBuilder() { * Device Attribute Key Name * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: true - returned: always - type: string - uniqueness: none + * - required: true - returned: always - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("key") private final String key; @@ -125,7 +135,9 @@ public Builder toBuilder() { * Device Attribute Key Name * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: true - returned: always - type: string - uniqueness: none + * - required: true - returned: always - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -137,7 +149,9 @@ public String getKey() { * Device Attribute Value * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("value") private final String value; @@ -146,7 +160,9 @@ public String getKey() { * Device Attribute Value * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceAuthenticationFactors.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceAuthenticationFactors.java index 99c573dda8e..4357663f883 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceAuthenticationFactors.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceAuthenticationFactors.java @@ -38,7 +38,8 @@ public static class Builder { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("type") private Type type; @@ -48,7 +49,8 @@ public static class Builder { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param type the value to set * @return this builder @@ -62,7 +64,9 @@ public Builder type(Type type) { * Authentication Factor Status * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: string - uniqueness: none + * readWrite - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("status") private Status status; @@ -71,7 +75,9 @@ public Builder type(Type type) { * Authentication Factor Status * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: string - uniqueness: none + * readWrite - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param status the value to set * @return this builder @@ -85,7 +91,9 @@ public Builder status(Status status) { * Authentication Factor public key issued by client * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: string - uniqueness: none + * readOnly - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("publicKey") private String publicKey; @@ -94,7 +102,9 @@ public Builder status(Status status) { * Authentication Factor public key issued by client * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: string - uniqueness: none + * readOnly - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param publicKey the value to set * @return this builder @@ -146,6 +156,8 @@ public Builder toBuilder() { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ public enum Type implements com.oracle.bmc.http.internal.BmcEnum { Email("EMAIL"), @@ -203,6 +215,8 @@ public static Type create(String key) { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("type") private final Type type; @@ -212,6 +226,8 @@ public static Type create(String key) { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -223,7 +239,9 @@ public Type getType() { * Authentication Factor Status * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ public enum Status implements com.oracle.bmc.http.internal.BmcEnum { Initiated("INITIATED"), @@ -277,7 +295,9 @@ public static Status create(String key) { * Authentication Factor Status * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("status") private final Status status; @@ -286,7 +306,9 @@ public static Status create(String key) { * Authentication Factor Status * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -298,7 +320,9 @@ public Status getStatus() { * Authentication Factor public key issued by client * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("publicKey") private final String publicKey; @@ -307,7 +331,9 @@ public Status getStatus() { * Authentication Factor public key issued by client * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceNonCompliances.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceNonCompliances.java index f39f521783a..c584ecdffcc 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceNonCompliances.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceNonCompliances.java @@ -37,7 +37,9 @@ public static class Builder { * Device Compliance name * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: true - returned: default - type: string - uniqueness: none + * readOnly - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("name") private String name; @@ -46,7 +48,9 @@ public static class Builder { * Device Compliance name * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: true - returned: default - type: string - uniqueness: none + * readOnly - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param name the value to set * @return this builder @@ -60,7 +64,9 @@ public Builder name(String name) { * Device Compliance value * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: true - returned: default - type: string - uniqueness: none + * readOnly - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("value") private String value; @@ -69,7 +75,9 @@ public Builder name(String name) { * Device Compliance value * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: true - returned: default - type: string - uniqueness: none + * readOnly - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param value the value to set * @return this builder @@ -83,7 +91,9 @@ public Builder value(String value) { * Device Compliance Action * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: true - returned: default - type: string - uniqueness: none + * readOnly - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("action") private Action action; @@ -92,7 +102,9 @@ public Builder value(String value) { * Device Compliance Action * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: true - returned: default - type: string - uniqueness: none + * readOnly - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param action the value to set * @return this builder @@ -143,7 +155,9 @@ public Builder toBuilder() { * Device Compliance name * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("name") private final String name; @@ -152,7 +166,9 @@ public Builder toBuilder() { * Device Compliance name * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -164,7 +180,9 @@ public String getName() { * Device Compliance value * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("value") private final String value; @@ -173,7 +191,9 @@ public String getName() { * Device Compliance value * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -185,7 +205,9 @@ public String getValue() { * Device Compliance Action * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ public enum Action implements com.oracle.bmc.http.internal.BmcEnum { Notify("NOTIFY"), @@ -237,7 +259,9 @@ public static Action create(String key) { * Device Compliance Action * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("action") private final Action action; @@ -246,7 +270,9 @@ public static Action create(String key) { * Device Compliance Action * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDevicePushNotificationTarget.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDevicePushNotificationTarget.java index f013b10df5e..37e15ad86ee 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDevicePushNotificationTarget.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDevicePushNotificationTarget.java @@ -40,7 +40,8 @@ public static class Builder { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: true - returned: always - type: string - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("value") private String value; @@ -50,7 +51,8 @@ public static class Builder { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: true - returned: always - type: string - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param value the value to set * @return this builder @@ -64,7 +66,9 @@ public Builder value(String value) { * The URI that corresponds to the push notification target resource of this device * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: reference - uniqueness: none + * readOnly - required: false - returned: default - type: reference - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("$ref") private String ref; @@ -73,7 +77,9 @@ public Builder value(String value) { * The URI that corresponds to the push notification target resource of this device * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: reference - uniqueness: none + * readOnly - required: false - returned: default - type: reference - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param ref the value to set * @return this builder @@ -121,7 +127,9 @@ public Builder toBuilder() { * The identifier of the push notification target * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readOnly - required: true - returned: always - type: string - uniqueness: none + * mutability: readOnly - required: true - returned: always - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("value") private final String value; @@ -130,7 +138,9 @@ public Builder toBuilder() { * The identifier of the push notification target * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readOnly - required: true - returned: always - type: string - uniqueness: none + * mutability: readOnly - required: true - returned: always - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -142,7 +152,9 @@ public String getValue() { * The URI that corresponds to the push notification target resource of this device * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: reference - uniqueness: none + * - required: false - returned: default - type: reference - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("$ref") private final String ref; @@ -151,7 +163,9 @@ public String getValue() { * The URI that corresponds to the push notification target resource of this device * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: reference - uniqueness: none + * - required: false - returned: default - type: reference - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceThirdPartyFactor.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceThirdPartyFactor.java index 91503c71125..7b30097834f 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceThirdPartyFactor.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceThirdPartyFactor.java @@ -51,7 +51,9 @@ public static class Builder { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: - * immutable - required: true - returned: default - type: string - uniqueness: none + * immutable - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("thirdPartyVendorName") private String thirdPartyVendorName; @@ -62,7 +64,9 @@ public static class Builder { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: - * immutable - required: true - returned: default - type: string - uniqueness: none + * immutable - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param thirdPartyVendorName the value to set * @return this builder @@ -78,7 +82,9 @@ public Builder thirdPartyVendorName(String thirdPartyVendorName) { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * immutable - required: false - returned: default - type: string - uniqueness: none + * immutable - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("thirdPartyFactorType") private String thirdPartyFactorType; @@ -89,7 +95,9 @@ public Builder thirdPartyVendorName(String thirdPartyVendorName) { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * immutable - required: false - returned: default - type: string - uniqueness: none + * immutable - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param thirdPartyFactorType the value to set * @return this builder @@ -105,7 +113,9 @@ public Builder thirdPartyFactorType(String thirdPartyFactorType) { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * immutable - required: true - returned: default - type: string - uniqueness: none + * immutable - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("value") private String value; @@ -116,7 +126,9 @@ public Builder thirdPartyFactorType(String thirdPartyFactorType) { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * immutable - required: true - returned: default - type: string - uniqueness: none + * immutable - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param value the value to set * @return this builder @@ -132,7 +144,9 @@ public Builder value(String value) { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: reference - uniqueness: none + * readOnly - required: false - returned: default - type: reference - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("$ref") private String ref; @@ -143,7 +157,9 @@ public Builder value(String value) { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: reference - uniqueness: none + * readOnly - required: false - returned: default - type: reference - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param ref the value to set * @return this builder @@ -203,7 +219,9 @@ public Builder toBuilder() { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("thirdPartyVendorName") private final String thirdPartyVendorName; @@ -214,7 +232,9 @@ public Builder toBuilder() { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -228,7 +248,9 @@ public String getThirdPartyVendorName() { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("thirdPartyFactorType") private final String thirdPartyFactorType; @@ -239,7 +261,9 @@ public String getThirdPartyVendorName() { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - * - required: false - returned: default - type: string - uniqueness: none + * - required: false - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -253,7 +277,9 @@ public String getThirdPartyFactorType() { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("value") private final String value; @@ -264,7 +290,9 @@ public String getThirdPartyFactorType() { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - * - required: true - returned: default - type: string - uniqueness: none + * - required: true - returned: default - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -278,7 +306,9 @@ public String getValue() { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: reference - uniqueness: none + * - required: false - returned: default - type: reference - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("$ref") private final String ref; @@ -289,7 +319,9 @@ public String getValue() { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: reference - uniqueness: none + * - required: false - returned: default - type: reference - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceUser.java index af5b660c5ca..ac959ac1555 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyDeviceUser.java @@ -45,7 +45,8 @@ public static class Builder { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: always - type: string - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("value") private String value; @@ -57,7 +58,8 @@ public static class Builder { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: always - type: string - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param value the value to set * @return this builder @@ -73,7 +75,9 @@ public Builder value(String value) { *

*Deprecated Since: 17.3.4** * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: reference - uniqueness: none + * readOnly - required: false - returned: default - type: reference - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("$ref") private String ref; @@ -84,7 +88,9 @@ public Builder value(String value) { *

*Deprecated Since: 17.3.4** * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readOnly - required: false - returned: default - type: reference - uniqueness: none + * readOnly - required: false - returned: default - type: reference - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param ref the value to set * @return this builder @@ -130,7 +136,8 @@ public Builder display(String display) { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: always - type: string - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true */ @com.fasterxml.jackson.annotation.JsonProperty("ocid") private String ocid; @@ -142,7 +149,8 @@ public Builder display(String display) { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: always - type: string - uniqueness: - * none + * none - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true * * @param ocid the value to set * @return this builder @@ -197,7 +205,9 @@ public Builder toBuilder() { *

*Deprecated Since: 17.3.4** * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: immutable - required: true - returned: always - type: string - uniqueness: none + * mutability: immutable - required: true - returned: always - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("value") private final String value; @@ -208,7 +218,9 @@ public Builder toBuilder() { *

*Deprecated Since: 17.3.4** * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: immutable - required: true - returned: always - type: string - uniqueness: none + * mutability: immutable - required: true - returned: always - type: string - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -222,7 +234,9 @@ public String getValue() { *

*Deprecated Since: 17.3.4** * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: reference - uniqueness: none + * - required: false - returned: default - type: reference - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("$ref") private final String ref; @@ -233,7 +247,9 @@ public String getValue() { *

*Deprecated Since: 17.3.4** * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - * - required: false - returned: default - type: reference - uniqueness: none + * - required: false - returned: default - type: reference - uniqueness: none - + * idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ @@ -273,6 +289,8 @@ public String getDisplay() { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: always - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true */ @com.fasterxml.jackson.annotation.JsonProperty("ocid") private final String ocid; @@ -284,6 +302,8 @@ public String getDisplay() { * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: always - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true * * @return the value */ diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyGroup.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyGroup.java index 1f62f70ae75..1e19b620c32 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyGroup.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyGroup.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * Group resource.
+ * The Group resource.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -432,7 +432,7 @@ public Builder externalId(String externalId) { return this; } /** - * Group display name + * The Group display name. * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - * idcsCsvAttributeNameMappings: [[columnHeaderName:Name, deprecatedColumnHeaderName:Display @@ -443,7 +443,7 @@ public Builder externalId(String externalId) { private String displayName; /** - * Group display name + * The Group display name. * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - * idcsCsvAttributeNameMappings: [[columnHeaderName:Name, deprecatedColumnHeaderName:Display @@ -459,7 +459,7 @@ public Builder displayName(String displayName) { return this; } /** - * A human readable name for Group as defined by the Service Consumer + * A human readable name for the group as defined by the Service Consumer. * *

*Added In:** 2011192329 * @@ -471,7 +471,7 @@ public Builder displayName(String displayName) { private String nonUniqueDisplayName; /** - * A human readable name for Group as defined by the Service Consumer + * A human readable name for the group as defined by the Service Consumer. * *

*Added In:** 2011192329 * @@ -488,10 +488,11 @@ public Builder nonUniqueDisplayName(String nonUniqueDisplayName) { return this; } /** - * Group members - when requesting members attribute, a max of 10,000 members will be - * returned in a single request. It is recommended to use startIndex and count to return - * members in pages instead of in a single response, eg : - * #attributes=members[startIndex=1%26count=10] + * The group members. Important: When requesting group members, a maximum of 10,000 + * members can be returned in a single request. If the response contains more than 10,000 + * members, the request will fail. Use 'startIndex' and 'count' to return members in pages + * instead of in a single response, for example: + * #attributes=members[startIndex=1%26count=10]. This REST API is SCIM compliant. * *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - * idcsCsvAttributeNameMappings: [[columnHeaderName:User Members, @@ -503,10 +504,11 @@ public Builder nonUniqueDisplayName(String nonUniqueDisplayName) { private java.util.List members; /** - * Group members - when requesting members attribute, a max of 10,000 members will be - * returned in a single request. It is recommended to use startIndex and count to return - * members in pages instead of in a single response, eg : - * #attributes=members[startIndex=1%26count=10] + * The group members. Important: When requesting group members, a maximum of 10,000 + * members can be returned in a single request. If the response contains more than 10,000 + * members, the request will fail. Use 'startIndex' and 'count' to return members in pages + * instead of in a single response, for example: + * #attributes=members[startIndex=1%26count=10]. This REST API is SCIM compliant. * *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - * idcsCsvAttributeNameMappings: [[columnHeaderName:User Members, @@ -953,7 +955,7 @@ public String getExternalId() { } /** - * Group display name + * The Group display name. * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - * idcsCsvAttributeNameMappings: [[columnHeaderName:Name, deprecatedColumnHeaderName:Display @@ -964,7 +966,7 @@ public String getExternalId() { private final String displayName; /** - * Group display name + * The Group display name. * *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - * idcsCsvAttributeNameMappings: [[columnHeaderName:Name, deprecatedColumnHeaderName:Display @@ -978,7 +980,7 @@ public String getDisplayName() { } /** - * A human readable name for Group as defined by the Service Consumer + * A human readable name for the group as defined by the Service Consumer. * *

*Added In:** 2011192329 * @@ -990,7 +992,7 @@ public String getDisplayName() { private final String nonUniqueDisplayName; /** - * A human readable name for Group as defined by the Service Consumer + * A human readable name for the group as defined by the Service Consumer. * *

*Added In:** 2011192329 * @@ -1005,9 +1007,11 @@ public String getNonUniqueDisplayName() { } /** - * Group members - when requesting members attribute, a max of 10,000 members will be returned - * in a single request. It is recommended to use startIndex and count to return members in pages - * instead of in a single response, eg : #attributes=members[startIndex=1%26count=10] + * The group members. Important: When requesting group members, a maximum of 10,000 + * members can be returned in a single request. If the response contains more than 10,000 + * members, the request will fail. Use 'startIndex' and 'count' to return members in pages + * instead of in a single response, for example: #attributes=members[startIndex=1%26count=10]. + * This REST API is SCIM compliant. * *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - * idcsCsvAttributeNameMappings: [[columnHeaderName:User Members, mapsTo:members[User].value, @@ -1019,9 +1023,11 @@ public String getNonUniqueDisplayName() { private final java.util.List members; /** - * Group members - when requesting members attribute, a max of 10,000 members will be returned - * in a single request. It is recommended to use startIndex and count to return members in pages - * instead of in a single response, eg : #attributes=members[startIndex=1%26count=10] + * The group members. Important: When requesting group members, a maximum of 10,000 + * members can be returned in a single request. If the response contains more than 10,000 + * members, the request will fail. Use 'startIndex' and 'count' to return members in pages + * instead of in a single response, for example: #attributes=members[startIndex=1%26count=10]. + * This REST API is SCIM compliant. * *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - * idcsCsvAttributeNameMappings: [[columnHeaderName:User Members, mapsTo:members[User].value, diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyGroupMembers.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyGroupMembers.java index f2feaf80cd6..cce4883277b 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyGroupMembers.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyGroupMembers.java @@ -5,9 +5,11 @@ package com.oracle.bmc.identitydomains.model; /** - * Group members - when requesting members attribute, a max of 10,000 members will be returned in a - * single request. It is recommended to use startIndex and count to return members in pages instead - * of in a single response, eg : #attributes=members[startIndex=1%26count=10]
+ * The group members. Important: When requesting group members, a maximum of 10,000 members + * can be returned in a single request. If the response contains more than 10,000 members, the + * request will fail. Use 'startIndex' and 'count' to return members in pages instead of in a single + * response, for example: #attributes=members[startIndex=1%26count=10]. This REST API is SCIM + * compliant.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -57,7 +59,7 @@ public MyGroupMembers( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * ID of the member of this Group + * The ID of the member of this Group * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: always - type: string - uniqueness: @@ -67,7 +69,7 @@ public static class Builder { private String value; /** - * ID of the member of this Group + * The ID of the member of this Group * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: always - type: string - uniqueness: @@ -82,7 +84,7 @@ public Builder value(String value) { return this; } /** - * The DateTime the member was added to the Group. + * The date and time that the member was added to the group. * *

*Added In:** 2012271618 * @@ -93,7 +95,7 @@ public Builder value(String value) { private String dateAdded; /** - * The DateTime the member was added to the Group. + * The date and time that the member was added to the group. * *

*Added In:** 2012271618 * @@ -109,7 +111,7 @@ public Builder dateAdded(String dateAdded) { return this; } /** - * OCID of the member of this Group + * The OCID of the member of this group. * *

*Added In:** 2012271618 * @@ -121,7 +123,7 @@ public Builder dateAdded(String dateAdded) { private String ocid; /** - * OCID of the member of this Group + * The OCID of the member of this group. * *

*Added In:** 2012271618 * @@ -138,7 +140,7 @@ public Builder ocid(String ocid) { return this; } /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2102181953 * @@ -150,7 +152,7 @@ public Builder ocid(String ocid) { private String membershipOcid; /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2102181953 * @@ -167,7 +169,7 @@ public Builder membershipOcid(String membershipOcid) { return this; } /** - * The URI that corresponds to the member Resource of this Group + * The URI that corresponds to the member Resource of this group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -177,7 +179,7 @@ public Builder membershipOcid(String membershipOcid) { private String ref; /** - * The URI that corresponds to the member Resource of this Group + * The URI that corresponds to the member Resource of this group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -192,7 +194,7 @@ public Builder ref(String ref) { return this; } /** - * Member display name + * The member's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -202,7 +204,7 @@ public Builder ref(String ref) { private String display; /** - * Member display name + * The member's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -217,7 +219,7 @@ public Builder display(String display) { return this; } /** - * Indicates the type of resource--for example, User or Group + * Indicates the type of resource, for example, User or Group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: * User - multiValued: false - mutability: readWrite - required: true - returned: default - @@ -227,7 +229,7 @@ public Builder display(String display) { private Type type; /** - * Indicates the type of resource--for example, User or Group + * Indicates the type of resource, for example, User or Group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: * User - multiValued: false - mutability: readWrite - required: true - returned: default - @@ -242,7 +244,7 @@ public Builder type(Type type) { return this; } /** - * Member name + * The member's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -252,7 +254,7 @@ public Builder type(Type type) { private String name; /** - * Member name + * The member's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -327,7 +329,7 @@ public Builder toBuilder() { } /** - * ID of the member of this Group + * The ID of the member of this Group * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none @@ -336,7 +338,7 @@ public Builder toBuilder() { private final String value; /** - * ID of the member of this Group + * The ID of the member of this Group * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none @@ -348,7 +350,7 @@ public String getValue() { } /** - * The DateTime the member was added to the Group. + * The date and time that the member was added to the group. * *

*Added In:** 2012271618 * @@ -359,7 +361,7 @@ public String getValue() { private final String dateAdded; /** - * The DateTime the member was added to the Group. + * The date and time that the member was added to the group. * *

*Added In:** 2012271618 * @@ -373,7 +375,7 @@ public String getDateAdded() { } /** - * OCID of the member of this Group + * The OCID of the member of this group. * *

*Added In:** 2012271618 * @@ -384,7 +386,7 @@ public String getDateAdded() { private final String ocid; /** - * OCID of the member of this Group + * The OCID of the member of this group. * *

*Added In:** 2012271618 * @@ -398,7 +400,7 @@ public String getOcid() { } /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2102181953 * @@ -409,7 +411,7 @@ public String getOcid() { private final String membershipOcid; /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2102181953 * @@ -423,7 +425,7 @@ public String getMembershipOcid() { } /** - * The URI that corresponds to the member Resource of this Group + * The URI that corresponds to the member Resource of this group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -433,7 +435,7 @@ public String getMembershipOcid() { private final String ref; /** - * The URI that corresponds to the member Resource of this Group + * The URI that corresponds to the member Resource of this group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -446,7 +448,7 @@ public String getRef() { } /** - * Member display name + * The member's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -455,7 +457,7 @@ public String getRef() { private final String display; /** - * Member display name + * The member's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -467,7 +469,7 @@ public String getDisplay() { } /** - * Indicates the type of resource--for example, User or Group + * Indicates the type of resource, for example, User or Group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: User - * multiValued: false - mutability: readWrite - required: true - returned: default - type: @@ -516,7 +518,7 @@ public static Type create(String key) { } }; /** - * Indicates the type of resource--for example, User or Group + * Indicates the type of resource, for example, User or Group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: User - * multiValued: false - mutability: readWrite - required: true - returned: default - type: @@ -526,7 +528,7 @@ public static Type create(String key) { private final Type type; /** - * Indicates the type of resource--for example, User or Group + * Indicates the type of resource, for example, User or Group. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: User - * multiValued: false - mutability: readWrite - required: true - returned: default - type: @@ -539,7 +541,7 @@ public Type getType() { } /** - * Member name + * The member's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -548,7 +550,7 @@ public Type getType() { private final String name; /** - * Member name + * The member's name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyOAuth2ClientCredential.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyOAuth2ClientCredential.java index d9d1917ab50..f21583eee0a 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyOAuth2ClientCredential.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyOAuth2ClientCredential.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User's oauth2 client credential
+ * The user's OAuth2 client credentials.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -446,7 +446,7 @@ public Builder description(String description) { return this; } /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -458,7 +458,7 @@ public Builder description(String description) { private Status status; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -475,7 +475,7 @@ public Builder status(Status status) { return this; } /** - * User credential expires on + * When the user's credentials expire. * *

*Added In:** 2109090424 * @@ -487,7 +487,7 @@ public Builder status(Status status) { private String expiresOn; /** - * User credential expires on + * When the user's credentials expire. * *

*Added In:** 2109090424 * @@ -504,7 +504,7 @@ public Builder expiresOn(String expiresOn) { return this; } /** - * Specifies if secret need to be reset + * Specifies whether the secret must be reset. * *

*Added In:** 2109090424 * @@ -516,7 +516,7 @@ public Builder expiresOn(String expiresOn) { private Boolean isResetSecret; /** - * Specifies if secret need to be reset + * Specifies whether the secret must be reset. * *

*Added In:** 2109090424 * @@ -982,7 +982,7 @@ public String getDescription() { } /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -1034,7 +1034,7 @@ public static Status create(String key) { } }; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -1045,7 +1045,7 @@ public static Status create(String key) { private final Status status; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -1059,7 +1059,7 @@ public Status getStatus() { } /** - * User credential expires on + * When the user's credentials expire. * *

*Added In:** 2109090424 * @@ -1071,7 +1071,7 @@ public Status getStatus() { private final String expiresOn; /** - * User credential expires on + * When the user's credentials expire. * *

*Added In:** 2109090424 * @@ -1086,7 +1086,7 @@ public String getExpiresOn() { } /** - * Specifies if secret need to be reset + * Specifies whether the secret must be reset. * *

*Added In:** 2109090424 * @@ -1098,7 +1098,7 @@ public String getExpiresOn() { private final Boolean isResetSecret; /** - * Specifies if secret need to be reset + * Specifies whether the secret must be reset. * *

*Added In:** 2109090424 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyOAuth2ClientCredentialUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyOAuth2ClientCredentialUser.java index 3ad3ad3ad73..c938d42e1a5 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyOAuth2ClientCredentialUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyOAuth2ClientCredentialUser.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User linked to oauth2 client credential + * The user linked to the OAuth2 client credential. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: default - type: complex - uniqueness: none @@ -41,7 +41,7 @@ public MyOAuth2ClientCredentialUser( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -51,7 +51,7 @@ public static class Builder { private String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -66,7 +66,7 @@ public Builder value(String value) { return this; } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -76,7 +76,7 @@ public Builder value(String value) { private String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -91,7 +91,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -101,7 +101,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -116,7 +116,7 @@ public Builder ref(String ref) { return this; } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -126,7 +126,7 @@ public Builder ref(String ref) { private String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -141,7 +141,7 @@ public Builder display(String display) { return this; } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -151,7 +151,7 @@ public Builder display(String display) { private String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -210,7 +210,7 @@ public Builder toBuilder() { } /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -219,7 +219,7 @@ public Builder toBuilder() { private final String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -231,7 +231,7 @@ public String getValue() { } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -240,7 +240,7 @@ public String getValue() { private final String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -252,7 +252,7 @@ public String getOcid() { } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -262,7 +262,7 @@ public String getOcid() { private final String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -275,7 +275,7 @@ public String getRef() { } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -284,7 +284,7 @@ public String getRef() { private final String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -296,7 +296,7 @@ public String getDisplay() { } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -305,7 +305,7 @@ public String getDisplay() { private final String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequest.java new file mode 100644 index 00000000000..1748143fd72 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequest.java @@ -0,0 +1,984 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Request resource
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = MyRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyRequest extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "justification", + "status", + "requestor", + "requesting" + }) + public MyRequest( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + String justification, + String status, + MyRequestRequestor requestor, + MyRequestRequesting requesting) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.justification = justification; + this.status = status; + this.requestor = requestor; + this.requesting = requesting; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * justification + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("justification") + private String justification; + + /** + * justification + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: + * none + * + * @param justification the value to set + * @return this builder + */ + public Builder justification(String justification) { + this.justification = justification; + this.__explicitlySet__.add("justification"); + return this; + } + /** + * status + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("status") + private String status; + + /** + * status + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param status the value to set + * @return this builder + */ + public Builder status(String status) { + this.status = status; + this.__explicitlySet__.add("status"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requestor") + private MyRequestRequestor requestor; + + public Builder requestor(MyRequestRequestor requestor) { + this.requestor = requestor; + this.__explicitlySet__.add("requestor"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requesting") + private MyRequestRequesting requesting; + + public Builder requesting(MyRequestRequesting requesting) { + this.requesting = requesting; + this.__explicitlySet__.add("requesting"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyRequest build() { + MyRequest model = + new MyRequest( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.justification, + this.status, + this.requestor, + this.requesting); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyRequest model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("justification")) { + this.justification(model.getJustification()); + } + if (model.wasPropertyExplicitlySet("status")) { + this.status(model.getStatus()); + } + if (model.wasPropertyExplicitlySet("requestor")) { + this.requestor(model.getRequestor()); + } + if (model.wasPropertyExplicitlySet("requesting")) { + this.requesting(model.getRequesting()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * justification + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("justification") + private final String justification; + + /** + * justification + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getJustification() { + return justification; + } + + /** + * status + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("status") + private final String status; + + /** + * status + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getStatus() { + return status; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requestor") + private final MyRequestRequestor requestor; + + public MyRequestRequestor getRequestor() { + return requestor; + } + + @com.fasterxml.jackson.annotation.JsonProperty("requesting") + private final MyRequestRequesting requesting; + + public MyRequestRequesting getRequesting() { + return requesting; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyRequest("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", justification=").append(String.valueOf(this.justification)); + sb.append(", status=").append(String.valueOf(this.status)); + sb.append(", requestor=").append(String.valueOf(this.requestor)); + sb.append(", requesting=").append(String.valueOf(this.requesting)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyRequest)) { + return false; + } + + MyRequest other = (MyRequest) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.justification, other.justification) + && java.util.Objects.equals(this.status, other.status) + && java.util.Objects.equals(this.requestor, other.requestor) + && java.util.Objects.equals(this.requesting, other.requesting) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = + (result * PRIME) + + (this.justification == null ? 43 : this.justification.hashCode()); + result = (result * PRIME) + (this.status == null ? 43 : this.status.hashCode()); + result = (result * PRIME) + (this.requestor == null ? 43 : this.requestor.hashCode()); + result = (result * PRIME) + (this.requesting == null ? 43 : this.requesting.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestRequesting.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestRequesting.java new file mode 100644 index 00000000000..634c996bee8 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestRequesting.java @@ -0,0 +1,365 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Requestable resource reference. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: true - returned: default - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MyRequestRequesting.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyRequestRequesting + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display", "type"}) + public MyRequestRequesting(String value, String ref, String display, Type type) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + this.type = type; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Resource identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: requesting_id - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Resource identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: requesting_id - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * Resource URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * Resource URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * Resource display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * Resource display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * Requestable type. Allowed values are Group and App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Requestable Type - + * idcsDefaultValue: Group - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * Requestable type. Allowed values are Group and App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Requestable Type - + * idcsDefaultValue: Group - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + * + * @param type the value to set + * @return this builder + */ + public Builder type(Type type) { + this.type = type; + this.__explicitlySet__.add("type"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyRequestRequesting build() { + MyRequestRequesting model = + new MyRequestRequesting(this.value, this.ref, this.display, this.type); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyRequestRequesting model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("type")) { + this.type(model.getType()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Resource identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: requesting_id - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Resource identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: requesting_id - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Resource URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * Resource URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * Resource display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * Resource display name + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * Requestable type. Allowed values are Group and App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Requestable Type - + * idcsDefaultValue: Group - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: true - returned: default - type: string - uniqueness: none + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + Group("Group"), + App("App"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; + /** + * Requestable type. Allowed values are Group and App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Requestable Type - + * idcsDefaultValue: Group - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * Requestable type. Allowed values are Group and App. + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Requestable Type - + * idcsDefaultValue: Group - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public Type getType() { + return type; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyRequestRequesting("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", type=").append(String.valueOf(this.type)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyRequestRequesting)) { + return false; + } + + MyRequestRequesting other = (MyRequestRequesting) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.type, other.type) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestRequestor.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestRequestor.java new file mode 100644 index 00000000000..ff3f678f695 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestRequestor.java @@ -0,0 +1,259 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Requesting User + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable - + * required: false - returned: request - type: complex - uniqueness: none
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MyRequestRequestor.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyRequestRequestor + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ref", "display"}) + public MyRequestRequestor(String value, String ref, String display) { + super(); + this.value = value; + this.ref = ref; + this.display = display; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * User identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: requestor_id - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * User identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: requestor_id - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: reference - uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * User display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * User display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyRequestRequestor build() { + MyRequestRequestor model = new MyRequestRequestor(this.value, this.ref, this.display); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyRequestRequestor model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * User identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: requestor_id - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * User identifier + * + *

*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: requestor_id - + * idcsSearchable: true - multiValued: false - mutability: immutable - required: true - + * returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * User URI + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: reference - uniqueness: none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * User display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * User display name + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyRequestRequestor("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyRequestRequestor)) { + return false; + } + + MyRequestRequestor other = (MyRequestRequestor) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestSearchRequest.java new file mode 100644 index 00000000000..46b1aa2d5b8 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestSearchRequest.java @@ -0,0 +1,538 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Clients MAY execute queries without passing parameters on the URL by using the HTTP POST verb + * combined with the **.search** path extension. The inclusion of **.search** on the end of a valid + * SCIM endpoint SHALL be used to indicate the HTTP POST verb is intended to be a query operation. + * To create a new query result set, a SCIM client sends an HTTP POST request to the desired SCIM + * resource endpoint (ending in **.search**). The body of the POST request MAY include any of the + * parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MyRequestSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyRequestSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "attributes", + "attributeSets", + "filter", + "sortBy", + "sortOrder", + "startIndex", + "count" + }) + public MyRequestSearchRequest( + java.util.List schemas, + java.util.List attributes, + java.util.List attributeSets, + String filter, + String sortBy, + SortOrder sortOrder, + Integer startIndex, + Integer count) { + super(); + this.schemas = schemas; + this.attributes = attributes; + this.attributeSets = attributeSets; + this.filter = filter; + this.sortBy = sortBy; + this.sortOrder = sortOrder; + this.startIndex = startIndex; + this.count = count; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @param attributes the value to set + * @return this builder + */ + public Builder attributes(java.util.List attributes) { + this.attributes = attributes; + this.__explicitlySet__.add("attributes"); + return this; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + * + * @param attributeSets the value to set + * @return this builder + */ + public Builder attributeSets(java.util.List attributeSets) { + this.attributeSets = attributeSets; + this.__explicitlySet__.add("attributeSets"); + return this; + } + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @param filter the value to set + * @return this builder + */ + public Builder filter(String filter) { + this.filter = filter; + this.__explicitlySet__.add("filter"); + return this; + } + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + * + * @param sortBy the value to set + * @return this builder + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + this.__explicitlySet__.add("sortBy"); + return this; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder + */ + public Builder sortOrder(SortOrder sortOrder) { + this.sortOrder = sortOrder; + this.__explicitlySet__.add("sortOrder"); + return this; + } + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @param count the value to set + * @return this builder + */ + public Builder count(Integer count) { + this.count = count; + this.__explicitlySet__.add("count"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyRequestSearchRequest build() { + MyRequestSearchRequest model = + new MyRequestSearchRequest( + this.schemas, + this.attributes, + this.attributeSets, + this.filter, + this.sortBy, + this.sortOrder, + this.startIndex, + this.count); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyRequestSearchRequest model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("attributes")) { + this.attributes(model.getAttributes()); + } + if (model.wasPropertyExplicitlySet("attributeSets")) { + this.attributeSets(model.getAttributeSets()); + } + if (model.wasPropertyExplicitlySet("filter")) { + this.filter(model.getFilter()); + } + if (model.wasPropertyExplicitlySet("sortBy")) { + this.sortBy(model.getSortBy()); + } + if (model.wasPropertyExplicitlySet("sortOrder")) { + this.sortOrder(model.getSortOrder()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("count")) { + this.count(model.getCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private final java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private final java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private final String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @return the value + */ + public String getFilter() { + return filter; + } + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private final String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + * + * @return the value + */ + public String getSortBy() { + return sortBy; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private final SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @return the value + */ + public SortOrder getSortOrder() { + return sortOrder; + } + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private final Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @return the value + */ + public Integer getCount() { + return count; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyRequestSearchRequest("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", attributes=").append(String.valueOf(this.attributes)); + sb.append(", attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(", filter=").append(String.valueOf(this.filter)); + sb.append(", sortBy=").append(String.valueOf(this.sortBy)); + sb.append(", sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", count=").append(String.valueOf(this.count)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyRequestSearchRequest)) { + return false; + } + + MyRequestSearchRequest other = (MyRequestSearchRequest) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroup.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroup.java new file mode 100644 index 00000000000..db9a6b1cec2 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroup.java @@ -0,0 +1,1207 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The Group resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MyRequestableGroup.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyRequestableGroup + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "externalId", + "displayName", + "nonUniqueDisplayName", + "members", + "urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup", + "urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup" + }) + public MyRequestableGroup( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + String externalId, + String displayName, + String nonUniqueDisplayName, + java.util.List members, + ExtensionGroupGroup urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup, + ExtensionRequestableGroup urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.externalId = externalId; + this.displayName = displayName; + this.nonUniqueDisplayName = nonUniqueDisplayName; + this.members = members; + this.urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup = + urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup; + this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup = + urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the + * need to store a local mapping between the local identifier of the Resource and the + * identifier used by the Service Provider. Each Resource MAY include a non-empty externalId + * value. The value of the externalId attribute is always issued by the Service Consumer and + * can never be specified by the Service Provider. The Service Provider MUST always + * interpret the externalId as scoped to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("externalId") + private String externalId; + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the + * need to store a local mapping between the local identifier of the Resource and the + * identifier used by the Service Provider. Each Resource MAY include a non-empty externalId + * value. The value of the externalId attribute is always issued by the Service Consumer and + * can never be specified by the Service Provider. The Service Provider MUST always + * interpret the externalId as scoped to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param externalId the value to set + * @return this builder + */ + public Builder externalId(String externalId) { + this.externalId = externalId; + this.__explicitlySet__.add("externalId"); + return this; + } + /** + * The Group display name. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - + * idcsCsvAttributeNameMappings: [[columnHeaderName:Name, deprecatedColumnHeaderName:Display + * Name]] - idcsSearchable: true - multiValued: false - mutability: readWrite - required: + * true - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * The Group display name. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - + * idcsCsvAttributeNameMappings: [[columnHeaderName:Name, deprecatedColumnHeaderName:Display + * Name]] - idcsSearchable: true - multiValued: false - mutability: readWrite - required: + * true - returned: always - type: string - uniqueness: global + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * A human readable name for the group as defined by the Service Consumer. + * + *

*Added In:** 2011192329 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Non-Unique Display + * Name - idcsSearchable: true - multiValued: false - mutability: readWrite - required: + * false - returned: always - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("nonUniqueDisplayName") + private String nonUniqueDisplayName; + + /** + * A human readable name for the group as defined by the Service Consumer. + * + *

*Added In:** 2011192329 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Non-Unique Display + * Name - idcsSearchable: true - multiValued: false - mutability: readWrite - required: + * false - returned: always - type: string + * + * @param nonUniqueDisplayName the value to set + * @return this builder + */ + public Builder nonUniqueDisplayName(String nonUniqueDisplayName) { + this.nonUniqueDisplayName = nonUniqueDisplayName; + this.__explicitlySet__.add("nonUniqueDisplayName"); + return this; + } + /** + * The group members. Important: When requesting group members, a maximum of 10,000 + * members can be returned in a single request. If the response contains more than 10,000 + * members, the request will fail. Use 'startIndex' and 'count' to return members in pages + * instead of in a single response, for example: + * #attributes=members[startIndex=1%26count=10]. This REST API is SCIM compliant. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - + * idcsCsvAttributeNameMappings: [[columnHeaderName:User Members, + * mapsTo:members[User].value, multiValueDelimiter:;]] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: request - + * idcsPaginateResponse: true - type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("members") + private java.util.List members; + + /** + * The group members. Important: When requesting group members, a maximum of 10,000 + * members can be returned in a single request. If the response contains more than 10,000 + * members, the request will fail. Use 'startIndex' and 'count' to return members in pages + * instead of in a single response, for example: + * #attributes=members[startIndex=1%26count=10]. This REST API is SCIM compliant. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - + * idcsCsvAttributeNameMappings: [[columnHeaderName:User Members, + * mapsTo:members[User].value, multiValueDelimiter:;]] - idcsSearchable: true - multiValued: + * true - mutability: readWrite - required: false - returned: request - + * idcsPaginateResponse: true - type: complex - uniqueness: none + * + * @param members the value to set + * @return this builder + */ + public Builder members(java.util.List members) { + this.members = members; + this.__explicitlySet__.add("members"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:group:Group") + private ExtensionGroupGroup urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup( + ExtensionGroupGroup urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup = + urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup; + this.__explicitlySet__.add("urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:requestable:Group") + private ExtensionRequestableGroup + urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup; + + public Builder urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup( + ExtensionRequestableGroup + urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup = + urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup; + this.__explicitlySet__.add( + "urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyRequestableGroup build() { + MyRequestableGroup model = + new MyRequestableGroup( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.externalId, + this.displayName, + this.nonUniqueDisplayName, + this.members, + this.urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup, + this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyRequestableGroup model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("externalId")) { + this.externalId(model.getExternalId()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("nonUniqueDisplayName")) { + this.nonUniqueDisplayName(model.getNonUniqueDisplayName()); + } + if (model.wasPropertyExplicitlySet("members")) { + this.members(model.getMembers()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup( + model.getUrnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup()); + } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup( + model.getUrnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the need to + * store a local mapping between the local identifier of the Resource and the identifier used by + * the Service Provider. Each Resource MAY include a non-empty externalId value. The value of + * the externalId attribute is always issued by the Service Consumer and can never be specified + * by the Service Provider. The Service Provider MUST always interpret the externalId as scoped + * to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("externalId") + private final String externalId; + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the need to + * store a local mapping between the local identifier of the Resource and the identifier used by + * the Service Provider. Each Resource MAY include a non-empty externalId value. The value of + * the externalId attribute is always issued by the Service Consumer and can never be specified + * by the Service Provider. The Service Provider MUST always interpret the externalId as scoped + * to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getExternalId() { + return externalId; + } + + /** + * The Group display name. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - + * idcsCsvAttributeNameMappings: [[columnHeaderName:Name, deprecatedColumnHeaderName:Display + * Name]] - idcsSearchable: true - multiValued: false - mutability: readWrite - required: true - + * returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * The Group display name. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Display Name - + * idcsCsvAttributeNameMappings: [[columnHeaderName:Name, deprecatedColumnHeaderName:Display + * Name]] - idcsSearchable: true - multiValued: false - mutability: readWrite - required: true - + * returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * A human readable name for the group as defined by the Service Consumer. + * + *

*Added In:** 2011192329 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Non-Unique Display Name - + * idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - + * returned: always - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("nonUniqueDisplayName") + private final String nonUniqueDisplayName; + + /** + * A human readable name for the group as defined by the Service Consumer. + * + *

*Added In:** 2011192329 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCsvAttributeName: Non-Unique Display Name - + * idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - + * returned: always - type: string + * + * @return the value + */ + public String getNonUniqueDisplayName() { + return nonUniqueDisplayName; + } + + /** + * The group members. Important: When requesting group members, a maximum of 10,000 + * members can be returned in a single request. If the response contains more than 10,000 + * members, the request will fail. Use 'startIndex' and 'count' to return members in pages + * instead of in a single response, for example: #attributes=members[startIndex=1%26count=10]. + * This REST API is SCIM compliant. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - + * idcsCsvAttributeNameMappings: [[columnHeaderName:User Members, mapsTo:members[User].value, + * multiValueDelimiter:;]] - idcsSearchable: true - multiValued: true - mutability: readWrite - + * required: false - returned: request - idcsPaginateResponse: true - type: complex - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("members") + private final java.util.List members; + + /** + * The group members. Important: When requesting group members, a maximum of 10,000 + * members can be returned in a single request. If the response contains more than 10,000 + * members, the request will fail. Use 'startIndex' and 'count' to return members in pages + * instead of in a single response, for example: #attributes=members[startIndex=1%26count=10]. + * This REST API is SCIM compliant. + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - + * idcsCsvAttributeNameMappings: [[columnHeaderName:User Members, mapsTo:members[User].value, + * multiValueDelimiter:;]] - idcsSearchable: true - multiValued: true - mutability: readWrite - + * required: false - returned: request - idcsPaginateResponse: true - type: complex - + * uniqueness: none + * + * @return the value + */ + public java.util.List getMembers() { + return members; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:group:Group") + private final ExtensionGroupGroup urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup; + + public ExtensionGroupGroup getUrnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup() { + return urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup; + } + + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:requestable:Group") + private final ExtensionRequestableGroup + urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup; + + public ExtensionRequestableGroup + getUrnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup() { + return urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyRequestableGroup("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", externalId=").append(String.valueOf(this.externalId)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", nonUniqueDisplayName=").append(String.valueOf(this.nonUniqueDisplayName)); + sb.append(", members=").append(String.valueOf(this.members)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup=") + .append(String.valueOf(this.urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup)); + sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup=") + .append( + String.valueOf( + this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyRequestableGroup)) { + return false; + } + + MyRequestableGroup other = (MyRequestableGroup) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.externalId, other.externalId) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.nonUniqueDisplayName, other.nonUniqueDisplayName) + && java.util.Objects.equals(this.members, other.members) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup, + other.urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup) + && java.util.Objects.equals( + this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup, + other.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = (result * PRIME) + (this.externalId == null ? 43 : this.externalId.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = + (result * PRIME) + + (this.nonUniqueDisplayName == null + ? 43 + : this.nonUniqueDisplayName.hashCode()); + result = (result * PRIME) + (this.members == null ? 43 : this.members.hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup == null + ? 43 + : this.urnIetfParamsScimSchemasOracleIdcsExtensionGroupGroup + .hashCode()); + result = + (result * PRIME) + + (this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup == null + ? 43 + : this.urnIetfParamsScimSchemasOracleIdcsExtensionRequestableGroup + .hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroupMembers.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroupMembers.java new file mode 100644 index 00000000000..9572717d81f --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroupMembers.java @@ -0,0 +1,630 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The group members. Important: When requesting group members, a maximum of 10,000 members + * can be returned in a single request. If the response contains more than 10,000 members, the + * request will fail. Use 'startIndex' and 'count' to return members in pages instead of in a single + * response, for example: #attributes=members[startIndex=1%26count=10]. This REST API is SCIM + * compliant.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MyRequestableGroupMembers.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyRequestableGroupMembers + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "value", + "dateAdded", + "ocid", + "membershipOcid", + "ref", + "display", + "type", + "name" + }) + public MyRequestableGroupMembers( + String value, + String dateAdded, + String ocid, + String membershipOcid, + String ref, + String display, + Type type, + String name) { + super(); + this.value = value; + this.dateAdded = dateAdded; + this.ocid = ocid; + this.membershipOcid = membershipOcid; + this.ref = ref; + this.display = display; + this.type = type; + this.name = name; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The ID of the member of this Group + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * The ID of the member of this Group + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * The date and time that the member was added to the group. + * + *

*Added In:** 2012271618 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * returned: default - type: dateTime - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("dateAdded") + private String dateAdded; + + /** + * The date and time that the member was added to the group. + * + *

*Added In:** 2012271618 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * returned: default - type: dateTime - uniqueness: none + * + * @param dateAdded the value to set + * @return this builder + */ + public Builder dateAdded(String dateAdded) { + this.dateAdded = dateAdded; + this.__explicitlySet__.add("dateAdded"); + return this; + } + /** + * The OCID of the member of this group. + * + *

*Added In:** 2012271618 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * The OCID of the member of this group. + * + *

*Added In:** 2012271618 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: always - type: string - uniqueness: + * none + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * The membership OCID. + * + *

*Added In:** 2102181953 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("membershipOcid") + private String membershipOcid; + + /** + * The membership OCID. + * + *

*Added In:** 2102181953 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param membershipOcid the value to set + * @return this builder + */ + public Builder membershipOcid(String membershipOcid) { + this.membershipOcid = membershipOcid; + this.__explicitlySet__.add("membershipOcid"); + return this; + } + /** + * The URI that corresponds to the member Resource of this group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: reference - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private String ref; + + /** + * The URI that corresponds to the member Resource of this group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: reference - + * uniqueness: none + * + * @param ref the value to set + * @return this builder + */ + public Builder ref(String ref) { + this.ref = ref; + this.__explicitlySet__.add("ref"); + return this; + } + /** + * The member's display name. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private String display; + + /** + * The member's display name. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param display the value to set + * @return this builder + */ + public Builder display(String display) { + this.display = display; + this.__explicitlySet__.add("display"); + return this; + } + /** + * Indicates the type of resource, for example, User or Group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: + * User - multiValued: false - mutability: readWrite - required: true - returned: default - + * type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * Indicates the type of resource, for example, User or Group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: + * User - multiValued: false - mutability: readWrite - required: true - returned: default - + * type: string - uniqueness: none + * + * @param type the value to set + * @return this builder + */ + public Builder type(Type type) { + this.type = type; + this.__explicitlySet__.add("type"); + return this; + } + /** + * The member's name. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * The member's name. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyRequestableGroupMembers build() { + MyRequestableGroupMembers model = + new MyRequestableGroupMembers( + this.value, + this.dateAdded, + this.ocid, + this.membershipOcid, + this.ref, + this.display, + this.type, + this.name); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyRequestableGroupMembers model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("dateAdded")) { + this.dateAdded(model.getDateAdded()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("membershipOcid")) { + this.membershipOcid(model.getMembershipOcid()); + } + if (model.wasPropertyExplicitlySet("ref")) { + this.ref(model.getRef()); + } + if (model.wasPropertyExplicitlySet("display")) { + this.display(model.getDisplay()); + } + if (model.wasPropertyExplicitlySet("type")) { + this.type(model.getType()); + } + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The ID of the member of this Group + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * The ID of the member of this Group + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * The date and time that the member was added to the group. + * + *

*Added In:** 2012271618 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * returned: default - type: dateTime - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("dateAdded") + private final String dateAdded; + + /** + * The date and time that the member was added to the group. + * + *

*Added In:** 2012271618 + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * returned: default - type: dateTime - uniqueness: none + * + * @return the value + */ + public String getDateAdded() { + return dateAdded; + } + + /** + * The OCID of the member of this group. + * + *

*Added In:** 2012271618 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * The OCID of the member of this group. + * + *

*Added In:** 2012271618 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * The membership OCID. + * + *

*Added In:** 2102181953 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("membershipOcid") + private final String membershipOcid; + + /** + * The membership OCID. + * + *

*Added In:** 2102181953 + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getMembershipOcid() { + return membershipOcid; + } + + /** + * The URI that corresponds to the member Resource of this group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("$ref") + private final String ref; + + /** + * The URI that corresponds to the member Resource of this group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: + * none + * + * @return the value + */ + public String getRef() { + return ref; + } + + /** + * The member's display name. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("display") + private final String display; + + /** + * The member's display name. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDisplay() { + return display; + } + + /** + * Indicates the type of resource, for example, User or Group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: User - + * multiValued: false - mutability: readWrite - required: true - returned: default - type: + * string - uniqueness: none + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + User("User"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; + /** + * Indicates the type of resource, for example, User or Group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: User - + * multiValued: false - mutability: readWrite - required: true - returned: default - type: + * string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * Indicates the type of resource, for example, User or Group. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsDefaultValue: User - + * multiValued: false - mutability: readWrite - required: true - returned: default - type: + * string - uniqueness: none + * + * @return the value + */ + public Type getType() { + return type; + } + + /** + * The member's name. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * The member's name. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyRequestableGroupMembers("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", dateAdded=").append(String.valueOf(this.dateAdded)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", membershipOcid=").append(String.valueOf(this.membershipOcid)); + sb.append(", ref=").append(String.valueOf(this.ref)); + sb.append(", display=").append(String.valueOf(this.display)); + sb.append(", type=").append(String.valueOf(this.type)); + sb.append(", name=").append(String.valueOf(this.name)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyRequestableGroupMembers)) { + return false; + } + + MyRequestableGroupMembers other = (MyRequestableGroupMembers) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.dateAdded, other.dateAdded) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.membershipOcid, other.membershipOcid) + && java.util.Objects.equals(this.ref, other.ref) + && java.util.Objects.equals(this.display, other.display) + && java.util.Objects.equals(this.type, other.type) + && java.util.Objects.equals(this.name, other.name) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.dateAdded == null ? 43 : this.dateAdded.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = + (result * PRIME) + + (this.membershipOcid == null ? 43 : this.membershipOcid.hashCode()); + result = (result * PRIME) + (this.ref == null ? 43 : this.ref.hashCode()); + result = (result * PRIME) + (this.display == null ? 43 : this.display.hashCode()); + result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroupSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroupSearchRequest.java new file mode 100644 index 00000000000..a91c80e3cf3 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroupSearchRequest.java @@ -0,0 +1,538 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Clients MAY execute queries without passing parameters on the URL by using the HTTP POST verb + * combined with the **.search** path extension. The inclusion of **.search** on the end of a valid + * SCIM endpoint SHALL be used to indicate the HTTP POST verb is intended to be a query operation. + * To create a new query result set, a SCIM client sends an HTTP POST request to the desired SCIM + * resource endpoint (ending in **.search**). The body of the POST request MAY include any of the + * parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MyRequestableGroupSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyRequestableGroupSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "attributes", + "attributeSets", + "filter", + "sortBy", + "sortOrder", + "startIndex", + "count" + }) + public MyRequestableGroupSearchRequest( + java.util.List schemas, + java.util.List attributes, + java.util.List attributeSets, + String filter, + String sortBy, + SortOrder sortOrder, + Integer startIndex, + Integer count) { + super(); + this.schemas = schemas; + this.attributes = attributes; + this.attributeSets = attributeSets; + this.filter = filter; + this.sortBy = sortBy; + this.sortOrder = sortOrder; + this.startIndex = startIndex; + this.count = count; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @param attributes the value to set + * @return this builder + */ + public Builder attributes(java.util.List attributes) { + this.attributes = attributes; + this.__explicitlySet__.add("attributes"); + return this; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + * + * @param attributeSets the value to set + * @return this builder + */ + public Builder attributeSets(java.util.List attributeSets) { + this.attributeSets = attributeSets; + this.__explicitlySet__.add("attributeSets"); + return this; + } + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @param filter the value to set + * @return this builder + */ + public Builder filter(String filter) { + this.filter = filter; + this.__explicitlySet__.add("filter"); + return this; + } + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + * + * @param sortBy the value to set + * @return this builder + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + this.__explicitlySet__.add("sortBy"); + return this; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder + */ + public Builder sortOrder(SortOrder sortOrder) { + this.sortOrder = sortOrder; + this.__explicitlySet__.add("sortOrder"); + return this; + } + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @param count the value to set + * @return this builder + */ + public Builder count(Integer count) { + this.count = count; + this.__explicitlySet__.add("count"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyRequestableGroupSearchRequest build() { + MyRequestableGroupSearchRequest model = + new MyRequestableGroupSearchRequest( + this.schemas, + this.attributes, + this.attributeSets, + this.filter, + this.sortBy, + this.sortOrder, + this.startIndex, + this.count); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyRequestableGroupSearchRequest model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("attributes")) { + this.attributes(model.getAttributes()); + } + if (model.wasPropertyExplicitlySet("attributeSets")) { + this.attributeSets(model.getAttributeSets()); + } + if (model.wasPropertyExplicitlySet("filter")) { + this.filter(model.getFilter()); + } + if (model.wasPropertyExplicitlySet("sortBy")) { + this.sortBy(model.getSortBy()); + } + if (model.wasPropertyExplicitlySet("sortOrder")) { + this.sortOrder(model.getSortOrder()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("count")) { + this.count(model.getCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private final java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private final java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private final String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @return the value + */ + public String getFilter() { + return filter; + } + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private final String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + * + * @return the value + */ + public String getSortBy() { + return sortBy; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private final SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @return the value + */ + public SortOrder getSortOrder() { + return sortOrder; + } + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private final Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @return the value + */ + public Integer getCount() { + return count; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyRequestableGroupSearchRequest("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", attributes=").append(String.valueOf(this.attributes)); + sb.append(", attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(", filter=").append(String.valueOf(this.filter)); + sb.append(", sortBy=").append(String.valueOf(this.sortBy)); + sb.append(", sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", count=").append(String.valueOf(this.count)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyRequestableGroupSearchRequest)) { + return false; + } + + MyRequestableGroupSearchRequest other = (MyRequestableGroupSearchRequest) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroups.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroups.java new file mode 100644 index 00000000000..d57c673eeee --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequestableGroups.java @@ -0,0 +1,358 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = MyRequestableGroups.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyRequestableGroups + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public MyRequestableGroups( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyRequestableGroups build() { + MyRequestableGroups model = + new MyRequestableGroups( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyRequestableGroups model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyRequestableGroups("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyRequestableGroups)) { + return false; + } + + MyRequestableGroups other = (MyRequestableGroups) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequests.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequests.java new file mode 100644 index 00000000000..20721012c09 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyRequests.java @@ -0,0 +1,356 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = MyRequests.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MyRequests extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public MyRequests( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MyRequests build() { + MyRequests model = + new MyRequests( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MyRequests model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MyRequests("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MyRequests)) { + return false; + } + + MyRequests other = (MyRequests) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyTrustedUserAgent.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyTrustedUserAgent.java index f5b76008be3..76fd79d40d4 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyTrustedUserAgent.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyTrustedUserAgent.java @@ -411,8 +411,8 @@ public Builder tenancyOcid(String tenancyOcid) { * Multi-Factor Authentication. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * - mutability: immutable - required: true - returned: always - type: string - uniqueness: - * none + * - mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: true - + * returned: always - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("name") private String name; @@ -422,8 +422,8 @@ public Builder tenancyOcid(String tenancyOcid) { * Multi-Factor Authentication. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * - mutability: immutable - required: true - returned: always - type: string - uniqueness: - * none + * - mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: true - + * returned: always - type: string - uniqueness: none * * @param name the value to set * @return this builder @@ -438,8 +438,8 @@ public Builder name(String name) { * whenever a token that has been issued is verified successfully. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: none - * - multiValued: false - mutability: readOnly - required: true - returned: always - type: - * string - uniqueness: none + * - multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - + * required: true - returned: always - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("trustToken") private String trustToken; @@ -449,8 +449,8 @@ public Builder name(String name) { * whenever a token that has been issued is verified successfully. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: none - * - multiValued: false - mutability: readOnly - required: true - returned: always - type: - * string - uniqueness: none + * - multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - + * required: true - returned: always - type: string - uniqueness: none * * @param trustToken the value to set * @return this builder @@ -464,8 +464,8 @@ public Builder trustToken(String trustToken) { * Trust token issued geo-location. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * - mutability: immutable - required: false - returned: default - type: string - - * uniqueness: none + * - mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("location") private String location; @@ -474,8 +474,8 @@ public Builder trustToken(String trustToken) { * Trust token issued geo-location. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * - mutability: immutable - required: false - returned: default - type: string - - * uniqueness: none + * - mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: default - type: string - uniqueness: none * * @param location the value to set * @return this builder @@ -489,7 +489,8 @@ public Builder location(String location) { * User agent platform for which the trust token has been issued. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: - * immutable - required: false - returned: default - type: string - uniqueness: none + * immutable - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - + * type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("platform") private String platform; @@ -498,7 +499,8 @@ public Builder location(String location) { * User agent platform for which the trust token has been issued. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: - * immutable - required: false - returned: default - type: string - uniqueness: none + * immutable - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - + * type: string - uniqueness: none * * @param platform the value to set * @return this builder @@ -512,8 +514,8 @@ public Builder platform(String platform) { * Validation period of the trust token. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: - * none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: default - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("expiryTime") private String expiryTime; @@ -522,8 +524,8 @@ public Builder platform(String platform) { * Validation period of the trust token. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: - * none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: default - type: dateTime - uniqueness: none * * @param expiryTime the value to set * @return this builder @@ -539,8 +541,8 @@ public Builder expiryTime(String expiryTime) { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: dateTime - - * uniqueness: none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: default - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lastUsedOn") private String lastUsedOn; @@ -551,8 +553,8 @@ public Builder expiryTime(String expiryTime) { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: dateTime - - * uniqueness: none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: default - type: dateTime - uniqueness: none * * @param lastUsedOn the value to set * @return this builder @@ -568,7 +570,8 @@ public Builder lastUsedOn(String lastUsedOn) { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: string - uniqueness: none + * readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - + * type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("tokenType") private TokenType tokenType; @@ -579,7 +582,8 @@ public Builder lastUsedOn(String lastUsedOn) { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: string - uniqueness: none + * readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - + * type: string - uniqueness: none * * @param tokenType the value to set * @return this builder @@ -1012,7 +1016,8 @@ public String getTenancyOcid() { * Authentication. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - - * mutability: immutable - required: true - returned: always - type: string - uniqueness: none + * mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: true - returned: + * always - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("name") private final String name; @@ -1022,7 +1027,8 @@ public String getTenancyOcid() { * Authentication. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - - * mutability: immutable - required: true - returned: always - type: string - uniqueness: none + * mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: true - returned: + * always - type: string - uniqueness: none * * @return the value */ @@ -1035,8 +1041,8 @@ public String getName() { * token that has been issued is verified successfully. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: none - - * multiValued: false - mutability: readOnly - required: true - returned: always - type: string - * - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: + * true - returned: always - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("trustToken") private final String trustToken; @@ -1046,8 +1052,8 @@ public String getName() { * token that has been issued is verified successfully. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - idcsSensitive: none - - * multiValued: false - mutability: readOnly - required: true - returned: always - type: string - * - uniqueness: none + * multiValued: false - mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: + * true - returned: always - type: string - uniqueness: none * * @return the value */ @@ -1059,7 +1065,8 @@ public String getTrustToken() { * Trust token issued geo-location. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - - * mutability: immutable - required: false - returned: default - type: string - uniqueness: none + * mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("location") private final String location; @@ -1068,7 +1075,8 @@ public String getTrustToken() { * Trust token issued geo-location. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - - * mutability: immutable - required: false - returned: default - type: string - uniqueness: none + * mutability: immutable - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: string - uniqueness: none * * @return the value */ @@ -1080,7 +1088,8 @@ public String getLocation() { * User agent platform for which the trust token has been issued. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable - * - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - type: string + * - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("platform") private final String platform; @@ -1089,7 +1098,8 @@ public String getLocation() { * User agent platform for which the trust token has been issued. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable - * - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - type: string + * - uniqueness: none * * @return the value */ @@ -1101,8 +1111,8 @@ public String getPlatform() { * Validation period of the trust token. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: - * none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("expiryTime") private final String expiryTime; @@ -1111,8 +1121,8 @@ public String getPlatform() { * Validation period of the trust token. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readOnly - required: false - returned: default - type: dateTime - uniqueness: - * none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: dateTime - uniqueness: none * * @return the value */ @@ -1126,8 +1136,8 @@ public String getExpiryTime() { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: dateTime - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lastUsedOn") private final String lastUsedOn; @@ -1138,8 +1148,8 @@ public String getExpiryTime() { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: dateTime - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: dateTime - uniqueness: none * * @return the value */ @@ -1153,7 +1163,8 @@ public String getLastUsedOn() { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - type: string + * - uniqueness: none */ public enum TokenType implements com.oracle.bmc.http.internal.BmcEnum { Kmsi("KMSI"), @@ -1206,7 +1217,8 @@ public static TokenType create(String key) { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - type: string + * - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("tokenType") private final TokenType tokenType; @@ -1217,7 +1229,8 @@ public static TokenType create(String key) { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: string - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - type: string + * - uniqueness: none * * @return the value */ diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyTrustedUserAgentTrustedFactors.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyTrustedUserAgentTrustedFactors.java index 406d9c0960e..396cd778a04 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyTrustedUserAgentTrustedFactors.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyTrustedUserAgentTrustedFactors.java @@ -39,8 +39,8 @@ public static class Builder { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: true - + * returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("type") private String type; @@ -51,8 +51,8 @@ public static class Builder { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: true - + * returned: default - type: string - uniqueness: none * * @param type the value to set * @return this builder @@ -68,8 +68,8 @@ public Builder type(String type) { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("category") private Category category; @@ -80,8 +80,8 @@ public Builder type(String type) { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: default - type: string - uniqueness: none * * @param category the value to set * @return this builder @@ -97,8 +97,8 @@ public Builder category(Category category) { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readOnly - required: true - returned: default - type: dateTime - uniqueness: - * none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: true - returned: + * default - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("creationTime") private String creationTime; @@ -109,8 +109,8 @@ public Builder category(Category category) { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readOnly - required: true - returned: default - type: dateTime - uniqueness: - * none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: true - returned: + * default - type: dateTime - uniqueness: none * * @param creationTime the value to set * @return this builder @@ -164,7 +164,8 @@ public Builder toBuilder() { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: true - returned: + * default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("type") private final String type; @@ -175,7 +176,8 @@ public Builder toBuilder() { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: true - returned: + * default - type: string - uniqueness: none * * @return the value */ @@ -189,7 +191,8 @@ public String getType() { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: string - uniqueness: none */ public enum Category implements com.oracle.bmc.http.internal.BmcEnum { Saml("SAML"), @@ -245,7 +248,8 @@ public static Category create(String key) { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("category") private final Category category; @@ -256,7 +260,8 @@ public static Category create(String key) { *

*Added In:** 2111190457 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: string - uniqueness: none * * @return the value */ @@ -270,7 +275,8 @@ public Category getCategory() { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readOnly - required: true - returned: default - type: dateTime - uniqueness: none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: true - returned: + * default - type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("creationTime") private final String creationTime; @@ -281,7 +287,8 @@ public Category getCategory() { *

*Added In:** 19.2.1 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - - * mutability: readOnly - required: true - returned: default - type: dateTime - uniqueness: none + * mutability: readOnly - idcsRequiresWriteForAccessFlows: true - required: true - returned: + * default - type: dateTime - uniqueness: none * * @return the value */ diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyTrustedUserAgentUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyTrustedUserAgentUser.java index 1c92cc3b886..ea6919dcf0f 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyTrustedUserAgentUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyTrustedUserAgentUser.java @@ -42,8 +42,8 @@ public static class Builder { * The SCIM ID of the user for whom the trust-token was issued. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: true - + * returned: default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("value") private String value; @@ -52,8 +52,8 @@ public static class Builder { * The SCIM ID of the user for whom the trust-token was issued. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: true - + * returned: default - type: string - uniqueness: none * * @param value the value to set * @return this builder @@ -67,7 +67,8 @@ public Builder value(String value) { * Full URI to the user for whom the trust-token was issued. * *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - - * required: true - returned: default - type: reference - uniqueness: none + * idcsRequiresWriteForAccessFlows: true - required: true - returned: default - type: + * reference - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("$ref") private String ref; @@ -76,7 +77,8 @@ public Builder value(String value) { * Full URI to the user for whom the trust-token was issued. * *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - - * required: true - returned: default - type: reference - uniqueness: none + * idcsRequiresWriteForAccessFlows: true - required: true - returned: default - type: + * reference - uniqueness: none * * @param ref the value to set * @return this builder @@ -115,8 +117,8 @@ public Builder display(String display) { *

*Added In:** 2105091740 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: false - returned: always - type: string - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: always - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("ocid") private String ocid; @@ -127,8 +129,8 @@ public Builder display(String display) { *

*Added In:** 2105091740 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: false - returned: always - type: string - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: always - type: string - uniqueness: none * * @param ocid the value to set * @return this builder @@ -182,7 +184,8 @@ public Builder toBuilder() { * The SCIM ID of the user for whom the trust-token was issued. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: true - returned: + * default - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("value") private final String value; @@ -191,7 +194,8 @@ public Builder toBuilder() { * The SCIM ID of the user for whom the trust-token was issued. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: true - returned: + * default - type: string - uniqueness: none * * @return the value */ @@ -203,7 +207,8 @@ public String getValue() { * Full URI to the user for whom the trust-token was issued. * *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - - * required: true - returned: default - type: reference - uniqueness: none + * idcsRequiresWriteForAccessFlows: true - required: true - returned: default - type: reference + * - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("$ref") private final String ref; @@ -212,7 +217,8 @@ public String getValue() { * Full URI to the user for whom the trust-token was issued. * *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - - * required: true - returned: default - type: reference - uniqueness: none + * idcsRequiresWriteForAccessFlows: true - required: true - returned: default - type: reference + * - uniqueness: none * * @return the value */ @@ -247,7 +253,8 @@ public String getDisplay() { *

*Added In:** 2105091740 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: false - returned: always - type: string - uniqueness: none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * always - type: string - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("ocid") private final String ocid; @@ -258,7 +265,8 @@ public String getDisplay() { *

*Added In:** 2105091740 * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: false - returned: always - type: string - uniqueness: none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * always - type: string - uniqueness: none * * @return the value */ diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyUserDbCredential.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyUserDbCredential.java index 7b05a3729cc..158b4002a87 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyUserDbCredential.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyUserDbCredential.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User's Db Credential
+ * User's Database Credential
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -435,7 +435,7 @@ public Builder name(String name) { return this; } /** - * The db password of the user + * The user's database password. * *

*SCIM++ Properties:** - type: string - mutability: immutable - returned: default - * required: true @@ -444,7 +444,7 @@ public Builder name(String name) { private String dbPassword; /** - * The db password of the user + * The user's database password. * *

*SCIM++ Properties:** - type: string - mutability: immutable - returned: default - * required: true @@ -485,7 +485,7 @@ public Builder description(String description) { return this; } /** - * The db password of the user with mixed salt + * The user's database password with mixed salt. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -494,7 +494,7 @@ public Builder description(String description) { private String mixedDbPassword; /** - * The db password of the user with mixed salt + * The user's database password with mixed salt. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -508,7 +508,7 @@ public Builder mixedDbPassword(String mixedDbPassword) { return this; } /** - * The salt of the password + * The salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -517,7 +517,7 @@ public Builder mixedDbPassword(String mixedDbPassword) { private String salt; /** - * The salt of the password + * The salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -531,7 +531,7 @@ public Builder salt(String salt) { return this; } /** - * The mixed salt of the password + * The mixed salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -540,7 +540,7 @@ public Builder salt(String salt) { private String mixedSalt; /** - * The mixed salt of the password + * The mixed salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -554,7 +554,7 @@ public Builder mixedSalt(String mixedSalt) { return this; } /** - * A DateTime that specifies the date and time when the current db password was set + * A DateTime that specifies the date and time when the current database password was set. * *

*SCIM++ Properties:** - type: dateTime - mutability: readOnly - returned: default */ @@ -562,7 +562,7 @@ public Builder mixedSalt(String mixedSalt) { private String lastSetDate; /** - * A DateTime that specifies the date and time when the current db password was set + * A DateTime that specifies the date and time when the current database password was set. * *

*SCIM++ Properties:** - type: dateTime - mutability: readOnly - returned: default * @@ -575,7 +575,7 @@ public Builder lastSetDate(String lastSetDate) { return this; } /** - * Indicates that the db password has expired + * Indicates that the database password has expired. * *

*SCIM++ Properties:** - type: boolean - mutability: readOnly - returned: default */ @@ -583,7 +583,7 @@ public Builder lastSetDate(String lastSetDate) { private Boolean expired; /** - * Indicates that the db password has expired + * Indicates that the database password has expired. * *

*SCIM++ Properties:** - type: boolean - mutability: readOnly - returned: default * @@ -625,7 +625,7 @@ public Builder status(Status status) { return this; } /** - * User credential expires on + * When the user credential expires. * *

*Added In:** 2109090424 * @@ -637,7 +637,7 @@ public Builder status(Status status) { private String expiresOn; /** - * User credential expires on + * When the user credential expires. * *

*Added In:** 2109090424 * @@ -1075,7 +1075,7 @@ public String getName() { } /** - * The db password of the user + * The user's database password. * *

*SCIM++ Properties:** - type: string - mutability: immutable - returned: default - * required: true @@ -1084,7 +1084,7 @@ public String getName() { private final String dbPassword; /** - * The db password of the user + * The user's database password. * *

*SCIM++ Properties:** - type: string - mutability: immutable - returned: default - * required: true @@ -1121,7 +1121,7 @@ public String getDescription() { } /** - * The db password of the user with mixed salt + * The user's database password with mixed salt. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -1130,7 +1130,7 @@ public String getDescription() { private final String mixedDbPassword; /** - * The db password of the user with mixed salt + * The user's database password with mixed salt. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -1142,7 +1142,7 @@ public String getMixedDbPassword() { } /** - * The salt of the password + * The salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -1151,7 +1151,7 @@ public String getMixedDbPassword() { private final String salt; /** - * The salt of the password + * The salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -1163,7 +1163,7 @@ public String getSalt() { } /** - * The mixed salt of the password + * The mixed salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -1172,7 +1172,7 @@ public String getSalt() { private final String mixedSalt; /** - * The mixed salt of the password + * The mixed salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -1184,7 +1184,7 @@ public String getMixedSalt() { } /** - * A DateTime that specifies the date and time when the current db password was set + * A DateTime that specifies the date and time when the current database password was set. * *

*SCIM++ Properties:** - type: dateTime - mutability: readOnly - returned: default */ @@ -1192,7 +1192,7 @@ public String getMixedSalt() { private final String lastSetDate; /** - * A DateTime that specifies the date and time when the current db password was set + * A DateTime that specifies the date and time when the current database password was set. * *

*SCIM++ Properties:** - type: dateTime - mutability: readOnly - returned: default * @@ -1203,7 +1203,7 @@ public String getLastSetDate() { } /** - * Indicates that the db password has expired + * Indicates that the database password has expired. * *

*SCIM++ Properties:** - type: boolean - mutability: readOnly - returned: default */ @@ -1211,7 +1211,7 @@ public String getLastSetDate() { private final Boolean expired; /** - * Indicates that the db password has expired + * Indicates that the database password has expired. * *

*SCIM++ Properties:** - type: boolean - mutability: readOnly - returned: default * @@ -1299,7 +1299,7 @@ public Status getStatus() { } /** - * User credential expires on + * When the user credential expires. * *

*Added In:** 2109090424 * @@ -1311,7 +1311,7 @@ public Status getStatus() { private final String expiresOn; /** - * User credential expires on + * When the user credential expires. * *

*Added In:** 2109090424 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyUserDbCredentialsUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyUserDbCredentialsUser.java index 3840fcd7b49..b721e8812ad 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyUserDbCredentialsUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/MyUserDbCredentialsUser.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User linked to db credential + * The user linked to the database credential. * *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: true - * multiValued: false - mutability: immutable - required: false - returned: default - type: complex @@ -41,7 +41,7 @@ public MyUserDbCredentialsUser( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * User's id + * The user's identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: always - type: string - uniqueness: @@ -51,7 +51,7 @@ public static class Builder { private String value; /** - * User's id + * The user's identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: always - type: string - uniqueness: @@ -66,7 +66,7 @@ public Builder value(String value) { return this; } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -76,7 +76,7 @@ public Builder value(String value) { private String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -91,7 +91,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -101,7 +101,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -116,7 +116,7 @@ public Builder ref(String ref) { return this; } /** - * User display name + * The user display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -126,7 +126,7 @@ public Builder ref(String ref) { private String display; /** - * User display name + * The user display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -141,7 +141,7 @@ public Builder display(String display) { return this; } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -151,7 +151,7 @@ public Builder display(String display) { private String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -210,7 +210,7 @@ public Builder toBuilder() { } /** - * User's id + * The user's identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: always - type: string - uniqueness: none @@ -219,7 +219,7 @@ public Builder toBuilder() { private final String value; /** - * User's id + * The user's identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: always - type: string - uniqueness: none @@ -231,7 +231,7 @@ public String getValue() { } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -240,7 +240,7 @@ public String getValue() { private final String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -252,7 +252,7 @@ public String getOcid() { } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -262,7 +262,7 @@ public String getOcid() { private final String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -275,7 +275,7 @@ public String getRef() { } /** - * User display name + * The user display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -284,7 +284,7 @@ public String getRef() { private final String display; /** - * User display name + * The user display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -296,7 +296,7 @@ public String getDisplay() { } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -305,7 +305,7 @@ public String getDisplay() { private final String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OAuth2ClientCredential.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OAuth2ClientCredential.java index fa93b7b1c76..f03c490f97c 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OAuth2ClientCredential.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OAuth2ClientCredential.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User's oauth2 client credential
+ * The user's OAuth2 client credentials.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -450,7 +450,7 @@ public Builder description(String description) { return this; } /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -462,7 +462,7 @@ public Builder description(String description) { private Status status; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -479,7 +479,7 @@ public Builder status(Status status) { return this; } /** - * User credential expires on + * When the user's credentials expire. * *

*Added In:** 2109090424 * @@ -491,7 +491,7 @@ public Builder status(Status status) { private String expiresOn; /** - * User credential expires on + * When the user's credentials expire. * *

*Added In:** 2109090424 * @@ -508,7 +508,7 @@ public Builder expiresOn(String expiresOn) { return this; } /** - * Specifies if secret need to be reset + * Specifies whether the secret must be reset. * *

*Added In:** 2109090424 * @@ -520,7 +520,7 @@ public Builder expiresOn(String expiresOn) { private Boolean isResetSecret; /** - * Specifies if secret need to be reset + * Specifies whether the secret must be reset. * *

*Added In:** 2109090424 * @@ -1004,7 +1004,7 @@ public String getDescription() { } /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -1056,7 +1056,7 @@ public static Status create(String key) { } }; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -1067,7 +1067,7 @@ public static Status create(String key) { private final Status status; /** - * User credential status + * The user's credential status. * *

*Added In:** 2109090424 * @@ -1081,7 +1081,7 @@ public Status getStatus() { } /** - * User credential expires on + * When the user's credentials expire. * *

*Added In:** 2109090424 * @@ -1093,7 +1093,7 @@ public Status getStatus() { private final String expiresOn; /** - * User credential expires on + * When the user's credentials expire. * *

*Added In:** 2109090424 * @@ -1108,7 +1108,7 @@ public String getExpiresOn() { } /** - * Specifies if secret need to be reset + * Specifies whether the secret must be reset. * *

*Added In:** 2109090424 * @@ -1120,7 +1120,7 @@ public String getExpiresOn() { private final Boolean isResetSecret; /** - * Specifies if secret need to be reset + * Specifies whether the secret must be reset. * *

*Added In:** 2109090424 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OAuth2ClientCredentialUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OAuth2ClientCredentialUser.java index 06de208f5f5..fca53a5da87 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OAuth2ClientCredentialUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OAuth2ClientCredentialUser.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User linked to oauth2 client credential + * The user linked to the OAuth2 client credential. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: default - type: complex - uniqueness: none @@ -41,7 +41,7 @@ public OAuth2ClientCredentialUser( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -51,7 +51,7 @@ public static class Builder { private String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -66,7 +66,7 @@ public Builder value(String value) { return this; } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -76,7 +76,7 @@ public Builder value(String value) { private String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -91,7 +91,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -101,7 +101,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -116,7 +116,7 @@ public Builder ref(String ref) { return this; } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -126,7 +126,7 @@ public Builder ref(String ref) { private String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -141,7 +141,7 @@ public Builder display(String display) { return this; } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -151,7 +151,7 @@ public Builder display(String display) { private String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -210,7 +210,7 @@ public Builder toBuilder() { } /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -219,7 +219,7 @@ public Builder toBuilder() { private final String value; /** - * User's id + * The user's ID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -231,7 +231,7 @@ public String getValue() { } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -240,7 +240,7 @@ public String getValue() { private final String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -252,7 +252,7 @@ public String getOcid() { } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -262,7 +262,7 @@ public String getOcid() { private final String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -275,7 +275,7 @@ public String getRef() { } /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -284,7 +284,7 @@ public String getRef() { private final String display; /** - * User display name + * The user's display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -296,7 +296,7 @@ public String getDisplay() { } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -305,7 +305,7 @@ public String getDisplay() { private final String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/PasswordPolicy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/PasswordPolicy.java index a7296a22220..47bb3fc048c 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/PasswordPolicy.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/PasswordPolicy.java @@ -54,6 +54,7 @@ public final class PasswordPolicy "firstNameDisallowed", "lastNameDisallowed", "userNameDisallowed", + "disallowedUserAttributeValues", "minPasswordAge", "passwordExpiresAfter", "passwordExpireWarning", @@ -69,8 +70,9 @@ public final class PasswordPolicy "numPasswordsInHistory", "passwordStrength", "forcePasswordReset", - "groups", + "distinctCharacters", "priority", + "groups", "configuredPasswordPolicyRules" }) public PasswordPolicy( @@ -105,6 +107,7 @@ public PasswordPolicy( Boolean firstNameDisallowed, Boolean lastNameDisallowed, Boolean userNameDisallowed, + java.util.List disallowedUserAttributeValues, Integer minPasswordAge, Integer passwordExpiresAfter, Integer passwordExpireWarning, @@ -120,8 +123,9 @@ public PasswordPolicy( Integer numPasswordsInHistory, PasswordStrength passwordStrength, Boolean forcePasswordReset, - java.util.List groups, + Integer distinctCharacters, Integer priority, + java.util.List groups, java.util.List configuredPasswordPolicyRules) { super(); @@ -156,6 +160,7 @@ public PasswordPolicy( this.firstNameDisallowed = firstNameDisallowed; this.lastNameDisallowed = lastNameDisallowed; this.userNameDisallowed = userNameDisallowed; + this.disallowedUserAttributeValues = disallowedUserAttributeValues; this.minPasswordAge = minPasswordAge; this.passwordExpiresAfter = passwordExpiresAfter; this.passwordExpireWarning = passwordExpireWarning; @@ -171,8 +176,9 @@ public PasswordPolicy( this.numPasswordsInHistory = numPasswordsInHistory; this.passwordStrength = passwordStrength; this.forcePasswordReset = forcePasswordReset; - this.groups = groups; + this.distinctCharacters = distinctCharacters; this.priority = priority; + this.groups = groups; this.configuredPasswordPolicyRules = configuredPasswordPolicyRules; } @@ -950,6 +956,34 @@ public Builder userNameDisallowed(Boolean userNameDisallowed) { this.__explicitlySet__.add("userNameDisallowed"); return this; } + /** + * List of User attributes whose values are not allowed in the password. + * + *

*Added In:** 2303212224 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("disallowedUserAttributeValues") + private java.util.List disallowedUserAttributeValues; + + /** + * List of User attributes whose values are not allowed in the password. + * + *

*Added In:** 2303212224 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @param disallowedUserAttributeValues the value to set + * @return this builder + */ + public Builder disallowedUserAttributeValues( + java.util.List disallowedUserAttributeValues) { + this.disallowedUserAttributeValues = disallowedUserAttributeValues; + this.__explicitlySet__.add("disallowedUserAttributeValues"); + return this; + } /** * Minimum time after which the user can resubmit the reset password request * @@ -1314,32 +1348,30 @@ public Builder forcePasswordReset(Boolean forcePasswordReset) { return this; } /** - * A list of groups that the password policy belongs to. + * The number of distinct characters between old password and new password * - *

*Added In:** 20.1.3 + *

*Added In:** 2303212224 * - *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: - * true - multiValued: true - mutability: readWrite - required: false - returned: default - - * type: complex - uniqueness: none + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none */ - @com.fasterxml.jackson.annotation.JsonProperty("groups") - private java.util.List groups; + @com.fasterxml.jackson.annotation.JsonProperty("distinctCharacters") + private Integer distinctCharacters; /** - * A list of groups that the password policy belongs to. + * The number of distinct characters between old password and new password * - *

*Added In:** 20.1.3 + *

*Added In:** 2303212224 * - *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: - * true - multiValued: true - mutability: readWrite - required: false - returned: default - - * type: complex - uniqueness: none + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: integer - uniqueness: none * - * @param groups the value to set + * @param distinctCharacters the value to set * @return this builder */ - public Builder groups(java.util.List groups) { - this.groups = groups; - this.__explicitlySet__.add("groups"); + public Builder distinctCharacters(Integer distinctCharacters) { + this.distinctCharacters = distinctCharacters; + this.__explicitlySet__.add("distinctCharacters"); return this; } /** @@ -1371,6 +1403,35 @@ public Builder priority(Integer priority) { this.__explicitlySet__.add("priority"); return this; } + /** + * A list of groups that the password policy belongs to. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: + * true - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("groups") + private java.util.List groups; + + /** + * A list of groups that the password policy belongs to. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: + * true - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + * + * @param groups the value to set + * @return this builder + */ + public Builder groups(java.util.List groups) { + this.groups = groups; + this.__explicitlySet__.add("groups"); + return this; + } /** * List of password policy rules that have values set. This map of stringKey:stringValue * pairs can be used to aid users while setting/resetting password @@ -1439,6 +1500,7 @@ public PasswordPolicy build() { this.firstNameDisallowed, this.lastNameDisallowed, this.userNameDisallowed, + this.disallowedUserAttributeValues, this.minPasswordAge, this.passwordExpiresAfter, this.passwordExpireWarning, @@ -1454,8 +1516,9 @@ public PasswordPolicy build() { this.numPasswordsInHistory, this.passwordStrength, this.forcePasswordReset, - this.groups, + this.distinctCharacters, this.priority, + this.groups, this.configuredPasswordPolicyRules); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -1558,6 +1621,9 @@ public Builder copy(PasswordPolicy model) { if (model.wasPropertyExplicitlySet("userNameDisallowed")) { this.userNameDisallowed(model.getUserNameDisallowed()); } + if (model.wasPropertyExplicitlySet("disallowedUserAttributeValues")) { + this.disallowedUserAttributeValues(model.getDisallowedUserAttributeValues()); + } if (model.wasPropertyExplicitlySet("minPasswordAge")) { this.minPasswordAge(model.getMinPasswordAge()); } @@ -1603,12 +1669,15 @@ public Builder copy(PasswordPolicy model) { if (model.wasPropertyExplicitlySet("forcePasswordReset")) { this.forcePasswordReset(model.getForcePasswordReset()); } - if (model.wasPropertyExplicitlySet("groups")) { - this.groups(model.getGroups()); + if (model.wasPropertyExplicitlySet("distinctCharacters")) { + this.distinctCharacters(model.getDistinctCharacters()); } if (model.wasPropertyExplicitlySet("priority")) { this.priority(model.getPriority()); } + if (model.wasPropertyExplicitlySet("groups")) { + this.groups(model.getGroups()); + } if (model.wasPropertyExplicitlySet("configuredPasswordPolicyRules")) { this.configuredPasswordPolicyRules(model.getConfiguredPasswordPolicyRules()); } @@ -2318,6 +2387,31 @@ public Boolean getUserNameDisallowed() { return userNameDisallowed; } + /** + * List of User attributes whose values are not allowed in the password. + * + *

*Added In:** 2303212224 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("disallowedUserAttributeValues") + private final java.util.List disallowedUserAttributeValues; + + /** + * List of User attributes whose values are not allowed in the password. + * + *

*Added In:** 2303212224 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readWrite + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getDisallowedUserAttributeValues() { + return disallowedUserAttributeValues; + } + /** * Minimum time after which the user can resubmit the reset password request * @@ -2702,30 +2796,28 @@ public Boolean getForcePasswordReset() { } /** - * A list of groups that the password policy belongs to. + * The number of distinct characters between old password and new password * - *

*Added In:** 20.1.3 + *

*Added In:** 2303212224 * - *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: - * true - multiValued: true - mutability: readWrite - required: false - returned: default - - * type: complex - uniqueness: none + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: integer - uniqueness: none */ - @com.fasterxml.jackson.annotation.JsonProperty("groups") - private final java.util.List groups; + @com.fasterxml.jackson.annotation.JsonProperty("distinctCharacters") + private final Integer distinctCharacters; /** - * A list of groups that the password policy belongs to. + * The number of distinct characters between old password and new password * - *

*Added In:** 20.1.3 + *

*Added In:** 2303212224 * - *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: - * true - multiValued: true - mutability: readWrite - required: false - returned: default - - * type: complex - uniqueness: none + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: integer - uniqueness: none * * @return the value */ - public java.util.List getGroups() { - return groups; + public Integer getDistinctCharacters() { + return distinctCharacters; } /** @@ -2753,6 +2845,33 @@ public Integer getPriority() { return priority; } + /** + * A list of groups that the password policy belongs to. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: + * true - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("groups") + private final java.util.List groups; + + /** + * A list of groups that the password policy belongs to. + * + *

*Added In:** 20.1.3 + * + *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: + * true - multiValued: true - mutability: readWrite - required: false - returned: default - + * type: complex - uniqueness: none + * + * @return the value + */ + public java.util.List getGroups() { + return groups; + } + /** * List of password policy rules that have values set. This map of stringKey:stringValue pairs * can be used to aid users while setting/resetting password @@ -2826,6 +2945,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", firstNameDisallowed=").append(String.valueOf(this.firstNameDisallowed)); sb.append(", lastNameDisallowed=").append(String.valueOf(this.lastNameDisallowed)); sb.append(", userNameDisallowed=").append(String.valueOf(this.userNameDisallowed)); + sb.append(", disallowedUserAttributeValues=") + .append(String.valueOf(this.disallowedUserAttributeValues)); sb.append(", minPasswordAge=").append(String.valueOf(this.minPasswordAge)); sb.append(", passwordExpiresAfter=").append(String.valueOf(this.passwordExpiresAfter)); sb.append(", passwordExpireWarning=").append(String.valueOf(this.passwordExpireWarning)); @@ -2842,8 +2963,9 @@ public String toString(boolean includeByteArrayContents) { sb.append(", numPasswordsInHistory=").append(String.valueOf(this.numPasswordsInHistory)); sb.append(", passwordStrength=").append(String.valueOf(this.passwordStrength)); sb.append(", forcePasswordReset=").append(String.valueOf(this.forcePasswordReset)); - sb.append(", groups=").append(String.valueOf(this.groups)); + sb.append(", distinctCharacters=").append(String.valueOf(this.distinctCharacters)); sb.append(", priority=").append(String.valueOf(this.priority)); + sb.append(", groups=").append(String.valueOf(this.groups)); sb.append(", configuredPasswordPolicyRules=") .append(String.valueOf(this.configuredPasswordPolicyRules)); sb.append(")"); @@ -2893,6 +3015,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.firstNameDisallowed, other.firstNameDisallowed) && java.util.Objects.equals(this.lastNameDisallowed, other.lastNameDisallowed) && java.util.Objects.equals(this.userNameDisallowed, other.userNameDisallowed) + && java.util.Objects.equals( + this.disallowedUserAttributeValues, other.disallowedUserAttributeValues) && java.util.Objects.equals(this.minPasswordAge, other.minPasswordAge) && java.util.Objects.equals(this.passwordExpiresAfter, other.passwordExpiresAfter) && java.util.Objects.equals(this.passwordExpireWarning, other.passwordExpireWarning) @@ -2909,8 +3033,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.numPasswordsInHistory, other.numPasswordsInHistory) && java.util.Objects.equals(this.passwordStrength, other.passwordStrength) && java.util.Objects.equals(this.forcePasswordReset, other.forcePasswordReset) - && java.util.Objects.equals(this.groups, other.groups) + && java.util.Objects.equals(this.distinctCharacters, other.distinctCharacters) && java.util.Objects.equals(this.priority, other.priority) + && java.util.Objects.equals(this.groups, other.groups) && java.util.Objects.equals( this.configuredPasswordPolicyRules, other.configuredPasswordPolicyRules) && super.equals(other); @@ -2995,6 +3120,11 @@ public int hashCode() { + (this.userNameDisallowed == null ? 43 : this.userNameDisallowed.hashCode()); + result = + (result * PRIME) + + (this.disallowedUserAttributeValues == null + ? 43 + : this.disallowedUserAttributeValues.hashCode()); result = (result * PRIME) + (this.minPasswordAge == null ? 43 : this.minPasswordAge.hashCode()); @@ -3056,8 +3186,13 @@ public int hashCode() { + (this.forcePasswordReset == null ? 43 : this.forcePasswordReset.hashCode()); - result = (result * PRIME) + (this.groups == null ? 43 : this.groups.hashCode()); + result = + (result * PRIME) + + (this.distinctCharacters == null + ? 43 + : this.distinctCharacters.hashCode()); result = (result * PRIME) + (this.priority == null ? 43 : this.priority.hashCode()); + result = (result * PRIME) + (this.groups == null ? 43 : this.groups.hashCode()); result = (result * PRIME) + (this.configuredPasswordPolicyRules == null diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ResourceTypeSchemaAttribute.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ResourceTypeSchemaAttribute.java new file mode 100644 index 00000000000..5c197818e02 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ResourceTypeSchemaAttribute.java @@ -0,0 +1,4743 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * ResourceTypeSchemaAttribute Schema Definition
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ResourceTypeSchemaAttribute.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ResourceTypeSchemaAttribute + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "name", + "idcsDisplayNameMessageId", + "resourceType", + "idcsSchemaUrn", + "idcsFullyQualifiedName", + "idcsCustomAttribute", + "type", + "multiValued", + "description", + "required", + "canonicalValues", + "caseExact", + "mutability", + "endUserMutability", + "endUserMutabilityAllowedValues", + "returned", + "uniqueness", + "idcsCsvColumnHeaderName", + "idcsICFBundleAttributeName", + "idcsICFRequired", + "idcsICFAttributeType", + "referenceTypes", + "idcsDeprecatedSinceVersion", + "idcsAddedSinceVersion", + "idcsDeprecatedSinceReleaseNumber", + "idcsAddedSinceReleaseNumber", + "idcsMinLength", + "idcsMaxLength", + "idcsMinValue", + "idcsMaxValue", + "idcsMultiLanguage", + "idcsRefResourceAttributes", + "idcsIndirectRefResourceAttributes", + "idcsAutoIncrementSeqName", + "idcsValuePersisted", + "idcsSensitive", + "idcsInternal", + "idcsTrimStringValue", + "idcsSearchable", + "idcsGenerated", + "idcsAuditable", + "idcsTargetAttributeName", + "idcsTargetUniqueConstraintName", + "idcsTargetNormAttributeName", + "idcsTargetAttributeNameToMigrateFrom", + "idcsToTargetMapper", + "idcsFromTargetMapper", + "idcsDisplayName", + "idcsCanonicalValueSourceResourceType", + "idcsCanonicalValueSourceFilter", + "idcsValidateReference", + "idcsCompositeKey", + "idcsFetchComplexAttributeValues", + "idcsScimCompliant", + "idcsAttributeMappable", + "idcsRefResourceAttribute", + "idcsAttributeCacheable" + }) + public ResourceTypeSchemaAttribute( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + String name, + String idcsDisplayNameMessageId, + String resourceType, + String idcsSchemaUrn, + String idcsFullyQualifiedName, + Boolean idcsCustomAttribute, + Type type, + Boolean multiValued, + String description, + Boolean required, + java.util.List canonicalValues, + Boolean caseExact, + Mutability mutability, + EndUserMutability endUserMutability, + java.util.List endUserMutabilityAllowedValues, + Returned returned, + Uniqueness uniqueness, + String idcsCsvColumnHeaderName, + String idcsICFBundleAttributeName, + Boolean idcsICFRequired, + IdcsICFAttributeType idcsICFAttributeType, + java.util.List referenceTypes, + Integer idcsDeprecatedSinceVersion, + Integer idcsAddedSinceVersion, + String idcsDeprecatedSinceReleaseNumber, + String idcsAddedSinceReleaseNumber, + Integer idcsMinLength, + Integer idcsMaxLength, + Integer idcsMinValue, + Integer idcsMaxValue, + Boolean idcsMultiLanguage, + java.util.List idcsRefResourceAttributes, + java.util.List idcsIndirectRefResourceAttributes, + String idcsAutoIncrementSeqName, + Boolean idcsValuePersisted, + IdcsSensitive idcsSensitive, + Boolean idcsInternal, + Boolean idcsTrimStringValue, + Boolean idcsSearchable, + Boolean idcsGenerated, + Boolean idcsAuditable, + String idcsTargetAttributeName, + String idcsTargetUniqueConstraintName, + String idcsTargetNormAttributeName, + String idcsTargetAttributeNameToMigrateFrom, + String idcsToTargetMapper, + String idcsFromTargetMapper, + String idcsDisplayName, + String idcsCanonicalValueSourceResourceType, + String idcsCanonicalValueSourceFilter, + Boolean idcsValidateReference, + java.util.List idcsCompositeKey, + Boolean idcsFetchComplexAttributeValues, + Boolean idcsScimCompliant, + Boolean idcsAttributeMappable, + String idcsRefResourceAttribute, + Boolean idcsAttributeCacheable) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.name = name; + this.idcsDisplayNameMessageId = idcsDisplayNameMessageId; + this.resourceType = resourceType; + this.idcsSchemaUrn = idcsSchemaUrn; + this.idcsFullyQualifiedName = idcsFullyQualifiedName; + this.idcsCustomAttribute = idcsCustomAttribute; + this.type = type; + this.multiValued = multiValued; + this.description = description; + this.required = required; + this.canonicalValues = canonicalValues; + this.caseExact = caseExact; + this.mutability = mutability; + this.endUserMutability = endUserMutability; + this.endUserMutabilityAllowedValues = endUserMutabilityAllowedValues; + this.returned = returned; + this.uniqueness = uniqueness; + this.idcsCsvColumnHeaderName = idcsCsvColumnHeaderName; + this.idcsICFBundleAttributeName = idcsICFBundleAttributeName; + this.idcsICFRequired = idcsICFRequired; + this.idcsICFAttributeType = idcsICFAttributeType; + this.referenceTypes = referenceTypes; + this.idcsDeprecatedSinceVersion = idcsDeprecatedSinceVersion; + this.idcsAddedSinceVersion = idcsAddedSinceVersion; + this.idcsDeprecatedSinceReleaseNumber = idcsDeprecatedSinceReleaseNumber; + this.idcsAddedSinceReleaseNumber = idcsAddedSinceReleaseNumber; + this.idcsMinLength = idcsMinLength; + this.idcsMaxLength = idcsMaxLength; + this.idcsMinValue = idcsMinValue; + this.idcsMaxValue = idcsMaxValue; + this.idcsMultiLanguage = idcsMultiLanguage; + this.idcsRefResourceAttributes = idcsRefResourceAttributes; + this.idcsIndirectRefResourceAttributes = idcsIndirectRefResourceAttributes; + this.idcsAutoIncrementSeqName = idcsAutoIncrementSeqName; + this.idcsValuePersisted = idcsValuePersisted; + this.idcsSensitive = idcsSensitive; + this.idcsInternal = idcsInternal; + this.idcsTrimStringValue = idcsTrimStringValue; + this.idcsSearchable = idcsSearchable; + this.idcsGenerated = idcsGenerated; + this.idcsAuditable = idcsAuditable; + this.idcsTargetAttributeName = idcsTargetAttributeName; + this.idcsTargetUniqueConstraintName = idcsTargetUniqueConstraintName; + this.idcsTargetNormAttributeName = idcsTargetNormAttributeName; + this.idcsTargetAttributeNameToMigrateFrom = idcsTargetAttributeNameToMigrateFrom; + this.idcsToTargetMapper = idcsToTargetMapper; + this.idcsFromTargetMapper = idcsFromTargetMapper; + this.idcsDisplayName = idcsDisplayName; + this.idcsCanonicalValueSourceResourceType = idcsCanonicalValueSourceResourceType; + this.idcsCanonicalValueSourceFilter = idcsCanonicalValueSourceFilter; + this.idcsValidateReference = idcsValidateReference; + this.idcsCompositeKey = idcsCompositeKey; + this.idcsFetchComplexAttributeValues = idcsFetchComplexAttributeValues; + this.idcsScimCompliant = idcsScimCompliant; + this.idcsAttributeMappable = idcsAttributeMappable; + this.idcsRefResourceAttribute = idcsRefResourceAttribute; + this.idcsAttributeCacheable = idcsAttributeCacheable; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * Attribute's name + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Attribute's name + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: + * none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * Localized schema attribute display name for use by UI client for displaying attribute + * labels + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsDisplayNameMessageId") + private String idcsDisplayNameMessageId; + + /** + * Localized schema attribute display name for use by UI client for displaying attribute + * labels + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: + * none + * + * @param idcsDisplayNameMessageId the value to set + * @return this builder + */ + public Builder idcsDisplayNameMessageId(String idcsDisplayNameMessageId) { + this.idcsDisplayNameMessageId = idcsDisplayNameMessageId; + this.__explicitlySet__.add("idcsDisplayNameMessageId"); + return this; + } + /** + * ResourceType this attribute belongs to. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - idcsSearchable: true - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("resourceType") + private String resourceType; + + /** + * ResourceType this attribute belongs to. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - idcsSearchable: true - uniqueness: + * none + * + * @param resourceType the value to set + * @return this builder + */ + public Builder resourceType(String resourceType) { + this.resourceType = resourceType; + this.__explicitlySet__.add("resourceType"); + return this; + } + /** + * Schema URN string that this attribute belongs to + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - idcsSearchable: true - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsSchemaUrn") + private String idcsSchemaUrn; + + /** + * Schema URN string that this attribute belongs to + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - idcsSearchable: true - uniqueness: + * none + * + * @param idcsSchemaUrn the value to set + * @return this builder + */ + public Builder idcsSchemaUrn(String idcsSchemaUrn) { + this.idcsSchemaUrn = idcsSchemaUrn; + this.__explicitlySet__.add("idcsSchemaUrn"); + return this; + } + /** + * Fully qualified name of this attribute + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - idcsSearchable: true - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsFullyQualifiedName") + private String idcsFullyQualifiedName; + + /** + * Fully qualified name of this attribute + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: string - idcsSearchable: true - uniqueness: + * none + * + * @param idcsFullyQualifiedName the value to set + * @return this builder + */ + public Builder idcsFullyQualifiedName(String idcsFullyQualifiedName) { + this.idcsFullyQualifiedName = idcsFullyQualifiedName; + this.__explicitlySet__.add("idcsFullyQualifiedName"); + return this; + } + /** + * custom attribute flag. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - idcsSearchable: true - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsCustomAttribute") + private Boolean idcsCustomAttribute; + + /** + * custom attribute flag. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - idcsSearchable: true - + * uniqueness: none + * + * @param idcsCustomAttribute the value to set + * @return this builder + */ + public Builder idcsCustomAttribute(Boolean idcsCustomAttribute) { + this.idcsCustomAttribute = idcsCustomAttribute; + this.__explicitlySet__.add("idcsCustomAttribute"); + return this; + } + /** + * The attribute's data type--for example, String + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * The attribute's data type--for example, String + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param type the value to set + * @return this builder + */ + public Builder type(Type type) { + this.type = type; + this.__explicitlySet__.add("type"); + return this; + } + /** + * Indicates the attribute's plurality + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("multiValued") + private Boolean multiValued; + + /** + * Indicates the attribute's plurality + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @param multiValued the value to set + * @return this builder + */ + public Builder multiValued(Boolean multiValued) { + this.multiValued = multiValued; + this.__explicitlySet__.add("multiValued"); + return this; + } + /** + * The attribute's human-readable description + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * The attribute's human-readable description + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: + * none + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + /** + * Specifies if the attribute is required + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("required") + private Boolean required; + + /** + * Specifies if the attribute is required + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @param required the value to set + * @return this builder + */ + public Builder required(Boolean required) { + this.required = required; + this.__explicitlySet__.add("required"); + return this; + } + /** + * A collection of canonical values. Applicable Service Providers MUST specify the canonical + * types specified in the core schema specification--for example, \\"work\\", \\"home\\". + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("canonicalValues") + private java.util.List canonicalValues; + + /** + * A collection of canonical values. Applicable Service Providers MUST specify the canonical + * types specified in the core schema specification--for example, \\"work\\", \\"home\\". + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param canonicalValues the value to set + * @return this builder + */ + public Builder canonicalValues(java.util.List canonicalValues) { + this.canonicalValues = canonicalValues; + this.__explicitlySet__.add("canonicalValues"); + return this; + } + /** + * Specifies if the String attribute is case-sensitive + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("caseExact") + private Boolean caseExact; + + /** + * Specifies if the String attribute is case-sensitive + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @param caseExact the value to set + * @return this builder + */ + public Builder caseExact(Boolean caseExact) { + this.caseExact = caseExact; + this.__explicitlySet__.add("caseExact"); + return this; + } + /** + * Specifies if the attribute is mutable + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("mutability") + private Mutability mutability; + + /** + * Specifies if the attribute is mutable + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: + * none + * + * @param mutability the value to set + * @return this builder + */ + public Builder mutability(Mutability mutability) { + this.mutability = mutability; + this.__explicitlySet__.add("mutability"); + return this; + } + /** + * Specifies User mutability for this attribute + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("endUserMutability") + private EndUserMutability endUserMutability; + + /** + * Specifies User mutability for this attribute + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + * + * @param endUserMutability the value to set + * @return this builder + */ + public Builder endUserMutability(EndUserMutability endUserMutability) { + this.endUserMutability = endUserMutability; + this.__explicitlySet__.add("endUserMutability"); + return this; + } + /** + * Specifies the list of User mutabilities allowed + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("endUserMutabilityAllowedValues") + private java.util.List endUserMutabilityAllowedValues; + + /** + * Specifies the list of User mutabilities allowed + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + * + * @param endUserMutabilityAllowedValues the value to set + * @return this builder + */ + public Builder endUserMutabilityAllowedValues( + java.util.List endUserMutabilityAllowedValues) { + this.endUserMutabilityAllowedValues = endUserMutabilityAllowedValues; + this.__explicitlySet__.add("endUserMutabilityAllowedValues"); + return this; + } + /** + * A single keyword that indicates when an attribute and associated values are returned in + * response to a GET request or in response to a PUT, POST, or PATCH request + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("returned") + private Returned returned; + + /** + * A single keyword that indicates when an attribute and associated values are returned in + * response to a GET request or in response to a PUT, POST, or PATCH request + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: + * none + * + * @param returned the value to set + * @return this builder + */ + public Builder returned(Returned returned) { + this.returned = returned; + this.__explicitlySet__.add("returned"); + return this; + } + /** + * A single keyword value that specifies how the Service Provider enforces uniqueness of + * attribute values. A server MAY reject an invalid value based on uniqueness by returning + * an HTTP response code of 400 (Bad Request). A client MAY enforce uniqueness on the client + * side to a greater degree than the Service Provider enforces. For example, a client could + * make a value unique while the server has the uniqueness of \\"none\\". + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - required: false - + * returned: default - idcsSearchable: true - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("uniqueness") + private Uniqueness uniqueness; + + /** + * A single keyword value that specifies how the Service Provider enforces uniqueness of + * attribute values. A server MAY reject an invalid value based on uniqueness by returning + * an HTTP response code of 400 (Bad Request). A client MAY enforce uniqueness on the client + * side to a greater degree than the Service Provider enforces. For example, a client could + * make a value unique while the server has the uniqueness of \\"none\\". + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - required: false - + * returned: default - idcsSearchable: true - type: string - uniqueness: none + * + * @param uniqueness the value to set + * @return this builder + */ + public Builder uniqueness(Uniqueness uniqueness) { + this.uniqueness = uniqueness; + this.__explicitlySet__.add("uniqueness"); + return this; + } + /** + * The attribute defining the CSV column header name for import/export + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsCsvColumnHeaderName") + private String idcsCsvColumnHeaderName; + + /** + * The attribute defining the CSV column header name for import/export + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param idcsCsvColumnHeaderName the value to set + * @return this builder + */ + public Builder idcsCsvColumnHeaderName(String idcsCsvColumnHeaderName) { + this.idcsCsvColumnHeaderName = idcsCsvColumnHeaderName; + this.__explicitlySet__.add("idcsCsvColumnHeaderName"); + return this; + } + /** + * Maps to ICF target attribute name + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsICFBundleAttributeName") + private String idcsICFBundleAttributeName; + + /** + * Maps to ICF target attribute name + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param idcsICFBundleAttributeName the value to set + * @return this builder + */ + public Builder idcsICFBundleAttributeName(String idcsICFBundleAttributeName) { + this.idcsICFBundleAttributeName = idcsICFBundleAttributeName; + this.__explicitlySet__.add("idcsICFBundleAttributeName"); + return this; + } + /** + * Metadata to identify the ICF required attribute + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsICFRequired") + private Boolean idcsICFRequired; + + /** + * Metadata to identify the ICF required attribute + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: boolean - uniqueness: + * none + * + * @param idcsICFRequired the value to set + * @return this builder + */ + public Builder idcsICFRequired(Boolean idcsICFRequired) { + this.idcsICFRequired = idcsICFRequired; + this.__explicitlySet__.add("idcsICFRequired"); + return this; + } + /** + * Maps to ICF data type + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * idcsSearchable: true - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsICFAttributeType") + private IdcsICFAttributeType idcsICFAttributeType; + + /** + * Maps to ICF data type + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * idcsSearchable: true - required: false - returned: default - type: string - uniqueness: + * none + * + * @param idcsICFAttributeType the value to set + * @return this builder + */ + public Builder idcsICFAttributeType(IdcsICFAttributeType idcsICFAttributeType) { + this.idcsICFAttributeType = idcsICFAttributeType; + this.__explicitlySet__.add("idcsICFAttributeType"); + return this; + } + /** + * The names of the Resource types that may be referenced--for example, User. This is only + * applicable for attributes that are of the \\"reference\\" data type. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("referenceTypes") + private java.util.List referenceTypes; + + /** + * The names of the Resource types that may be referenced--for example, User. This is only + * applicable for attributes that are of the \\"reference\\" data type. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param referenceTypes the value to set + * @return this builder + */ + public Builder referenceTypes(java.util.List referenceTypes) { + this.referenceTypes = referenceTypes; + this.__explicitlySet__.add("referenceTypes"); + return this; + } + /** + * Indicates that the schema has been deprecated since version + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: integer + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsDeprecatedSinceVersion") + private Integer idcsDeprecatedSinceVersion; + + /** + * Indicates that the schema has been deprecated since version + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: integer + * + * @param idcsDeprecatedSinceVersion the value to set + * @return this builder + */ + public Builder idcsDeprecatedSinceVersion(Integer idcsDeprecatedSinceVersion) { + this.idcsDeprecatedSinceVersion = idcsDeprecatedSinceVersion; + this.__explicitlySet__.add("idcsDeprecatedSinceVersion"); + return this; + } + /** + * Indicates that the schema has been added since version + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: integer + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsAddedSinceVersion") + private Integer idcsAddedSinceVersion; + + /** + * Indicates that the schema has been added since version + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: integer + * + * @param idcsAddedSinceVersion the value to set + * @return this builder + */ + public Builder idcsAddedSinceVersion(Integer idcsAddedSinceVersion) { + this.idcsAddedSinceVersion = idcsAddedSinceVersion; + this.__explicitlySet__.add("idcsAddedSinceVersion"); + return this; + } + /** + * Indicates that the schema has been deprecated since this release number + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: + * true - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsDeprecatedSinceReleaseNumber") + private String idcsDeprecatedSinceReleaseNumber; + + /** + * Indicates that the schema has been deprecated since this release number + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: + * true - required: false - returned: default - type: string + * + * @param idcsDeprecatedSinceReleaseNumber the value to set + * @return this builder + */ + public Builder idcsDeprecatedSinceReleaseNumber(String idcsDeprecatedSinceReleaseNumber) { + this.idcsDeprecatedSinceReleaseNumber = idcsDeprecatedSinceReleaseNumber; + this.__explicitlySet__.add("idcsDeprecatedSinceReleaseNumber"); + return this; + } + /** + * Indicates that the schema has been added since this release number + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: + * true - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsAddedSinceReleaseNumber") + private String idcsAddedSinceReleaseNumber; + + /** + * Indicates that the schema has been added since this release number + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: + * true - required: false - returned: default - type: string + * + * @param idcsAddedSinceReleaseNumber the value to set + * @return this builder + */ + public Builder idcsAddedSinceReleaseNumber(String idcsAddedSinceReleaseNumber) { + this.idcsAddedSinceReleaseNumber = idcsAddedSinceReleaseNumber; + this.__explicitlySet__.add("idcsAddedSinceReleaseNumber"); + return this; + } + /** + * Specifies the minimum length of the attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: + * true - required: false - returned: default - type: integer + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsMinLength") + private Integer idcsMinLength; + + /** + * Specifies the minimum length of the attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: + * true - required: false - returned: default - type: integer + * + * @param idcsMinLength the value to set + * @return this builder + */ + public Builder idcsMinLength(Integer idcsMinLength) { + this.idcsMinLength = idcsMinLength; + this.__explicitlySet__.add("idcsMinLength"); + return this; + } + /** + * Specifies the maximum length of the attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: integer + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsMaxLength") + private Integer idcsMaxLength; + + /** + * Specifies the maximum length of the attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: integer + * + * @param idcsMaxLength the value to set + * @return this builder + */ + public Builder idcsMaxLength(Integer idcsMaxLength) { + this.idcsMaxLength = idcsMaxLength; + this.__explicitlySet__.add("idcsMaxLength"); + return this; + } + /** + * Specifies the minimum value of the integer attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - required: false - + * idcsSearchable: true - returned: default - type: integer + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsMinValue") + private Integer idcsMinValue; + + /** + * Specifies the minimum value of the integer attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - required: false - + * idcsSearchable: true - returned: default - type: integer + * + * @param idcsMinValue the value to set + * @return this builder + */ + public Builder idcsMinValue(Integer idcsMinValue) { + this.idcsMinValue = idcsMinValue; + this.__explicitlySet__.add("idcsMinValue"); + return this; + } + /** + * Specifies the maximum value of the integer attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - idcsSearchable: + * true - required: false - returned: default - type: integer + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsMaxValue") + private Integer idcsMaxValue; + + /** + * Specifies the maximum value of the integer attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - idcsSearchable: + * true - required: false - returned: default - type: integer + * + * @param idcsMaxValue the value to set + * @return this builder + */ + public Builder idcsMaxValue(Integer idcsMaxValue) { + this.idcsMaxValue = idcsMaxValue; + this.__explicitlySet__.add("idcsMaxValue"); + return this; + } + /** + * If true, specifies that the attribute can have multiple language values set for the + * attribute on which this is set. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * idcsSearchable: true - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsMultiLanguage") + private Boolean idcsMultiLanguage; + + /** + * If true, specifies that the attribute can have multiple language values set for the + * attribute on which this is set. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * idcsSearchable: true - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param idcsMultiLanguage the value to set + * @return this builder + */ + public Builder idcsMultiLanguage(Boolean idcsMultiLanguage) { + this.idcsMultiLanguage = idcsMultiLanguage; + this.__explicitlySet__.add("idcsMultiLanguage"); + return this; + } + /** + * Specifies the directly referenced Resources + * + *

*SCIM++ Properties:** - multiValued: true - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsRefResourceAttributes") + private java.util.List idcsRefResourceAttributes; + + /** + * Specifies the directly referenced Resources + * + *

*SCIM++ Properties:** - multiValued: true - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: string + * + * @param idcsRefResourceAttributes the value to set + * @return this builder + */ + public Builder idcsRefResourceAttributes(java.util.List idcsRefResourceAttributes) { + this.idcsRefResourceAttributes = idcsRefResourceAttributes; + this.__explicitlySet__.add("idcsRefResourceAttributes"); + return this; + } + /** + * Specifies the indirectly referenced Resources + * + *

*SCIM++ Properties:** - multiValued: true - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsIndirectRefResourceAttributes") + private java.util.List idcsIndirectRefResourceAttributes; + + /** + * Specifies the indirectly referenced Resources + * + *

*SCIM++ Properties:** - multiValued: true - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: string + * + * @param idcsIndirectRefResourceAttributes the value to set + * @return this builder + */ + public Builder idcsIndirectRefResourceAttributes( + java.util.List idcsIndirectRefResourceAttributes) { + this.idcsIndirectRefResourceAttributes = idcsIndirectRefResourceAttributes; + this.__explicitlySet__.add("idcsIndirectRefResourceAttributes"); + return this; + } + /** + * Sequence tracking ID name for the attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsAutoIncrementSeqName") + private String idcsAutoIncrementSeqName; + + /** + * Sequence tracking ID name for the attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: string + * + * @param idcsAutoIncrementSeqName the value to set + * @return this builder + */ + public Builder idcsAutoIncrementSeqName(String idcsAutoIncrementSeqName) { + this.idcsAutoIncrementSeqName = idcsAutoIncrementSeqName; + this.__explicitlySet__.add("idcsAutoIncrementSeqName"); + return this; + } + /** + * Specifies whether the value of the Resource attribute is persisted + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsValuePersisted") + private Boolean idcsValuePersisted; + + /** + * Specifies whether the value of the Resource attribute is persisted + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @param idcsValuePersisted the value to set + * @return this builder + */ + public Builder idcsValuePersisted(Boolean idcsValuePersisted) { + this.idcsValuePersisted = idcsValuePersisted; + this.__explicitlySet__.add("idcsValuePersisted"); + return this; + } + /** + * Flag to specify if the attribute should be encrypted or hashed + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsSensitive") + private IdcsSensitive idcsSensitive; + + /** + * Flag to specify if the attribute should be encrypted or hashed + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param idcsSensitive the value to set + * @return this builder + */ + public Builder idcsSensitive(IdcsSensitive idcsSensitive) { + this.idcsSensitive = idcsSensitive; + this.__explicitlySet__.add("idcsSensitive"); + return this; + } + /** + * Specifies whether the schema attribute is for internal use only. Internal attributes are + * not exposed via REST. This attribute overrides mutability for create/update if the + * request is internal and the attribute internalflag is set to True. This attribute + * overrides the return attribute while building SCIM response attributes when both the + * request is internal and the schema attribute is internal. + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsInternal") + private Boolean idcsInternal; + + /** + * Specifies whether the schema attribute is for internal use only. Internal attributes are + * not exposed via REST. This attribute overrides mutability for create/update if the + * request is internal and the attribute internalflag is set to True. This attribute + * overrides the return attribute while building SCIM response attributes when both the + * request is internal and the schema attribute is internal. + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @param idcsInternal the value to set + * @return this builder + */ + public Builder idcsInternal(Boolean idcsInternal) { + this.idcsInternal = idcsInternal; + this.__explicitlySet__.add("idcsInternal"); + return this; + } + /** + * Trims any leading and trailing blanks from String values. Default is True. + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsTrimStringValue") + private Boolean idcsTrimStringValue; + + /** + * Trims any leading and trailing blanks from String values. Default is True. + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @param idcsTrimStringValue the value to set + * @return this builder + */ + public Builder idcsTrimStringValue(Boolean idcsTrimStringValue) { + this.idcsTrimStringValue = idcsTrimStringValue; + this.__explicitlySet__.add("idcsTrimStringValue"); + return this; + } + /** + * Specifies whether this attribute can be included in a search filter + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsSearchable") + private Boolean idcsSearchable; + + /** + * Specifies whether this attribute can be included in a search filter + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @param idcsSearchable the value to set + * @return this builder + */ + public Builder idcsSearchable(Boolean idcsSearchable) { + this.idcsSearchable = idcsSearchable; + this.__explicitlySet__.add("idcsSearchable"); + return this; + } + /** + * Specifies whether this attribute value was generated + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsGenerated") + private Boolean idcsGenerated; + + /** + * Specifies whether this attribute value was generated + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @param idcsGenerated the value to set + * @return this builder + */ + public Builder idcsGenerated(Boolean idcsGenerated) { + this.idcsGenerated = idcsGenerated; + this.__explicitlySet__.add("idcsGenerated"); + return this; + } + /** + * Specifies whether changes to this attribute value are audited + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: + * true - required: false - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsAuditable") + private Boolean idcsAuditable; + + /** + * Specifies whether changes to this attribute value are audited + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: + * true - required: false - returned: default - type: boolean + * + * @param idcsAuditable the value to set + * @return this builder + */ + public Builder idcsAuditable(Boolean idcsAuditable) { + this.idcsAuditable = idcsAuditable; + this.__explicitlySet__.add("idcsAuditable"); + return this; + } + /** + * Target attribute name that this attribute gets mapped to for persistence + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsTargetAttributeName") + private String idcsTargetAttributeName; + + /** + * Target attribute name that this attribute gets mapped to for persistence + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param idcsTargetAttributeName the value to set + * @return this builder + */ + public Builder idcsTargetAttributeName(String idcsTargetAttributeName) { + this.idcsTargetAttributeName = idcsTargetAttributeName; + this.__explicitlySet__.add("idcsTargetAttributeName"); + return this; + } + /** + * Target index name created for this attribute for performance + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsTargetUniqueConstraintName") + private String idcsTargetUniqueConstraintName; + + /** + * Target index name created for this attribute for performance + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param idcsTargetUniqueConstraintName the value to set + * @return this builder + */ + public Builder idcsTargetUniqueConstraintName(String idcsTargetUniqueConstraintName) { + this.idcsTargetUniqueConstraintName = idcsTargetUniqueConstraintName; + this.__explicitlySet__.add("idcsTargetUniqueConstraintName"); + return this; + } + /** + * Target normalized attribute name that this normalized value of attribute gets mapped to + * for persistence. Only set for caseExact=false & searchable attributes. Do not use by + * default. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsTargetNormAttributeName") + private String idcsTargetNormAttributeName; + + /** + * Target normalized attribute name that this normalized value of attribute gets mapped to + * for persistence. Only set for caseExact=false & searchable attributes. Do not use by + * default. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param idcsTargetNormAttributeName the value to set + * @return this builder + */ + public Builder idcsTargetNormAttributeName(String idcsTargetNormAttributeName) { + this.idcsTargetNormAttributeName = idcsTargetNormAttributeName; + this.__explicitlySet__.add("idcsTargetNormAttributeName"); + return this; + } + /** + * Old Target attribute name from child table for CSVA attribute prior to migration. This + * maintains this attribute used to get mapped to for persistence + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsTargetAttributeNameToMigrateFrom") + private String idcsTargetAttributeNameToMigrateFrom; + + /** + * Old Target attribute name from child table for CSVA attribute prior to migration. This + * maintains this attribute used to get mapped to for persistence + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param idcsTargetAttributeNameToMigrateFrom the value to set + * @return this builder + */ + public Builder idcsTargetAttributeNameToMigrateFrom( + String idcsTargetAttributeNameToMigrateFrom) { + this.idcsTargetAttributeNameToMigrateFrom = idcsTargetAttributeNameToMigrateFrom; + this.__explicitlySet__.add("idcsTargetAttributeNameToMigrateFrom"); + return this; + } + /** + * Specifies the mapper to use when mapping this attribute value to DataProvider-specific + * semantics + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsToTargetMapper") + private String idcsToTargetMapper; + + /** + * Specifies the mapper to use when mapping this attribute value to DataProvider-specific + * semantics + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param idcsToTargetMapper the value to set + * @return this builder + */ + public Builder idcsToTargetMapper(String idcsToTargetMapper) { + this.idcsToTargetMapper = idcsToTargetMapper; + this.__explicitlySet__.add("idcsToTargetMapper"); + return this; + } + /** + * Specifies the mapper to use when mapping this attribute value from DataProvider-specific + * semantics + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsFromTargetMapper") + private String idcsFromTargetMapper; + + /** + * Specifies the mapper to use when mapping this attribute value from DataProvider-specific + * semantics + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param idcsFromTargetMapper the value to set + * @return this builder + */ + public Builder idcsFromTargetMapper(String idcsFromTargetMapper) { + this.idcsFromTargetMapper = idcsFromTargetMapper; + this.__explicitlySet__.add("idcsFromTargetMapper"); + return this; + } + /** + * Specifies the user-friendly displayable attribute name or catalog key used for + * localization + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsDisplayName") + private String idcsDisplayName; + + /** + * Specifies the user-friendly displayable attribute name or catalog key used for + * localization + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: + * none + * + * @param idcsDisplayName the value to set + * @return this builder + */ + public Builder idcsDisplayName(String idcsDisplayName) { + this.idcsDisplayName = idcsDisplayName; + this.__explicitlySet__.add("idcsDisplayName"); + return this; + } + /** + * Specifies the Resource type to read from for dynamic canonical values + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsCanonicalValueSourceResourceType") + private String idcsCanonicalValueSourceResourceType; + + /** + * Specifies the Resource type to read from for dynamic canonical values + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param idcsCanonicalValueSourceResourceType the value to set + * @return this builder + */ + public Builder idcsCanonicalValueSourceResourceType( + String idcsCanonicalValueSourceResourceType) { + this.idcsCanonicalValueSourceResourceType = idcsCanonicalValueSourceResourceType; + this.__explicitlySet__.add("idcsCanonicalValueSourceResourceType"); + return this; + } + /** + * Filter to use when getting canonical values for this schema attribute + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsCanonicalValueSourceFilter") + private String idcsCanonicalValueSourceFilter; + + /** + * Filter to use when getting canonical values for this schema attribute + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: string - + * uniqueness: none + * + * @param idcsCanonicalValueSourceFilter the value to set + * @return this builder + */ + public Builder idcsCanonicalValueSourceFilter(String idcsCanonicalValueSourceFilter) { + this.idcsCanonicalValueSourceFilter = idcsCanonicalValueSourceFilter; + this.__explicitlySet__.add("idcsCanonicalValueSourceFilter"); + return this; + } + /** + * Validate payload reference value during create, replace, and update. Default is True. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsValidateReference") + private Boolean idcsValidateReference; + + /** + * Validate payload reference value during create, replace, and update. Default is True. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readWrite - required: false - returned: default - type: boolean - + * uniqueness: none + * + * @param idcsValidateReference the value to set + * @return this builder + */ + public Builder idcsValidateReference(Boolean idcsValidateReference) { + this.idcsValidateReference = idcsValidateReference; + this.__explicitlySet__.add("idcsValidateReference"); + return this; + } + /** + * The set of one or more sub attributes' names of a CMVA, whose values uniquely identify an + * instance of a CMVA + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsCompositeKey") + private java.util.List idcsCompositeKey; + + /** + * The set of one or more sub attributes' names of a CMVA, whose values uniquely identify an + * instance of a CMVA + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: + * none + * + * @param idcsCompositeKey the value to set + * @return this builder + */ + public Builder idcsCompositeKey(java.util.List idcsCompositeKey) { + this.idcsCompositeKey = idcsCompositeKey; + this.__explicitlySet__.add("idcsCompositeKey"); + return this; + } + /** + * **SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - idcsSearchable: true - returned: default - type: boolean - uniqueness: + * none Whether the CMVA attribute will be fetched or not for current resource in + * AbstractResourceManager update operation before calling data provider update. Default is + * true. + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsFetchComplexAttributeValues") + private Boolean idcsFetchComplexAttributeValues; + + /** + * **SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - idcsSearchable: true - returned: default - type: boolean - uniqueness: + * none Whether the CMVA attribute will be fetched or not for current resource in + * AbstractResourceManager update operation before calling data provider update. Default is + * true. + * + * @param idcsFetchComplexAttributeValues the value to set + * @return this builder + */ + public Builder idcsFetchComplexAttributeValues(Boolean idcsFetchComplexAttributeValues) { + this.idcsFetchComplexAttributeValues = idcsFetchComplexAttributeValues; + this.__explicitlySet__.add("idcsFetchComplexAttributeValues"); + return this; + } + /** + * Indicates if the attribute is scim compliant, default is true + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - idcsSearchable: + * true - required: false - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsScimCompliant") + private Boolean idcsScimCompliant; + + /** + * Indicates if the attribute is scim compliant, default is true + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - idcsSearchable: + * true - required: false - returned: default - type: boolean + * + * @param idcsScimCompliant the value to set + * @return this builder + */ + public Builder idcsScimCompliant(Boolean idcsScimCompliant) { + this.idcsScimCompliant = idcsScimCompliant; + this.__explicitlySet__.add("idcsScimCompliant"); + return this; + } + /** + * Specifies if the attribute can be used for mapping with external identity sources such as + * AD or LDAP. If isSchemaMappable: false for the schema in which this attribute is defined, + * then this flag is ignored + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsAttributeMappable") + private Boolean idcsAttributeMappable; + + /** + * Specifies if the attribute can be used for mapping with external identity sources such as + * AD or LDAP. If isSchemaMappable: false for the schema in which this attribute is defined, + * then this flag is ignored + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @param idcsAttributeMappable the value to set + * @return this builder + */ + public Builder idcsAttributeMappable(Boolean idcsAttributeMappable) { + this.idcsAttributeMappable = idcsAttributeMappable; + this.__explicitlySet__.add("idcsAttributeMappable"); + return this; + } + /** + * Specifies the referenced Resource attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: + * true - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsRefResourceAttribute") + private String idcsRefResourceAttribute; + + /** + * Specifies the referenced Resource attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: + * true - required: false - returned: default - type: string + * + * @param idcsRefResourceAttribute the value to set + * @return this builder + */ + public Builder idcsRefResourceAttribute(String idcsRefResourceAttribute) { + this.idcsRefResourceAttribute = idcsRefResourceAttribute; + this.__explicitlySet__.add("idcsRefResourceAttribute"); + return this; + } + /** + * Specifies whether the attribute is cacheable. True by default for all attributes. If + * attribute with idcsAttributeCachable = false, is present \\"attributesToGet\\" while + * executing GET/SEARCH on cacheable resource, Cache is missed and data is fetched from Data + * Provider. + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: + * true - required: false - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsAttributeCacheable") + private Boolean idcsAttributeCacheable; + + /** + * Specifies whether the attribute is cacheable. True by default for all attributes. If + * attribute with idcsAttributeCachable = false, is present \\"attributesToGet\\" while + * executing GET/SEARCH on cacheable resource, Cache is missed and data is fetched from Data + * Provider. + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: + * true - required: false - returned: default - type: boolean + * + * @param idcsAttributeCacheable the value to set + * @return this builder + */ + public Builder idcsAttributeCacheable(Boolean idcsAttributeCacheable) { + this.idcsAttributeCacheable = idcsAttributeCacheable; + this.__explicitlySet__.add("idcsAttributeCacheable"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ResourceTypeSchemaAttribute build() { + ResourceTypeSchemaAttribute model = + new ResourceTypeSchemaAttribute( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.name, + this.idcsDisplayNameMessageId, + this.resourceType, + this.idcsSchemaUrn, + this.idcsFullyQualifiedName, + this.idcsCustomAttribute, + this.type, + this.multiValued, + this.description, + this.required, + this.canonicalValues, + this.caseExact, + this.mutability, + this.endUserMutability, + this.endUserMutabilityAllowedValues, + this.returned, + this.uniqueness, + this.idcsCsvColumnHeaderName, + this.idcsICFBundleAttributeName, + this.idcsICFRequired, + this.idcsICFAttributeType, + this.referenceTypes, + this.idcsDeprecatedSinceVersion, + this.idcsAddedSinceVersion, + this.idcsDeprecatedSinceReleaseNumber, + this.idcsAddedSinceReleaseNumber, + this.idcsMinLength, + this.idcsMaxLength, + this.idcsMinValue, + this.idcsMaxValue, + this.idcsMultiLanguage, + this.idcsRefResourceAttributes, + this.idcsIndirectRefResourceAttributes, + this.idcsAutoIncrementSeqName, + this.idcsValuePersisted, + this.idcsSensitive, + this.idcsInternal, + this.idcsTrimStringValue, + this.idcsSearchable, + this.idcsGenerated, + this.idcsAuditable, + this.idcsTargetAttributeName, + this.idcsTargetUniqueConstraintName, + this.idcsTargetNormAttributeName, + this.idcsTargetAttributeNameToMigrateFrom, + this.idcsToTargetMapper, + this.idcsFromTargetMapper, + this.idcsDisplayName, + this.idcsCanonicalValueSourceResourceType, + this.idcsCanonicalValueSourceFilter, + this.idcsValidateReference, + this.idcsCompositeKey, + this.idcsFetchComplexAttributeValues, + this.idcsScimCompliant, + this.idcsAttributeMappable, + this.idcsRefResourceAttribute, + this.idcsAttributeCacheable); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ResourceTypeSchemaAttribute model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("idcsDisplayNameMessageId")) { + this.idcsDisplayNameMessageId(model.getIdcsDisplayNameMessageId()); + } + if (model.wasPropertyExplicitlySet("resourceType")) { + this.resourceType(model.getResourceType()); + } + if (model.wasPropertyExplicitlySet("idcsSchemaUrn")) { + this.idcsSchemaUrn(model.getIdcsSchemaUrn()); + } + if (model.wasPropertyExplicitlySet("idcsFullyQualifiedName")) { + this.idcsFullyQualifiedName(model.getIdcsFullyQualifiedName()); + } + if (model.wasPropertyExplicitlySet("idcsCustomAttribute")) { + this.idcsCustomAttribute(model.getIdcsCustomAttribute()); + } + if (model.wasPropertyExplicitlySet("type")) { + this.type(model.getType()); + } + if (model.wasPropertyExplicitlySet("multiValued")) { + this.multiValued(model.getMultiValued()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("required")) { + this.required(model.getRequired()); + } + if (model.wasPropertyExplicitlySet("canonicalValues")) { + this.canonicalValues(model.getCanonicalValues()); + } + if (model.wasPropertyExplicitlySet("caseExact")) { + this.caseExact(model.getCaseExact()); + } + if (model.wasPropertyExplicitlySet("mutability")) { + this.mutability(model.getMutability()); + } + if (model.wasPropertyExplicitlySet("endUserMutability")) { + this.endUserMutability(model.getEndUserMutability()); + } + if (model.wasPropertyExplicitlySet("endUserMutabilityAllowedValues")) { + this.endUserMutabilityAllowedValues(model.getEndUserMutabilityAllowedValues()); + } + if (model.wasPropertyExplicitlySet("returned")) { + this.returned(model.getReturned()); + } + if (model.wasPropertyExplicitlySet("uniqueness")) { + this.uniqueness(model.getUniqueness()); + } + if (model.wasPropertyExplicitlySet("idcsCsvColumnHeaderName")) { + this.idcsCsvColumnHeaderName(model.getIdcsCsvColumnHeaderName()); + } + if (model.wasPropertyExplicitlySet("idcsICFBundleAttributeName")) { + this.idcsICFBundleAttributeName(model.getIdcsICFBundleAttributeName()); + } + if (model.wasPropertyExplicitlySet("idcsICFRequired")) { + this.idcsICFRequired(model.getIdcsICFRequired()); + } + if (model.wasPropertyExplicitlySet("idcsICFAttributeType")) { + this.idcsICFAttributeType(model.getIdcsICFAttributeType()); + } + if (model.wasPropertyExplicitlySet("referenceTypes")) { + this.referenceTypes(model.getReferenceTypes()); + } + if (model.wasPropertyExplicitlySet("idcsDeprecatedSinceVersion")) { + this.idcsDeprecatedSinceVersion(model.getIdcsDeprecatedSinceVersion()); + } + if (model.wasPropertyExplicitlySet("idcsAddedSinceVersion")) { + this.idcsAddedSinceVersion(model.getIdcsAddedSinceVersion()); + } + if (model.wasPropertyExplicitlySet("idcsDeprecatedSinceReleaseNumber")) { + this.idcsDeprecatedSinceReleaseNumber(model.getIdcsDeprecatedSinceReleaseNumber()); + } + if (model.wasPropertyExplicitlySet("idcsAddedSinceReleaseNumber")) { + this.idcsAddedSinceReleaseNumber(model.getIdcsAddedSinceReleaseNumber()); + } + if (model.wasPropertyExplicitlySet("idcsMinLength")) { + this.idcsMinLength(model.getIdcsMinLength()); + } + if (model.wasPropertyExplicitlySet("idcsMaxLength")) { + this.idcsMaxLength(model.getIdcsMaxLength()); + } + if (model.wasPropertyExplicitlySet("idcsMinValue")) { + this.idcsMinValue(model.getIdcsMinValue()); + } + if (model.wasPropertyExplicitlySet("idcsMaxValue")) { + this.idcsMaxValue(model.getIdcsMaxValue()); + } + if (model.wasPropertyExplicitlySet("idcsMultiLanguage")) { + this.idcsMultiLanguage(model.getIdcsMultiLanguage()); + } + if (model.wasPropertyExplicitlySet("idcsRefResourceAttributes")) { + this.idcsRefResourceAttributes(model.getIdcsRefResourceAttributes()); + } + if (model.wasPropertyExplicitlySet("idcsIndirectRefResourceAttributes")) { + this.idcsIndirectRefResourceAttributes( + model.getIdcsIndirectRefResourceAttributes()); + } + if (model.wasPropertyExplicitlySet("idcsAutoIncrementSeqName")) { + this.idcsAutoIncrementSeqName(model.getIdcsAutoIncrementSeqName()); + } + if (model.wasPropertyExplicitlySet("idcsValuePersisted")) { + this.idcsValuePersisted(model.getIdcsValuePersisted()); + } + if (model.wasPropertyExplicitlySet("idcsSensitive")) { + this.idcsSensitive(model.getIdcsSensitive()); + } + if (model.wasPropertyExplicitlySet("idcsInternal")) { + this.idcsInternal(model.getIdcsInternal()); + } + if (model.wasPropertyExplicitlySet("idcsTrimStringValue")) { + this.idcsTrimStringValue(model.getIdcsTrimStringValue()); + } + if (model.wasPropertyExplicitlySet("idcsSearchable")) { + this.idcsSearchable(model.getIdcsSearchable()); + } + if (model.wasPropertyExplicitlySet("idcsGenerated")) { + this.idcsGenerated(model.getIdcsGenerated()); + } + if (model.wasPropertyExplicitlySet("idcsAuditable")) { + this.idcsAuditable(model.getIdcsAuditable()); + } + if (model.wasPropertyExplicitlySet("idcsTargetAttributeName")) { + this.idcsTargetAttributeName(model.getIdcsTargetAttributeName()); + } + if (model.wasPropertyExplicitlySet("idcsTargetUniqueConstraintName")) { + this.idcsTargetUniqueConstraintName(model.getIdcsTargetUniqueConstraintName()); + } + if (model.wasPropertyExplicitlySet("idcsTargetNormAttributeName")) { + this.idcsTargetNormAttributeName(model.getIdcsTargetNormAttributeName()); + } + if (model.wasPropertyExplicitlySet("idcsTargetAttributeNameToMigrateFrom")) { + this.idcsTargetAttributeNameToMigrateFrom( + model.getIdcsTargetAttributeNameToMigrateFrom()); + } + if (model.wasPropertyExplicitlySet("idcsToTargetMapper")) { + this.idcsToTargetMapper(model.getIdcsToTargetMapper()); + } + if (model.wasPropertyExplicitlySet("idcsFromTargetMapper")) { + this.idcsFromTargetMapper(model.getIdcsFromTargetMapper()); + } + if (model.wasPropertyExplicitlySet("idcsDisplayName")) { + this.idcsDisplayName(model.getIdcsDisplayName()); + } + if (model.wasPropertyExplicitlySet("idcsCanonicalValueSourceResourceType")) { + this.idcsCanonicalValueSourceResourceType( + model.getIdcsCanonicalValueSourceResourceType()); + } + if (model.wasPropertyExplicitlySet("idcsCanonicalValueSourceFilter")) { + this.idcsCanonicalValueSourceFilter(model.getIdcsCanonicalValueSourceFilter()); + } + if (model.wasPropertyExplicitlySet("idcsValidateReference")) { + this.idcsValidateReference(model.getIdcsValidateReference()); + } + if (model.wasPropertyExplicitlySet("idcsCompositeKey")) { + this.idcsCompositeKey(model.getIdcsCompositeKey()); + } + if (model.wasPropertyExplicitlySet("idcsFetchComplexAttributeValues")) { + this.idcsFetchComplexAttributeValues(model.getIdcsFetchComplexAttributeValues()); + } + if (model.wasPropertyExplicitlySet("idcsScimCompliant")) { + this.idcsScimCompliant(model.getIdcsScimCompliant()); + } + if (model.wasPropertyExplicitlySet("idcsAttributeMappable")) { + this.idcsAttributeMappable(model.getIdcsAttributeMappable()); + } + if (model.wasPropertyExplicitlySet("idcsRefResourceAttribute")) { + this.idcsRefResourceAttribute(model.getIdcsRefResourceAttribute()); + } + if (model.wasPropertyExplicitlySet("idcsAttributeCacheable")) { + this.idcsAttributeCacheable(model.getIdcsAttributeCacheable()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * Attribute's name + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Attribute's name + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * Localized schema attribute display name for use by UI client for displaying attribute labels + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsDisplayNameMessageId") + private final String idcsDisplayNameMessageId; + + /** + * Localized schema attribute display name for use by UI client for displaying attribute labels + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsDisplayNameMessageId() { + return idcsDisplayNameMessageId; + } + + /** + * ResourceType this attribute belongs to. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - idcsSearchable: true - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("resourceType") + private final String resourceType; + + /** + * ResourceType this attribute belongs to. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - idcsSearchable: true - uniqueness: none + * + * @return the value + */ + public String getResourceType() { + return resourceType; + } + + /** + * Schema URN string that this attribute belongs to + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - idcsSearchable: true - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsSchemaUrn") + private final String idcsSchemaUrn; + + /** + * Schema URN string that this attribute belongs to + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - idcsSearchable: true - uniqueness: none + * + * @return the value + */ + public String getIdcsSchemaUrn() { + return idcsSchemaUrn; + } + + /** + * Fully qualified name of this attribute + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - idcsSearchable: true - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsFullyQualifiedName") + private final String idcsFullyQualifiedName; + + /** + * Fully qualified name of this attribute + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: string - idcsSearchable: true - uniqueness: none + * + * @return the value + */ + public String getIdcsFullyQualifiedName() { + return idcsFullyQualifiedName; + } + + /** + * custom attribute flag. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - idcsSearchable: true - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsCustomAttribute") + private final Boolean idcsCustomAttribute; + + /** + * custom attribute flag. + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - returned: default - type: boolean - idcsSearchable: true - uniqueness: none + * + * @return the value + */ + public Boolean getIdcsCustomAttribute() { + return idcsCustomAttribute; + } + + /** + * The attribute's data type--for example, String + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + String("string"), + Complex("complex"), + Boolean("boolean"), + Decimal("decimal"), + Integer("integer"), + DateTime("dateTime"), + Reference("reference"), + Binary("binary"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; + /** + * The attribute's data type--for example, String + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * The attribute's data type--for example, String + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public Type getType() { + return type; + } + + /** + * Indicates the attribute's plurality + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("multiValued") + private final Boolean multiValued; + + /** + * Indicates the attribute's plurality + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @return the value + */ + public Boolean getMultiValued() { + return multiValued; + } + + /** + * The attribute's human-readable description + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * The attribute's human-readable description + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** + * Specifies if the attribute is required + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("required") + private final Boolean required; + + /** + * Specifies if the attribute is required + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @return the value + */ + public Boolean getRequired() { + return required; + } + + /** + * A collection of canonical values. Applicable Service Providers MUST specify the canonical + * types specified in the core schema specification--for example, \\"work\\", \\"home\\". + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("canonicalValues") + private final java.util.List canonicalValues; + + /** + * A collection of canonical values. Applicable Service Providers MUST specify the canonical + * types specified in the core schema specification--for example, \\"work\\", \\"home\\". + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getCanonicalValues() { + return canonicalValues; + } + + /** + * Specifies if the String attribute is case-sensitive + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("caseExact") + private final Boolean caseExact; + + /** + * Specifies if the String attribute is case-sensitive + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @return the value + */ + public Boolean getCaseExact() { + return caseExact; + } + + /** + * Specifies if the attribute is mutable + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + */ + public enum Mutability implements com.oracle.bmc.http.internal.BmcEnum { + ReadOnly("readOnly"), + ReadWrite("readWrite"), + Immutable("immutable"), + WriteOnly("writeOnly"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(Mutability.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Mutability v : Mutability.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Mutability(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Mutability create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Mutability', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Specifies if the attribute is mutable + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("mutability") + private final Mutability mutability; + + /** + * Specifies if the attribute is mutable + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + * + * @return the value + */ + public Mutability getMutability() { + return mutability; + } + + /** + * Specifies User mutability for this attribute + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + */ + public enum EndUserMutability implements com.oracle.bmc.http.internal.BmcEnum { + ReadOnly("readOnly"), + ReadWrite("readWrite"), + Immutable("immutable"), + Hidden("hidden"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(EndUserMutability.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (EndUserMutability v : EndUserMutability.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + EndUserMutability(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static EndUserMutability create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'EndUserMutability', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Specifies User mutability for this attribute + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("endUserMutability") + private final EndUserMutability endUserMutability; + + /** + * Specifies User mutability for this attribute + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public EndUserMutability getEndUserMutability() { + return endUserMutability; + } + + /** */ + public enum EndUserMutabilityAllowedValues implements com.oracle.bmc.http.internal.BmcEnum { + ReadOnly("readOnly"), + ReadWrite("readWrite"), + Immutable("immutable"), + Hidden("hidden"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(EndUserMutabilityAllowedValues.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (EndUserMutabilityAllowedValues v : EndUserMutabilityAllowedValues.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + EndUserMutabilityAllowedValues(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static EndUserMutabilityAllowedValues create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'EndUserMutabilityAllowedValues', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Specifies the list of User mutabilities allowed + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("endUserMutabilityAllowedValues") + private final java.util.List endUserMutabilityAllowedValues; + + /** + * Specifies the list of User mutabilities allowed + * + *

*Added In:** 18.2.6 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readOnly - + * required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getEndUserMutabilityAllowedValues() { + return endUserMutabilityAllowedValues; + } + + /** + * A single keyword that indicates when an attribute and associated values are returned in + * response to a GET request or in response to a PUT, POST, or PATCH request + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + */ + public enum Returned implements com.oracle.bmc.http.internal.BmcEnum { + Always("always"), + Never("never"), + Default("default"), + Request("request"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(Returned.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Returned v : Returned.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Returned(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Returned create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Returned', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * A single keyword that indicates when an attribute and associated values are returned in + * response to a GET request or in response to a PUT, POST, or PATCH request + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("returned") + private final Returned returned; + + /** + * A single keyword that indicates when an attribute and associated values are returned in + * response to a GET request or in response to a PUT, POST, or PATCH request + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + * + * @return the value + */ + public Returned getReturned() { + return returned; + } + + /** + * A single keyword value that specifies how the Service Provider enforces uniqueness of + * attribute values. A server MAY reject an invalid value based on uniqueness by returning an + * HTTP response code of 400 (Bad Request). A client MAY enforce uniqueness on the client side + * to a greater degree than the Service Provider enforces. For example, a client could make a + * value unique while the server has the uniqueness of \\"none\\". + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - required: false - returned: + * default - idcsSearchable: true - type: string - uniqueness: none + */ + public enum Uniqueness implements com.oracle.bmc.http.internal.BmcEnum { + None("none"), + Server("server"), + Global("global"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(Uniqueness.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Uniqueness v : Uniqueness.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Uniqueness(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Uniqueness create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Uniqueness', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * A single keyword value that specifies how the Service Provider enforces uniqueness of + * attribute values. A server MAY reject an invalid value based on uniqueness by returning an + * HTTP response code of 400 (Bad Request). A client MAY enforce uniqueness on the client side + * to a greater degree than the Service Provider enforces. For example, a client could make a + * value unique while the server has the uniqueness of \\"none\\". + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - required: false - returned: + * default - idcsSearchable: true - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("uniqueness") + private final Uniqueness uniqueness; + + /** + * A single keyword value that specifies how the Service Provider enforces uniqueness of + * attribute values. A server MAY reject an invalid value based on uniqueness by returning an + * HTTP response code of 400 (Bad Request). A client MAY enforce uniqueness on the client side + * to a greater degree than the Service Provider enforces. For example, a client could make a + * value unique while the server has the uniqueness of \\"none\\". + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - required: false - returned: + * default - idcsSearchable: true - type: string - uniqueness: none + * + * @return the value + */ + public Uniqueness getUniqueness() { + return uniqueness; + } + + /** + * The attribute defining the CSV column header name for import/export + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsCsvColumnHeaderName") + private final String idcsCsvColumnHeaderName; + + /** + * The attribute defining the CSV column header name for import/export + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsCsvColumnHeaderName() { + return idcsCsvColumnHeaderName; + } + + /** + * Maps to ICF target attribute name + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsICFBundleAttributeName") + private final String idcsICFBundleAttributeName; + + /** + * Maps to ICF target attribute name + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsICFBundleAttributeName() { + return idcsICFBundleAttributeName; + } + + /** + * Metadata to identify the ICF required attribute + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsICFRequired") + private final Boolean idcsICFRequired; + + /** + * Metadata to identify the ICF required attribute + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIdcsICFRequired() { + return idcsICFRequired; + } + + /** + * Maps to ICF data type + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * idcsSearchable: true - required: false - returned: default - type: string - uniqueness: none + */ + public enum IdcsICFAttributeType implements com.oracle.bmc.http.internal.BmcEnum { + String("string"), + Long("long"), + Char("char"), + Double("double"), + Float("float"), + Integer("integer"), + Boolean("boolean"), + Bytes("bytes"), + Bigdecimal("bigdecimal"), + Biginteger("biginteger"), + Guardedbytes("guardedbytes"), + Guardedstring("guardedstring"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(IdcsICFAttributeType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (IdcsICFAttributeType v : IdcsICFAttributeType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + IdcsICFAttributeType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static IdcsICFAttributeType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'IdcsICFAttributeType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Maps to ICF data type + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * idcsSearchable: true - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsICFAttributeType") + private final IdcsICFAttributeType idcsICFAttributeType; + + /** + * Maps to ICF data type + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * idcsSearchable: true - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public IdcsICFAttributeType getIdcsICFAttributeType() { + return idcsICFAttributeType; + } + + /** + * The names of the Resource types that may be referenced--for example, User. This is only + * applicable for attributes that are of the \\"reference\\" data type. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("referenceTypes") + private final java.util.List referenceTypes; + + /** + * The names of the Resource types that may be referenced--for example, User. This is only + * applicable for attributes that are of the \\"reference\\" data type. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getReferenceTypes() { + return referenceTypes; + } + + /** + * Indicates that the schema has been deprecated since version + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: integer + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsDeprecatedSinceVersion") + private final Integer idcsDeprecatedSinceVersion; + + /** + * Indicates that the schema has been deprecated since version + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: integer + * + * @return the value + */ + public Integer getIdcsDeprecatedSinceVersion() { + return idcsDeprecatedSinceVersion; + } + + /** + * Indicates that the schema has been added since version + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: integer + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsAddedSinceVersion") + private final Integer idcsAddedSinceVersion; + + /** + * Indicates that the schema has been added since version + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: integer + * + * @return the value + */ + public Integer getIdcsAddedSinceVersion() { + return idcsAddedSinceVersion; + } + + /** + * Indicates that the schema has been deprecated since this release number + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: true + * - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsDeprecatedSinceReleaseNumber") + private final String idcsDeprecatedSinceReleaseNumber; + + /** + * Indicates that the schema has been deprecated since this release number + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: true + * - required: false - returned: default - type: string + * + * @return the value + */ + public String getIdcsDeprecatedSinceReleaseNumber() { + return idcsDeprecatedSinceReleaseNumber; + } + + /** + * Indicates that the schema has been added since this release number + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: true + * - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsAddedSinceReleaseNumber") + private final String idcsAddedSinceReleaseNumber; + + /** + * Indicates that the schema has been added since this release number + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: true + * - required: false - returned: default - type: string + * + * @return the value + */ + public String getIdcsAddedSinceReleaseNumber() { + return idcsAddedSinceReleaseNumber; + } + + /** + * Specifies the minimum length of the attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: true + * - required: false - returned: default - type: integer + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsMinLength") + private final Integer idcsMinLength; + + /** + * Specifies the minimum length of the attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: true + * - required: false - returned: default - type: integer + * + * @return the value + */ + public Integer getIdcsMinLength() { + return idcsMinLength; + } + + /** + * Specifies the maximum length of the attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: integer + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsMaxLength") + private final Integer idcsMaxLength; + + /** + * Specifies the maximum length of the attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: integer + * + * @return the value + */ + public Integer getIdcsMaxLength() { + return idcsMaxLength; + } + + /** + * Specifies the minimum value of the integer attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - required: false - + * idcsSearchable: true - returned: default - type: integer + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsMinValue") + private final Integer idcsMinValue; + + /** + * Specifies the minimum value of the integer attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - required: false - + * idcsSearchable: true - returned: default - type: integer + * + * @return the value + */ + public Integer getIdcsMinValue() { + return idcsMinValue; + } + + /** + * Specifies the maximum value of the integer attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - idcsSearchable: true - + * required: false - returned: default - type: integer + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsMaxValue") + private final Integer idcsMaxValue; + + /** + * Specifies the maximum value of the integer attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - idcsSearchable: true - + * required: false - returned: default - type: integer + * + * @return the value + */ + public Integer getIdcsMaxValue() { + return idcsMaxValue; + } + + /** + * If true, specifies that the attribute can have multiple language values set for the attribute + * on which this is set. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * idcsSearchable: true - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsMultiLanguage") + private final Boolean idcsMultiLanguage; + + /** + * If true, specifies that the attribute can have multiple language values set for the attribute + * on which this is set. + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * idcsSearchable: true - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getIdcsMultiLanguage() { + return idcsMultiLanguage; + } + + /** + * Specifies the directly referenced Resources + * + *

*SCIM++ Properties:** - multiValued: true - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsRefResourceAttributes") + private final java.util.List idcsRefResourceAttributes; + + /** + * Specifies the directly referenced Resources + * + *

*SCIM++ Properties:** - multiValued: true - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: string + * + * @return the value + */ + public java.util.List getIdcsRefResourceAttributes() { + return idcsRefResourceAttributes; + } + + /** + * Specifies the indirectly referenced Resources + * + *

*SCIM++ Properties:** - multiValued: true - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsIndirectRefResourceAttributes") + private final java.util.List idcsIndirectRefResourceAttributes; + + /** + * Specifies the indirectly referenced Resources + * + *

*SCIM++ Properties:** - multiValued: true - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: string + * + * @return the value + */ + public java.util.List getIdcsIndirectRefResourceAttributes() { + return idcsIndirectRefResourceAttributes; + } + + /** + * Sequence tracking ID name for the attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsAutoIncrementSeqName") + private final String idcsAutoIncrementSeqName; + + /** + * Sequence tracking ID name for the attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: string + * + * @return the value + */ + public String getIdcsAutoIncrementSeqName() { + return idcsAutoIncrementSeqName; + } + + /** + * Specifies whether the value of the Resource attribute is persisted + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsValuePersisted") + private final Boolean idcsValuePersisted; + + /** + * Specifies whether the value of the Resource attribute is persisted + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @return the value + */ + public Boolean getIdcsValuePersisted() { + return idcsValuePersisted; + } + + /** + * Flag to specify if the attribute should be encrypted or hashed + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + public enum IdcsSensitive implements com.oracle.bmc.http.internal.BmcEnum { + Encrypt("encrypt"), + Hash("hash"), + HashSc("hash_sc"), + Checksum("checksum"), + None("none"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(IdcsSensitive.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (IdcsSensitive v : IdcsSensitive.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + IdcsSensitive(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static IdcsSensitive create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'IdcsSensitive', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Flag to specify if the attribute should be encrypted or hashed + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsSensitive") + private final IdcsSensitive idcsSensitive; + + /** + * Flag to specify if the attribute should be encrypted or hashed + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public IdcsSensitive getIdcsSensitive() { + return idcsSensitive; + } + + /** + * Specifies whether the schema attribute is for internal use only. Internal attributes are not + * exposed via REST. This attribute overrides mutability for create/update if the request is + * internal and the attribute internalflag is set to True. This attribute overrides the return + * attribute while building SCIM response attributes when both the request is internal and the + * schema attribute is internal. + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsInternal") + private final Boolean idcsInternal; + + /** + * Specifies whether the schema attribute is for internal use only. Internal attributes are not + * exposed via REST. This attribute overrides mutability for create/update if the request is + * internal and the attribute internalflag is set to True. This attribute overrides the return + * attribute while building SCIM response attributes when both the request is internal and the + * schema attribute is internal. + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @return the value + */ + public Boolean getIdcsInternal() { + return idcsInternal; + } + + /** + * Trims any leading and trailing blanks from String values. Default is True. + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsTrimStringValue") + private final Boolean idcsTrimStringValue; + + /** + * Trims any leading and trailing blanks from String values. Default is True. + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @return the value + */ + public Boolean getIdcsTrimStringValue() { + return idcsTrimStringValue; + } + + /** + * Specifies whether this attribute can be included in a search filter + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsSearchable") + private final Boolean idcsSearchable; + + /** + * Specifies whether this attribute can be included in a search filter + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @return the value + */ + public Boolean getIdcsSearchable() { + return idcsSearchable; + } + + /** + * Specifies whether this attribute value was generated + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsGenerated") + private final Boolean idcsGenerated; + + /** + * Specifies whether this attribute value was generated + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @return the value + */ + public Boolean getIdcsGenerated() { + return idcsGenerated; + } + + /** + * Specifies whether changes to this attribute value are audited + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: true + * - required: false - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsAuditable") + private final Boolean idcsAuditable; + + /** + * Specifies whether changes to this attribute value are audited + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: true + * - required: false - returned: default - type: boolean + * + * @return the value + */ + public Boolean getIdcsAuditable() { + return idcsAuditable; + } + + /** + * Target attribute name that this attribute gets mapped to for persistence + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsTargetAttributeName") + private final String idcsTargetAttributeName; + + /** + * Target attribute name that this attribute gets mapped to for persistence + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsTargetAttributeName() { + return idcsTargetAttributeName; + } + + /** + * Target index name created for this attribute for performance + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsTargetUniqueConstraintName") + private final String idcsTargetUniqueConstraintName; + + /** + * Target index name created for this attribute for performance + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsTargetUniqueConstraintName() { + return idcsTargetUniqueConstraintName; + } + + /** + * Target normalized attribute name that this normalized value of attribute gets mapped to for + * persistence. Only set for caseExact=false & searchable attributes. Do not use by default. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsTargetNormAttributeName") + private final String idcsTargetNormAttributeName; + + /** + * Target normalized attribute name that this normalized value of attribute gets mapped to for + * persistence. Only set for caseExact=false & searchable attributes. Do not use by default. + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readOnly - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsTargetNormAttributeName() { + return idcsTargetNormAttributeName; + } + + /** + * Old Target attribute name from child table for CSVA attribute prior to migration. This + * maintains this attribute used to get mapped to for persistence + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsTargetAttributeNameToMigrateFrom") + private final String idcsTargetAttributeNameToMigrateFrom; + + /** + * Old Target attribute name from child table for CSVA attribute prior to migration. This + * maintains this attribute used to get mapped to for persistence + * + *

*Added In:** 19.1.4 + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsTargetAttributeNameToMigrateFrom() { + return idcsTargetAttributeNameToMigrateFrom; + } + + /** + * Specifies the mapper to use when mapping this attribute value to DataProvider-specific + * semantics + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsToTargetMapper") + private final String idcsToTargetMapper; + + /** + * Specifies the mapper to use when mapping this attribute value to DataProvider-specific + * semantics + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsToTargetMapper() { + return idcsToTargetMapper; + } + + /** + * Specifies the mapper to use when mapping this attribute value from DataProvider-specific + * semantics + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsFromTargetMapper") + private final String idcsFromTargetMapper; + + /** + * Specifies the mapper to use when mapping this attribute value from DataProvider-specific + * semantics + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsFromTargetMapper() { + return idcsFromTargetMapper; + } + + /** + * Specifies the user-friendly displayable attribute name or catalog key used for localization + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsDisplayName") + private final String idcsDisplayName; + + /** + * Specifies the user-friendly displayable attribute name or catalog key used for localization + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - returned: default - idcsSearchable: true - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsDisplayName() { + return idcsDisplayName; + } + + /** + * Specifies the Resource type to read from for dynamic canonical values + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsCanonicalValueSourceResourceType") + private final String idcsCanonicalValueSourceResourceType; + + /** + * Specifies the Resource type to read from for dynamic canonical values + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: false - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsCanonicalValueSourceResourceType() { + return idcsCanonicalValueSourceResourceType; + } + + /** + * Filter to use when getting canonical values for this schema attribute + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsCanonicalValueSourceFilter") + private final String idcsCanonicalValueSourceFilter; + + /** + * Filter to use when getting canonical values for this schema attribute + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsCanonicalValueSourceFilter() { + return idcsCanonicalValueSourceFilter; + } + + /** + * Validate payload reference value during create, replace, and update. Default is True. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsValidateReference") + private final Boolean idcsValidateReference; + + /** + * Validate payload reference value during create, replace, and update. Default is True. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @return the value + */ + public Boolean getIdcsValidateReference() { + return idcsValidateReference; + } + + /** + * The set of one or more sub attributes' names of a CMVA, whose values uniquely identify an + * instance of a CMVA + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsCompositeKey") + private final java.util.List idcsCompositeKey; + + /** + * The set of one or more sub attributes' names of a CMVA, whose values uniquely identify an + * instance of a CMVA + * + *

*SCIM++ Properties:** - caseExact: true - multiValued: true - mutability: readWrite - + * required: false - idcsSearchable: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsCompositeKey() { + return idcsCompositeKey; + } + + /** + * **SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - idcsSearchable: true - returned: default - type: boolean - uniqueness: none + * Whether the CMVA attribute will be fetched or not for current resource in + * AbstractResourceManager update operation before calling data provider update. Default is + * true. + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsFetchComplexAttributeValues") + private final Boolean idcsFetchComplexAttributeValues; + + /** + * **SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - + * required: false - idcsSearchable: true - returned: default - type: boolean - uniqueness: none + * Whether the CMVA attribute will be fetched or not for current resource in + * AbstractResourceManager update operation before calling data provider update. Default is + * true. + * + * @return the value + */ + public Boolean getIdcsFetchComplexAttributeValues() { + return idcsFetchComplexAttributeValues; + } + + /** + * Indicates if the attribute is scim compliant, default is true + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - idcsSearchable: true - + * required: false - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsScimCompliant") + private final Boolean idcsScimCompliant; + + /** + * Indicates if the attribute is scim compliant, default is true + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - idcsSearchable: true - + * required: false - returned: default - type: boolean + * + * @return the value + */ + public Boolean getIdcsScimCompliant() { + return idcsScimCompliant; + } + + /** + * Specifies if the attribute can be used for mapping with external identity sources such as AD + * or LDAP. If isSchemaMappable: false for the schema in which this attribute is defined, then + * this flag is ignored + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - required: false - + * idcsSearchable: true - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsAttributeMappable") + private final Boolean idcsAttributeMappable; + + /** + * Specifies if the attribute can be used for mapping with external identity sources such as AD + * or LDAP. If isSchemaMappable: false for the schema in which this attribute is defined, then + * this flag is ignored + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readOnly - required: false - + * idcsSearchable: true - returned: default - type: boolean + * + * @return the value + */ + public Boolean getIdcsAttributeMappable() { + return idcsAttributeMappable; + } + + /** + * Specifies the referenced Resource attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: true + * - required: false - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsRefResourceAttribute") + private final String idcsRefResourceAttribute; + + /** + * Specifies the referenced Resource attribute + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: true + * - required: false - returned: default - type: string + * + * @return the value + */ + public String getIdcsRefResourceAttribute() { + return idcsRefResourceAttribute; + } + + /** + * Specifies whether the attribute is cacheable. True by default for all attributes. If + * attribute with idcsAttributeCachable = false, is present \\"attributesToGet\\" while + * executing GET/SEARCH on cacheable resource, Cache is missed and data is fetched from Data + * Provider. + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: true + * - required: false - returned: default - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsAttributeCacheable") + private final Boolean idcsAttributeCacheable; + + /** + * Specifies whether the attribute is cacheable. True by default for all attributes. If + * attribute with idcsAttributeCachable = false, is present \\"attributesToGet\\" while + * executing GET/SEARCH on cacheable resource, Cache is missed and data is fetched from Data + * Provider. + * + *

*Added In:** 17.3.4 + * + *

*SCIM++ Properties:** - multiValued: false - mutability: readWrite - idcsSearchable: true + * - required: false - returned: default - type: boolean + * + * @return the value + */ + public Boolean getIdcsAttributeCacheable() { + return idcsAttributeCacheable; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ResourceTypeSchemaAttribute("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", name=").append(String.valueOf(this.name)); + sb.append(", idcsDisplayNameMessageId=") + .append(String.valueOf(this.idcsDisplayNameMessageId)); + sb.append(", resourceType=").append(String.valueOf(this.resourceType)); + sb.append(", idcsSchemaUrn=").append(String.valueOf(this.idcsSchemaUrn)); + sb.append(", idcsFullyQualifiedName=").append(String.valueOf(this.idcsFullyQualifiedName)); + sb.append(", idcsCustomAttribute=").append(String.valueOf(this.idcsCustomAttribute)); + sb.append(", type=").append(String.valueOf(this.type)); + sb.append(", multiValued=").append(String.valueOf(this.multiValued)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", required=").append(String.valueOf(this.required)); + sb.append(", canonicalValues=").append(String.valueOf(this.canonicalValues)); + sb.append(", caseExact=").append(String.valueOf(this.caseExact)); + sb.append(", mutability=").append(String.valueOf(this.mutability)); + sb.append(", endUserMutability=").append(String.valueOf(this.endUserMutability)); + sb.append(", endUserMutabilityAllowedValues=") + .append(String.valueOf(this.endUserMutabilityAllowedValues)); + sb.append(", returned=").append(String.valueOf(this.returned)); + sb.append(", uniqueness=").append(String.valueOf(this.uniqueness)); + sb.append(", idcsCsvColumnHeaderName=") + .append(String.valueOf(this.idcsCsvColumnHeaderName)); + sb.append(", idcsICFBundleAttributeName=") + .append(String.valueOf(this.idcsICFBundleAttributeName)); + sb.append(", idcsICFRequired=").append(String.valueOf(this.idcsICFRequired)); + sb.append(", idcsICFAttributeType=").append(String.valueOf(this.idcsICFAttributeType)); + sb.append(", referenceTypes=").append(String.valueOf(this.referenceTypes)); + sb.append(", idcsDeprecatedSinceVersion=") + .append(String.valueOf(this.idcsDeprecatedSinceVersion)); + sb.append(", idcsAddedSinceVersion=").append(String.valueOf(this.idcsAddedSinceVersion)); + sb.append(", idcsDeprecatedSinceReleaseNumber=") + .append(String.valueOf(this.idcsDeprecatedSinceReleaseNumber)); + sb.append(", idcsAddedSinceReleaseNumber=") + .append(String.valueOf(this.idcsAddedSinceReleaseNumber)); + sb.append(", idcsMinLength=").append(String.valueOf(this.idcsMinLength)); + sb.append(", idcsMaxLength=").append(String.valueOf(this.idcsMaxLength)); + sb.append(", idcsMinValue=").append(String.valueOf(this.idcsMinValue)); + sb.append(", idcsMaxValue=").append(String.valueOf(this.idcsMaxValue)); + sb.append(", idcsMultiLanguage=").append(String.valueOf(this.idcsMultiLanguage)); + sb.append(", idcsRefResourceAttributes=") + .append(String.valueOf(this.idcsRefResourceAttributes)); + sb.append(", idcsIndirectRefResourceAttributes=") + .append(String.valueOf(this.idcsIndirectRefResourceAttributes)); + sb.append(", idcsAutoIncrementSeqName=") + .append(String.valueOf(this.idcsAutoIncrementSeqName)); + sb.append(", idcsValuePersisted=").append(String.valueOf(this.idcsValuePersisted)); + sb.append(", idcsSensitive=").append(String.valueOf(this.idcsSensitive)); + sb.append(", idcsInternal=").append(String.valueOf(this.idcsInternal)); + sb.append(", idcsTrimStringValue=").append(String.valueOf(this.idcsTrimStringValue)); + sb.append(", idcsSearchable=").append(String.valueOf(this.idcsSearchable)); + sb.append(", idcsGenerated=").append(String.valueOf(this.idcsGenerated)); + sb.append(", idcsAuditable=").append(String.valueOf(this.idcsAuditable)); + sb.append(", idcsTargetAttributeName=") + .append(String.valueOf(this.idcsTargetAttributeName)); + sb.append(", idcsTargetUniqueConstraintName=") + .append(String.valueOf(this.idcsTargetUniqueConstraintName)); + sb.append(", idcsTargetNormAttributeName=") + .append(String.valueOf(this.idcsTargetNormAttributeName)); + sb.append(", idcsTargetAttributeNameToMigrateFrom=") + .append(String.valueOf(this.idcsTargetAttributeNameToMigrateFrom)); + sb.append(", idcsToTargetMapper=").append(String.valueOf(this.idcsToTargetMapper)); + sb.append(", idcsFromTargetMapper=").append(String.valueOf(this.idcsFromTargetMapper)); + sb.append(", idcsDisplayName=").append(String.valueOf(this.idcsDisplayName)); + sb.append(", idcsCanonicalValueSourceResourceType=") + .append(String.valueOf(this.idcsCanonicalValueSourceResourceType)); + sb.append(", idcsCanonicalValueSourceFilter=") + .append(String.valueOf(this.idcsCanonicalValueSourceFilter)); + sb.append(", idcsValidateReference=").append(String.valueOf(this.idcsValidateReference)); + sb.append(", idcsCompositeKey=").append(String.valueOf(this.idcsCompositeKey)); + sb.append(", idcsFetchComplexAttributeValues=") + .append(String.valueOf(this.idcsFetchComplexAttributeValues)); + sb.append(", idcsScimCompliant=").append(String.valueOf(this.idcsScimCompliant)); + sb.append(", idcsAttributeMappable=").append(String.valueOf(this.idcsAttributeMappable)); + sb.append(", idcsRefResourceAttribute=") + .append(String.valueOf(this.idcsRefResourceAttribute)); + sb.append(", idcsAttributeCacheable=").append(String.valueOf(this.idcsAttributeCacheable)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ResourceTypeSchemaAttribute)) { + return false; + } + + ResourceTypeSchemaAttribute other = (ResourceTypeSchemaAttribute) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals( + this.idcsDisplayNameMessageId, other.idcsDisplayNameMessageId) + && java.util.Objects.equals(this.resourceType, other.resourceType) + && java.util.Objects.equals(this.idcsSchemaUrn, other.idcsSchemaUrn) + && java.util.Objects.equals( + this.idcsFullyQualifiedName, other.idcsFullyQualifiedName) + && java.util.Objects.equals(this.idcsCustomAttribute, other.idcsCustomAttribute) + && java.util.Objects.equals(this.type, other.type) + && java.util.Objects.equals(this.multiValued, other.multiValued) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.required, other.required) + && java.util.Objects.equals(this.canonicalValues, other.canonicalValues) + && java.util.Objects.equals(this.caseExact, other.caseExact) + && java.util.Objects.equals(this.mutability, other.mutability) + && java.util.Objects.equals(this.endUserMutability, other.endUserMutability) + && java.util.Objects.equals( + this.endUserMutabilityAllowedValues, other.endUserMutabilityAllowedValues) + && java.util.Objects.equals(this.returned, other.returned) + && java.util.Objects.equals(this.uniqueness, other.uniqueness) + && java.util.Objects.equals( + this.idcsCsvColumnHeaderName, other.idcsCsvColumnHeaderName) + && java.util.Objects.equals( + this.idcsICFBundleAttributeName, other.idcsICFBundleAttributeName) + && java.util.Objects.equals(this.idcsICFRequired, other.idcsICFRequired) + && java.util.Objects.equals(this.idcsICFAttributeType, other.idcsICFAttributeType) + && java.util.Objects.equals(this.referenceTypes, other.referenceTypes) + && java.util.Objects.equals( + this.idcsDeprecatedSinceVersion, other.idcsDeprecatedSinceVersion) + && java.util.Objects.equals(this.idcsAddedSinceVersion, other.idcsAddedSinceVersion) + && java.util.Objects.equals( + this.idcsDeprecatedSinceReleaseNumber, + other.idcsDeprecatedSinceReleaseNumber) + && java.util.Objects.equals( + this.idcsAddedSinceReleaseNumber, other.idcsAddedSinceReleaseNumber) + && java.util.Objects.equals(this.idcsMinLength, other.idcsMinLength) + && java.util.Objects.equals(this.idcsMaxLength, other.idcsMaxLength) + && java.util.Objects.equals(this.idcsMinValue, other.idcsMinValue) + && java.util.Objects.equals(this.idcsMaxValue, other.idcsMaxValue) + && java.util.Objects.equals(this.idcsMultiLanguage, other.idcsMultiLanguage) + && java.util.Objects.equals( + this.idcsRefResourceAttributes, other.idcsRefResourceAttributes) + && java.util.Objects.equals( + this.idcsIndirectRefResourceAttributes, + other.idcsIndirectRefResourceAttributes) + && java.util.Objects.equals( + this.idcsAutoIncrementSeqName, other.idcsAutoIncrementSeqName) + && java.util.Objects.equals(this.idcsValuePersisted, other.idcsValuePersisted) + && java.util.Objects.equals(this.idcsSensitive, other.idcsSensitive) + && java.util.Objects.equals(this.idcsInternal, other.idcsInternal) + && java.util.Objects.equals(this.idcsTrimStringValue, other.idcsTrimStringValue) + && java.util.Objects.equals(this.idcsSearchable, other.idcsSearchable) + && java.util.Objects.equals(this.idcsGenerated, other.idcsGenerated) + && java.util.Objects.equals(this.idcsAuditable, other.idcsAuditable) + && java.util.Objects.equals( + this.idcsTargetAttributeName, other.idcsTargetAttributeName) + && java.util.Objects.equals( + this.idcsTargetUniqueConstraintName, other.idcsTargetUniqueConstraintName) + && java.util.Objects.equals( + this.idcsTargetNormAttributeName, other.idcsTargetNormAttributeName) + && java.util.Objects.equals( + this.idcsTargetAttributeNameToMigrateFrom, + other.idcsTargetAttributeNameToMigrateFrom) + && java.util.Objects.equals(this.idcsToTargetMapper, other.idcsToTargetMapper) + && java.util.Objects.equals(this.idcsFromTargetMapper, other.idcsFromTargetMapper) + && java.util.Objects.equals(this.idcsDisplayName, other.idcsDisplayName) + && java.util.Objects.equals( + this.idcsCanonicalValueSourceResourceType, + other.idcsCanonicalValueSourceResourceType) + && java.util.Objects.equals( + this.idcsCanonicalValueSourceFilter, other.idcsCanonicalValueSourceFilter) + && java.util.Objects.equals(this.idcsValidateReference, other.idcsValidateReference) + && java.util.Objects.equals(this.idcsCompositeKey, other.idcsCompositeKey) + && java.util.Objects.equals( + this.idcsFetchComplexAttributeValues, other.idcsFetchComplexAttributeValues) + && java.util.Objects.equals(this.idcsScimCompliant, other.idcsScimCompliant) + && java.util.Objects.equals(this.idcsAttributeMappable, other.idcsAttributeMappable) + && java.util.Objects.equals( + this.idcsRefResourceAttribute, other.idcsRefResourceAttribute) + && java.util.Objects.equals( + this.idcsAttributeCacheable, other.idcsAttributeCacheable) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = + (result * PRIME) + + (this.idcsDisplayNameMessageId == null + ? 43 + : this.idcsDisplayNameMessageId.hashCode()); + result = (result * PRIME) + (this.resourceType == null ? 43 : this.resourceType.hashCode()); + result = + (result * PRIME) + + (this.idcsSchemaUrn == null ? 43 : this.idcsSchemaUrn.hashCode()); + result = + (result * PRIME) + + (this.idcsFullyQualifiedName == null + ? 43 + : this.idcsFullyQualifiedName.hashCode()); + result = + (result * PRIME) + + (this.idcsCustomAttribute == null + ? 43 + : this.idcsCustomAttribute.hashCode()); + result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + (this.multiValued == null ? 43 : this.multiValued.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = (result * PRIME) + (this.required == null ? 43 : this.required.hashCode()); + result = + (result * PRIME) + + (this.canonicalValues == null ? 43 : this.canonicalValues.hashCode()); + result = (result * PRIME) + (this.caseExact == null ? 43 : this.caseExact.hashCode()); + result = (result * PRIME) + (this.mutability == null ? 43 : this.mutability.hashCode()); + result = + (result * PRIME) + + (this.endUserMutability == null ? 43 : this.endUserMutability.hashCode()); + result = + (result * PRIME) + + (this.endUserMutabilityAllowedValues == null + ? 43 + : this.endUserMutabilityAllowedValues.hashCode()); + result = (result * PRIME) + (this.returned == null ? 43 : this.returned.hashCode()); + result = (result * PRIME) + (this.uniqueness == null ? 43 : this.uniqueness.hashCode()); + result = + (result * PRIME) + + (this.idcsCsvColumnHeaderName == null + ? 43 + : this.idcsCsvColumnHeaderName.hashCode()); + result = + (result * PRIME) + + (this.idcsICFBundleAttributeName == null + ? 43 + : this.idcsICFBundleAttributeName.hashCode()); + result = + (result * PRIME) + + (this.idcsICFRequired == null ? 43 : this.idcsICFRequired.hashCode()); + result = + (result * PRIME) + + (this.idcsICFAttributeType == null + ? 43 + : this.idcsICFAttributeType.hashCode()); + result = + (result * PRIME) + + (this.referenceTypes == null ? 43 : this.referenceTypes.hashCode()); + result = + (result * PRIME) + + (this.idcsDeprecatedSinceVersion == null + ? 43 + : this.idcsDeprecatedSinceVersion.hashCode()); + result = + (result * PRIME) + + (this.idcsAddedSinceVersion == null + ? 43 + : this.idcsAddedSinceVersion.hashCode()); + result = + (result * PRIME) + + (this.idcsDeprecatedSinceReleaseNumber == null + ? 43 + : this.idcsDeprecatedSinceReleaseNumber.hashCode()); + result = + (result * PRIME) + + (this.idcsAddedSinceReleaseNumber == null + ? 43 + : this.idcsAddedSinceReleaseNumber.hashCode()); + result = + (result * PRIME) + + (this.idcsMinLength == null ? 43 : this.idcsMinLength.hashCode()); + result = + (result * PRIME) + + (this.idcsMaxLength == null ? 43 : this.idcsMaxLength.hashCode()); + result = (result * PRIME) + (this.idcsMinValue == null ? 43 : this.idcsMinValue.hashCode()); + result = (result * PRIME) + (this.idcsMaxValue == null ? 43 : this.idcsMaxValue.hashCode()); + result = + (result * PRIME) + + (this.idcsMultiLanguage == null ? 43 : this.idcsMultiLanguage.hashCode()); + result = + (result * PRIME) + + (this.idcsRefResourceAttributes == null + ? 43 + : this.idcsRefResourceAttributes.hashCode()); + result = + (result * PRIME) + + (this.idcsIndirectRefResourceAttributes == null + ? 43 + : this.idcsIndirectRefResourceAttributes.hashCode()); + result = + (result * PRIME) + + (this.idcsAutoIncrementSeqName == null + ? 43 + : this.idcsAutoIncrementSeqName.hashCode()); + result = + (result * PRIME) + + (this.idcsValuePersisted == null + ? 43 + : this.idcsValuePersisted.hashCode()); + result = + (result * PRIME) + + (this.idcsSensitive == null ? 43 : this.idcsSensitive.hashCode()); + result = (result * PRIME) + (this.idcsInternal == null ? 43 : this.idcsInternal.hashCode()); + result = + (result * PRIME) + + (this.idcsTrimStringValue == null + ? 43 + : this.idcsTrimStringValue.hashCode()); + result = + (result * PRIME) + + (this.idcsSearchable == null ? 43 : this.idcsSearchable.hashCode()); + result = + (result * PRIME) + + (this.idcsGenerated == null ? 43 : this.idcsGenerated.hashCode()); + result = + (result * PRIME) + + (this.idcsAuditable == null ? 43 : this.idcsAuditable.hashCode()); + result = + (result * PRIME) + + (this.idcsTargetAttributeName == null + ? 43 + : this.idcsTargetAttributeName.hashCode()); + result = + (result * PRIME) + + (this.idcsTargetUniqueConstraintName == null + ? 43 + : this.idcsTargetUniqueConstraintName.hashCode()); + result = + (result * PRIME) + + (this.idcsTargetNormAttributeName == null + ? 43 + : this.idcsTargetNormAttributeName.hashCode()); + result = + (result * PRIME) + + (this.idcsTargetAttributeNameToMigrateFrom == null + ? 43 + : this.idcsTargetAttributeNameToMigrateFrom.hashCode()); + result = + (result * PRIME) + + (this.idcsToTargetMapper == null + ? 43 + : this.idcsToTargetMapper.hashCode()); + result = + (result * PRIME) + + (this.idcsFromTargetMapper == null + ? 43 + : this.idcsFromTargetMapper.hashCode()); + result = + (result * PRIME) + + (this.idcsDisplayName == null ? 43 : this.idcsDisplayName.hashCode()); + result = + (result * PRIME) + + (this.idcsCanonicalValueSourceResourceType == null + ? 43 + : this.idcsCanonicalValueSourceResourceType.hashCode()); + result = + (result * PRIME) + + (this.idcsCanonicalValueSourceFilter == null + ? 43 + : this.idcsCanonicalValueSourceFilter.hashCode()); + result = + (result * PRIME) + + (this.idcsValidateReference == null + ? 43 + : this.idcsValidateReference.hashCode()); + result = + (result * PRIME) + + (this.idcsCompositeKey == null ? 43 : this.idcsCompositeKey.hashCode()); + result = + (result * PRIME) + + (this.idcsFetchComplexAttributeValues == null + ? 43 + : this.idcsFetchComplexAttributeValues.hashCode()); + result = + (result * PRIME) + + (this.idcsScimCompliant == null ? 43 : this.idcsScimCompliant.hashCode()); + result = + (result * PRIME) + + (this.idcsAttributeMappable == null + ? 43 + : this.idcsAttributeMappable.hashCode()); + result = + (result * PRIME) + + (this.idcsRefResourceAttribute == null + ? 43 + : this.idcsRefResourceAttribute.hashCode()); + result = + (result * PRIME) + + (this.idcsAttributeCacheable == null + ? 43 + : this.idcsAttributeCacheable.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ResourceTypeSchemaAttributeSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ResourceTypeSchemaAttributeSearchRequest.java new file mode 100644 index 00000000000..c38258e1970 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ResourceTypeSchemaAttributeSearchRequest.java @@ -0,0 +1,539 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Clients MAY execute queries without passing parameters on the URL by using the HTTP POST verb + * combined with the **.search** path extension. The inclusion of **.search** on the end of a valid + * SCIM endpoint SHALL be used to indicate the HTTP POST verb is intended to be a query operation. + * To create a new query result set, a SCIM client sends an HTTP POST request to the desired SCIM + * resource endpoint (ending in **.search**). The body of the POST request MAY include any of the + * parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ResourceTypeSchemaAttributeSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ResourceTypeSchemaAttributeSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "attributes", + "attributeSets", + "filter", + "sortBy", + "sortOrder", + "startIndex", + "count" + }) + public ResourceTypeSchemaAttributeSearchRequest( + java.util.List schemas, + java.util.List attributes, + java.util.List attributeSets, + String filter, + String sortBy, + SortOrder sortOrder, + Integer startIndex, + Integer count) { + super(); + this.schemas = schemas; + this.attributes = attributes; + this.attributeSets = attributeSets; + this.filter = filter; + this.sortBy = sortBy; + this.sortOrder = sortOrder; + this.startIndex = startIndex; + this.count = count; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @param attributes the value to set + * @return this builder + */ + public Builder attributes(java.util.List attributes) { + this.attributes = attributes; + this.__explicitlySet__.add("attributes"); + return this; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + * + * @param attributeSets the value to set + * @return this builder + */ + public Builder attributeSets(java.util.List attributeSets) { + this.attributeSets = attributeSets; + this.__explicitlySet__.add("attributeSets"); + return this; + } + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @param filter the value to set + * @return this builder + */ + public Builder filter(String filter) { + this.filter = filter; + this.__explicitlySet__.add("filter"); + return this; + } + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + * + * @param sortBy the value to set + * @return this builder + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + this.__explicitlySet__.add("sortBy"); + return this; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder + */ + public Builder sortOrder(SortOrder sortOrder) { + this.sortOrder = sortOrder; + this.__explicitlySet__.add("sortOrder"); + return this; + } + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @param count the value to set + * @return this builder + */ + public Builder count(Integer count) { + this.count = count; + this.__explicitlySet__.add("count"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ResourceTypeSchemaAttributeSearchRequest build() { + ResourceTypeSchemaAttributeSearchRequest model = + new ResourceTypeSchemaAttributeSearchRequest( + this.schemas, + this.attributes, + this.attributeSets, + this.filter, + this.sortBy, + this.sortOrder, + this.startIndex, + this.count); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ResourceTypeSchemaAttributeSearchRequest model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("attributes")) { + this.attributes(model.getAttributes()); + } + if (model.wasPropertyExplicitlySet("attributeSets")) { + this.attributeSets(model.getAttributeSets()); + } + if (model.wasPropertyExplicitlySet("filter")) { + this.filter(model.getFilter()); + } + if (model.wasPropertyExplicitlySet("sortBy")) { + this.sortBy(model.getSortBy()); + } + if (model.wasPropertyExplicitlySet("sortOrder")) { + this.sortOrder(model.getSortOrder()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("count")) { + this.count(model.getCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private final java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private final java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private final String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @return the value + */ + public String getFilter() { + return filter; + } + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private final String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + * + * @return the value + */ + public String getSortBy() { + return sortBy; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private final SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @return the value + */ + public SortOrder getSortOrder() { + return sortOrder; + } + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private final Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @return the value + */ + public Integer getCount() { + return count; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ResourceTypeSchemaAttributeSearchRequest("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", attributes=").append(String.valueOf(this.attributes)); + sb.append(", attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(", filter=").append(String.valueOf(this.filter)); + sb.append(", sortBy=").append(String.valueOf(this.sortBy)); + sb.append(", sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", count=").append(String.valueOf(this.count)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ResourceTypeSchemaAttributeSearchRequest)) { + return false; + } + + ResourceTypeSchemaAttributeSearchRequest other = + (ResourceTypeSchemaAttributeSearchRequest) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ResourceTypeSchemaAttributes.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ResourceTypeSchemaAttributes.java new file mode 100644 index 00000000000..6909e4ee175 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ResourceTypeSchemaAttributes.java @@ -0,0 +1,358 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ResourceTypeSchemaAttributes.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ResourceTypeSchemaAttributes + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public ResourceTypeSchemaAttributes( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ResourceTypeSchemaAttributes build() { + ResourceTypeSchemaAttributes model = + new ResourceTypeSchemaAttributes( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ResourceTypeSchemaAttributes model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ResourceTypeSchemaAttributes("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ResourceTypeSchemaAttributes)) { + return false; + } + + ResourceTypeSchemaAttributes other = (ResourceTypeSchemaAttributes) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestion.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestion.java new file mode 100644 index 00000000000..b977ea67c7a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestion.java @@ -0,0 +1,1124 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Security Question
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = SecurityQuestion.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SecurityQuestion + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "externalId", + "active", + "type", + "questionText" + }) + public SecurityQuestion( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + String externalId, + Boolean active, + Type type, + java.util.List questionText) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.externalId = externalId; + this.active = active; + this.type = type; + this.questionText = questionText; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the + * need to store a local mapping between the local identifier of the Resource and the + * identifier used by the Service Provider. Each Resource MAY include a non-empty externalId + * value. The value of the externalId attribute is always issued by the Service Consumer and + * can never be specified by the Service Provider. The Service Provider MUST always + * interpret the externalId as scoped to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("externalId") + private String externalId; + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the + * need to store a local mapping between the local identifier of the Resource and the + * identifier used by the Service Provider. Each Resource MAY include a non-empty externalId + * value. The value of the externalId attribute is always issued by the Service Consumer and + * can never be specified by the Service Provider. The Service Provider MUST always + * interpret the externalId as scoped to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: + * none + * + * @param externalId the value to set + * @return this builder + */ + public Builder externalId(String externalId) { + this.externalId = externalId; + this.__explicitlySet__.add("externalId"); + return this; + } + /** + * This indicates if the question is selected by the Security Admin and is available for the + * end user. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: true - returned: always - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private Boolean active; + + /** + * This indicates if the question is selected by the Security Admin and is available for the + * end user. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: true - returned: always - type: boolean - uniqueness: none + * + * @param active the value to set + * @return this builder + */ + public Builder active(Boolean active) { + this.active = active; + this.__explicitlySet__.add("active"); + return this; + } + /** + * This indicates if the question is a Custom Question added by the Security Admin. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * This indicates if the question is a Custom Question added by the Security Admin. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + * + * @param type the value to set + * @return this builder + */ + public Builder type(Type type) { + this.type = type; + this.__explicitlySet__.add("type"); + return this; + } + /** + * Locale values for the Question + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: true - returned: always - idcsCompositeKey: [locale] - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("questionText") + private java.util.List questionText; + + /** + * Locale values for the Question + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: true - returned: always - idcsCompositeKey: [locale] - + * type: complex - uniqueness: none + * + * @param questionText the value to set + * @return this builder + */ + public Builder questionText(java.util.List questionText) { + this.questionText = questionText; + this.__explicitlySet__.add("questionText"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SecurityQuestion build() { + SecurityQuestion model = + new SecurityQuestion( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.externalId, + this.active, + this.type, + this.questionText); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SecurityQuestion model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("externalId")) { + this.externalId(model.getExternalId()); + } + if (model.wasPropertyExplicitlySet("active")) { + this.active(model.getActive()); + } + if (model.wasPropertyExplicitlySet("type")) { + this.type(model.getType()); + } + if (model.wasPropertyExplicitlySet("questionText")) { + this.questionText(model.getQuestionText()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the need to + * store a local mapping between the local identifier of the Resource and the identifier used by + * the Service Provider. Each Resource MAY include a non-empty externalId value. The value of + * the externalId attribute is always issued by the Service Consumer and can never be specified + * by the Service Provider. The Service Provider MUST always interpret the externalId as scoped + * to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("externalId") + private final String externalId; + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the need to + * store a local mapping between the local identifier of the Resource and the identifier used by + * the Service Provider. Each Resource MAY include a non-empty externalId value. The value of + * the externalId attribute is always issued by the Service Consumer and can never be specified + * by the Service Provider. The Service Provider MUST always interpret the externalId as scoped + * to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getExternalId() { + return externalId; + } + + /** + * This indicates if the question is selected by the Security Admin and is available for the end + * user. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: true - returned: always - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("active") + private final Boolean active; + + /** + * This indicates if the question is selected by the Security Admin and is available for the end + * user. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: true - returned: always - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getActive() { + return active; + } + + /** + * This indicates if the question is a Custom Question added by the Security Admin. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + Default("default"), + Custom("custom"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(Type.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Type v : Type.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + Type(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Type create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'Type', returning UnknownEnumValue", key); + return UnknownEnumValue; + } + }; + /** + * This indicates if the question is a Custom Question added by the Security Admin. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * This indicates if the question is a Custom Question added by the Security Admin. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public Type getType() { + return type; + } + + /** + * Locale values for the Question + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: true - returned: always - idcsCompositeKey: [locale] - + * type: complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("questionText") + private final java.util.List questionText; + + /** + * Locale values for the Question + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: true - + * mutability: readWrite - required: true - returned: always - idcsCompositeKey: [locale] - + * type: complex - uniqueness: none + * + * @return the value + */ + public java.util.List getQuestionText() { + return questionText; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("SecurityQuestion("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", externalId=").append(String.valueOf(this.externalId)); + sb.append(", active=").append(String.valueOf(this.active)); + sb.append(", type=").append(String.valueOf(this.type)); + sb.append(", questionText=").append(String.valueOf(this.questionText)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SecurityQuestion)) { + return false; + } + + SecurityQuestion other = (SecurityQuestion) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.externalId, other.externalId) + && java.util.Objects.equals(this.active, other.active) + && java.util.Objects.equals(this.type, other.type) + && java.util.Objects.equals(this.questionText, other.questionText) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = (result * PRIME) + (this.externalId == null ? 43 : this.externalId.hashCode()); + result = (result * PRIME) + (this.active == null ? 43 : this.active.hashCode()); + result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + (this.questionText == null ? 43 : this.questionText.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionQuestionText.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionQuestionText.java new file mode 100644 index 00000000000..61e6cf219a1 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionQuestionText.java @@ -0,0 +1,271 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Locale values for the Question
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = SecurityQuestionQuestionText.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SecurityQuestionQuestionText + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "locale", "isDefault"}) + public SecurityQuestionQuestionText(String value, String locale, Boolean isDefault) { + super(); + this.value = value; + this.locale = locale; + this.isDefault = isDefault; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The question text + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * The question text + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: + * none + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * The locale + * + *

*SCIM++ Properties:** - caseExact: false - idcsCanonicalValueSourceFilter: attrName eq + * "locales" and attrValues.value eq "$(locale)" - idcsCanonicalValueSourceResourceType: + * AllowedValue - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("locale") + private String locale; + + /** + * The locale + * + *

*SCIM++ Properties:** - caseExact: false - idcsCanonicalValueSourceFilter: attrName eq + * "locales" and attrValues.value eq "$(locale)" - idcsCanonicalValueSourceResourceType: + * AllowedValue - idcsSearchable: true - multiValued: false - mutability: readWrite - + * required: true - returned: always - type: string - uniqueness: none + * + * @param locale the value to set + * @return this builder + */ + public Builder locale(String locale) { + this.locale = locale; + this.__explicitlySet__.add("locale"); + return this; + } + /** + * If true, specifies that the localized attribute instance value is the default and will be + * returned if no localized value found for requesting user's preferred locale. One and only + * one instance should have this attribute set to true. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("default") + private Boolean isDefault; + + /** + * If true, specifies that the localized attribute instance value is the default and will be + * returned if no localized value found for requesting user's preferred locale. One and only + * one instance should have this attribute set to true. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * readWrite - required: false - returned: default - type: boolean - uniqueness: none + * + * @param isDefault the value to set + * @return this builder + */ + public Builder isDefault(Boolean isDefault) { + this.isDefault = isDefault; + this.__explicitlySet__.add("isDefault"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SecurityQuestionQuestionText build() { + SecurityQuestionQuestionText model = + new SecurityQuestionQuestionText(this.value, this.locale, this.isDefault); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SecurityQuestionQuestionText model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("locale")) { + this.locale(model.getLocale()); + } + if (model.wasPropertyExplicitlySet("isDefault")) { + this.isDefault(model.isDefault()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The question text + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * The question text + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * The locale + * + *

*SCIM++ Properties:** - caseExact: false - idcsCanonicalValueSourceFilter: attrName eq + * "locales" and attrValues.value eq "$(locale)" - idcsCanonicalValueSourceResourceType: + * AllowedValue - idcsSearchable: true - multiValued: false - mutability: readWrite - required: + * true - returned: always - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("locale") + private final String locale; + + /** + * The locale + * + *

*SCIM++ Properties:** - caseExact: false - idcsCanonicalValueSourceFilter: attrName eq + * "locales" and attrValues.value eq "$(locale)" - idcsCanonicalValueSourceResourceType: + * AllowedValue - idcsSearchable: true - multiValued: false - mutability: readWrite - required: + * true - returned: always - type: string - uniqueness: none + * + * @return the value + */ + public String getLocale() { + return locale; + } + + /** + * If true, specifies that the localized attribute instance value is the default and will be + * returned if no localized value found for requesting user's preferred locale. One and only one + * instance should have this attribute set to true. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("default") + private final Boolean isDefault; + + /** + * If true, specifies that the localized attribute instance value is the default and will be + * returned if no localized value found for requesting user's preferred locale. One and only one + * instance should have this attribute set to true. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite + * - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean isDefault() { + return isDefault; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("SecurityQuestionQuestionText("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", locale=").append(String.valueOf(this.locale)); + sb.append(", isDefault=").append(String.valueOf(this.isDefault)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SecurityQuestionQuestionText)) { + return false; + } + + SecurityQuestionQuestionText other = (SecurityQuestionQuestionText) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.locale, other.locale) + && java.util.Objects.equals(this.isDefault, other.isDefault) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + (this.locale == null ? 43 : this.locale.hashCode()); + result = (result * PRIME) + (this.isDefault == null ? 43 : this.isDefault.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSearchRequest.java new file mode 100644 index 00000000000..eab75beca5b --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSearchRequest.java @@ -0,0 +1,538 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Clients MAY execute queries without passing parameters on the URL by using the HTTP POST verb + * combined with the **.search** path extension. The inclusion of **.search** on the end of a valid + * SCIM endpoint SHALL be used to indicate the HTTP POST verb is intended to be a query operation. + * To create a new query result set, a SCIM client sends an HTTP POST request to the desired SCIM + * resource endpoint (ending in **.search**). The body of the POST request MAY include any of the + * parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = SecurityQuestionSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SecurityQuestionSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "attributes", + "attributeSets", + "filter", + "sortBy", + "sortOrder", + "startIndex", + "count" + }) + public SecurityQuestionSearchRequest( + java.util.List schemas, + java.util.List attributes, + java.util.List attributeSets, + String filter, + String sortBy, + SortOrder sortOrder, + Integer startIndex, + Integer count) { + super(); + this.schemas = schemas; + this.attributes = attributes; + this.attributeSets = attributeSets; + this.filter = filter; + this.sortBy = sortBy; + this.sortOrder = sortOrder; + this.startIndex = startIndex; + this.count = count; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @param attributes the value to set + * @return this builder + */ + public Builder attributes(java.util.List attributes) { + this.attributes = attributes; + this.__explicitlySet__.add("attributes"); + return this; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + * + * @param attributeSets the value to set + * @return this builder + */ + public Builder attributeSets(java.util.List attributeSets) { + this.attributeSets = attributeSets; + this.__explicitlySet__.add("attributeSets"); + return this; + } + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST + * be a valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @param filter the value to set + * @return this builder + */ + public Builder filter(String filter) { + this.filter = filter; + this.__explicitlySet__.add("filter"); + return this; + } + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * [Sorting section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). + * OPTIONAL. + * + * @param sortBy the value to set + * @return this builder + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + this.__explicitlySet__.add("sortBy"); + return this; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder + */ + public Builder sortOrder(SortOrder sortOrder) { + this.sortOrder = sortOrder; + this.__explicitlySet__.add("sortOrder"); + return this; + } + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is + * the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @param count the value to set + * @return this builder + */ + public Builder count(Integer count) { + this.count = count; + this.__explicitlySet__.add("count"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SecurityQuestionSearchRequest build() { + SecurityQuestionSearchRequest model = + new SecurityQuestionSearchRequest( + this.schemas, + this.attributes, + this.attributeSets, + this.filter, + this.sortBy, + this.sortOrder, + this.startIndex, + this.count); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SecurityQuestionSearchRequest model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("attributes")) { + this.attributes(model.getAttributes()); + } + if (model.wasPropertyExplicitlySet("attributeSets")) { + this.attributeSets(model.getAttributeSets()); + } + if (model.wasPropertyExplicitlySet("filter")) { + this.filter(model.getFilter()); + } + if (model.wasPropertyExplicitlySet("sortBy")) { + this.sortBy(model.getSortBy()); + } + if (model.wasPropertyExplicitlySet("sortOrder")) { + this.sortOrder(model.getSortOrder()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("count")) { + this.count(model.getCount()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private final java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private final java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("filter") + private final String filter; + + /** + * The filter string that is used to request a subset of resources. The filter string MUST be a + * valid filter expression. See [Section + * 3.4.2.2](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.2). OPTIONAL. + * + * @return the value + */ + public String getFilter() { + return filter; + } + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortBy") + private final String sortBy; + + /** + * A string that indicates the attribute whose value SHALL be used to order the returned + * responses. The sortBy attribute MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See [Sorting + * section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3). OPTIONAL. + * + * @return the value + */ + public String getSortBy() { + return sortBy; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sortOrder") + private final SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are "ascending" and "descending". See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @return the value + */ + public SortOrder getSortOrder() { + return sortOrder; + } + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * An integer that indicates the 1-based index of the first query result. See [Pagination + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4). OPTIONAL. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("count") + private final Integer count; + + /** + * An integer that indicates the desired maximum number of query results per page. 1000 is the + * largest value that you can use. See the Pagination section of the System for Cross-Domain + * Identity Management Protocol specification for more information. ([Section + * 3.4.2.4](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.4)). OPTIONAL. + * + * @return the value + */ + public Integer getCount() { + return count; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("SecurityQuestionSearchRequest("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", attributes=").append(String.valueOf(this.attributes)); + sb.append(", attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(", filter=").append(String.valueOf(this.filter)); + sb.append(", sortBy=").append(String.valueOf(this.sortBy)); + sb.append(", sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", count=").append(String.valueOf(this.count)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SecurityQuestionSearchRequest)) { + return false; + } + + SecurityQuestionSearchRequest other = (SecurityQuestionSearchRequest) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSetting.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSetting.java new file mode 100644 index 00000000000..340822cbfcf --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSetting.java @@ -0,0 +1,1144 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Security Question Settings
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = SecurityQuestionSetting.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SecurityQuestionSetting + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "externalId", + "numQuestionsToSetup", + "minAnswerLength", + "maxFieldLength", + "numQuestionsToAns" + }) + public SecurityQuestionSetting( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + String externalId, + Integer numQuestionsToSetup, + Integer minAnswerLength, + Integer maxFieldLength, + Integer numQuestionsToAns) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.externalId = externalId; + this.numQuestionsToSetup = numQuestionsToSetup; + this.minAnswerLength = minAnswerLength; + this.maxFieldLength = maxFieldLength; + this.numQuestionsToAns = numQuestionsToAns; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the + * need to store a local mapping between the local identifier of the Resource and the + * identifier used by the Service Provider. Each Resource MAY include a non-empty externalId + * value. The value of the externalId attribute is always issued by the Service Consumer and + * can never be specified by the Service Provider. The Service Provider MUST always + * interpret the externalId as scoped to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - type: string - multiValued: false - required: false - + * caseExact: false - mutability: readWrite - returned: default - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("externalId") + private String externalId; + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the + * need to store a local mapping between the local identifier of the Resource and the + * identifier used by the Service Provider. Each Resource MAY include a non-empty externalId + * value. The value of the externalId attribute is always issued by the Service Consumer and + * can never be specified by the Service Provider. The Service Provider MUST always + * interpret the externalId as scoped to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - type: string - multiValued: false - required: false - + * caseExact: false - mutability: readWrite - returned: default - uniqueness: none + * + * @param externalId the value to set + * @return this builder + */ + public Builder externalId(String externalId) { + this.externalId = externalId; + this.__explicitlySet__.add("externalId"); + return this; + } + /** + * Indicates the number of security questions a user must setup + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - required: true - + * caseExact: false - mutability: readWrite - returned: default - uniqueness: none - + * idcsMinValue: 1 - idcsMaxValue: 5 + */ + @com.fasterxml.jackson.annotation.JsonProperty("numQuestionsToSetup") + private Integer numQuestionsToSetup; + + /** + * Indicates the number of security questions a user must setup + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - required: true - + * caseExact: false - mutability: readWrite - returned: default - uniqueness: none - + * idcsMinValue: 1 - idcsMaxValue: 5 + * + * @param numQuestionsToSetup the value to set + * @return this builder + */ + public Builder numQuestionsToSetup(Integer numQuestionsToSetup) { + this.numQuestionsToSetup = numQuestionsToSetup; + this.__explicitlySet__.add("numQuestionsToSetup"); + return this; + } + /** + * Indicates the minimum length of answer for security questions + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - required: true - + * caseExact: false - mutability: readWrite - returned: default - uniqueness: none - + * idcsMinValue: 1 - idcsMaxValue: 8 + */ + @com.fasterxml.jackson.annotation.JsonProperty("minAnswerLength") + private Integer minAnswerLength; + + /** + * Indicates the minimum length of answer for security questions + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - required: true - + * caseExact: false - mutability: readWrite - returned: default - uniqueness: none - + * idcsMinValue: 1 - idcsMaxValue: 8 + * + * @param minAnswerLength the value to set + * @return this builder + */ + public Builder minAnswerLength(Integer minAnswerLength) { + this.minAnswerLength = minAnswerLength; + this.__explicitlySet__.add("minAnswerLength"); + return this; + } + /** + * Indicates the maximum length of following fields Security Questions, Answer and Hint + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - returned: default - + * caseExact: false - mutability: readWrite - required: true - uniqueness: none - + * idcsMinValue: 5 - idcsMaxValue: 100 + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxFieldLength") + private Integer maxFieldLength; + + /** + * Indicates the maximum length of following fields Security Questions, Answer and Hint + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - returned: default - + * caseExact: false - mutability: readWrite - required: true - uniqueness: none - + * idcsMinValue: 5 - idcsMaxValue: 100 + * + * @param maxFieldLength the value to set + * @return this builder + */ + public Builder maxFieldLength(Integer maxFieldLength) { + this.maxFieldLength = maxFieldLength; + this.__explicitlySet__.add("maxFieldLength"); + return this; + } + /** + * Indicates the number of security questions that a user must answer + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - returned: default - + * caseExact: false - mutability: readWrite - required: true - uniqueness: none - + * idcsMinValue: 1 - idcsMaxValue: 5 + */ + @com.fasterxml.jackson.annotation.JsonProperty("numQuestionsToAns") + private Integer numQuestionsToAns; + + /** + * Indicates the number of security questions that a user must answer + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - returned: default - + * caseExact: false - mutability: readWrite - required: true - uniqueness: none - + * idcsMinValue: 1 - idcsMaxValue: 5 + * + * @param numQuestionsToAns the value to set + * @return this builder + */ + public Builder numQuestionsToAns(Integer numQuestionsToAns) { + this.numQuestionsToAns = numQuestionsToAns; + this.__explicitlySet__.add("numQuestionsToAns"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SecurityQuestionSetting build() { + SecurityQuestionSetting model = + new SecurityQuestionSetting( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.externalId, + this.numQuestionsToSetup, + this.minAnswerLength, + this.maxFieldLength, + this.numQuestionsToAns); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SecurityQuestionSetting model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("externalId")) { + this.externalId(model.getExternalId()); + } + if (model.wasPropertyExplicitlySet("numQuestionsToSetup")) { + this.numQuestionsToSetup(model.getNumQuestionsToSetup()); + } + if (model.wasPropertyExplicitlySet("minAnswerLength")) { + this.minAnswerLength(model.getMinAnswerLength()); + } + if (model.wasPropertyExplicitlySet("maxFieldLength")) { + this.maxFieldLength(model.getMaxFieldLength()); + } + if (model.wasPropertyExplicitlySet("numQuestionsToAns")) { + this.numQuestionsToAns(model.getNumQuestionsToAns()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the need to + * store a local mapping between the local identifier of the Resource and the identifier used by + * the Service Provider. Each Resource MAY include a non-empty externalId value. The value of + * the externalId attribute is always issued by the Service Consumer and can never be specified + * by the Service Provider. The Service Provider MUST always interpret the externalId as scoped + * to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - type: string - multiValued: false - required: false - caseExact: + * false - mutability: readWrite - returned: default - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("externalId") + private final String externalId; + + /** + * An identifier for the Resource as defined by the Service Consumer. The externalId may + * simplify identification of the Resource between Service Consumer and Service Provider by + * allowing the Consumer to refer to the Resource with its own identifier, obviating the need to + * store a local mapping between the local identifier of the Resource and the identifier used by + * the Service Provider. Each Resource MAY include a non-empty externalId value. The value of + * the externalId attribute is always issued by the Service Consumer and can never be specified + * by the Service Provider. The Service Provider MUST always interpret the externalId as scoped + * to the Service Consumer's tenant. + * + *

*SCIM++ Properties:** - type: string - multiValued: false - required: false - caseExact: + * false - mutability: readWrite - returned: default - uniqueness: none + * + * @return the value + */ + public String getExternalId() { + return externalId; + } + + /** + * Indicates the number of security questions a user must setup + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - required: true - caseExact: + * false - mutability: readWrite - returned: default - uniqueness: none - idcsMinValue: 1 - + * idcsMaxValue: 5 + */ + @com.fasterxml.jackson.annotation.JsonProperty("numQuestionsToSetup") + private final Integer numQuestionsToSetup; + + /** + * Indicates the number of security questions a user must setup + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - required: true - caseExact: + * false - mutability: readWrite - returned: default - uniqueness: none - idcsMinValue: 1 - + * idcsMaxValue: 5 + * + * @return the value + */ + public Integer getNumQuestionsToSetup() { + return numQuestionsToSetup; + } + + /** + * Indicates the minimum length of answer for security questions + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - required: true - caseExact: + * false - mutability: readWrite - returned: default - uniqueness: none - idcsMinValue: 1 - + * idcsMaxValue: 8 + */ + @com.fasterxml.jackson.annotation.JsonProperty("minAnswerLength") + private final Integer minAnswerLength; + + /** + * Indicates the minimum length of answer for security questions + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - required: true - caseExact: + * false - mutability: readWrite - returned: default - uniqueness: none - idcsMinValue: 1 - + * idcsMaxValue: 8 + * + * @return the value + */ + public Integer getMinAnswerLength() { + return minAnswerLength; + } + + /** + * Indicates the maximum length of following fields Security Questions, Answer and Hint + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - returned: default - + * caseExact: false - mutability: readWrite - required: true - uniqueness: none - idcsMinValue: + * 5 - idcsMaxValue: 100 + */ + @com.fasterxml.jackson.annotation.JsonProperty("maxFieldLength") + private final Integer maxFieldLength; + + /** + * Indicates the maximum length of following fields Security Questions, Answer and Hint + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - returned: default - + * caseExact: false - mutability: readWrite - required: true - uniqueness: none - idcsMinValue: + * 5 - idcsMaxValue: 100 + * + * @return the value + */ + public Integer getMaxFieldLength() { + return maxFieldLength; + } + + /** + * Indicates the number of security questions that a user must answer + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - returned: default - + * caseExact: false - mutability: readWrite - required: true - uniqueness: none - idcsMinValue: + * 1 - idcsMaxValue: 5 + */ + @com.fasterxml.jackson.annotation.JsonProperty("numQuestionsToAns") + private final Integer numQuestionsToAns; + + /** + * Indicates the number of security questions that a user must answer + * + *

*SCIM++ Properties:** - type: integer - multiValued: false - returned: default - + * caseExact: false - mutability: readWrite - required: true - uniqueness: none - idcsMinValue: + * 1 - idcsMaxValue: 5 + * + * @return the value + */ + public Integer getNumQuestionsToAns() { + return numQuestionsToAns; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("SecurityQuestionSetting("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", externalId=").append(String.valueOf(this.externalId)); + sb.append(", numQuestionsToSetup=").append(String.valueOf(this.numQuestionsToSetup)); + sb.append(", minAnswerLength=").append(String.valueOf(this.minAnswerLength)); + sb.append(", maxFieldLength=").append(String.valueOf(this.maxFieldLength)); + sb.append(", numQuestionsToAns=").append(String.valueOf(this.numQuestionsToAns)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SecurityQuestionSetting)) { + return false; + } + + SecurityQuestionSetting other = (SecurityQuestionSetting) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.externalId, other.externalId) + && java.util.Objects.equals(this.numQuestionsToSetup, other.numQuestionsToSetup) + && java.util.Objects.equals(this.minAnswerLength, other.minAnswerLength) + && java.util.Objects.equals(this.maxFieldLength, other.maxFieldLength) + && java.util.Objects.equals(this.numQuestionsToAns, other.numQuestionsToAns) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = (result * PRIME) + (this.externalId == null ? 43 : this.externalId.hashCode()); + result = + (result * PRIME) + + (this.numQuestionsToSetup == null + ? 43 + : this.numQuestionsToSetup.hashCode()); + result = + (result * PRIME) + + (this.minAnswerLength == null ? 43 : this.minAnswerLength.hashCode()); + result = + (result * PRIME) + + (this.maxFieldLength == null ? 43 : this.maxFieldLength.hashCode()); + result = + (result * PRIME) + + (this.numQuestionsToAns == null ? 43 : this.numQuestionsToAns.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSettings.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSettings.java new file mode 100644 index 00000000000..100a6a040d3 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSettings.java @@ -0,0 +1,358 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = SecurityQuestionSettings.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SecurityQuestionSettings + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public SecurityQuestionSettings( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SecurityQuestionSettings build() { + SecurityQuestionSettings model = + new SecurityQuestionSettings( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SecurityQuestionSettings model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("SecurityQuestionSettings("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SecurityQuestionSettings)) { + return false; + } + + SecurityQuestionSettings other = (SecurityQuestionSettings) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSettingsSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSettingsSearchRequest.java new file mode 100644 index 00000000000..938166f048a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestionSettingsSearchRequest.java @@ -0,0 +1,276 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Clients MAY execute queries without passing parameters on the URL by using the HTTP POST verb + * combined with the **.search** path extension. The inclusion of **.search** on the end of a valid + * SCIM endpoint SHALL be used to indicate the HTTP POST verb is intended to be a query operation. + * To create a new query result set, a SCIM client sends an HTTP POST request to the desired SCIM + * resource endpoint (ending in **.search**). The body of the POST request MAY include any of the + * parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = SecurityQuestionSettingsSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SecurityQuestionSettingsSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"schemas", "attributes", "attributeSets"}) + public SecurityQuestionSettingsSearchRequest( + java.util.List schemas, + java.util.List attributes, + java.util.List attributeSets) { + super(); + this.schemas = schemas; + this.attributes = attributes; + this.attributeSets = attributeSets; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @param attributes the value to set + * @return this builder + */ + public Builder attributes(java.util.List attributes) { + this.attributes = attributes; + this.__explicitlySet__.add("attributes"); + return this; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + * + * @param attributeSets the value to set + * @return this builder + */ + public Builder attributeSets(java.util.List attributeSets) { + this.attributeSets = attributeSets; + this.__explicitlySet__.add("attributeSets"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SecurityQuestionSettingsSearchRequest build() { + SecurityQuestionSettingsSearchRequest model = + new SecurityQuestionSettingsSearchRequest( + this.schemas, this.attributes, this.attributeSets); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SecurityQuestionSettingsSearchRequest model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("attributes")) { + this.attributes(model.getAttributes()); + } + if (model.wasPropertyExplicitlySet("attributeSets")) { + this.attributeSets(model.getAttributeSets()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private final java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private final java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("SecurityQuestionSettingsSearchRequest("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", attributes=").append(String.valueOf(this.attributes)); + sb.append(", attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SecurityQuestionSettingsSearchRequest)) { + return false; + } + + SecurityQuestionSettingsSearchRequest other = (SecurityQuestionSettingsSearchRequest) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestions.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestions.java new file mode 100644 index 00000000000..8cfea15c89d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/SecurityQuestions.java @@ -0,0 +1,358 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = SecurityQuestions.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SecurityQuestions + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public SecurityQuestions( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SecurityQuestions build() { + SecurityQuestions model = + new SecurityQuestions( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SecurityQuestions model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("SecurityQuestions("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SecurityQuestions)) { + return false; + } + + SecurityQuestions other = (SecurityQuestions) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSetting.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSetting.java new file mode 100644 index 00000000000..2cab9e63ac3 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSetting.java @@ -0,0 +1,877 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Schema for End User Attribute mutability
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UserAttributesSetting.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UserAttributesSetting + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "ocid", + "schemas", + "meta", + "idcsCreatedBy", + "idcsLastModifiedBy", + "idcsPreventedOperations", + "tags", + "deleteInProgress", + "idcsLastUpgradedInRelease", + "domainOcid", + "compartmentOcid", + "tenancyOcid", + "attributeSettings" + }) + public UserAttributesSetting( + String id, + String ocid, + java.util.List schemas, + Meta meta, + IdcsCreatedBy idcsCreatedBy, + IdcsLastModifiedBy idcsLastModifiedBy, + java.util.List idcsPreventedOperations, + java.util.List tags, + Boolean deleteInProgress, + String idcsLastUpgradedInRelease, + String domainOcid, + String compartmentOcid, + String tenancyOcid, + java.util.List attributeSettings) { + super(); + this.id = id; + this.ocid = ocid; + this.schemas = schemas; + this.meta = meta; + this.idcsCreatedBy = idcsCreatedBy; + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.idcsPreventedOperations = idcsPreventedOperations; + this.tags = tags; + this.deleteInProgress = deleteInProgress; + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.domainOcid = domainOcid; + this.compartmentOcid = compartmentOcid; + this.tenancyOcid = tenancyOcid; + this.attributeSettings = attributeSettings; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service + * Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved + * keyword and MUST NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions + * supported by that representation. Each String value must be a unique URI. This + * specification defines URIs for User, Group, and a standard \\"enterprise\\" extension. + * All representations of SCIM schema MUST include a non-zero value array with value(s) of + * the URIs supported by that representation. Duplicate values MUST NOT be included. Value + * order is not specified and MUST not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private Meta meta; + + public Builder meta(Meta meta) { + this.meta = meta; + this.__explicitlySet__.add("meta"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private IdcsCreatedBy idcsCreatedBy; + + public Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy) { + this.idcsCreatedBy = idcsCreatedBy; + this.__explicitlySet__.add("idcsCreatedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private IdcsLastModifiedBy idcsLastModifiedBy; + + public Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy) { + this.idcsLastModifiedBy = idcsLastModifiedBy; + this.__explicitlySet__.add("idcsLastModifiedBy"); + return this; + } + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may + * perform on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @param idcsPreventedOperations the value to set + * @return this builder + */ + public Builder idcsPreventedOperations( + java.util.List idcsPreventedOperations) { + this.idcsPreventedOperations = idcsPreventedOperations; + this.__explicitlySet__.add("idcsPreventedOperations"); + return this; + } + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @param tags the value to set + * @return this builder + */ + public Builder tags(java.util.List tags) { + this.tags = tags; + this.__explicitlySet__.add("tags"); + return this; + } + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to + * true when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * User Schema Attribute Settings + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSettings") + private java.util.List attributeSettings; + + /** + * User Schema Attribute Settings + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex + * + * @param attributeSettings the value to set + * @return this builder + */ + public Builder attributeSettings( + java.util.List attributeSettings) { + this.attributeSettings = attributeSettings; + this.__explicitlySet__.add("attributeSettings"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UserAttributesSetting build() { + UserAttributesSetting model = + new UserAttributesSetting( + this.id, + this.ocid, + this.schemas, + this.meta, + this.idcsCreatedBy, + this.idcsLastModifiedBy, + this.idcsPreventedOperations, + this.tags, + this.deleteInProgress, + this.idcsLastUpgradedInRelease, + this.domainOcid, + this.compartmentOcid, + this.tenancyOcid, + this.attributeSettings); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UserAttributesSetting model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("meta")) { + this.meta(model.getMeta()); + } + if (model.wasPropertyExplicitlySet("idcsCreatedBy")) { + this.idcsCreatedBy(model.getIdcsCreatedBy()); + } + if (model.wasPropertyExplicitlySet("idcsLastModifiedBy")) { + this.idcsLastModifiedBy(model.getIdcsLastModifiedBy()); + } + if (model.wasPropertyExplicitlySet("idcsPreventedOperations")) { + this.idcsPreventedOperations(model.getIdcsPreventedOperations()); + } + if (model.wasPropertyExplicitlySet("tags")) { + this.tags(model.getTags()); + } + if (model.wasPropertyExplicitlySet("deleteInProgress")) { + this.deleteInProgress(model.getDeleteInProgress()); + } + if (model.wasPropertyExplicitlySet("idcsLastUpgradedInRelease")) { + this.idcsLastUpgradedInRelease(model.getIdcsLastUpgradedInRelease()); + } + if (model.wasPropertyExplicitlySet("domainOcid")) { + this.domainOcid(model.getDomainOcid()); + } + if (model.wasPropertyExplicitlySet("compartmentOcid")) { + this.compartmentOcid(model.getCompartmentOcid()); + } + if (model.wasPropertyExplicitlySet("tenancyOcid")) { + this.tenancyOcid(model.getTenancyOcid()); + } + if (model.wasPropertyExplicitlySet("attributeSettings")) { + this.attributeSettings(model.getAttributeSettings()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique identifier for the SCIM Resource as defined by the Service Provider. Each + * representation of the Resource MUST include a non-empty id value. This identifier MUST be + * unique across the Service Provider's entire set of Resources. It MUST be a stable, + * non-reassignable identifier that does not change when the same Resource is returned in + * subsequent requests. The value of the id attribute is always issued by the Service Provider + * and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST + * NOT be used in the unique identifier. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Unique OCI identifier for the SCIM Resource. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the + * supported schema version for a SCIM representation as well any schema extensions supported by + * that representation. Each String value must be a unique URI. This specification defines URIs + * for User, Group, and a standard \\"enterprise\\" extension. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + @com.fasterxml.jackson.annotation.JsonProperty("meta") + private final Meta meta; + + public Meta getMeta() { + return meta; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsCreatedBy") + private final IdcsCreatedBy idcsCreatedBy; + + public IdcsCreatedBy getIdcsCreatedBy() { + return idcsCreatedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastModifiedBy") + private final IdcsLastModifiedBy idcsLastModifiedBy; + + public IdcsLastModifiedBy getIdcsLastModifiedBy() { + return idcsLastModifiedBy; + } + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * Each value of this attribute specifies an operation that only an internal client may perform + * on this particular resource. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * A list of tags on this resource. + * + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - + * multiValued: true - mutability: readWrite - required: false - returned: request - type: + * complex - uniqueness: none + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * A boolean flag indicating this resource in the process of being deleted. Usually set to true + * when synchronous deletion of the resource would take too long. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * The release number when the resource was upgraded. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * OCI Domain Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * OCI Compartment Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * OCI Tenant Id (ocid) in which the resource lives. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * User Schema Attribute Settings + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSettings") + private final java.util.List attributeSettings; + + /** + * User Schema Attribute Settings + * + *

*SCIM++ Properties:** - idcsCompositeKey: [name] - multiValued: true - mutability: + * readWrite - required: false - returned: default - type: complex + * + * @return the value + */ + public java.util.List getAttributeSettings() { + return attributeSettings; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UserAttributesSetting("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", schemas=").append(String.valueOf(this.schemas)); + sb.append(", meta=").append(String.valueOf(this.meta)); + sb.append(", idcsCreatedBy=").append(String.valueOf(this.idcsCreatedBy)); + sb.append(", idcsLastModifiedBy=").append(String.valueOf(this.idcsLastModifiedBy)); + sb.append(", idcsPreventedOperations=") + .append(String.valueOf(this.idcsPreventedOperations)); + sb.append(", tags=").append(String.valueOf(this.tags)); + sb.append(", deleteInProgress=").append(String.valueOf(this.deleteInProgress)); + sb.append(", idcsLastUpgradedInRelease=") + .append(String.valueOf(this.idcsLastUpgradedInRelease)); + sb.append(", domainOcid=").append(String.valueOf(this.domainOcid)); + sb.append(", compartmentOcid=").append(String.valueOf(this.compartmentOcid)); + sb.append(", tenancyOcid=").append(String.valueOf(this.tenancyOcid)); + sb.append(", attributeSettings=").append(String.valueOf(this.attributeSettings)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UserAttributesSetting)) { + return false; + } + + UserAttributesSetting other = (UserAttributesSetting) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.meta, other.meta) + && java.util.Objects.equals(this.idcsCreatedBy, other.idcsCreatedBy) + && java.util.Objects.equals(this.idcsLastModifiedBy, other.idcsLastModifiedBy) + && java.util.Objects.equals( + this.idcsPreventedOperations, other.idcsPreventedOperations) + && java.util.Objects.equals(this.tags, other.tags) + && java.util.Objects.equals(this.deleteInProgress, other.deleteInProgress) + && java.util.Objects.equals( + this.idcsLastUpgradedInRelease, other.idcsLastUpgradedInRelease) + && java.util.Objects.equals(this.domainOcid, other.domainOcid) + && java.util.Objects.equals(this.compartmentOcid, other.compartmentOcid) + && java.util.Objects.equals(this.tenancyOcid, other.tenancyOcid) + && java.util.Objects.equals(this.attributeSettings, other.attributeSettings) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.meta == null ? 43 : this.meta.hashCode()); + result = + (result * PRIME) + + (this.idcsCreatedBy == null ? 43 : this.idcsCreatedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsLastModifiedBy == null + ? 43 + : this.idcsLastModifiedBy.hashCode()); + result = + (result * PRIME) + + (this.idcsPreventedOperations == null + ? 43 + : this.idcsPreventedOperations.hashCode()); + result = (result * PRIME) + (this.tags == null ? 43 : this.tags.hashCode()); + result = + (result * PRIME) + + (this.deleteInProgress == null ? 43 : this.deleteInProgress.hashCode()); + result = + (result * PRIME) + + (this.idcsLastUpgradedInRelease == null + ? 43 + : this.idcsLastUpgradedInRelease.hashCode()); + result = (result * PRIME) + (this.domainOcid == null ? 43 : this.domainOcid.hashCode()); + result = + (result * PRIME) + + (this.compartmentOcid == null ? 43 : this.compartmentOcid.hashCode()); + result = (result * PRIME) + (this.tenancyOcid == null ? 43 : this.tenancyOcid.hashCode()); + result = + (result * PRIME) + + (this.attributeSettings == null ? 43 : this.attributeSettings.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSettings.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSettings.java new file mode 100644 index 00000000000..6db49145d45 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSettings.java @@ -0,0 +1,358 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, + * and paginate to return zero or more resources in a query response. Queries MAY be made against a + * single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UserAttributesSettings.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UserAttributesSettings + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public UserAttributesSettings( + java.util.List schemas, + Integer totalResults, + java.util.List resources, + Integer startIndex, + Integer itemsPerPage) { + super(); + this.schemas = schemas; + this.totalResults = totalResults; + this.resources = resources; + this.startIndex = startIndex; + this.itemsPerPage = itemsPerPage; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM + * schema MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and + * MUST not impact behavior. REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be + * larger than the number of resources returned such as when returning a single page of + * results where multiple pages are available. REQUIRED. + * + * @param totalResults the value to set + * @return this builder + */ + public Builder totalResults(Integer totalResults) { + this.totalResults = totalResults; + this.__explicitlySet__.add("totalResults"); + return this; + } + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if + * "totalResults" is non-zero. + * + * @param resources the value to set + * @return this builder + */ + public Builder resources(java.util.List resources) { + this.resources = resources; + this.__explicitlySet__.add("resources"); + return this; + } + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @param startIndex the value to set + * @return this builder + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + this.__explicitlySet__.add("startIndex"); + return this; + } + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @param itemsPerPage the value to set + * @return this builder + */ + public Builder itemsPerPage(Integer itemsPerPage) { + this.itemsPerPage = itemsPerPage; + this.__explicitlySet__.add("itemsPerPage"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UserAttributesSettings build() { + UserAttributesSettings model = + new UserAttributesSettings( + this.schemas, + this.totalResults, + this.resources, + this.startIndex, + this.itemsPerPage); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UserAttributesSettings model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("totalResults")) { + this.totalResults(model.getTotalResults()); + } + if (model.wasPropertyExplicitlySet("resources")) { + this.resources(model.getResources()); + } + if (model.wasPropertyExplicitlySet("startIndex")) { + this.startIndex(model.getStartIndex()); + } + if (model.wasPropertyExplicitlySet("itemsPerPage")) { + this.itemsPerPage(model.getItemsPerPage()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. All representations of SCIM schema + * MUST include a non-zero value array with value(s) of the URIs supported by that + * representation. Duplicate values MUST NOT be included. Value order is not specified and MUST + * not impact behavior. REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("totalResults") + private final Integer totalResults; + + /** + * The total number of results returned by the list or query operation. The value may be larger + * than the number of resources returned such as when returning a single page of results where + * multiple pages are available. REQUIRED. + * + * @return the value + */ + public Integer getTotalResults() { + return totalResults; + } + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + */ + @com.fasterxml.jackson.annotation.JsonProperty("Resources") + private final java.util.List resources; + + /** + * A multi-valued list of complex objects containing the requested resources. This MAY be a + * subset of the full set of resources if pagination is requested. REQUIRED if "totalResults" is + * non-zero. + * + * @return the value + */ + public java.util.List getResources() { + return resources; + } + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("startIndex") + private final Integer startIndex; + + /** + * The 1-based index of the first result in the current set of list results. REQUIRED when + * partial results returned due to pagination. + * + * @return the value + */ + public Integer getStartIndex() { + return startIndex; + } + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + */ + @com.fasterxml.jackson.annotation.JsonProperty("itemsPerPage") + private final Integer itemsPerPage; + + /** + * The number of resources returned in a list response page. REQUIRED when partial results + * returned due to pagination. + * + * @return the value + */ + public Integer getItemsPerPage() { + return itemsPerPage; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UserAttributesSettings("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", totalResults=").append(String.valueOf(this.totalResults)); + sb.append(", resources=").append(String.valueOf(this.resources)); + sb.append(", startIndex=").append(String.valueOf(this.startIndex)); + sb.append(", itemsPerPage=").append(String.valueOf(this.itemsPerPage)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UserAttributesSettings)) { + return false; + } + + UserAttributesSettings other = (UserAttributesSettings) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.totalResults, other.totalResults) + && java.util.Objects.equals(this.resources, other.resources) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.itemsPerPage, other.itemsPerPage) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.totalResults == null ? 43 : this.totalResults.hashCode()); + result = (result * PRIME) + (this.resources == null ? 43 : this.resources.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.itemsPerPage == null ? 43 : this.itemsPerPage.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSettingsAttributeSettings.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSettingsAttributeSettings.java new file mode 100644 index 00000000000..abd14ffc52a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSettingsAttributeSettings.java @@ -0,0 +1,297 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * User Schema Attribute Settings
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UserAttributesSettingsAttributeSettings.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UserAttributesSettingsAttributeSettings + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "name", + "endUserMutability", + "endUserMutabilityCanonicalValues" + }) + public UserAttributesSettingsAttributeSettings( + String name, + String endUserMutability, + java.util.List endUserMutabilityCanonicalValues) { + super(); + this.name = name; + this.endUserMutability = endUserMutability; + this.endUserMutabilityCanonicalValues = endUserMutabilityCanonicalValues; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Fully-qualified attribute or complex mapping Name + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * Fully-qualified attribute or complex mapping Name + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite + * - required: true - returned: default - type: string - uniqueness: none + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * End User mutability + * + *

*SCIM++ Properties:** - idcsCanonicalValueSourceFilter: attrName eq "mutabilityValues" + * and attrValues.value eq "$(endUserMutability)" - idcsCanonicalValueSourceResourceType: + * AllowedValue - caseExact: false - multiValued: false - mutability: readWrite - required: + * true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("endUserMutability") + private String endUserMutability; + + /** + * End User mutability + * + *

*SCIM++ Properties:** - idcsCanonicalValueSourceFilter: attrName eq "mutabilityValues" + * and attrValues.value eq "$(endUserMutability)" - idcsCanonicalValueSourceResourceType: + * AllowedValue - caseExact: false - multiValued: false - mutability: readWrite - required: + * true - returned: default - type: string - uniqueness: none + * + * @param endUserMutability the value to set + * @return this builder + */ + public Builder endUserMutability(String endUserMutability) { + this.endUserMutability = endUserMutability; + this.__explicitlySet__.add("endUserMutability"); + return this; + } + /** + * Specifies the list of User mutabilities allowed. + * + *

*Added In:** 18.3.4 + * + *

*SCIM++ Properties:** - idcsCanonicalValueSourceFilter: attrName eq "mutabilityValues" + * and attrValues.value eq "$(endUserMutability)" - idcsCanonicalValueSourceResourceType: + * AllowedValue - caseExact: true - multiValued: true - mutability: readWrite - required: + * false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("endUserMutabilityCanonicalValues") + private java.util.List endUserMutabilityCanonicalValues; + + /** + * Specifies the list of User mutabilities allowed. + * + *

*Added In:** 18.3.4 + * + *

*SCIM++ Properties:** - idcsCanonicalValueSourceFilter: attrName eq "mutabilityValues" + * and attrValues.value eq "$(endUserMutability)" - idcsCanonicalValueSourceResourceType: + * AllowedValue - caseExact: true - multiValued: true - mutability: readWrite - required: + * false - returned: default - type: string - uniqueness: none + * + * @param endUserMutabilityCanonicalValues the value to set + * @return this builder + */ + public Builder endUserMutabilityCanonicalValues( + java.util.List endUserMutabilityCanonicalValues) { + this.endUserMutabilityCanonicalValues = endUserMutabilityCanonicalValues; + this.__explicitlySet__.add("endUserMutabilityCanonicalValues"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UserAttributesSettingsAttributeSettings build() { + UserAttributesSettingsAttributeSettings model = + new UserAttributesSettingsAttributeSettings( + this.name, + this.endUserMutability, + this.endUserMutabilityCanonicalValues); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UserAttributesSettingsAttributeSettings model) { + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("endUserMutability")) { + this.endUserMutability(model.getEndUserMutability()); + } + if (model.wasPropertyExplicitlySet("endUserMutabilityCanonicalValues")) { + this.endUserMutabilityCanonicalValues(model.getEndUserMutabilityCanonicalValues()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Fully-qualified attribute or complex mapping Name + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * Fully-qualified attribute or complex mapping Name + * + *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - + * required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * End User mutability + * + *

*SCIM++ Properties:** - idcsCanonicalValueSourceFilter: attrName eq "mutabilityValues" and + * attrValues.value eq "$(endUserMutability)" - idcsCanonicalValueSourceResourceType: + * AllowedValue - caseExact: false - multiValued: false - mutability: readWrite - required: true + * - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("endUserMutability") + private final String endUserMutability; + + /** + * End User mutability + * + *

*SCIM++ Properties:** - idcsCanonicalValueSourceFilter: attrName eq "mutabilityValues" and + * attrValues.value eq "$(endUserMutability)" - idcsCanonicalValueSourceResourceType: + * AllowedValue - caseExact: false - multiValued: false - mutability: readWrite - required: true + * - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getEndUserMutability() { + return endUserMutability; + } + + /** + * Specifies the list of User mutabilities allowed. + * + *

*Added In:** 18.3.4 + * + *

*SCIM++ Properties:** - idcsCanonicalValueSourceFilter: attrName eq "mutabilityValues" and + * attrValues.value eq "$(endUserMutability)" - idcsCanonicalValueSourceResourceType: + * AllowedValue - caseExact: true - multiValued: true - mutability: readWrite - required: false + * - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("endUserMutabilityCanonicalValues") + private final java.util.List endUserMutabilityCanonicalValues; + + /** + * Specifies the list of User mutabilities allowed. + * + *

*Added In:** 18.3.4 + * + *

*SCIM++ Properties:** - idcsCanonicalValueSourceFilter: attrName eq "mutabilityValues" and + * attrValues.value eq "$(endUserMutability)" - idcsCanonicalValueSourceResourceType: + * AllowedValue - caseExact: true - multiValued: true - mutability: readWrite - required: false + * - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public java.util.List getEndUserMutabilityCanonicalValues() { + return endUserMutabilityCanonicalValues; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UserAttributesSettingsAttributeSettings("); + sb.append("super=").append(super.toString()); + sb.append("name=").append(String.valueOf(this.name)); + sb.append(", endUserMutability=").append(String.valueOf(this.endUserMutability)); + sb.append(", endUserMutabilityCanonicalValues=") + .append(String.valueOf(this.endUserMutabilityCanonicalValues)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UserAttributesSettingsAttributeSettings)) { + return false; + } + + UserAttributesSettingsAttributeSettings other = (UserAttributesSettingsAttributeSettings) o; + return java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.endUserMutability, other.endUserMutability) + && java.util.Objects.equals( + this.endUserMutabilityCanonicalValues, + other.endUserMutabilityCanonicalValues) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = + (result * PRIME) + + (this.endUserMutability == null ? 43 : this.endUserMutability.hashCode()); + result = + (result * PRIME) + + (this.endUserMutabilityCanonicalValues == null + ? 43 + : this.endUserMutabilityCanonicalValues.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSettingsSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSettingsSearchRequest.java new file mode 100644 index 00000000000..ab9dd51f24c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserAttributesSettingsSearchRequest.java @@ -0,0 +1,276 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.model; + +/** + * Clients MAY execute queries without passing parameters on the URL by using the HTTP POST verb + * combined with the **.search** path extension. The inclusion of **.search** on the end of a valid + * SCIM endpoint SHALL be used to indicate the HTTP POST verb is intended to be a query operation. + * To create a new query result set, a SCIM client sends an HTTP POST request to the desired SCIM + * resource endpoint (ending in **.search**). The body of the POST request MAY include any of the + * parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UserAttributesSettingsSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UserAttributesSettingsSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"schemas", "attributes", "attributeSets"}) + public UserAttributesSettingsSearchRequest( + java.util.List schemas, + java.util.List attributes, + java.util.List attributeSets) { + super(); + this.schemas = schemas; + this.attributes = attributes; + this.attributeSets = attributeSets; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @param schemas the value to set + * @return this builder + */ + public Builder schemas(java.util.List schemas) { + this.schemas = schemas; + this.__explicitlySet__.add("schemas"); + return this; + } + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in + * the response overriding the set of attributes that would be returned by default. + * Attribute names MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @param attributes the value to set + * @return this builder + */ + public Builder attributes(java.util.List attributes) { + this.attributes = attributes; + this.__explicitlySet__.add("attributes"); + return this; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * "attributes" query parameter is also available, union of the two is fetched. Valid values + * : all, always, never, request, default. Values are case-insensitive. OPTIONAL. + * + * @param attributeSets the value to set + * @return this builder + */ + public Builder attributeSets(java.util.List attributeSets) { + this.attributeSets = attributeSets; + this.__explicitlySet__.add("attributeSets"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UserAttributesSettingsSearchRequest build() { + UserAttributesSettingsSearchRequest model = + new UserAttributesSettingsSearchRequest( + this.schemas, this.attributes, this.attributeSets); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UserAttributesSettingsSearchRequest model) { + if (model.wasPropertyExplicitlySet("schemas")) { + this.schemas(model.getSchemas()); + } + if (model.wasPropertyExplicitlySet("attributes")) { + this.attributes(model.getAttributes()); + } + if (model.wasPropertyExplicitlySet("attributeSets")) { + this.attributeSets(model.getAttributeSets()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * The schemas attribute is an array of Strings which allows introspection of the supported + * schema version for a SCIM representation as well any schema extensions supported by that + * representation. Each String value must be a unique URI. Query requests MUST be identified + * using the following URI: "urn:ietf:params:scim:api:messages:2.0:SearchRequest" REQUIRED. + * + * @return the value + */ + public java.util.List getSchemas() { + return schemas; + } + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributes") + private final java.util.List attributes; + + /** + * A multi-valued list of strings indicating the names of resource attributes to return in the + * response overriding the set of attributes that would be returned by default. Attribute names + * MUST be in standard attribute notation ([Section + * 3.10](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.10)) form. See + * ([additional retrieval query + * parameters](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.9)). OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributes() { + return attributes; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + */ + @com.fasterxml.jackson.annotation.JsonProperty("attributeSets") + private final java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If "attributes" + * query parameter is also available, union of the two is fetched. Valid values : all, always, + * never, request, default. Values are case-insensitive. OPTIONAL. + * + * @return the value + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UserAttributesSettingsSearchRequest("); + sb.append("super=").append(super.toString()); + sb.append("schemas=").append(String.valueOf(this.schemas)); + sb.append(", attributes=").append(String.valueOf(this.attributes)); + sb.append(", attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UserAttributesSettingsSearchRequest)) { + return false; + } + + UserAttributesSettingsSearchRequest other = (UserAttributesSettingsSearchRequest) o; + return java.util.Objects.equals(this.schemas, other.schemas) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.schemas == null ? 43 : this.schemas.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserCapabilitiesChanger.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserCapabilitiesChanger.java index cb56b3b2f4a..ce5d3eee5d2 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserCapabilitiesChanger.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserCapabilitiesChanger.java @@ -44,6 +44,7 @@ public final class UserCapabilitiesChanger "canUseOAuth2ClientCredentials", "canUseSmtpCredentials", "canUseDbCredentials", + "canUseConsole", "urnIetfParamsScimSchemasOracleIdcsExtensionSelfChangeUser" }) public UserCapabilitiesChanger( @@ -67,6 +68,7 @@ public UserCapabilitiesChanger( Boolean canUseOAuth2ClientCredentials, Boolean canUseSmtpCredentials, Boolean canUseDbCredentials, + Boolean canUseConsole, ExtensionSelfChangeUser urnIetfParamsScimSchemasOracleIdcsExtensionSelfChangeUser) { super(); this.id = id; @@ -89,6 +91,7 @@ public UserCapabilitiesChanger( this.canUseOAuth2ClientCredentials = canUseOAuth2ClientCredentials; this.canUseSmtpCredentials = canUseSmtpCredentials; this.canUseDbCredentials = canUseDbCredentials; + this.canUseConsole = canUseConsole; this.urnIetfParamsScimSchemasOracleIdcsExtensionSelfChangeUser = urnIetfParamsScimSchemasOracleIdcsExtensionSelfChangeUser; } @@ -400,7 +403,7 @@ public Builder tenancyOcid(String tenancyOcid) { return this; } /** - * Indicates weather a user can use api keys + * Indicates whether a user can use API keys. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -410,7 +413,7 @@ public Builder tenancyOcid(String tenancyOcid) { private Boolean canUseApiKeys; /** - * Indicates weather a user can use api keys + * Indicates whether a user can use API keys. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -425,7 +428,7 @@ public Builder canUseApiKeys(Boolean canUseApiKeys) { return this; } /** - * Indicates weather a user can use auth tokens + * Indicates whether a user can use Auth tokens. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -435,7 +438,7 @@ public Builder canUseApiKeys(Boolean canUseApiKeys) { private Boolean canUseAuthTokens; /** - * Indicates weather a user can use auth tokens + * Indicates whether a user can use Auth tokens. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -450,7 +453,7 @@ public Builder canUseAuthTokens(Boolean canUseAuthTokens) { return this; } /** - * Indicates weather a user can use console password + * Indicates whether a user can use Console passwords. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -460,7 +463,7 @@ public Builder canUseAuthTokens(Boolean canUseAuthTokens) { private Boolean canUseConsolePassword; /** - * Indicates weather a user can use console password + * Indicates whether a user can use Console passwords. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -475,7 +478,7 @@ public Builder canUseConsolePassword(Boolean canUseConsolePassword) { return this; } /** - * Indicates weather a user can use customer secret keys + * Indicates whether a user can use customer secret keys. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -485,7 +488,7 @@ public Builder canUseConsolePassword(Boolean canUseConsolePassword) { private Boolean canUseCustomerSecretKeys; /** - * Indicates weather a user can use customer secret keys + * Indicates whether a user can use customer secret keys. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -500,7 +503,7 @@ public Builder canUseCustomerSecretKeys(Boolean canUseCustomerSecretKeys) { return this; } /** - * Indicates weather a user can use oauth2 client credentials + * Indicates whether a user can use OAuth2 client credentials. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -510,7 +513,7 @@ public Builder canUseCustomerSecretKeys(Boolean canUseCustomerSecretKeys) { private Boolean canUseOAuth2ClientCredentials; /** - * Indicates weather a user can use oauth2 client credentials + * Indicates whether a user can use OAuth2 client credentials. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -525,7 +528,7 @@ public Builder canUseOAuth2ClientCredentials(Boolean canUseOAuth2ClientCredentia return this; } /** - * Indicates weather a user can use smtp credentials + * Indicates whether a user can use SMTP credentials. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -535,7 +538,7 @@ public Builder canUseOAuth2ClientCredentials(Boolean canUseOAuth2ClientCredentia private Boolean canUseSmtpCredentials; /** - * Indicates weather a user can use smtp credentials + * Indicates whether a user can use SMTP credentials. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -550,7 +553,7 @@ public Builder canUseSmtpCredentials(Boolean canUseSmtpCredentials) { return this; } /** - * Indicates weather a user can use db credentials + * Indicates whether a user can use database credentials. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -560,7 +563,7 @@ public Builder canUseSmtpCredentials(Boolean canUseSmtpCredentials) { private Boolean canUseDbCredentials; /** - * Indicates weather a user can use db credentials + * Indicates whether a user can use database credentials. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -574,6 +577,31 @@ public Builder canUseDbCredentials(Boolean canUseDbCredentials) { this.__explicitlySet__.add("canUseDbCredentials"); return this; } + /** + * Indicates whether a user can use the Console. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - idcsDefaultValue: false - required: false - returned: default - + * type: boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("canUseConsole") + private Boolean canUseConsole; + + /** + * Indicates whether a user can use the Console. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - idcsDefaultValue: false - required: false - returned: default - + * type: boolean - uniqueness: none + * + * @param canUseConsole the value to set + * @return this builder + */ + public Builder canUseConsole(Boolean canUseConsole) { + this.canUseConsole = canUseConsole; + this.__explicitlySet__.add("canUseConsole"); + return this; + } @com.fasterxml.jackson.annotation.JsonProperty( "urn:ietf:params:scim:schemas:oracle:idcs:extension:selfChange:User") @@ -613,6 +641,7 @@ public UserCapabilitiesChanger build() { this.canUseOAuth2ClientCredentials, this.canUseSmtpCredentials, this.canUseDbCredentials, + this.canUseConsole, this.urnIetfParamsScimSchemasOracleIdcsExtensionSelfChangeUser); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -682,6 +711,9 @@ public Builder copy(UserCapabilitiesChanger model) { if (model.wasPropertyExplicitlySet("canUseDbCredentials")) { this.canUseDbCredentials(model.getCanUseDbCredentials()); } + if (model.wasPropertyExplicitlySet("canUseConsole")) { + this.canUseConsole(model.getCanUseConsole()); + } if (model.wasPropertyExplicitlySet( "urnIetfParamsScimSchemasOracleIdcsExtensionSelfChangeUser")) { this.urnIetfParamsScimSchemasOracleIdcsExtensionSelfChangeUser( @@ -964,7 +996,7 @@ public String getTenancyOcid() { } /** - * Indicates weather a user can use api keys + * Indicates whether a user can use API keys. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -974,7 +1006,7 @@ public String getTenancyOcid() { private final Boolean canUseApiKeys; /** - * Indicates weather a user can use api keys + * Indicates whether a user can use API keys. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -987,7 +1019,7 @@ public Boolean getCanUseApiKeys() { } /** - * Indicates weather a user can use auth tokens + * Indicates whether a user can use Auth tokens. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -997,7 +1029,7 @@ public Boolean getCanUseApiKeys() { private final Boolean canUseAuthTokens; /** - * Indicates weather a user can use auth tokens + * Indicates whether a user can use Auth tokens. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -1010,7 +1042,7 @@ public Boolean getCanUseAuthTokens() { } /** - * Indicates weather a user can use console password + * Indicates whether a user can use Console passwords. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -1020,7 +1052,7 @@ public Boolean getCanUseAuthTokens() { private final Boolean canUseConsolePassword; /** - * Indicates weather a user can use console password + * Indicates whether a user can use Console passwords. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -1033,7 +1065,7 @@ public Boolean getCanUseConsolePassword() { } /** - * Indicates weather a user can use customer secret keys + * Indicates whether a user can use customer secret keys. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -1043,7 +1075,7 @@ public Boolean getCanUseConsolePassword() { private final Boolean canUseCustomerSecretKeys; /** - * Indicates weather a user can use customer secret keys + * Indicates whether a user can use customer secret keys. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -1056,7 +1088,7 @@ public Boolean getCanUseCustomerSecretKeys() { } /** - * Indicates weather a user can use oauth2 client credentials + * Indicates whether a user can use OAuth2 client credentials. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -1066,7 +1098,7 @@ public Boolean getCanUseCustomerSecretKeys() { private final Boolean canUseOAuth2ClientCredentials; /** - * Indicates weather a user can use oauth2 client credentials + * Indicates whether a user can use OAuth2 client credentials. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -1079,7 +1111,7 @@ public Boolean getCanUseOAuth2ClientCredentials() { } /** - * Indicates weather a user can use smtp credentials + * Indicates whether a user can use SMTP credentials. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -1089,7 +1121,7 @@ public Boolean getCanUseOAuth2ClientCredentials() { private final Boolean canUseSmtpCredentials; /** - * Indicates weather a user can use smtp credentials + * Indicates whether a user can use SMTP credentials. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -1102,7 +1134,7 @@ public Boolean getCanUseSmtpCredentials() { } /** - * Indicates weather a user can use db credentials + * Indicates whether a user can use database credentials. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -1112,7 +1144,7 @@ public Boolean getCanUseSmtpCredentials() { private final Boolean canUseDbCredentials; /** - * Indicates weather a user can use db credentials + * Indicates whether a user can use database credentials. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: @@ -1124,6 +1156,29 @@ public Boolean getCanUseDbCredentials() { return canUseDbCredentials; } + /** + * Indicates whether a user can use the Console. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - idcsDefaultValue: false - required: false - returned: default - type: + * boolean - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("canUseConsole") + private final Boolean canUseConsole; + + /** + * Indicates whether a user can use the Console. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readWrite - idcsDefaultValue: false - required: false - returned: default - type: + * boolean - uniqueness: none + * + * @return the value + */ + public Boolean getCanUseConsole() { + return canUseConsole; + } + @com.fasterxml.jackson.annotation.JsonProperty( "urn:ietf:params:scim:schemas:oracle:idcs:extension:selfChange:User") private final ExtensionSelfChangeUser urnIetfParamsScimSchemasOracleIdcsExtensionSelfChangeUser; @@ -1171,6 +1226,7 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.canUseOAuth2ClientCredentials)); sb.append(", canUseSmtpCredentials=").append(String.valueOf(this.canUseSmtpCredentials)); sb.append(", canUseDbCredentials=").append(String.valueOf(this.canUseDbCredentials)); + sb.append(", canUseConsole=").append(String.valueOf(this.canUseConsole)); sb.append(", urnIetfParamsScimSchemasOracleIdcsExtensionSelfChangeUser=") .append( String.valueOf( @@ -1213,6 +1269,7 @@ public boolean equals(Object o) { this.canUseOAuth2ClientCredentials, other.canUseOAuth2ClientCredentials) && java.util.Objects.equals(this.canUseSmtpCredentials, other.canUseSmtpCredentials) && java.util.Objects.equals(this.canUseDbCredentials, other.canUseDbCredentials) + && java.util.Objects.equals(this.canUseConsole, other.canUseConsole) && java.util.Objects.equals( this.urnIetfParamsScimSchemasOracleIdcsExtensionSelfChangeUser, other.urnIetfParamsScimSchemasOracleIdcsExtensionSelfChangeUser) @@ -1285,6 +1342,9 @@ public int hashCode() { + (this.canUseDbCredentials == null ? 43 : this.canUseDbCredentials.hashCode()); + result = + (result * PRIME) + + (this.canUseConsole == null ? 43 : this.canUseConsole.hashCode()); result = (result * PRIME) + (this.urnIetfParamsScimSchemasOracleIdcsExtensionSelfChangeUser == null diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserDbCredential.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserDbCredential.java index 3f14142483b..0a7a308b410 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserDbCredential.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserDbCredential.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User's Db Credential
+ * User's Database Credential
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -438,7 +438,7 @@ public Builder name(String name) { return this; } /** - * The db password of the user + * The user's database password. * *

*SCIM++ Properties:** - type: string - mutability: immutable - returned: default - * required: true @@ -447,7 +447,7 @@ public Builder name(String name) { private String dbPassword; /** - * The db password of the user + * The user's database password. * *

*SCIM++ Properties:** - type: string - mutability: immutable - returned: default - * required: true @@ -488,7 +488,7 @@ public Builder description(String description) { return this; } /** - * The db password of the user with mixed salt + * The user's database password with mixed salt. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -497,7 +497,7 @@ public Builder description(String description) { private String mixedDbPassword; /** - * The db password of the user with mixed salt + * The user's database password with mixed salt. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -511,7 +511,7 @@ public Builder mixedDbPassword(String mixedDbPassword) { return this; } /** - * The salt of the password + * The salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -520,7 +520,7 @@ public Builder mixedDbPassword(String mixedDbPassword) { private String salt; /** - * The salt of the password + * The salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -534,7 +534,7 @@ public Builder salt(String salt) { return this; } /** - * The mixed salt of the password + * The mixed salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -543,7 +543,7 @@ public Builder salt(String salt) { private String mixedSalt; /** - * The mixed salt of the password + * The mixed salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -557,7 +557,7 @@ public Builder mixedSalt(String mixedSalt) { return this; } /** - * A DateTime that specifies the date and time when the current db password was set + * A DateTime that specifies the date and time when the current database password was set. * *

*SCIM++ Properties:** - type: dateTime - mutability: readOnly - returned: default */ @@ -565,7 +565,7 @@ public Builder mixedSalt(String mixedSalt) { private String lastSetDate; /** - * A DateTime that specifies the date and time when the current db password was set + * A DateTime that specifies the date and time when the current database password was set. * *

*SCIM++ Properties:** - type: dateTime - mutability: readOnly - returned: default * @@ -578,7 +578,7 @@ public Builder lastSetDate(String lastSetDate) { return this; } /** - * Indicates that the db password has expired + * Indicates that the database password has expired. * *

*SCIM++ Properties:** - type: boolean - mutability: readOnly - returned: default */ @@ -586,7 +586,7 @@ public Builder lastSetDate(String lastSetDate) { private Boolean expired; /** - * Indicates that the db password has expired + * Indicates that the database password has expired. * *

*SCIM++ Properties:** - type: boolean - mutability: readOnly - returned: default * @@ -628,7 +628,7 @@ public Builder status(Status status) { return this; } /** - * User credential expires on + * When the user credential expires. * *

*Added In:** 2109090424 * @@ -640,7 +640,7 @@ public Builder status(Status status) { private String expiresOn; /** - * User credential expires on + * When the user credential expires. * *

*Added In:** 2109090424 * @@ -1096,7 +1096,7 @@ public String getName() { } /** - * The db password of the user + * The user's database password. * *

*SCIM++ Properties:** - type: string - mutability: immutable - returned: default - * required: true @@ -1105,7 +1105,7 @@ public String getName() { private final String dbPassword; /** - * The db password of the user + * The user's database password. * *

*SCIM++ Properties:** - type: string - mutability: immutable - returned: default - * required: true @@ -1142,7 +1142,7 @@ public String getDescription() { } /** - * The db password of the user with mixed salt + * The user's database password with mixed salt. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -1151,7 +1151,7 @@ public String getDescription() { private final String mixedDbPassword; /** - * The db password of the user with mixed salt + * The user's database password with mixed salt. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -1163,7 +1163,7 @@ public String getMixedDbPassword() { } /** - * The salt of the password + * The salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -1172,7 +1172,7 @@ public String getMixedDbPassword() { private final String salt; /** - * The salt of the password + * The salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -1184,7 +1184,7 @@ public String getSalt() { } /** - * The mixed salt of the password + * The mixed salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -1193,7 +1193,7 @@ public String getSalt() { private final String mixedSalt; /** - * The mixed salt of the password + * The mixed salt of the password. * *

*SCIM++ Properties:** - type: string - mutability: readOnly - returned: default - * required: false @@ -1205,7 +1205,7 @@ public String getMixedSalt() { } /** - * A DateTime that specifies the date and time when the current db password was set + * A DateTime that specifies the date and time when the current database password was set. * *

*SCIM++ Properties:** - type: dateTime - mutability: readOnly - returned: default */ @@ -1213,7 +1213,7 @@ public String getMixedSalt() { private final String lastSetDate; /** - * A DateTime that specifies the date and time when the current db password was set + * A DateTime that specifies the date and time when the current database password was set. * *

*SCIM++ Properties:** - type: dateTime - mutability: readOnly - returned: default * @@ -1224,7 +1224,7 @@ public String getLastSetDate() { } /** - * Indicates that the db password has expired + * Indicates that the database password has expired. * *

*SCIM++ Properties:** - type: boolean - mutability: readOnly - returned: default */ @@ -1232,7 +1232,7 @@ public String getLastSetDate() { private final Boolean expired; /** - * Indicates that the db password has expired + * Indicates that the database password has expired. * *

*SCIM++ Properties:** - type: boolean - mutability: readOnly - returned: default * @@ -1320,7 +1320,7 @@ public Status getStatus() { } /** - * User credential expires on + * When the user credential expires. * *

*Added In:** 2109090424 * @@ -1332,7 +1332,7 @@ public Status getStatus() { private final String expiresOn; /** - * User credential expires on + * When the user credential expires. * *

*Added In:** 2109090424 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserDbCredentialsUser.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserDbCredentialsUser.java index b82026d834d..20d0c98cc59 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserDbCredentialsUser.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserDbCredentialsUser.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User linked to db credential + * The user linked to the database credential. * *

*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [value] - idcsSearchable: true - * multiValued: false - mutability: immutable - required: false - returned: default - type: complex @@ -41,7 +41,7 @@ public UserDbCredentialsUser( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * User's id + * The user's identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: always - type: string - uniqueness: @@ -51,7 +51,7 @@ public static class Builder { private String value; /** - * User's id + * The user's identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: always - type: string - uniqueness: @@ -66,7 +66,7 @@ public Builder value(String value) { return this; } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -76,7 +76,7 @@ public Builder value(String value) { private String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: @@ -91,7 +91,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -101,7 +101,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - @@ -116,7 +116,7 @@ public Builder ref(String ref) { return this; } /** - * User display name + * The user display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -126,7 +126,7 @@ public Builder ref(String ref) { private String display; /** - * User display name + * The user display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -141,7 +141,7 @@ public Builder display(String display) { return this; } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -151,7 +151,7 @@ public Builder display(String display) { private String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -210,7 +210,7 @@ public Builder toBuilder() { } /** - * User's id + * The user's identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: always - type: string - uniqueness: none @@ -219,7 +219,7 @@ public Builder toBuilder() { private final String value; /** - * User's id + * The user's identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: always - type: string - uniqueness: none @@ -231,7 +231,7 @@ public String getValue() { } /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -240,7 +240,7 @@ public String getValue() { private final String ocid; /** - * User's ocid + * The user's OCID. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: false - returned: always - type: string - uniqueness: none @@ -252,7 +252,7 @@ public String getOcid() { } /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -262,7 +262,7 @@ public String getOcid() { private final String ref; /** - * The URI that corresponds to the user linked to this credential + * The URI that corresponds to the user linked to this credential. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: reference - uniqueness: @@ -275,7 +275,7 @@ public String getRef() { } /** - * User display name + * The user display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -284,7 +284,7 @@ public String getRef() { private final String display; /** - * User display name + * The user display name. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -296,7 +296,7 @@ public String getDisplay() { } /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -305,7 +305,7 @@ public String getDisplay() { private final String name; /** - * User name + * The username. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtApiKeys.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtApiKeys.java index 3c630d92af4..1ec7a770443 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtApiKeys.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtApiKeys.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * A list of api keys corresponding to user. + * A list of API keys corresponding to user. * *

*Added In:** 2012271618 * @@ -40,7 +40,7 @@ public UserExtApiKeys(String key, String value, String ocid, String ref) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The value of of the User's api key. + * The user's API key value. * *

*Added In:** 2106240046 * @@ -52,7 +52,7 @@ public static class Builder { private String key; /** - * The value of of the User's api key. + * The user's API key value. * *

*Added In:** 2106240046 * @@ -69,7 +69,7 @@ public Builder key(String key) { return this; } /** - * The identifier of the User's api key. + * The user's API key identifier. * *

*Added In:** 2012271618 * @@ -81,7 +81,7 @@ public Builder key(String key) { private String value; /** - * The identifier of the User's api key. + * The user's API key identifier. * *

*Added In:** 2012271618 * @@ -98,7 +98,7 @@ public Builder value(String value) { return this; } /** - * Ocid of the User's api key. + * The user's API key OCID. * *

*Added In:** 2012271618 * @@ -110,7 +110,7 @@ public Builder value(String value) { private String ocid; /** - * Ocid of the User's api key. + * The user's API key OCID. * *

*Added In:** 2012271618 * @@ -127,7 +127,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI of the corresponding ApiKey resource to which the user belongs + * The URI of the corresponding ApiKey resource to which the user belongs. * *

*Added In:** 2012271618 * @@ -138,7 +138,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI of the corresponding ApiKey resource to which the user belongs + * The URI of the corresponding ApiKey resource to which the user belongs. * *

*Added In:** 2012271618 * @@ -193,7 +193,7 @@ public Builder toBuilder() { } /** - * The value of of the User's api key. + * The user's API key value. * *

*Added In:** 2106240046 * @@ -204,7 +204,7 @@ public Builder toBuilder() { private final String key; /** - * The value of of the User's api key. + * The user's API key value. * *

*Added In:** 2106240046 * @@ -218,7 +218,7 @@ public String getKey() { } /** - * The identifier of the User's api key. + * The user's API key identifier. * *

*Added In:** 2012271618 * @@ -229,7 +229,7 @@ public String getKey() { private final String value; /** - * The identifier of the User's api key. + * The user's API key identifier. * *

*Added In:** 2012271618 * @@ -243,7 +243,7 @@ public String getValue() { } /** - * Ocid of the User's api key. + * The user's API key OCID. * *

*Added In:** 2012271618 * @@ -254,7 +254,7 @@ public String getValue() { private final String ocid; /** - * Ocid of the User's api key. + * The user's API key OCID. * *

*Added In:** 2012271618 * @@ -268,7 +268,7 @@ public String getOcid() { } /** - * The URI of the corresponding ApiKey resource to which the user belongs + * The URI of the corresponding ApiKey resource to which the user belongs. * *

*Added In:** 2012271618 * @@ -279,7 +279,7 @@ public String getOcid() { private final String ref; /** - * The URI of the corresponding ApiKey resource to which the user belongs + * The URI of the corresponding ApiKey resource to which the user belongs. * *

*Added In:** 2012271618 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtAppRoles.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtAppRoles.java index cb13f39c3a5..685262b0a60 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtAppRoles.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtAppRoles.java @@ -235,9 +235,9 @@ public Builder adminRole(Boolean adminRole) { } /** * The name (if any) under which this AppRole should appear in this User's group-memberships - * for reasons of backward compatibility. OCI IAM distinguishes between Groups and AppRoles, - * but some services still expect AppRoles appear as if they were service-instance-specific - * Groups. + * for reasons of backward compatibility. Oracle Identity Cloud Service distinguishes + * between Groups and AppRoles, but some services still expect AppRoles appear as if they + * were service-instance-specific Groups. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: * readOnly - required: false - returned: default - type: string - uniqueness: none @@ -247,9 +247,9 @@ public Builder adminRole(Boolean adminRole) { /** * The name (if any) under which this AppRole should appear in this User's group-memberships - * for reasons of backward compatibility. OCI IAM distinguishes between Groups and AppRoles, - * but some services still expect AppRoles appear as if they were service-instance-specific - * Groups. + * for reasons of backward compatibility. Oracle Identity Cloud Service distinguishes + * between Groups and AppRoles, but some services still expect AppRoles appear as if they + * were service-instance-specific Groups. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: * readOnly - required: false - returned: default - type: string - uniqueness: none @@ -530,8 +530,9 @@ public Boolean getAdminRole() { /** * The name (if any) under which this AppRole should appear in this User's group-memberships for - * reasons of backward compatibility. OCI IAM distinguishes between Groups and AppRoles, but - * some services still expect AppRoles appear as if they were service-instance-specific Groups. + * reasons of backward compatibility. Oracle Identity Cloud Service distinguishes between Groups + * and AppRoles, but some services still expect AppRoles appear as if they were + * service-instance-specific Groups. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - * required: false - returned: default - type: string - uniqueness: none @@ -541,8 +542,9 @@ public Boolean getAdminRole() { /** * The name (if any) under which this AppRole should appear in this User's group-memberships for - * reasons of backward compatibility. OCI IAM distinguishes between Groups and AppRoles, but - * some services still expect AppRoles appear as if they were service-instance-specific Groups. + * reasons of backward compatibility. Oracle Identity Cloud Service distinguishes between Groups + * and AppRoles, but some services still expect AppRoles appear as if they were + * service-instance-specific Groups. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - * required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtAuthTokens.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtAuthTokens.java index a08234766c3..5b4d5933f09 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtAuthTokens.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtAuthTokens.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * A list of auth tokens corresponding to user. + * A list of Auth tokens corresponding to user. * *

*Added In:** 2012271618 * @@ -40,7 +40,7 @@ public UserExtAuthTokens(String value, String ocid, String ref) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The identifier of the User's auth token. + * The user's Auth token identifier. * *

*Added In:** 2012271618 * @@ -52,7 +52,7 @@ public static class Builder { private String value; /** - * The identifier of the User's auth token. + * The user's Auth token identifier. * *

*Added In:** 2012271618 * @@ -69,7 +69,7 @@ public Builder value(String value) { return this; } /** - * Ocid of the User's auth token. + * The user's Auth token OCID. * *

*Added In:** 2012271618 * @@ -81,7 +81,7 @@ public Builder value(String value) { private String ocid; /** - * Ocid of the User's auth token. + * The user's Auth token OCID. * *

*Added In:** 2012271618 * @@ -98,7 +98,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI of the corresponding AuthToken resource to which the user belongs + * The URI of the corresponding AuthToken resource to which the user belongs. * *

*Added In:** 2012271618 * @@ -109,7 +109,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI of the corresponding AuthToken resource to which the user belongs + * The URI of the corresponding AuthToken resource to which the user belongs. * *

*Added In:** 2012271618 * @@ -161,7 +161,7 @@ public Builder toBuilder() { } /** - * The identifier of the User's auth token. + * The user's Auth token identifier. * *

*Added In:** 2012271618 * @@ -172,7 +172,7 @@ public Builder toBuilder() { private final String value; /** - * The identifier of the User's auth token. + * The user's Auth token identifier. * *

*Added In:** 2012271618 * @@ -186,7 +186,7 @@ public String getValue() { } /** - * Ocid of the User's auth token. + * The user's Auth token OCID. * *

*Added In:** 2012271618 * @@ -197,7 +197,7 @@ public String getValue() { private final String ocid; /** - * Ocid of the User's auth token. + * The user's Auth token OCID. * *

*Added In:** 2012271618 * @@ -211,7 +211,7 @@ public String getOcid() { } /** - * The URI of the corresponding AuthToken resource to which the user belongs + * The URI of the corresponding AuthToken resource to which the user belongs. * *

*Added In:** 2012271618 * @@ -222,7 +222,7 @@ public String getOcid() { private final String ref; /** - * The URI of the corresponding AuthToken resource to which the user belongs + * The URI of the corresponding AuthToken resource to which the user belongs. * *

*Added In:** 2012271618 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtBypassCodes.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtBypassCodes.java index 821efad2269..a7e6d9cc8d4 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtBypassCodes.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtBypassCodes.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * A list of bypass codes belongs to user + * A list of bypass codes that belongs to the user. * *

*Added In:** 18.3.6 * @@ -38,7 +38,7 @@ public UserExtBypassCodes(String value, String ref) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The identifier of the User's bypass code. + * The user's bypass code identifier. * *

*Added In:** 18.3.6 * @@ -50,7 +50,7 @@ public static class Builder { private String value; /** - * The identifier of the User's bypass code. + * The user's bypass code identifier. * *

*Added In:** 18.3.6 * @@ -127,7 +127,7 @@ public Builder toBuilder() { } /** - * The identifier of the User's bypass code. + * The user's bypass code identifier. * *

*Added In:** 18.3.6 * @@ -138,7 +138,7 @@ public Builder toBuilder() { private final String value; /** - * The identifier of the User's bypass code. + * The user's bypass code identifier. * *

*Added In:** 18.3.6 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtCustomerSecretKeys.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtCustomerSecretKeys.java index a570c69ab95..59957dc09fa 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtCustomerSecretKeys.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtCustomerSecretKeys.java @@ -40,7 +40,7 @@ public UserExtCustomerSecretKeys(String value, String ocid, String ref) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The identifier of the User's customer secret key. + * The user's customer secret key identifier. * *

*Added In:** 2102181953 * @@ -52,7 +52,7 @@ public static class Builder { private String value; /** - * The identifier of the User's customer secret key. + * The user's customer secret key identifier. * *

*Added In:** 2102181953 * @@ -69,7 +69,7 @@ public Builder value(String value) { return this; } /** - * Ocid of the User's customer secret key. + * The user's customer secret key OCID. * *

*Added In:** 2102181953 * @@ -81,7 +81,7 @@ public Builder value(String value) { private String ocid; /** - * Ocid of the User's customer secret key. + * The user's customer secret key OCID. * *

*Added In:** 2102181953 * @@ -98,7 +98,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI of the corresponding CustomerSecretKey resource to which the user belongs + * The URI of the corresponding CustomerSecretKey resource to which the user belongs. * *

*Added In:** 2102181953 * @@ -109,7 +109,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI of the corresponding CustomerSecretKey resource to which the user belongs + * The URI of the corresponding CustomerSecretKey resource to which the user belongs. * *

*Added In:** 2102181953 * @@ -162,7 +162,7 @@ public Builder toBuilder() { } /** - * The identifier of the User's customer secret key. + * The user's customer secret key identifier. * *

*Added In:** 2102181953 * @@ -173,7 +173,7 @@ public Builder toBuilder() { private final String value; /** - * The identifier of the User's customer secret key. + * The user's customer secret key identifier. * *

*Added In:** 2102181953 * @@ -187,7 +187,7 @@ public String getValue() { } /** - * Ocid of the User's customer secret key. + * The user's customer secret key OCID. * *

*Added In:** 2102181953 * @@ -198,7 +198,7 @@ public String getValue() { private final String ocid; /** - * Ocid of the User's customer secret key. + * The user's customer secret key OCID. * *

*Added In:** 2102181953 * @@ -212,7 +212,7 @@ public String getOcid() { } /** - * The URI of the corresponding CustomerSecretKey resource to which the user belongs + * The URI of the corresponding CustomerSecretKey resource to which the user belongs. * *

*Added In:** 2102181953 * @@ -223,7 +223,7 @@ public String getOcid() { private final String ref; /** - * The URI of the corresponding CustomerSecretKey resource to which the user belongs + * The URI of the corresponding CustomerSecretKey resource to which the user belongs. * *

*Added In:** 2102181953 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtDbCredentials.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtDbCredentials.java index e048e1bd688..27a6bf93d9a 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtDbCredentials.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtDbCredentials.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * A list of db credentials corresponding to user. + * A list of database credentials corresponding to user. * *

*Added In:** 2102181953 * @@ -40,7 +40,7 @@ public UserExtDbCredentials(String value, String ref, String ocid) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The identifier of the User's db credential. + * The user's database credential identifier. * *

*Added In:** 2102181953 * @@ -52,7 +52,7 @@ public static class Builder { private String value; /** - * The identifier of the User's db credential. + * The user's database credential identifier. * *

*Added In:** 2102181953 * @@ -69,7 +69,7 @@ public Builder value(String value) { return this; } /** - * The URI of the corresponding UserDbCredential resource to which the user belongs + * The URI of the corresponding UserDbCredential resource to which the user belongs. * *

*Added In:** 2102181953 * @@ -80,7 +80,7 @@ public Builder value(String value) { private String ref; /** - * The URI of the corresponding UserDbCredential resource to which the user belongs + * The URI of the corresponding UserDbCredential resource to which the user belongs. * *

*Added In:** 2102181953 * @@ -96,7 +96,7 @@ public Builder ref(String ref) { return this; } /** - * Ocid of the User's db credential. + * The user's database credential OCID. * *

*Added In:** 2102181953 * @@ -108,7 +108,7 @@ public Builder ref(String ref) { private String ocid; /** - * Ocid of the User's db credential. + * The user's database credential OCID. * *

*Added In:** 2102181953 * @@ -161,7 +161,7 @@ public Builder toBuilder() { } /** - * The identifier of the User's db credential. + * The user's database credential identifier. * *

*Added In:** 2102181953 * @@ -172,7 +172,7 @@ public Builder toBuilder() { private final String value; /** - * The identifier of the User's db credential. + * The user's database credential identifier. * *

*Added In:** 2102181953 * @@ -186,7 +186,7 @@ public String getValue() { } /** - * The URI of the corresponding UserDbCredential resource to which the user belongs + * The URI of the corresponding UserDbCredential resource to which the user belongs. * *

*Added In:** 2102181953 * @@ -197,7 +197,7 @@ public String getValue() { private final String ref; /** - * The URI of the corresponding UserDbCredential resource to which the user belongs + * The URI of the corresponding UserDbCredential resource to which the user belongs. * *

*Added In:** 2102181953 * @@ -211,7 +211,7 @@ public String getRef() { } /** - * Ocid of the User's db credential. + * The user's database credential OCID. * *

*Added In:** 2102181953 * @@ -222,7 +222,7 @@ public String getRef() { private final String ocid; /** - * Ocid of the User's db credential. + * The user's database credential OCID. * *

*Added In:** 2102181953 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtDelegatedAuthenticationTargetApp.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtDelegatedAuthenticationTargetApp.java index ffa56aeab05..256ddebb244 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtDelegatedAuthenticationTargetApp.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtDelegatedAuthenticationTargetApp.java @@ -7,7 +7,7 @@ /** * If set, indicates the user's preferred authentication target app. If not set and the user's * \\"syncedFromApp\\" is set and is enabled for delegated authentication, it is used. Otherwise, - * the user authenticates locally to OCI IAM. + * the user authenticates locally to Oracle Identity Cloud Service. * *

*Added In:** 17.4.6 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtDevices.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtDevices.java index 45401611964..3850b0f76a5 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtDevices.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtDevices.java @@ -63,7 +63,7 @@ public UserExtDevices( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The identifier of the User's device. + * The user's device identifier. * *

*Added In:** 18.3.6 * @@ -75,7 +75,7 @@ public static class Builder { private String value; /** - * The identifier of the User's device. + * The user's device identifier. * *

*Added In:** 18.3.6 * @@ -92,7 +92,7 @@ public Builder value(String value) { return this; } /** - * The URI of the corresponding Device resource which belongs to user + * The URI of the corresponding Device resource which belongs to user. * *

*Added In:** 18.3.6 * @@ -103,7 +103,7 @@ public Builder value(String value) { private String ref; /** - * The URI of the corresponding Device resource which belongs to user + * The URI of the corresponding Device resource which belongs to user. * *

*Added In:** 18.3.6 * @@ -146,7 +146,7 @@ public Builder display(String display) { return this; } /** - * Device status. + * The device's status. * *

*Added In:** 18.4.2 * @@ -157,7 +157,7 @@ public Builder display(String display) { private String status; /** - * Device status. + * The device's status. * *

*Added In:** 18.4.2 * @@ -173,7 +173,7 @@ public Builder status(String status) { return this; } /** - * Last Sync time for device. + * The last sync time for device. * *

*Added In:** 18.4.2 * @@ -184,7 +184,7 @@ public Builder status(String status) { private String lastSyncTime; /** - * Last Sync time for device. + * The last sync time for device. * *

*Added In:** 18.4.2 * @@ -200,7 +200,7 @@ public Builder lastSyncTime(String lastSyncTime) { return this; } /** - * Device authentication factor type. + * The device authentication factor type. * *

*Added In:** 18.4.2 * @@ -211,7 +211,7 @@ public Builder lastSyncTime(String lastSyncTime) { private String factorType; /** - * Device authentication factor type. + * The device authentication factor type. * *

*Added In:** 18.4.2 * @@ -227,7 +227,7 @@ public Builder factorType(String factorType) { return this; } /** - * Device authentication factor status. + * The device authentication factor status. * *

*Added In:** 18.4.2 * @@ -238,7 +238,7 @@ public Builder factorType(String factorType) { private String factorStatus; /** - * Device authentication factor status. + * The device authentication factor status. * *

*Added In:** 18.4.2 * @@ -254,7 +254,7 @@ public Builder factorStatus(String factorStatus) { return this; } /** - * Authentication method. + * The authentication method. * *

*Added In:** 2009232244 * @@ -265,7 +265,7 @@ public Builder factorStatus(String factorStatus) { private String authenticationMethod; /** - * Authentication method. + * The authentication method. * *

*Added In:** 2009232244 * @@ -281,7 +281,7 @@ public Builder authenticationMethod(String authenticationMethod) { return this; } /** - * Third party factor vendor name. + * The third-party factor vendor name. * *

*Added In:** 2009232244 * @@ -292,7 +292,7 @@ public Builder authenticationMethod(String authenticationMethod) { private String thirdPartyVendorName; /** - * Third party factor vendor name. + * The third-party factor vendor name. * *

*Added In:** 2009232244 * @@ -372,7 +372,7 @@ public Builder toBuilder() { } /** - * The identifier of the User's device. + * The user's device identifier. * *

*Added In:** 18.3.6 * @@ -383,7 +383,7 @@ public Builder toBuilder() { private final String value; /** - * The identifier of the User's device. + * The user's device identifier. * *

*Added In:** 18.3.6 * @@ -397,7 +397,7 @@ public String getValue() { } /** - * The URI of the corresponding Device resource which belongs to user + * The URI of the corresponding Device resource which belongs to user. * *

*Added In:** 18.3.6 * @@ -408,7 +408,7 @@ public String getValue() { private final String ref; /** - * The URI of the corresponding Device resource which belongs to user + * The URI of the corresponding Device resource which belongs to user. * *

*Added In:** 18.3.6 * @@ -447,7 +447,7 @@ public String getDisplay() { } /** - * Device status. + * The device's status. * *

*Added In:** 18.4.2 * @@ -458,7 +458,7 @@ public String getDisplay() { private final String status; /** - * Device status. + * The device's status. * *

*Added In:** 18.4.2 * @@ -472,7 +472,7 @@ public String getStatus() { } /** - * Last Sync time for device. + * The last sync time for device. * *

*Added In:** 18.4.2 * @@ -483,7 +483,7 @@ public String getStatus() { private final String lastSyncTime; /** - * Last Sync time for device. + * The last sync time for device. * *

*Added In:** 18.4.2 * @@ -497,7 +497,7 @@ public String getLastSyncTime() { } /** - * Device authentication factor type. + * The device authentication factor type. * *

*Added In:** 18.4.2 * @@ -508,7 +508,7 @@ public String getLastSyncTime() { private final String factorType; /** - * Device authentication factor type. + * The device authentication factor type. * *

*Added In:** 18.4.2 * @@ -522,7 +522,7 @@ public String getFactorType() { } /** - * Device authentication factor status. + * The device authentication factor status. * *

*Added In:** 18.4.2 * @@ -533,7 +533,7 @@ public String getFactorType() { private final String factorStatus; /** - * Device authentication factor status. + * The device authentication factor status. * *

*Added In:** 18.4.2 * @@ -547,7 +547,7 @@ public String getFactorStatus() { } /** - * Authentication method. + * The authentication method. * *

*Added In:** 2009232244 * @@ -558,7 +558,7 @@ public String getFactorStatus() { private final String authenticationMethod; /** - * Authentication method. + * The authentication method. * *

*Added In:** 2009232244 * @@ -572,7 +572,7 @@ public String getAuthenticationMethod() { } /** - * Third party factor vendor name. + * The third-party factor vendor name. * *

*Added In:** 2009232244 * @@ -583,7 +583,7 @@ public String getAuthenticationMethod() { private final String thirdPartyVendorName; /** - * Third party factor vendor name. + * The third-party factor vendor name. * *

*Added In:** 2009232244 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtGrants.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtGrants.java index 76f43ccdb8e..3a8b293fb46 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtGrants.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtGrants.java @@ -118,10 +118,10 @@ public Builder appId(String appId) { } /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which - * results in indirect grants to Users who are members of that Group.\ - + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values + * that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a + * specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which + * results in indirect grants to Users who are members of that Group. - * 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains * access to the granted (server) App. * @@ -134,10 +134,10 @@ public Builder appId(String appId) { /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which - * results in indirect grants to Users who are members of that Group.\ - + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values + * that start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a + * specific User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which + * results in indirect grants to Users who are members of that Group. - * 'ADMINISTRATOR_TO_APP' is for a grant to a specific App. The grantee (client) App gains * access to the granted (server) App. * @@ -291,10 +291,10 @@ public String getAppId() { /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results - * in indirect grants to Users who are members of that Group.\ - 'ADMINISTRATOR_TO_APP' is for a + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a * grant to a specific App. The grantee (client) App gains access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - @@ -353,10 +353,10 @@ public static GrantMechanism create(String key) { }; /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results - * in indirect grants to Users who are members of that Group.\ - 'ADMINISTRATOR_TO_APP' is for a + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a * grant to a specific App. The grantee (client) App gains access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - @@ -367,10 +367,10 @@ public static GrantMechanism create(String key) { /** * Each value of grantMechanism indicates how (or by what component) some App (or - * App-Entitlement) was granted.\ A customer or the UI should use only grantMechanism values - * that start with 'ADMINISTRATOR':\ - 'ADMINISTRATOR_TO_USER' is for a direct grant to a - * specific User.\ - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results - * in indirect grants to Users who are members of that Group.\ - 'ADMINISTRATOR_TO_APP' is for a + * App-Entitlement) was granted. A customer or the UI should use only grantMechanism values that + * start with 'ADMINISTRATOR': - 'ADMINISTRATOR_TO_USER' is for a direct grant to a specific + * User. - 'ADMINISTRATOR_TO_GROUP' is for a grant to a specific Group, which results in + * indirect grants to Users who are members of that Group. - 'ADMINISTRATOR_TO_APP' is for a * grant to a specific App. The grantee (client) App gains access to the granted (server) App. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtIdcsAppRolesLimitedToGroups.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtIdcsAppRolesLimitedToGroups.java index 7adde3758d6..c6756b84757 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtIdcsAppRolesLimitedToGroups.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtIdcsAppRolesLimitedToGroups.java @@ -43,7 +43,7 @@ public UserExtIdcsAppRolesLimitedToGroups( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The id of the OCI IAM AppRole grant limited to one or more Groups. + * The id of the Oracle Identity Cloud Service AppRole grant limited to one or more Groups. * *

*Added In:** 19.2.1 * @@ -55,7 +55,7 @@ public static class Builder { private String idcsAppRoleId; /** - * The id of the OCI IAM AppRole grant limited to one or more Groups. + * The id of the Oracle Identity Cloud Service AppRole grant limited to one or more Groups. * *

*Added In:** 19.2.1 * @@ -230,7 +230,7 @@ public Builder toBuilder() { } /** - * The id of the OCI IAM AppRole grant limited to one or more Groups. + * The id of the Oracle Identity Cloud Service AppRole grant limited to one or more Groups. * *

*Added In:** 19.2.1 * @@ -242,7 +242,7 @@ public Builder toBuilder() { private final String idcsAppRoleId; /** - * The id of the OCI IAM AppRole grant limited to one or more Groups. + * The id of the Oracle Identity Cloud Service AppRole grant limited to one or more Groups. * *

*Added In:** 19.2.1 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtLocked.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtLocked.java index fb3001f6f68..58b19af6526 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtLocked.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtLocked.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * A complex attribute that indicates an account is locked (blocking new sessions) + * A complex attribute that indicates an account is locked (blocking any new sessions). * *

*SCIM++ Properties:** - idcsCsvAttributeNameMappings: [[columnHeaderName:Locked, * mapsTo:locked.on], [columnHeaderName:Locked Reason, mapsTo:locked.reason], @@ -39,23 +39,29 @@ public UserExtLocked(Integer reason, Boolean on, String lockDate, Boolean expire @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * Indicates the reason for locking. Valid values are: 0 - failed password login attempts, 1 - * - admin lock, 2 - failed reset password attempts, 3 - failed MFA login attempts, 4 - - * failed MFA login attempts for federated user, 5 - failed Database login attempts + * Indicates the reason for locking the account. Valid values are: 0 - failed password login + * attempts, 1 - admin lock, 2 - failed reset password attempts, 3 - failed MFA login + * attempts, 4 - failed MFA login attempts for federated user, 5 - failed Database login + * attempts * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: integer - uniqueness: none + * readWrite - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * default - type: integer - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("reason") private Integer reason; /** - * Indicates the reason for locking. Valid values are: 0 - failed password login attempts, 1 - * - admin lock, 2 - failed reset password attempts, 3 - failed MFA login attempts, 4 - - * failed MFA login attempts for federated user, 5 - failed Database login attempts + * Indicates the reason for locking the account. Valid values are: 0 - failed password login + * attempts, 1 - admin lock, 2 - failed reset password attempts, 3 - failed MFA login + * attempts, 4 - failed MFA login attempts for federated user, 5 - failed Database login + * attempts * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: integer - uniqueness: none + * readWrite - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * default - type: integer - uniqueness: none * * @param reason the value to set * @return this builder @@ -66,21 +72,23 @@ public Builder reason(Integer reason) { return this; } /** - * Indicates tat the account is locked + * Indicates that the account is locked. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * default - type: boolean - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("on") private Boolean on; /** - * Indicates tat the account is locked + * Indicates that the account is locked. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: + * default - type: boolean - uniqueness: none * * @param on the value to set * @return this builder @@ -91,19 +99,21 @@ public Builder on(Boolean on) { return this; } /** - * The date and time that the current resource was locked + * The date and time that the current resource was locked. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: dateTime - uniqueness: none + * readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - + * type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lockDate") private String lockDate; /** - * The date and time that the current resource was locked + * The date and time that the current resource was locked. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: dateTime - uniqueness: none + * readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - + * type: dateTime - uniqueness: none * * @param lockDate the value to set * @return this builder @@ -114,8 +124,8 @@ public Builder lockDate(String lockDate) { return this; } /** - * Indicates whether user password is expired. If this value is false, password expiry will - * still be evaluated during user login. + * Indicates whether the user password is expired. If this value is false, password expiry + * is still evaluated during user login. * *

*Added In:** 20.1.3 * @@ -127,8 +137,8 @@ public Builder lockDate(String lockDate) { private Boolean expired; /** - * Indicates whether user password is expired. If this value is false, password expiry will - * still be evaluated during user login. + * Indicates whether the user password is expired. If this value is false, password expiry + * is still evaluated during user login. * *

*Added In:** 20.1.3 * @@ -185,23 +195,25 @@ public Builder toBuilder() { } /** - * Indicates the reason for locking. Valid values are: 0 - failed password login attempts, 1 - - * admin lock, 2 - failed reset password attempts, 3 - failed MFA login attempts, 4 - failed MFA - * login attempts for federated user, 5 - failed Database login attempts + * Indicates the reason for locking the account. Valid values are: 0 - failed password login + * attempts, 1 - admin lock, 2 - failed reset password attempts, 3 - failed MFA login attempts, + * 4 - failed MFA login attempts for federated user, 5 - failed Database login attempts * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: integer - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true - required: false - returned: default - type: integer - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("reason") private final Integer reason; /** - * Indicates the reason for locking. Valid values are: 0 - failed password login attempts, 1 - - * admin lock, 2 - failed reset password attempts, 3 - failed MFA login attempts, 4 - failed MFA - * login attempts for federated user, 5 - failed Database login attempts + * Indicates the reason for locking the account. Valid values are: 0 - failed password login + * attempts, 1 - admin lock, 2 - failed reset password attempts, 3 - failed MFA login attempts, + * 4 - failed MFA login attempts for federated user, 5 - failed Database login attempts * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: integer - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: + * true - required: false - returned: default - type: integer - uniqueness: none * * @return the value */ @@ -210,21 +222,23 @@ public Integer getReason() { } /** - * Indicates tat the account is locked + * Indicates that the account is locked. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: default + * - type: boolean - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("on") private final Boolean on; /** - * Indicates tat the account is locked + * Indicates that the account is locked. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - + * idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: default + * - type: boolean - uniqueness: none * * @return the value */ @@ -233,19 +247,21 @@ public Boolean getOn() { } /** - * The date and time that the current resource was locked + * The date and time that the current resource was locked. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: dateTime - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - type: + * dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lockDate") private final String lockDate; /** - * The date and time that the current resource was locked + * The date and time that the current resource was locked. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: dateTime - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - type: + * dateTime - uniqueness: none * * @return the value */ @@ -254,8 +270,8 @@ public String getLockDate() { } /** - * Indicates whether user password is expired. If this value is false, password expiry will - * still be evaluated during user login. + * Indicates whether the user password is expired. If this value is false, password expiry is + * still evaluated during user login. * *

*Added In:** 20.1.3 * @@ -267,8 +283,8 @@ public String getLockDate() { private final Boolean expired; /** - * Indicates whether user password is expired. If this value is false, password expiry will - * still be evaluated during user login. + * Indicates whether the user password is expired. If this value is false, password expiry is + * still evaluated during user login. * *

*Added In:** 20.1.3 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtOAuth2ClientCredentials.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtOAuth2ClientCredentials.java index 1b82f1a6f3d..1e402bc3526 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtOAuth2ClientCredentials.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtOAuth2ClientCredentials.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * A list of oauth2 client credentials corresponding to user. + * A list of OAuth2 client credentials corresponding to a user. * *

*Added In:** 2012271618 * @@ -40,7 +40,7 @@ public UserExtOAuth2ClientCredentials(String value, String ocid, String ref) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The identifier of the User's oAuth2 client credential. + * The user's OAuth2 client credential identifier. * *

*Added In:** 2012271618 * @@ -52,7 +52,7 @@ public static class Builder { private String value; /** - * The identifier of the User's oAuth2 client credential. + * The user's OAuth2 client credential identifier. * *

*Added In:** 2012271618 * @@ -69,7 +69,7 @@ public Builder value(String value) { return this; } /** - * Ocid of the User's oAuth2 client credential. + * The user's OAuth2 client credential OCID. * *

*Added In:** 2012271618 * @@ -81,7 +81,7 @@ public Builder value(String value) { private String ocid; /** - * Ocid of the User's oAuth2 client credential. + * The user's OAuth2 client credential OCID. * *

*Added In:** 2012271618 * @@ -98,7 +98,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI of the corresponding OAuth2ClientCredential resource to which the user belongs + * The URI of the corresponding OAuth2ClientCredential resource to which the user belongs. * *

*Added In:** 2012271618 * @@ -109,7 +109,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI of the corresponding OAuth2ClientCredential resource to which the user belongs + * The URI of the corresponding OAuth2ClientCredential resource to which the user belongs. * *

*Added In:** 2012271618 * @@ -162,7 +162,7 @@ public Builder toBuilder() { } /** - * The identifier of the User's oAuth2 client credential. + * The user's OAuth2 client credential identifier. * *

*Added In:** 2012271618 * @@ -173,7 +173,7 @@ public Builder toBuilder() { private final String value; /** - * The identifier of the User's oAuth2 client credential. + * The user's OAuth2 client credential identifier. * *

*Added In:** 2012271618 * @@ -187,7 +187,7 @@ public String getValue() { } /** - * Ocid of the User's oAuth2 client credential. + * The user's OAuth2 client credential OCID. * *

*Added In:** 2012271618 * @@ -198,7 +198,7 @@ public String getValue() { private final String ocid; /** - * Ocid of the User's oAuth2 client credential. + * The user's OAuth2 client credential OCID. * *

*Added In:** 2012271618 * @@ -212,7 +212,7 @@ public String getOcid() { } /** - * The URI of the corresponding OAuth2ClientCredential resource to which the user belongs + * The URI of the corresponding OAuth2ClientCredential resource to which the user belongs. * *

*Added In:** 2012271618 * @@ -223,7 +223,7 @@ public String getOcid() { private final String ref; /** - * The URI of the corresponding OAuth2ClientCredential resource to which the user belongs + * The URI of the corresponding OAuth2ClientCredential resource to which the user belongs. * *

*Added In:** 2012271618 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtPreferredDevice.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtPreferredDevice.java index f068651b299..8ea69e278bb 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtPreferredDevice.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtPreferredDevice.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User preferred device + * The user's preferred device. * *

*Added In:** 18.3.6 * @@ -40,7 +40,7 @@ public UserExtPreferredDevice(String value, String ref, String display) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The identifier of the User's preferred device + * The user's preferred device identifier. * *

*Added In:** 18.3.6 * @@ -52,7 +52,7 @@ public static class Builder { private String value; /** - * The identifier of the User's preferred device + * The user's preferred device identifier. * *

*Added In:** 18.3.6 * @@ -69,7 +69,7 @@ public Builder value(String value) { return this; } /** - * The URI that corresponds to the device resource + * The URI that corresponds to the device resource. * *

*Added In:** 18.3.6 * @@ -80,7 +80,7 @@ public Builder value(String value) { private String ref; /** - * The URI that corresponds to the device resource + * The URI that corresponds to the device resource. * *

*Added In:** 18.3.6 * @@ -96,7 +96,7 @@ public Builder ref(String ref) { return this; } /** - * Device display name + * The device display name. * *

*Added In:** 18.3.6 * @@ -108,7 +108,7 @@ public Builder ref(String ref) { private String display; /** - * Device display name + * The device display name. * *

*Added In:** 18.3.6 * @@ -162,7 +162,7 @@ public Builder toBuilder() { } /** - * The identifier of the User's preferred device + * The user's preferred device identifier. * *

*Added In:** 18.3.6 * @@ -173,7 +173,7 @@ public Builder toBuilder() { private final String value; /** - * The identifier of the User's preferred device + * The user's preferred device identifier. * *

*Added In:** 18.3.6 * @@ -187,7 +187,7 @@ public String getValue() { } /** - * The URI that corresponds to the device resource + * The URI that corresponds to the device resource. * *

*Added In:** 18.3.6 * @@ -198,7 +198,7 @@ public String getValue() { private final String ref; /** - * The URI that corresponds to the device resource + * The URI that corresponds to the device resource. * *

*Added In:** 18.3.6 * @@ -212,7 +212,7 @@ public String getRef() { } /** - * Device display name + * The device display name. * *

*Added In:** 18.3.6 * @@ -223,7 +223,7 @@ public String getRef() { private final String display; /** - * Device display name + * The device display name. * *

*Added In:** 18.3.6 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtRealmUsers.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtRealmUsers.java index f6f8aa82ab0..21ea77d7ec6 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtRealmUsers.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtRealmUsers.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * A list of kerberos realm users for an OCI IAM User + * A list of kerberos realm users for an Oracle Identity Cloud Service User * *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: readWrite * - required: false - returned: request - type: complex - uniqueness: none
@@ -38,7 +38,7 @@ public UserExtRealmUsers(String value, String ref, String principalName, String @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * id of the KerberosRealmUser associated with the OCI IAM User. + * id of the KerberosRealmUser associated with the Oracle Identity Cloud Service User. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: @@ -48,7 +48,7 @@ public static class Builder { private String value; /** - * id of the KerberosRealmUser associated with the OCI IAM User. + * id of the KerberosRealmUser associated with the Oracle Identity Cloud Service User. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: @@ -63,7 +63,8 @@ public Builder value(String value) { return this; } /** - * The URI of the corresponding KerberosRealmUser resource associated with the OCI IAM User. + * The URI of the corresponding KerberosRealmUser resource associated with the Oracle + * Identity Cloud Service User. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: * readOnly - required: false - returned: default - type: reference - uniqueness: none @@ -72,7 +73,8 @@ public Builder value(String value) { private String ref; /** - * The URI of the corresponding KerberosRealmUser resource associated with the OCI IAM User. + * The URI of the corresponding KerberosRealmUser resource associated with the Oracle + * Identity Cloud Service User. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: * readOnly - required: false - returned: default - type: reference - uniqueness: none @@ -86,7 +88,8 @@ public Builder ref(String ref) { return this; } /** - * Principal Name of the KerberosRealmUser associated with the OCI IAM User. + * Principal Name of the KerberosRealmUser associated with the Oracle Identity Cloud Service + * User. * *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -96,7 +99,8 @@ public Builder ref(String ref) { private String principalName; /** - * Principal Name of the KerberosRealmUser associated with the OCI IAM User. + * Principal Name of the KerberosRealmUser associated with the Oracle Identity Cloud Service + * User. * *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -111,7 +115,8 @@ public Builder principalName(String principalName) { return this; } /** - * Realm Name for the KerberosRealmUser associated with the OCI IAM User. + * Realm Name for the KerberosRealmUser associated with the Oracle Identity Cloud Service + * User. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: * readOnly - required: false - returned: default - type: string - uniqueness: none @@ -120,7 +125,8 @@ public Builder principalName(String principalName) { private String realmName; /** - * Realm Name for the KerberosRealmUser associated with the OCI IAM User. + * Realm Name for the KerberosRealmUser associated with the Oracle Identity Cloud Service + * User. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: * readOnly - required: false - returned: default - type: string - uniqueness: none @@ -174,7 +180,7 @@ public Builder toBuilder() { } /** - * id of the KerberosRealmUser associated with the OCI IAM User. + * id of the KerberosRealmUser associated with the Oracle Identity Cloud Service User. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none @@ -183,7 +189,7 @@ public Builder toBuilder() { private final String value; /** - * id of the KerberosRealmUser associated with the OCI IAM User. + * id of the KerberosRealmUser associated with the Oracle Identity Cloud Service User. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none @@ -195,7 +201,8 @@ public String getValue() { } /** - * The URI of the corresponding KerberosRealmUser resource associated with the OCI IAM User. + * The URI of the corresponding KerberosRealmUser resource associated with the Oracle Identity + * Cloud Service User. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly * - required: false - returned: default - type: reference - uniqueness: none @@ -204,7 +211,8 @@ public String getValue() { private final String ref; /** - * The URI of the corresponding KerberosRealmUser resource associated with the OCI IAM User. + * The URI of the corresponding KerberosRealmUser resource associated with the Oracle Identity + * Cloud Service User. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly * - required: false - returned: default - type: reference - uniqueness: none @@ -216,7 +224,8 @@ public String getRef() { } /** - * Principal Name of the KerberosRealmUser associated with the OCI IAM User. + * Principal Name of the KerberosRealmUser associated with the Oracle Identity Cloud Service + * User. * *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -225,7 +234,8 @@ public String getRef() { private final String principalName; /** - * Principal Name of the KerberosRealmUser associated with the OCI IAM User. + * Principal Name of the KerberosRealmUser associated with the Oracle Identity Cloud Service + * User. * *

*SCIM++ Properties:** - idcsPii: true - idcsSearchable: true - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -237,7 +247,7 @@ public String getPrincipalName() { } /** - * Realm Name for the KerberosRealmUser associated with the OCI IAM User. + * Realm Name for the KerberosRealmUser associated with the Oracle Identity Cloud Service User. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - * required: false - returned: default - type: string - uniqueness: none @@ -246,7 +256,7 @@ public String getPrincipalName() { private final String realmName; /** - * Realm Name for the KerberosRealmUser associated with the OCI IAM User. + * Realm Name for the KerberosRealmUser associated with the Oracle Identity Cloud Service User. * *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readOnly - * required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtRecoveryLocked.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtRecoveryLocked.java index 9c7beb6732a..1d853e7a96d 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtRecoveryLocked.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtRecoveryLocked.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * A complex attribute that indicates an password recovery is locked (blocking new sessions) + * A complex attribute that indicates a password recovery is locked (blocking any new sessions). * *

*Added In:** 19.1.4 * @@ -38,25 +38,25 @@ public UserExtRecoveryLocked(Boolean on, String lockDate) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * Indicates that the rev is locked + * Indicates that the recovery is locked. * *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: default - type: boolean - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("on") private Boolean on; /** - * Indicates that the rev is locked + * Indicates that the recovery is locked. * *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - + * returned: default - type: boolean - uniqueness: none * * @param on the value to set * @return this builder @@ -67,23 +67,25 @@ public Builder on(Boolean on) { return this; } /** - * The date and time that the current resource was locked + * The date and time that the current resource was locked. * *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: dateTime - uniqueness: none + * readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - + * type: dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lockDate") private String lockDate; /** - * The date and time that the current resource was locked + * The date and time that the current resource was locked. * *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: - * readWrite - required: false - returned: default - type: dateTime - uniqueness: none + * readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - + * type: dateTime - uniqueness: none * * @param lockDate the value to set * @return this builder @@ -127,25 +129,25 @@ public Builder toBuilder() { } /** - * Indicates that the rev is locked + * Indicates that the recovery is locked. * *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: boolean - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("on") private final Boolean on; /** - * Indicates that the rev is locked + * Indicates that the recovery is locked. * *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - - * mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: - * none + * mutability: readWrite - idcsRequiresWriteForAccessFlows: true - required: false - returned: + * default - type: boolean - uniqueness: none * * @return the value */ @@ -154,23 +156,25 @@ public Boolean getOn() { } /** - * The date and time that the current resource was locked + * The date and time that the current resource was locked. * *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: dateTime - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - type: + * dateTime - uniqueness: none */ @com.fasterxml.jackson.annotation.JsonProperty("lockDate") private final String lockDate; /** - * The date and time that the current resource was locked + * The date and time that the current resource was locked. * *

*Added In:** 19.1.4 * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - * - required: false - returned: default - type: dateTime - uniqueness: none + * - idcsRequiresWriteForAccessFlows: true - required: false - returned: default - type: + * dateTime - uniqueness: none * * @return the value */ diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtSecQuestions.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtSecQuestions.java index b6d33519f8d..fbfc24ad827 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtSecQuestions.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtSecQuestions.java @@ -5,8 +5,8 @@ package com.oracle.bmc.identitydomains.model; /** - * Security question and answers provided by end-user for Account recovery and/or MFA. While setting - * up security questions, end-user can also provide hint along with answer. + * The schema used to mnage security question and answers provided by a user for account recovery + * and/or MFA. While setting up security questions, a user can also provide a hint for the answer. * *

*SCIM++ Properties:** - idcsCompositeKey: [value] - multiValued: true - mutability: readWrite * - required: false - returned: request - type: complex - uniqueness: none
@@ -39,7 +39,7 @@ public UserExtSecQuestions(String value, String ref, String answer, String hintT @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * Id of the question selected by user while setting up Security Question. + * The identifier of the question selected by the user when setting up a security question. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: always - type: string - uniqueness: @@ -49,7 +49,7 @@ public static class Builder { private String value; /** - * Id of the question selected by user while setting up Security Question. + * The identifier of the question selected by the user when setting up a security question. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: always - type: string - uniqueness: @@ -64,7 +64,7 @@ public Builder value(String value) { return this; } /** - * The URI of the corresponding SecurityQuestion resource + * The URI of the corresponding Security Question resource. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: * readOnly - required: false - returned: default - type: reference - uniqueness: none @@ -73,7 +73,7 @@ public Builder value(String value) { private String ref; /** - * The URI of the corresponding SecurityQuestion resource + * The URI of the corresponding Security Question resource. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: * readOnly - required: false - returned: default - type: reference - uniqueness: none @@ -87,7 +87,7 @@ public Builder ref(String ref) { return this; } /** - * Answer provided by an user for a security question. + * The answer provided by a user for a security question. * *

*SCIM++ Properties:** - idcsCsvAttributeName: Answer - idcsSearchable: false - * idcsSensitive: hash - multiValued: false - mutability: writeOnly - required: true - @@ -97,7 +97,7 @@ public Builder ref(String ref) { private String answer; /** - * Answer provided by an user for a security question. + * The answer provided by a user for a security question. * *

*SCIM++ Properties:** - idcsCsvAttributeName: Answer - idcsSearchable: false - * idcsSensitive: hash - multiValued: false - mutability: writeOnly - required: true - @@ -112,7 +112,7 @@ public Builder answer(String answer) { return this; } /** - * Hint for an answer given by user while setting up Security Question. + * The hint for an answer that's given by user when setting up a security question. * *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite * - required: false - returned: default - type: string - uniqueness: none @@ -121,7 +121,7 @@ public Builder answer(String answer) { private String hintText; /** - * Hint for an answer given by user while setting up Security Question. + * The hint for an answer that's given by user when setting up a security question. * *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite * - required: false - returned: default - type: string - uniqueness: none @@ -175,7 +175,7 @@ public Builder toBuilder() { } /** - * Id of the question selected by user while setting up Security Question. + * The identifier of the question selected by the user when setting up a security question. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none @@ -184,7 +184,7 @@ public Builder toBuilder() { private final String value; /** - * Id of the question selected by user while setting up Security Question. + * The identifier of the question selected by the user when setting up a security question. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: true - returned: always - type: string - uniqueness: none @@ -196,7 +196,7 @@ public String getValue() { } /** - * The URI of the corresponding SecurityQuestion resource + * The URI of the corresponding Security Question resource. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly * - required: false - returned: default - type: reference - uniqueness: none @@ -205,7 +205,7 @@ public String getValue() { private final String ref; /** - * The URI of the corresponding SecurityQuestion resource + * The URI of the corresponding Security Question resource. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly * - required: false - returned: default - type: reference - uniqueness: none @@ -217,7 +217,7 @@ public String getRef() { } /** - * Answer provided by an user for a security question. + * The answer provided by a user for a security question. * *

*SCIM++ Properties:** - idcsCsvAttributeName: Answer - idcsSearchable: false - * idcsSensitive: hash - multiValued: false - mutability: writeOnly - required: true - returned: @@ -227,7 +227,7 @@ public String getRef() { private final String answer; /** - * Answer provided by an user for a security question. + * The answer provided by a user for a security question. * *

*SCIM++ Properties:** - idcsCsvAttributeName: Answer - idcsSearchable: false - * idcsSensitive: hash - multiValued: false - mutability: writeOnly - required: true - returned: @@ -240,7 +240,7 @@ public String getAnswer() { } /** - * Hint for an answer given by user while setting up Security Question. + * The hint for an answer that's given by user when setting up a security question. * *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - * required: false - returned: default - type: string - uniqueness: none @@ -249,7 +249,7 @@ public String getAnswer() { private final String hintText; /** - * Hint for an answer given by user while setting up Security Question. + * The hint for an answer that's given by user when setting up a security question. * *

*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - * required: false - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtSmtpCredentials.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtSmtpCredentials.java index 1e4ecc65ffc..b1f05ca1086 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtSmtpCredentials.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtSmtpCredentials.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * A list of smtp credentials corresponding to user. + * A list of SMTP credentials corresponding to user. * *

*Added In:** 2012271618 * @@ -40,7 +40,7 @@ public UserExtSmtpCredentials(String value, String ocid, String ref) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The identifier of the User's smtp credential. + * The user's SMTP credential identifier. * *

*Added In:** 2012271618 * @@ -52,7 +52,7 @@ public static class Builder { private String value; /** - * The identifier of the User's smtp credential. + * The user's SMTP credential identifier. * *

*Added In:** 2012271618 * @@ -69,7 +69,7 @@ public Builder value(String value) { return this; } /** - * Ocid of the User's auth token. + * The user's Auth token OCID. * *

*Added In:** 2012271618 * @@ -81,7 +81,7 @@ public Builder value(String value) { private String ocid; /** - * Ocid of the User's auth token. + * The user's Auth token OCID. * *

*Added In:** 2012271618 * @@ -98,7 +98,7 @@ public Builder ocid(String ocid) { return this; } /** - * The URI of the corresponding SmtpCredential resource to which the user belongs + * The URI of the corresponding SmtpCredential resource to which the user belongs. * *

*Added In:** 2012271618 * @@ -109,7 +109,7 @@ public Builder ocid(String ocid) { private String ref; /** - * The URI of the corresponding SmtpCredential resource to which the user belongs + * The URI of the corresponding SmtpCredential resource to which the user belongs. * *

*Added In:** 2012271618 * @@ -162,7 +162,7 @@ public Builder toBuilder() { } /** - * The identifier of the User's smtp credential. + * The user's SMTP credential identifier. * *

*Added In:** 2012271618 * @@ -173,7 +173,7 @@ public Builder toBuilder() { private final String value; /** - * The identifier of the User's smtp credential. + * The user's SMTP credential identifier. * *

*Added In:** 2012271618 * @@ -187,7 +187,7 @@ public String getValue() { } /** - * Ocid of the User's auth token. + * The user's Auth token OCID. * *

*Added In:** 2012271618 * @@ -198,7 +198,7 @@ public String getValue() { private final String ocid; /** - * Ocid of the User's auth token. + * The user's Auth token OCID. * *

*Added In:** 2012271618 * @@ -212,7 +212,7 @@ public String getOcid() { } /** - * The URI of the corresponding SmtpCredential resource to which the user belongs + * The URI of the corresponding SmtpCredential resource to which the user belongs. * *

*Added In:** 2012271618 * @@ -223,7 +223,7 @@ public String getOcid() { private final String ref; /** - * The URI of the corresponding SmtpCredential resource to which the user belongs + * The URI of the corresponding SmtpCredential resource to which the user belongs. * *

*Added In:** 2012271618 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtSupportAccounts.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtSupportAccounts.java index 58af96e13c0..b31f3018d37 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtSupportAccounts.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtSupportAccounts.java @@ -130,7 +130,7 @@ public Builder userId(String userId) { return this; } /** - * Ocid of the User's Support Account. + * The OCID of the user's support account. * *

*Added In:** 2103141444 * @@ -142,7 +142,7 @@ public Builder userId(String userId) { private String ocid; /** - * Ocid of the User's Support Account. + * The OCID of the user's support account. * *

*Added In:** 2103141444 * @@ -305,7 +305,7 @@ public String getUserId() { } /** - * Ocid of the User's Support Account. + * The OCID of the user's support account. * *

*Added In:** 2103141444 * @@ -316,7 +316,7 @@ public String getUserId() { private final String ocid; /** - * Ocid of the User's Support Account. + * The OCID of the user's support account. * *

*Added In:** 2103141444 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtTrustedUserAgents.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtTrustedUserAgents.java index 04f9f2ee134..4e926d517b0 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtTrustedUserAgents.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserExtTrustedUserAgents.java @@ -44,7 +44,7 @@ public UserExtTrustedUserAgents(String value, String ref, String display) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The identifier of the User's trusted user agent. + * The user's trusted user agent identifier. * *

*Added In:** 18.3.6 * @@ -56,7 +56,7 @@ public static class Builder { private String value; /** - * The identifier of the User's trusted user agent. + * The user's trusted user agent identifier. * *

*Added In:** 18.3.6 * @@ -166,7 +166,7 @@ public Builder toBuilder() { } /** - * The identifier of the User's trusted user agent. + * The user's trusted user agent identifier. * *

*Added In:** 18.3.6 * @@ -177,7 +177,7 @@ public Builder toBuilder() { private final String value; /** - * The identifier of the User's trusted user agent. + * The user's trusted user agent identifier. * *

*Added In:** 18.3.6 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserGroups.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserGroups.java index dd07b6b37e4..cbceb2e5f4d 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserGroups.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserGroups.java @@ -83,7 +83,7 @@ public Builder value(String value) { return this; } /** - * Ocid of the User's group. + * The OCID of the User's group. * *

*Added In:** 2102181953 * @@ -95,7 +95,7 @@ public Builder value(String value) { private String ocid; /** - * Ocid of the User's group. + * The OCID of the User's group. * *

*Added In:** 2102181953 * @@ -235,7 +235,7 @@ public Builder type(Type type) { return this; } /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2103141444 * @@ -246,7 +246,7 @@ public Builder type(Type type) { private String membershipOcid; /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2103141444 * @@ -374,7 +374,7 @@ public String getValue() { } /** - * Ocid of the User's group. + * The OCID of the User's group. * *

*Added In:** 2102181953 * @@ -385,7 +385,7 @@ public String getValue() { private final String ocid; /** - * Ocid of the User's group. + * The OCID of the User's group. * *

*Added In:** 2102181953 * @@ -561,7 +561,7 @@ public Type getType() { } /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2103141444 * @@ -572,7 +572,7 @@ public Type getType() { private final String membershipOcid; /** - * Membership Ocid + * The membership OCID. * *

*Added In:** 2103141444 * diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserPasswordChanger.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserPasswordChanger.java index 02ba786f173..7d3f3636099 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserPasswordChanger.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserPasswordChanger.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * Schema to handle userpassword change by administrator.
+ * The schema used to handle a user password change by an administrator.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -428,7 +428,8 @@ public Builder externalId(String externalId) { return this; } /** - * Password attribute. Max length for password is controlled via Password Policy. + * The password attribute. The maximum length for the password is set in the password + * policy. * *

*SCIM++ Properties:** - type: string - multiValued: false - required: true - * mutability: writeOnly - returned: never - uniqueness: none - idcsSensitive: none @@ -437,7 +438,8 @@ public Builder externalId(String externalId) { private String password; /** - * Password attribute. Max length for password is controlled via Password Policy. + * The password attribute. The maximum length for the password is set in the password + * policy. * *

*SCIM++ Properties:** - type: string - multiValued: false - required: true - * mutability: writeOnly - returned: never - uniqueness: none - idcsSensitive: none @@ -451,8 +453,7 @@ public Builder password(String password) { return this; } /** - * A Boolean value indicating whether or not to send email notification after password is - * changed. + * Indicates whether to send an email notification after a password is changed. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: immutable - required: false - returned: never - type: boolean - uniqueness: @@ -462,8 +463,7 @@ public Builder password(String password) { private Boolean bypassNotification; /** - * A Boolean value indicating whether or not to send email notification after password is - * changed. + * Indicates whether to send an email notification after a password is changed. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: immutable - required: false - returned: never - type: boolean - uniqueness: @@ -478,8 +478,8 @@ public Builder bypassNotification(Boolean bypassNotification) { return this; } /** - * Specifies the EmailTemplate to be used when sending notification to the user this request - * is for. If specified, it overrides the default EmailTemplate for this event. + * Specifies the EmailTemplate to be used when sending a notification to the user. If + * specified, it overrides the default EmailTemplate. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: writeOnly - required: false - returned: never - type: string - uniqueness: @@ -489,8 +489,8 @@ public Builder bypassNotification(Boolean bypassNotification) { private String notificationEmailTemplateId; /** - * Specifies the EmailTemplate to be used when sending notification to the user this request - * is for. If specified, it overrides the default EmailTemplate for this event. + * Specifies the EmailTemplate to be used when sending a notification to the user. If + * specified, it overrides the default EmailTemplate. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: writeOnly - required: false - returned: never - type: string - uniqueness: @@ -917,7 +917,7 @@ public String getExternalId() { } /** - * Password attribute. Max length for password is controlled via Password Policy. + * The password attribute. The maximum length for the password is set in the password policy. * *

*SCIM++ Properties:** - type: string - multiValued: false - required: true - mutability: * writeOnly - returned: never - uniqueness: none - idcsSensitive: none @@ -926,7 +926,7 @@ public String getExternalId() { private final String password; /** - * Password attribute. Max length for password is controlled via Password Policy. + * The password attribute. The maximum length for the password is set in the password policy. * *

*SCIM++ Properties:** - type: string - multiValued: false - required: true - mutability: * writeOnly - returned: never - uniqueness: none - idcsSensitive: none @@ -938,8 +938,7 @@ public String getPassword() { } /** - * A Boolean value indicating whether or not to send email notification after password is - * changed. + * Indicates whether to send an email notification after a password is changed. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: immutable - required: false - returned: never - type: boolean - uniqueness: none @@ -948,8 +947,7 @@ public String getPassword() { private final Boolean bypassNotification; /** - * A Boolean value indicating whether or not to send email notification after password is - * changed. + * Indicates whether to send an email notification after a password is changed. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: immutable - required: false - returned: never - type: boolean - uniqueness: none @@ -961,8 +959,8 @@ public Boolean getBypassNotification() { } /** - * Specifies the EmailTemplate to be used when sending notification to the user this request is - * for. If specified, it overrides the default EmailTemplate for this event. + * Specifies the EmailTemplate to be used when sending a notification to the user. If specified, + * it overrides the default EmailTemplate. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: writeOnly - required: false - returned: never - type: string - uniqueness: none @@ -971,8 +969,8 @@ public Boolean getBypassNotification() { private final String notificationEmailTemplateId; /** - * Specifies the EmailTemplate to be used when sending notification to the user this request is - * for. If specified, it overrides the default EmailTemplate for this event. + * Specifies the EmailTemplate to be used when sending a notification to the user. If specified, + * it overrides the default EmailTemplate. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: writeOnly - required: false - returned: never - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserPasswordResetter.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserPasswordResetter.java index 5bd810cdb45..07d64ae27e7 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserPasswordResetter.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserPasswordResetter.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * Schema to handle userpassword reset by administrator.
+ * The schema used to handle a user password reset by an administrator.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -434,8 +434,7 @@ public Builder externalId(String externalId) { return this; } /** - * A Boolean value indicating whether or not to send email notification after resetting the - * password of the OCI IAM user. + * Indicates whether to send an email notification after resetting the user's password. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: immutable - required: false - returned: never - type: boolean - uniqueness: @@ -445,8 +444,7 @@ public Builder externalId(String externalId) { private Boolean bypassNotification; /** - * A Boolean value indicating whether or not to send email notification after resetting the - * password of the OCI IAM user. + * Indicates whether to send an email notification after resetting the user's password. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: immutable - required: false - returned: never - type: boolean - uniqueness: @@ -498,8 +496,8 @@ public Builder userToken(UserPasswordResetterUserToken userToken) { return this; } /** - * Specifies the EmailTemplate to be used when sending notification to the user this request - * is for. If specified, it overrides the default EmailTemplate for this event. + * Specifies the EmailTemplate to be used when sending notifications to the user. If + * specified, it overrides the default EmailTemplate. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: writeOnly - required: false - returned: never - type: string - uniqueness: @@ -509,8 +507,8 @@ public Builder userToken(UserPasswordResetterUserToken userToken) { private String notificationEmailTemplateId; /** - * Specifies the EmailTemplate to be used when sending notification to the user this request - * is for. If specified, it overrides the default EmailTemplate for this event. + * Specifies the EmailTemplate to be used when sending notifications to the user. If + * specified, it overrides the default EmailTemplate. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: writeOnly - required: false - returned: never - type: string - uniqueness: @@ -525,7 +523,7 @@ public Builder notificationEmailTemplateId(String notificationEmailTemplateId) { return this; } /** - * One time password will be returned when user does not have primary email address + * A one time password will be returned when the user doesn't have a primary email address. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: @@ -535,7 +533,7 @@ public Builder notificationEmailTemplateId(String notificationEmailTemplateId) { private String oneTimePassword; /** - * One time password will be returned when user does not have primary email address + * A one time password will be returned when the user doesn't have a primary email address. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false * - mutability: readOnly - required: false - returned: request - type: string - uniqueness: @@ -971,8 +969,7 @@ public String getExternalId() { } /** - * A Boolean value indicating whether or not to send email notification after resetting the - * password of the OCI IAM user. + * Indicates whether to send an email notification after resetting the user's password. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: immutable - required: false - returned: never - type: boolean - uniqueness: none @@ -981,8 +978,7 @@ public String getExternalId() { private final Boolean bypassNotification; /** - * A Boolean value indicating whether or not to send email notification after resetting the - * password of the OCI IAM user. + * Indicates whether to send an email notification after resetting the user's password. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: immutable - required: false - returned: never - type: boolean - uniqueness: none @@ -1026,8 +1022,8 @@ public UserPasswordResetterUserToken getUserToken() { } /** - * Specifies the EmailTemplate to be used when sending notification to the user this request is - * for. If specified, it overrides the default EmailTemplate for this event. + * Specifies the EmailTemplate to be used when sending notifications to the user. If specified, + * it overrides the default EmailTemplate. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: writeOnly - required: false - returned: never - type: string - uniqueness: none @@ -1036,8 +1032,8 @@ public UserPasswordResetterUserToken getUserToken() { private final String notificationEmailTemplateId; /** - * Specifies the EmailTemplate to be used when sending notification to the user this request is - * for. If specified, it overrides the default EmailTemplate for this event. + * Specifies the EmailTemplate to be used when sending notifications to the user. If specified, + * it overrides the default EmailTemplate. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: writeOnly - required: false - returned: never - type: string - uniqueness: none @@ -1049,7 +1045,7 @@ public String getNotificationEmailTemplateId() { } /** - * One time password will be returned when user does not have primary email address + * A one time password will be returned when the user doesn't have a primary email address. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none @@ -1058,7 +1054,7 @@ public String getNotificationEmailTemplateId() { private final String oneTimePassword; /** - * One time password will be returned when user does not have primary email address + * A one time password will be returned when the user doesn't have a primary email address. * *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserPasswordResetterUserToken.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserPasswordResetterUserToken.java index 02ace966e29..7370fd69186 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserPasswordResetterUserToken.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/UserPasswordResetterUserToken.java @@ -5,7 +5,7 @@ package com.oracle.bmc.identitydomains.model; /** - * User token returned if userFlowControlledByExternalClient is true + * The user token returned if userFlowControlledByExternalClient is set to true. * *

*SCIM++ Properties:** - type: complex - multiValued: false - required: false - caseExact: * false - mutability: readOnly - returned: default - uniqueness: none
@@ -36,7 +36,7 @@ public UserPasswordResetterUserToken(String value, String ref) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * User Token identifier + * The user token identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -46,7 +46,7 @@ public static class Builder { private String value; /** - * User Token identifier + * The user token identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: @@ -61,7 +61,7 @@ public Builder value(String value) { return this; } /** - * User Token URI + * The user token URI. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: * readOnly - required: false - returned: default - type: reference - uniqueness: none @@ -70,7 +70,7 @@ public Builder value(String value) { private String ref; /** - * User Token URI + * The user token URI. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: * readOnly - required: false - returned: default - type: reference - uniqueness: none @@ -118,7 +118,7 @@ public Builder toBuilder() { } /** - * User Token identifier + * The user token identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -127,7 +127,7 @@ public Builder toBuilder() { private final String value; /** - * User Token identifier + * The user token identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none @@ -139,7 +139,7 @@ public String getValue() { } /** - * User Token URI + * The user token URI. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly * - required: false - returned: default - type: reference - uniqueness: none @@ -148,7 +148,7 @@ public String getValue() { private final String ref; /** - * User Token URI + * The user token URI. * *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly * - required: false - returned: default - type: reference - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateAppRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateAppRequest.java new file mode 100644 index 00000000000..9ad7cf65951 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateAppRequest.java @@ -0,0 +1,566 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use CreateAppRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class CreateAppRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * App schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.App app; + + /** + * App schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.App getApp() { + return app; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.App getBody$() { + return app; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + CreateAppRequest, com.oracle.bmc.identitydomains.model.App> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * App schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.App app = null; + + /** + * App schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param app the value to set + * @return this builder instance + */ + public Builder app(com.oracle.bmc.identitydomains.model.App app) { + this.app = app; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(CreateAppRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + app(o.getApp()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of CreateAppRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of CreateAppRequest + */ + public CreateAppRequest build() { + CreateAppRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.App body) { + app(body); + return this; + } + + /** + * Build the instance of CreateAppRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of CreateAppRequest + */ + public CreateAppRequest buildWithoutInvocationCallback() { + CreateAppRequest request = new CreateAppRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.app = app; + request.opcRetryToken = opcRetryToken; + return request; + // new CreateAppRequest(authorization, resourceTypeSchemaVersion, attributes, + // attributeSets, app, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .app(app) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",app=").append(String.valueOf(this.app)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateAppRequest)) { + return false; + } + + CreateAppRequest other = (CreateAppRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.app, other.app) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.app == null ? 43 : this.app.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateAppRoleRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateAppRoleRequest.java new file mode 100644 index 00000000000..c24c2d0abfa --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateAppRoleRequest.java @@ -0,0 +1,566 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use CreateAppRoleRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class CreateAppRoleRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * AppRole schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.AppRole appRole; + + /** + * AppRole schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.AppRole getAppRole() { + return appRole; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.AppRole getBody$() { + return appRole; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + CreateAppRoleRequest, com.oracle.bmc.identitydomains.model.AppRole> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * AppRole schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.AppRole appRole = null; + + /** + * AppRole schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param appRole the value to set + * @return this builder instance + */ + public Builder appRole(com.oracle.bmc.identitydomains.model.AppRole appRole) { + this.appRole = appRole; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(CreateAppRoleRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + appRole(o.getAppRole()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of CreateAppRoleRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of CreateAppRoleRequest + */ + public CreateAppRoleRequest build() { + CreateAppRoleRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.AppRole body) { + appRole(body); + return this; + } + + /** + * Build the instance of CreateAppRoleRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of CreateAppRoleRequest + */ + public CreateAppRoleRequest buildWithoutInvocationCallback() { + CreateAppRoleRequest request = new CreateAppRoleRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.appRole = appRole; + request.opcRetryToken = opcRetryToken; + return request; + // new CreateAppRoleRequest(authorization, resourceTypeSchemaVersion, attributes, + // attributeSets, appRole, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .appRole(appRole) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",appRole=").append(String.valueOf(this.appRole)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateAppRoleRequest)) { + return false; + } + + CreateAppRoleRequest other = (CreateAppRoleRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.appRole, other.appRole) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.appRole == null ? 43 : this.appRole.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateGrantRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateGrantRequest.java new file mode 100644 index 00000000000..d62e7d4039e --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateGrantRequest.java @@ -0,0 +1,566 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use CreateGrantRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class CreateGrantRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Grant schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.Grant grant; + + /** + * Grant schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.Grant getGrant() { + return grant; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.Grant getBody$() { + return grant; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + CreateGrantRequest, com.oracle.bmc.identitydomains.model.Grant> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Grant schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.Grant grant = null; + + /** + * Grant schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param grant the value to set + * @return this builder instance + */ + public Builder grant(com.oracle.bmc.identitydomains.model.Grant grant) { + this.grant = grant; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(CreateGrantRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + grant(o.getGrant()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of CreateGrantRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of CreateGrantRequest + */ + public CreateGrantRequest build() { + CreateGrantRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.Grant body) { + grant(body); + return this; + } + + /** + * Build the instance of CreateGrantRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of CreateGrantRequest + */ + public CreateGrantRequest buildWithoutInvocationCallback() { + CreateGrantRequest request = new CreateGrantRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.grant = grant; + request.opcRetryToken = opcRetryToken; + return request; + // new CreateGrantRequest(authorization, resourceTypeSchemaVersion, attributes, + // attributeSets, grant, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .grant(grant) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",grant=").append(String.valueOf(this.grant)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateGrantRequest)) { + return false; + } + + CreateGrantRequest other = (CreateGrantRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.grant, other.grant) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.grant == null ? 43 : this.grant.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateMyRequestRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateMyRequestRequest.java new file mode 100644 index 00000000000..068b8e021df --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateMyRequestRequest.java @@ -0,0 +1,566 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use CreateMyRequestRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class CreateMyRequestRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * MyRequest schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.MyRequest myRequest; + + /** + * MyRequest schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.MyRequest getMyRequest() { + return myRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.MyRequest getBody$() { + return myRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + CreateMyRequestRequest, com.oracle.bmc.identitydomains.model.MyRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * MyRequest schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.MyRequest myRequest = null; + + /** + * MyRequest schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param myRequest the value to set + * @return this builder instance + */ + public Builder myRequest(com.oracle.bmc.identitydomains.model.MyRequest myRequest) { + this.myRequest = myRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(CreateMyRequestRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + myRequest(o.getMyRequest()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of CreateMyRequestRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of CreateMyRequestRequest + */ + public CreateMyRequestRequest build() { + CreateMyRequestRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.MyRequest body) { + myRequest(body); + return this; + } + + /** + * Build the instance of CreateMyRequestRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of CreateMyRequestRequest + */ + public CreateMyRequestRequest buildWithoutInvocationCallback() { + CreateMyRequestRequest request = new CreateMyRequestRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.myRequest = myRequest; + request.opcRetryToken = opcRetryToken; + return request; + // new CreateMyRequestRequest(authorization, resourceTypeSchemaVersion, attributes, + // attributeSets, myRequest, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .myRequest(myRequest) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",myRequest=").append(String.valueOf(this.myRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateMyRequestRequest)) { + return false; + } + + CreateMyRequestRequest other = (CreateMyRequestRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.myRequest, other.myRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.myRequest == null ? 43 : this.myRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateSecurityQuestionRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateSecurityQuestionRequest.java new file mode 100644 index 00000000000..c0635c08cc7 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateSecurityQuestionRequest.java @@ -0,0 +1,572 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * CreateSecurityQuestionRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class CreateSecurityQuestionRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.SecurityQuestion> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * SecurityQuestion schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion; + + /** + * SecurityQuestion schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.SecurityQuestion getSecurityQuestion() { + return securityQuestion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.SecurityQuestion getBody$() { + return securityQuestion; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + CreateSecurityQuestionRequest, + com.oracle.bmc.identitydomains.model.SecurityQuestion> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * SecurityQuestion schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion = null; + + /** + * SecurityQuestion schema. + * + *

Before you specify an attribute-value in a request to create a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param securityQuestion the value to set + * @return this builder instance + */ + public Builder securityQuestion( + com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion) { + this.securityQuestion = securityQuestion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(CreateSecurityQuestionRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + securityQuestion(o.getSecurityQuestion()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of CreateSecurityQuestionRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of CreateSecurityQuestionRequest + */ + public CreateSecurityQuestionRequest build() { + CreateSecurityQuestionRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.SecurityQuestion body) { + securityQuestion(body); + return this; + } + + /** + * Build the instance of CreateSecurityQuestionRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of CreateSecurityQuestionRequest + */ + public CreateSecurityQuestionRequest buildWithoutInvocationCallback() { + CreateSecurityQuestionRequest request = new CreateSecurityQuestionRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.securityQuestion = securityQuestion; + request.opcRetryToken = opcRetryToken; + return request; + // new CreateSecurityQuestionRequest(authorization, resourceTypeSchemaVersion, + // attributes, attributeSets, securityQuestion, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .securityQuestion(securityQuestion) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",securityQuestion=").append(String.valueOf(this.securityQuestion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateSecurityQuestionRequest)) { + return false; + } + + CreateSecurityQuestionRequest other = (CreateSecurityQuestionRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.securityQuestion, other.securityQuestion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.securityQuestion == null ? 43 : this.securityQuestion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteAppRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteAppRequest.java new file mode 100644 index 00000000000..c3fbd059f1f --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteAppRequest.java @@ -0,0 +1,357 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use DeleteAppRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class DeleteAppRequest extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String appId; + + /** ID of the resource */ + public String getAppId() { + return appId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** To force delete the resource and all its references (if any). */ + private Boolean forceDelete; + + /** To force delete the resource and all its references (if any). */ + public Boolean getForceDelete() { + return forceDelete; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + DeleteAppRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String appId = null; + + /** + * ID of the resource + * + * @param appId the value to set + * @return this builder instance + */ + public Builder appId(String appId) { + this.appId = appId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** To force delete the resource and all its references (if any). */ + private Boolean forceDelete = null; + + /** + * To force delete the resource and all its references (if any). + * + * @param forceDelete the value to set + * @return this builder instance + */ + public Builder forceDelete(Boolean forceDelete) { + this.forceDelete = forceDelete; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(DeleteAppRequest o) { + appId(o.getAppId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + forceDelete(o.getForceDelete()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of DeleteAppRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of DeleteAppRequest + */ + public DeleteAppRequest build() { + DeleteAppRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of DeleteAppRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of DeleteAppRequest + */ + public DeleteAppRequest buildWithoutInvocationCallback() { + DeleteAppRequest request = new DeleteAppRequest(); + request.appId = appId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.forceDelete = forceDelete; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new DeleteAppRequest(appId, authorization, resourceTypeSchemaVersion, forceDelete, + // ifMatch, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .appId(appId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .forceDelete(forceDelete) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",appId=").append(String.valueOf(this.appId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",forceDelete=").append(String.valueOf(this.forceDelete)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DeleteAppRequest)) { + return false; + } + + DeleteAppRequest other = (DeleteAppRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.appId, other.appId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.forceDelete, other.forceDelete) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.appId == null ? 43 : this.appId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.forceDelete == null ? 43 : this.forceDelete.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteAppRoleRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteAppRoleRequest.java new file mode 100644 index 00000000000..e182bf37515 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteAppRoleRequest.java @@ -0,0 +1,357 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use DeleteAppRoleRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class DeleteAppRoleRequest extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String appRoleId; + + /** ID of the resource */ + public String getAppRoleId() { + return appRoleId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** To force delete the resource and all its references (if any). */ + private Boolean forceDelete; + + /** To force delete the resource and all its references (if any). */ + public Boolean getForceDelete() { + return forceDelete; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + DeleteAppRoleRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String appRoleId = null; + + /** + * ID of the resource + * + * @param appRoleId the value to set + * @return this builder instance + */ + public Builder appRoleId(String appRoleId) { + this.appRoleId = appRoleId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** To force delete the resource and all its references (if any). */ + private Boolean forceDelete = null; + + /** + * To force delete the resource and all its references (if any). + * + * @param forceDelete the value to set + * @return this builder instance + */ + public Builder forceDelete(Boolean forceDelete) { + this.forceDelete = forceDelete; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(DeleteAppRoleRequest o) { + appRoleId(o.getAppRoleId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + forceDelete(o.getForceDelete()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of DeleteAppRoleRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of DeleteAppRoleRequest + */ + public DeleteAppRoleRequest build() { + DeleteAppRoleRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of DeleteAppRoleRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of DeleteAppRoleRequest + */ + public DeleteAppRoleRequest buildWithoutInvocationCallback() { + DeleteAppRoleRequest request = new DeleteAppRoleRequest(); + request.appRoleId = appRoleId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.forceDelete = forceDelete; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new DeleteAppRoleRequest(appRoleId, authorization, resourceTypeSchemaVersion, + // forceDelete, ifMatch, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .appRoleId(appRoleId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .forceDelete(forceDelete) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",appRoleId=").append(String.valueOf(this.appRoleId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",forceDelete=").append(String.valueOf(this.forceDelete)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DeleteAppRoleRequest)) { + return false; + } + + DeleteAppRoleRequest other = (DeleteAppRoleRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.appRoleId, other.appRoleId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.forceDelete, other.forceDelete) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.appRoleId == null ? 43 : this.appRoleId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.forceDelete == null ? 43 : this.forceDelete.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteGrantRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteGrantRequest.java new file mode 100644 index 00000000000..cd31f4f0eee --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteGrantRequest.java @@ -0,0 +1,357 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use DeleteGrantRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class DeleteGrantRequest extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String grantId; + + /** ID of the resource */ + public String getGrantId() { + return grantId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** To force delete the resource and all its references (if any). */ + private Boolean forceDelete; + + /** To force delete the resource and all its references (if any). */ + public Boolean getForceDelete() { + return forceDelete; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + DeleteGrantRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String grantId = null; + + /** + * ID of the resource + * + * @param grantId the value to set + * @return this builder instance + */ + public Builder grantId(String grantId) { + this.grantId = grantId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** To force delete the resource and all its references (if any). */ + private Boolean forceDelete = null; + + /** + * To force delete the resource and all its references (if any). + * + * @param forceDelete the value to set + * @return this builder instance + */ + public Builder forceDelete(Boolean forceDelete) { + this.forceDelete = forceDelete; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(DeleteGrantRequest o) { + grantId(o.getGrantId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + forceDelete(o.getForceDelete()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of DeleteGrantRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of DeleteGrantRequest + */ + public DeleteGrantRequest build() { + DeleteGrantRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of DeleteGrantRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of DeleteGrantRequest + */ + public DeleteGrantRequest buildWithoutInvocationCallback() { + DeleteGrantRequest request = new DeleteGrantRequest(); + request.grantId = grantId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.forceDelete = forceDelete; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new DeleteGrantRequest(grantId, authorization, resourceTypeSchemaVersion, + // forceDelete, ifMatch, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .grantId(grantId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .forceDelete(forceDelete) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",grantId=").append(String.valueOf(this.grantId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",forceDelete=").append(String.valueOf(this.forceDelete)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DeleteGrantRequest)) { + return false; + } + + DeleteGrantRequest other = (DeleteGrantRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.grantId, other.grantId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.forceDelete, other.forceDelete) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.grantId == null ? 43 : this.grantId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.forceDelete == null ? 43 : this.forceDelete.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteSecurityQuestionRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteSecurityQuestionRequest.java new file mode 100644 index 00000000000..a12f0eab734 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/DeleteSecurityQuestionRequest.java @@ -0,0 +1,363 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * DeleteSecurityQuestionRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class DeleteSecurityQuestionRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String securityQuestionId; + + /** ID of the resource */ + public String getSecurityQuestionId() { + return securityQuestionId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** To force delete the resource and all its references (if any). */ + private Boolean forceDelete; + + /** To force delete the resource and all its references (if any). */ + public Boolean getForceDelete() { + return forceDelete; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + DeleteSecurityQuestionRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String securityQuestionId = null; + + /** + * ID of the resource + * + * @param securityQuestionId the value to set + * @return this builder instance + */ + public Builder securityQuestionId(String securityQuestionId) { + this.securityQuestionId = securityQuestionId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** To force delete the resource and all its references (if any). */ + private Boolean forceDelete = null; + + /** + * To force delete the resource and all its references (if any). + * + * @param forceDelete the value to set + * @return this builder instance + */ + public Builder forceDelete(Boolean forceDelete) { + this.forceDelete = forceDelete; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(DeleteSecurityQuestionRequest o) { + securityQuestionId(o.getSecurityQuestionId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + forceDelete(o.getForceDelete()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of DeleteSecurityQuestionRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of DeleteSecurityQuestionRequest + */ + public DeleteSecurityQuestionRequest build() { + DeleteSecurityQuestionRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of DeleteSecurityQuestionRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of DeleteSecurityQuestionRequest + */ + public DeleteSecurityQuestionRequest buildWithoutInvocationCallback() { + DeleteSecurityQuestionRequest request = new DeleteSecurityQuestionRequest(); + request.securityQuestionId = securityQuestionId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.forceDelete = forceDelete; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new DeleteSecurityQuestionRequest(securityQuestionId, authorization, + // resourceTypeSchemaVersion, forceDelete, ifMatch, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .securityQuestionId(securityQuestionId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .forceDelete(forceDelete) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",securityQuestionId=").append(String.valueOf(this.securityQuestionId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",forceDelete=").append(String.valueOf(this.forceDelete)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DeleteSecurityQuestionRequest)) { + return false; + } + + DeleteSecurityQuestionRequest other = (DeleteSecurityQuestionRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.securityQuestionId, other.securityQuestionId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.forceDelete, other.forceDelete) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.securityQuestionId == null + ? 43 + : this.securityQuestionId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.forceDelete == null ? 43 : this.forceDelete.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAccountMgmtInfoRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAccountMgmtInfoRequest.java new file mode 100644 index 00000000000..bf9e5f9d301 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAccountMgmtInfoRequest.java @@ -0,0 +1,432 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use GetAccountMgmtInfoRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetAccountMgmtInfoRequest extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String accountMgmtInfoId; + + /** ID of the resource */ + public String getAccountMgmtInfoId() { + return accountMgmtInfoId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetAccountMgmtInfoRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String accountMgmtInfoId = null; + + /** + * ID of the resource + * + * @param accountMgmtInfoId the value to set + * @return this builder instance + */ + public Builder accountMgmtInfoId(String accountMgmtInfoId) { + this.accountMgmtInfoId = accountMgmtInfoId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetAccountMgmtInfoRequest o) { + accountMgmtInfoId(o.getAccountMgmtInfoId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetAccountMgmtInfoRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetAccountMgmtInfoRequest + */ + public GetAccountMgmtInfoRequest build() { + GetAccountMgmtInfoRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetAccountMgmtInfoRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetAccountMgmtInfoRequest + */ + public GetAccountMgmtInfoRequest buildWithoutInvocationCallback() { + GetAccountMgmtInfoRequest request = new GetAccountMgmtInfoRequest(); + request.accountMgmtInfoId = accountMgmtInfoId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.opcRetryToken = opcRetryToken; + return request; + // new GetAccountMgmtInfoRequest(accountMgmtInfoId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .accountMgmtInfoId(accountMgmtInfoId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",accountMgmtInfoId=").append(String.valueOf(this.accountMgmtInfoId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetAccountMgmtInfoRequest)) { + return false; + } + + GetAccountMgmtInfoRequest other = (GetAccountMgmtInfoRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.accountMgmtInfoId, other.accountMgmtInfoId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.accountMgmtInfoId == null ? 43 : this.accountMgmtInfoId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAccountRecoverySettingRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAccountRecoverySettingRequest.java new file mode 100644 index 00000000000..7da62c84ae4 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAccountRecoverySettingRequest.java @@ -0,0 +1,438 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * GetAccountRecoverySettingRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetAccountRecoverySettingRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String accountRecoverySettingId; + + /** ID of the resource */ + public String getAccountRecoverySettingId() { + return accountRecoverySettingId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetAccountRecoverySettingRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String accountRecoverySettingId = null; + + /** + * ID of the resource + * + * @param accountRecoverySettingId the value to set + * @return this builder instance + */ + public Builder accountRecoverySettingId(String accountRecoverySettingId) { + this.accountRecoverySettingId = accountRecoverySettingId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetAccountRecoverySettingRequest o) { + accountRecoverySettingId(o.getAccountRecoverySettingId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetAccountRecoverySettingRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetAccountRecoverySettingRequest + */ + public GetAccountRecoverySettingRequest build() { + GetAccountRecoverySettingRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetAccountRecoverySettingRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetAccountRecoverySettingRequest + */ + public GetAccountRecoverySettingRequest buildWithoutInvocationCallback() { + GetAccountRecoverySettingRequest request = new GetAccountRecoverySettingRequest(); + request.accountRecoverySettingId = accountRecoverySettingId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.opcRetryToken = opcRetryToken; + return request; + // new GetAccountRecoverySettingRequest(accountRecoverySettingId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .accountRecoverySettingId(accountRecoverySettingId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",accountRecoverySettingId=") + .append(String.valueOf(this.accountRecoverySettingId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetAccountRecoverySettingRequest)) { + return false; + } + + GetAccountRecoverySettingRequest other = (GetAccountRecoverySettingRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.accountRecoverySettingId, other.accountRecoverySettingId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.accountRecoverySettingId == null + ? 43 + : this.accountRecoverySettingId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAppRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAppRequest.java new file mode 100644 index 00000000000..d263956b51d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAppRequest.java @@ -0,0 +1,429 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use GetAppRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetAppRequest extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String appId; + + /** ID of the resource */ + public String getAppId() { + return appId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String appId = null; + + /** + * ID of the resource + * + * @param appId the value to set + * @return this builder instance + */ + public Builder appId(String appId) { + this.appId = appId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetAppRequest o) { + appId(o.getAppId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetAppRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetAppRequest + */ + public GetAppRequest build() { + GetAppRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetAppRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetAppRequest + */ + public GetAppRequest buildWithoutInvocationCallback() { + GetAppRequest request = new GetAppRequest(); + request.appId = appId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.opcRetryToken = opcRetryToken; + return request; + // new GetAppRequest(appId, authorization, resourceTypeSchemaVersion, attributes, + // attributeSets, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .appId(appId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",appId=").append(String.valueOf(this.appId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetAppRequest)) { + return false; + } + + GetAppRequest other = (GetAppRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.appId, other.appId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.appId == null ? 43 : this.appId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAppRoleRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAppRoleRequest.java new file mode 100644 index 00000000000..9528f2fd60b --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetAppRoleRequest.java @@ -0,0 +1,430 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use GetAppRoleRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetAppRoleRequest extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String appRoleId; + + /** ID of the resource */ + public String getAppRoleId() { + return appRoleId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetAppRoleRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String appRoleId = null; + + /** + * ID of the resource + * + * @param appRoleId the value to set + * @return this builder instance + */ + public Builder appRoleId(String appRoleId) { + this.appRoleId = appRoleId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetAppRoleRequest o) { + appRoleId(o.getAppRoleId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetAppRoleRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetAppRoleRequest + */ + public GetAppRoleRequest build() { + GetAppRoleRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetAppRoleRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetAppRoleRequest + */ + public GetAppRoleRequest buildWithoutInvocationCallback() { + GetAppRoleRequest request = new GetAppRoleRequest(); + request.appRoleId = appRoleId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.opcRetryToken = opcRetryToken; + return request; + // new GetAppRoleRequest(appRoleId, authorization, resourceTypeSchemaVersion, + // attributes, attributeSets, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .appRoleId(appRoleId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",appRoleId=").append(String.valueOf(this.appRoleId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetAppRoleRequest)) { + return false; + } + + GetAppRoleRequest other = (GetAppRoleRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.appRoleId, other.appRoleId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.appRoleId == null ? 43 : this.appRoleId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetGrantRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetGrantRequest.java new file mode 100644 index 00000000000..d880823996f --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetGrantRequest.java @@ -0,0 +1,429 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use GetGrantRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetGrantRequest extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String grantId; + + /** ID of the resource */ + public String getGrantId() { + return grantId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String grantId = null; + + /** + * ID of the resource + * + * @param grantId the value to set + * @return this builder instance + */ + public Builder grantId(String grantId) { + this.grantId = grantId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetGrantRequest o) { + grantId(o.getGrantId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetGrantRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetGrantRequest + */ + public GetGrantRequest build() { + GetGrantRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetGrantRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetGrantRequest + */ + public GetGrantRequest buildWithoutInvocationCallback() { + GetGrantRequest request = new GetGrantRequest(); + request.grantId = grantId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.opcRetryToken = opcRetryToken; + return request; + // new GetGrantRequest(grantId, authorization, resourceTypeSchemaVersion, attributes, + // attributeSets, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .grantId(grantId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",grantId=").append(String.valueOf(this.grantId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetGrantRequest)) { + return false; + } + + GetGrantRequest other = (GetGrantRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.grantId, other.grantId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.grantId == null ? 43 : this.grantId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetIdentitySettingRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetIdentitySettingRequest.java new file mode 100644 index 00000000000..1ce9a213a28 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetIdentitySettingRequest.java @@ -0,0 +1,432 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use GetIdentitySettingRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetIdentitySettingRequest extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String identitySettingId; + + /** ID of the resource */ + public String getIdentitySettingId() { + return identitySettingId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetIdentitySettingRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String identitySettingId = null; + + /** + * ID of the resource + * + * @param identitySettingId the value to set + * @return this builder instance + */ + public Builder identitySettingId(String identitySettingId) { + this.identitySettingId = identitySettingId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetIdentitySettingRequest o) { + identitySettingId(o.getIdentitySettingId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetIdentitySettingRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetIdentitySettingRequest + */ + public GetIdentitySettingRequest build() { + GetIdentitySettingRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetIdentitySettingRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetIdentitySettingRequest + */ + public GetIdentitySettingRequest buildWithoutInvocationCallback() { + GetIdentitySettingRequest request = new GetIdentitySettingRequest(); + request.identitySettingId = identitySettingId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.opcRetryToken = opcRetryToken; + return request; + // new GetIdentitySettingRequest(identitySettingId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .identitySettingId(identitySettingId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",identitySettingId=").append(String.valueOf(this.identitySettingId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetIdentitySettingRequest)) { + return false; + } + + GetIdentitySettingRequest other = (GetIdentitySettingRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.identitySettingId, other.identitySettingId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.identitySettingId == null ? 43 : this.identitySettingId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetSecurityQuestionRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetSecurityQuestionRequest.java new file mode 100644 index 00000000000..af980251049 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetSecurityQuestionRequest.java @@ -0,0 +1,434 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use GetSecurityQuestionRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetSecurityQuestionRequest extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String securityQuestionId; + + /** ID of the resource */ + public String getSecurityQuestionId() { + return securityQuestionId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetSecurityQuestionRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String securityQuestionId = null; + + /** + * ID of the resource + * + * @param securityQuestionId the value to set + * @return this builder instance + */ + public Builder securityQuestionId(String securityQuestionId) { + this.securityQuestionId = securityQuestionId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetSecurityQuestionRequest o) { + securityQuestionId(o.getSecurityQuestionId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetSecurityQuestionRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetSecurityQuestionRequest + */ + public GetSecurityQuestionRequest build() { + GetSecurityQuestionRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetSecurityQuestionRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetSecurityQuestionRequest + */ + public GetSecurityQuestionRequest buildWithoutInvocationCallback() { + GetSecurityQuestionRequest request = new GetSecurityQuestionRequest(); + request.securityQuestionId = securityQuestionId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.opcRetryToken = opcRetryToken; + return request; + // new GetSecurityQuestionRequest(securityQuestionId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .securityQuestionId(securityQuestionId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",securityQuestionId=").append(String.valueOf(this.securityQuestionId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetSecurityQuestionRequest)) { + return false; + } + + GetSecurityQuestionRequest other = (GetSecurityQuestionRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.securityQuestionId, other.securityQuestionId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.securityQuestionId == null + ? 43 + : this.securityQuestionId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetSecurityQuestionSettingRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetSecurityQuestionSettingRequest.java new file mode 100644 index 00000000000..68e19b34473 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetSecurityQuestionSettingRequest.java @@ -0,0 +1,438 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * GetSecurityQuestionSettingRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetSecurityQuestionSettingRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String securityQuestionSettingId; + + /** ID of the resource */ + public String getSecurityQuestionSettingId() { + return securityQuestionSettingId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetSecurityQuestionSettingRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String securityQuestionSettingId = null; + + /** + * ID of the resource + * + * @param securityQuestionSettingId the value to set + * @return this builder instance + */ + public Builder securityQuestionSettingId(String securityQuestionSettingId) { + this.securityQuestionSettingId = securityQuestionSettingId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetSecurityQuestionSettingRequest o) { + securityQuestionSettingId(o.getSecurityQuestionSettingId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetSecurityQuestionSettingRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetSecurityQuestionSettingRequest + */ + public GetSecurityQuestionSettingRequest build() { + GetSecurityQuestionSettingRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetSecurityQuestionSettingRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetSecurityQuestionSettingRequest + */ + public GetSecurityQuestionSettingRequest buildWithoutInvocationCallback() { + GetSecurityQuestionSettingRequest request = new GetSecurityQuestionSettingRequest(); + request.securityQuestionSettingId = securityQuestionSettingId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.opcRetryToken = opcRetryToken; + return request; + // new GetSecurityQuestionSettingRequest(securityQuestionSettingId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .securityQuestionSettingId(securityQuestionSettingId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",securityQuestionSettingId=") + .append(String.valueOf(this.securityQuestionSettingId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetSecurityQuestionSettingRequest)) { + return false; + } + + GetSecurityQuestionSettingRequest other = (GetSecurityQuestionSettingRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.securityQuestionSettingId, other.securityQuestionSettingId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.securityQuestionSettingId == null + ? 43 + : this.securityQuestionSettingId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetUserAttributesSettingRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetUserAttributesSettingRequest.java new file mode 100644 index 00000000000..a240ca1dba9 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetUserAttributesSettingRequest.java @@ -0,0 +1,437 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * GetUserAttributesSettingRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetUserAttributesSettingRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String userAttributesSettingId; + + /** ID of the resource */ + public String getUserAttributesSettingId() { + return userAttributesSettingId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + GetUserAttributesSettingRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String userAttributesSettingId = null; + + /** + * ID of the resource + * + * @param userAttributesSettingId the value to set + * @return this builder instance + */ + public Builder userAttributesSettingId(String userAttributesSettingId) { + this.userAttributesSettingId = userAttributesSettingId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(GetUserAttributesSettingRequest o) { + userAttributesSettingId(o.getUserAttributesSettingId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of GetUserAttributesSettingRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of GetUserAttributesSettingRequest + */ + public GetUserAttributesSettingRequest build() { + GetUserAttributesSettingRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetUserAttributesSettingRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of GetUserAttributesSettingRequest + */ + public GetUserAttributesSettingRequest buildWithoutInvocationCallback() { + GetUserAttributesSettingRequest request = new GetUserAttributesSettingRequest(); + request.userAttributesSettingId = userAttributesSettingId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.opcRetryToken = opcRetryToken; + return request; + // new GetUserAttributesSettingRequest(userAttributesSettingId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .userAttributesSettingId(userAttributesSettingId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",userAttributesSettingId=").append(String.valueOf(this.userAttributesSettingId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetUserAttributesSettingRequest)) { + return false; + } + + GetUserAttributesSettingRequest other = (GetUserAttributesSettingRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.userAttributesSettingId, other.userAttributesSettingId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.userAttributesSettingId == null + ? 43 + : this.userAttributesSettingId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAccountMgmtInfosRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAccountMgmtInfosRequest.java new file mode 100644 index 00000000000..e9aeb56dc92 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAccountMgmtInfosRequest.java @@ -0,0 +1,696 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use ListAccountMgmtInfosRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListAccountMgmtInfosRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + private String filter; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + public String getFilter() { + return filter; + } + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + private String sortBy; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + public String getSortBy() { + return sortBy; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + public com.oracle.bmc.identitydomains.model.SortOrder getSortOrder() { + return sortOrder; + } + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + private Integer startIndex; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + public Integer getStartIndex() { + return startIndex; + } + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + public Integer getCount() { + return count; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListAccountMgmtInfosRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + */ + private String filter = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + * + * @param filter the value to set + * @return this builder instance + */ + public Builder filter(String filter) { + this.filter = filter; + return this; + } + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + */ + private String sortBy = null; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + * + * @param sortBy the value to set + * @return this builder instance + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + return this; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder = null; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder instance + */ + public Builder sortOrder(com.oracle.bmc.identitydomains.model.SortOrder sortOrder) { + this.sortOrder = sortOrder; + return this; + } + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + */ + private Integer startIndex = null; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + * + * @param startIndex the value to set + * @return this builder instance + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count = null; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + * + * @param count the value to set + * @return this builder instance + */ + public Builder count(Integer count) { + this.count = count; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListAccountMgmtInfosRequest o) { + filter(o.getFilter()); + sortBy(o.getSortBy()); + sortOrder(o.getSortOrder()); + startIndex(o.getStartIndex()); + count(o.getCount()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListAccountMgmtInfosRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListAccountMgmtInfosRequest + */ + public ListAccountMgmtInfosRequest build() { + ListAccountMgmtInfosRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListAccountMgmtInfosRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListAccountMgmtInfosRequest + */ + public ListAccountMgmtInfosRequest buildWithoutInvocationCallback() { + ListAccountMgmtInfosRequest request = new ListAccountMgmtInfosRequest(); + request.filter = filter; + request.sortBy = sortBy; + request.sortOrder = sortOrder; + request.startIndex = startIndex; + request.count = count; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListAccountMgmtInfosRequest(filter, sortBy, sortOrder, startIndex, count, + // attributes, attributeSets, authorization, resourceTypeSchemaVersion, opcRetryToken, + // page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .filter(filter) + .sortBy(sortBy) + .sortOrder(sortOrder) + .startIndex(startIndex) + .count(count) + .attributes(attributes) + .attributeSets(attributeSets) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",filter=").append(String.valueOf(this.filter)); + sb.append(",sortBy=").append(String.valueOf(this.sortBy)); + sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(",startIndex=").append(String.valueOf(this.startIndex)); + sb.append(",count=").append(String.valueOf(this.count)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListAccountMgmtInfosRequest)) { + return false; + } + + ListAccountMgmtInfosRequest other = (ListAccountMgmtInfosRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAccountRecoverySettingsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAccountRecoverySettingsRequest.java new file mode 100644 index 00000000000..fe6f0f24da9 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAccountRecoverySettingsRequest.java @@ -0,0 +1,459 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * ListAccountRecoverySettingsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListAccountRecoverySettingsRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListAccountRecoverySettingsRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListAccountRecoverySettingsRequest o) { + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListAccountRecoverySettingsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListAccountRecoverySettingsRequest + */ + public ListAccountRecoverySettingsRequest build() { + ListAccountRecoverySettingsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListAccountRecoverySettingsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListAccountRecoverySettingsRequest + */ + public ListAccountRecoverySettingsRequest buildWithoutInvocationCallback() { + ListAccountRecoverySettingsRequest request = new ListAccountRecoverySettingsRequest(); + request.attributes = attributes; + request.attributeSets = attributeSets; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListAccountRecoverySettingsRequest(attributes, attributeSets, authorization, + // resourceTypeSchemaVersion, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .attributes(attributes) + .attributeSets(attributeSets) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListAccountRecoverySettingsRequest)) { + return false; + } + + ListAccountRecoverySettingsRequest other = (ListAccountRecoverySettingsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAppRolesRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAppRolesRequest.java new file mode 100644 index 00000000000..92ea03898e6 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAppRolesRequest.java @@ -0,0 +1,694 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use ListAppRolesRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListAppRolesRequest extends com.oracle.bmc.requests.BmcRequest { + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + private String filter; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + public String getFilter() { + return filter; + } + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + private String sortBy; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + public String getSortBy() { + return sortBy; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + public com.oracle.bmc.identitydomains.model.SortOrder getSortOrder() { + return sortOrder; + } + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + private Integer startIndex; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + public Integer getStartIndex() { + return startIndex; + } + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + public Integer getCount() { + return count; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListAppRolesRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + */ + private String filter = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + * + * @param filter the value to set + * @return this builder instance + */ + public Builder filter(String filter) { + this.filter = filter; + return this; + } + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + */ + private String sortBy = null; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + * + * @param sortBy the value to set + * @return this builder instance + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + return this; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder = null; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder instance + */ + public Builder sortOrder(com.oracle.bmc.identitydomains.model.SortOrder sortOrder) { + this.sortOrder = sortOrder; + return this; + } + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + */ + private Integer startIndex = null; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + * + * @param startIndex the value to set + * @return this builder instance + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count = null; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + * + * @param count the value to set + * @return this builder instance + */ + public Builder count(Integer count) { + this.count = count; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListAppRolesRequest o) { + filter(o.getFilter()); + sortBy(o.getSortBy()); + sortOrder(o.getSortOrder()); + startIndex(o.getStartIndex()); + count(o.getCount()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListAppRolesRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListAppRolesRequest + */ + public ListAppRolesRequest build() { + ListAppRolesRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListAppRolesRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListAppRolesRequest + */ + public ListAppRolesRequest buildWithoutInvocationCallback() { + ListAppRolesRequest request = new ListAppRolesRequest(); + request.filter = filter; + request.sortBy = sortBy; + request.sortOrder = sortOrder; + request.startIndex = startIndex; + request.count = count; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListAppRolesRequest(filter, sortBy, sortOrder, startIndex, count, attributes, + // attributeSets, authorization, resourceTypeSchemaVersion, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .filter(filter) + .sortBy(sortBy) + .sortOrder(sortOrder) + .startIndex(startIndex) + .count(count) + .attributes(attributes) + .attributeSets(attributeSets) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",filter=").append(String.valueOf(this.filter)); + sb.append(",sortBy=").append(String.valueOf(this.sortBy)); + sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(",startIndex=").append(String.valueOf(this.startIndex)); + sb.append(",count=").append(String.valueOf(this.count)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListAppRolesRequest)) { + return false; + } + + ListAppRolesRequest other = (ListAppRolesRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAppsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAppsRequest.java new file mode 100644 index 00000000000..a7c5fc40c87 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListAppsRequest.java @@ -0,0 +1,693 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use ListAppsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListAppsRequest extends com.oracle.bmc.requests.BmcRequest { + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + private String filter; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + public String getFilter() { + return filter; + } + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + private String sortBy; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + public String getSortBy() { + return sortBy; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + public com.oracle.bmc.identitydomains.model.SortOrder getSortOrder() { + return sortOrder; + } + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + private Integer startIndex; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + public Integer getStartIndex() { + return startIndex; + } + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + public Integer getCount() { + return count; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + */ + private String filter = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + * + * @param filter the value to set + * @return this builder instance + */ + public Builder filter(String filter) { + this.filter = filter; + return this; + } + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + */ + private String sortBy = null; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + * + * @param sortBy the value to set + * @return this builder instance + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + return this; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder = null; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder instance + */ + public Builder sortOrder(com.oracle.bmc.identitydomains.model.SortOrder sortOrder) { + this.sortOrder = sortOrder; + return this; + } + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + */ + private Integer startIndex = null; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + * + * @param startIndex the value to set + * @return this builder instance + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count = null; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + * + * @param count the value to set + * @return this builder instance + */ + public Builder count(Integer count) { + this.count = count; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListAppsRequest o) { + filter(o.getFilter()); + sortBy(o.getSortBy()); + sortOrder(o.getSortOrder()); + startIndex(o.getStartIndex()); + count(o.getCount()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListAppsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListAppsRequest + */ + public ListAppsRequest build() { + ListAppsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListAppsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListAppsRequest + */ + public ListAppsRequest buildWithoutInvocationCallback() { + ListAppsRequest request = new ListAppsRequest(); + request.filter = filter; + request.sortBy = sortBy; + request.sortOrder = sortOrder; + request.startIndex = startIndex; + request.count = count; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListAppsRequest(filter, sortBy, sortOrder, startIndex, count, attributes, + // attributeSets, authorization, resourceTypeSchemaVersion, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .filter(filter) + .sortBy(sortBy) + .sortOrder(sortOrder) + .startIndex(startIndex) + .count(count) + .attributes(attributes) + .attributeSets(attributeSets) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",filter=").append(String.valueOf(this.filter)); + sb.append(",sortBy=").append(String.valueOf(this.sortBy)); + sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(",startIndex=").append(String.valueOf(this.startIndex)); + sb.append(",count=").append(String.valueOf(this.count)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListAppsRequest)) { + return false; + } + + ListAppsRequest other = (ListAppsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListGrantsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListGrantsRequest.java new file mode 100644 index 00000000000..917a8c6c484 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListGrantsRequest.java @@ -0,0 +1,694 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use ListGrantsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListGrantsRequest extends com.oracle.bmc.requests.BmcRequest { + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + private String filter; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + public String getFilter() { + return filter; + } + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + private String sortBy; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + public String getSortBy() { + return sortBy; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + public com.oracle.bmc.identitydomains.model.SortOrder getSortOrder() { + return sortOrder; + } + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + private Integer startIndex; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + public Integer getStartIndex() { + return startIndex; + } + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + public Integer getCount() { + return count; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListGrantsRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + */ + private String filter = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + * + * @param filter the value to set + * @return this builder instance + */ + public Builder filter(String filter) { + this.filter = filter; + return this; + } + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + */ + private String sortBy = null; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + * + * @param sortBy the value to set + * @return this builder instance + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + return this; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder = null; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder instance + */ + public Builder sortOrder(com.oracle.bmc.identitydomains.model.SortOrder sortOrder) { + this.sortOrder = sortOrder; + return this; + } + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + */ + private Integer startIndex = null; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + * + * @param startIndex the value to set + * @return this builder instance + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count = null; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + * + * @param count the value to set + * @return this builder instance + */ + public Builder count(Integer count) { + this.count = count; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListGrantsRequest o) { + filter(o.getFilter()); + sortBy(o.getSortBy()); + sortOrder(o.getSortOrder()); + startIndex(o.getStartIndex()); + count(o.getCount()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListGrantsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListGrantsRequest + */ + public ListGrantsRequest build() { + ListGrantsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListGrantsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListGrantsRequest + */ + public ListGrantsRequest buildWithoutInvocationCallback() { + ListGrantsRequest request = new ListGrantsRequest(); + request.filter = filter; + request.sortBy = sortBy; + request.sortOrder = sortOrder; + request.startIndex = startIndex; + request.count = count; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListGrantsRequest(filter, sortBy, sortOrder, startIndex, count, attributes, + // attributeSets, authorization, resourceTypeSchemaVersion, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .filter(filter) + .sortBy(sortBy) + .sortOrder(sortOrder) + .startIndex(startIndex) + .count(count) + .attributes(attributes) + .attributeSets(attributeSets) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",filter=").append(String.valueOf(this.filter)); + sb.append(",sortBy=").append(String.valueOf(this.sortBy)); + sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(",startIndex=").append(String.valueOf(this.startIndex)); + sb.append(",count=").append(String.valueOf(this.count)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListGrantsRequest)) { + return false; + } + + ListGrantsRequest other = (ListGrantsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListIdentitySettingsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListIdentitySettingsRequest.java new file mode 100644 index 00000000000..7d67ffb6f69 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListIdentitySettingsRequest.java @@ -0,0 +1,458 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use ListIdentitySettingsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListIdentitySettingsRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListIdentitySettingsRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListIdentitySettingsRequest o) { + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListIdentitySettingsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListIdentitySettingsRequest + */ + public ListIdentitySettingsRequest build() { + ListIdentitySettingsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListIdentitySettingsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListIdentitySettingsRequest + */ + public ListIdentitySettingsRequest buildWithoutInvocationCallback() { + ListIdentitySettingsRequest request = new ListIdentitySettingsRequest(); + request.attributes = attributes; + request.attributeSets = attributeSets; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListIdentitySettingsRequest(attributes, attributeSets, authorization, + // resourceTypeSchemaVersion, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .attributes(attributes) + .attributeSets(attributeSets) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListIdentitySettingsRequest)) { + return false; + } + + ListIdentitySettingsRequest other = (ListIdentitySettingsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListMyAppsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListMyAppsRequest.java new file mode 100644 index 00000000000..31ec6ff185d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListMyAppsRequest.java @@ -0,0 +1,567 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use ListMyAppsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListMyAppsRequest extends com.oracle.bmc.requests.BmcRequest { + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + private String filter; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + public String getFilter() { + return filter; + } + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + private String sortBy; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + public String getSortBy() { + return sortBy; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + public com.oracle.bmc.identitydomains.model.SortOrder getSortOrder() { + return sortOrder; + } + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + private Integer startIndex; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + public Integer getStartIndex() { + return startIndex; + } + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + public Integer getCount() { + return count; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListMyAppsRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + */ + private String filter = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + * + * @param filter the value to set + * @return this builder instance + */ + public Builder filter(String filter) { + this.filter = filter; + return this; + } + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + */ + private String sortBy = null; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + * + * @param sortBy the value to set + * @return this builder instance + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + return this; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder = null; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder instance + */ + public Builder sortOrder(com.oracle.bmc.identitydomains.model.SortOrder sortOrder) { + this.sortOrder = sortOrder; + return this; + } + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + */ + private Integer startIndex = null; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + * + * @param startIndex the value to set + * @return this builder instance + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count = null; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + * + * @param count the value to set + * @return this builder instance + */ + public Builder count(Integer count) { + this.count = count; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListMyAppsRequest o) { + filter(o.getFilter()); + sortBy(o.getSortBy()); + sortOrder(o.getSortOrder()); + startIndex(o.getStartIndex()); + count(o.getCount()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListMyAppsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListMyAppsRequest + */ + public ListMyAppsRequest build() { + ListMyAppsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListMyAppsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListMyAppsRequest + */ + public ListMyAppsRequest buildWithoutInvocationCallback() { + ListMyAppsRequest request = new ListMyAppsRequest(); + request.filter = filter; + request.sortBy = sortBy; + request.sortOrder = sortOrder; + request.startIndex = startIndex; + request.count = count; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListMyAppsRequest(filter, sortBy, sortOrder, startIndex, count, authorization, + // resourceTypeSchemaVersion, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .filter(filter) + .sortBy(sortBy) + .sortOrder(sortOrder) + .startIndex(startIndex) + .count(count) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",filter=").append(String.valueOf(this.filter)); + sb.append(",sortBy=").append(String.valueOf(this.sortBy)); + sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(",startIndex=").append(String.valueOf(this.startIndex)); + sb.append(",count=").append(String.valueOf(this.count)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListMyAppsRequest)) { + return false; + } + + ListMyAppsRequest other = (ListMyAppsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListMyRequestableGroupsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListMyRequestableGroupsRequest.java new file mode 100644 index 00000000000..09a2308de5d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListMyRequestableGroupsRequest.java @@ -0,0 +1,569 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * ListMyRequestableGroupsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListMyRequestableGroupsRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + private String filter; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + public String getFilter() { + return filter; + } + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + private String sortBy; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + public String getSortBy() { + return sortBy; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + public com.oracle.bmc.identitydomains.model.SortOrder getSortOrder() { + return sortOrder; + } + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + private Integer startIndex; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + public Integer getStartIndex() { + return startIndex; + } + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + public Integer getCount() { + return count; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListMyRequestableGroupsRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + */ + private String filter = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + * + * @param filter the value to set + * @return this builder instance + */ + public Builder filter(String filter) { + this.filter = filter; + return this; + } + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + */ + private String sortBy = null; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + * + * @param sortBy the value to set + * @return this builder instance + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + return this; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder = null; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder instance + */ + public Builder sortOrder(com.oracle.bmc.identitydomains.model.SortOrder sortOrder) { + this.sortOrder = sortOrder; + return this; + } + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + */ + private Integer startIndex = null; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + * + * @param startIndex the value to set + * @return this builder instance + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count = null; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + * + * @param count the value to set + * @return this builder instance + */ + public Builder count(Integer count) { + this.count = count; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListMyRequestableGroupsRequest o) { + filter(o.getFilter()); + sortBy(o.getSortBy()); + sortOrder(o.getSortOrder()); + startIndex(o.getStartIndex()); + count(o.getCount()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListMyRequestableGroupsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListMyRequestableGroupsRequest + */ + public ListMyRequestableGroupsRequest build() { + ListMyRequestableGroupsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListMyRequestableGroupsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListMyRequestableGroupsRequest + */ + public ListMyRequestableGroupsRequest buildWithoutInvocationCallback() { + ListMyRequestableGroupsRequest request = new ListMyRequestableGroupsRequest(); + request.filter = filter; + request.sortBy = sortBy; + request.sortOrder = sortOrder; + request.startIndex = startIndex; + request.count = count; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListMyRequestableGroupsRequest(filter, sortBy, sortOrder, startIndex, count, + // authorization, resourceTypeSchemaVersion, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .filter(filter) + .sortBy(sortBy) + .sortOrder(sortOrder) + .startIndex(startIndex) + .count(count) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",filter=").append(String.valueOf(this.filter)); + sb.append(",sortBy=").append(String.valueOf(this.sortBy)); + sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(",startIndex=").append(String.valueOf(this.startIndex)); + sb.append(",count=").append(String.valueOf(this.count)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListMyRequestableGroupsRequest)) { + return false; + } + + ListMyRequestableGroupsRequest other = (ListMyRequestableGroupsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListMyRequestsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListMyRequestsRequest.java new file mode 100644 index 00000000000..39c2743d66c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListMyRequestsRequest.java @@ -0,0 +1,694 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use ListMyRequestsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListMyRequestsRequest extends com.oracle.bmc.requests.BmcRequest { + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + private String filter; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + public String getFilter() { + return filter; + } + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + private String sortBy; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + public String getSortBy() { + return sortBy; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + public com.oracle.bmc.identitydomains.model.SortOrder getSortOrder() { + return sortOrder; + } + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + private Integer startIndex; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + public Integer getStartIndex() { + return startIndex; + } + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + public Integer getCount() { + return count; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListMyRequestsRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + */ + private String filter = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + * + * @param filter the value to set + * @return this builder instance + */ + public Builder filter(String filter) { + this.filter = filter; + return this; + } + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + */ + private String sortBy = null; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + * + * @param sortBy the value to set + * @return this builder instance + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + return this; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder = null; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder instance + */ + public Builder sortOrder(com.oracle.bmc.identitydomains.model.SortOrder sortOrder) { + this.sortOrder = sortOrder; + return this; + } + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + */ + private Integer startIndex = null; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + * + * @param startIndex the value to set + * @return this builder instance + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count = null; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + * + * @param count the value to set + * @return this builder instance + */ + public Builder count(Integer count) { + this.count = count; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListMyRequestsRequest o) { + filter(o.getFilter()); + sortBy(o.getSortBy()); + sortOrder(o.getSortOrder()); + startIndex(o.getStartIndex()); + count(o.getCount()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListMyRequestsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListMyRequestsRequest + */ + public ListMyRequestsRequest build() { + ListMyRequestsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListMyRequestsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListMyRequestsRequest + */ + public ListMyRequestsRequest buildWithoutInvocationCallback() { + ListMyRequestsRequest request = new ListMyRequestsRequest(); + request.filter = filter; + request.sortBy = sortBy; + request.sortOrder = sortOrder; + request.startIndex = startIndex; + request.count = count; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListMyRequestsRequest(filter, sortBy, sortOrder, startIndex, count, attributes, + // attributeSets, authorization, resourceTypeSchemaVersion, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .filter(filter) + .sortBy(sortBy) + .sortOrder(sortOrder) + .startIndex(startIndex) + .count(count) + .attributes(attributes) + .attributeSets(attributeSets) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",filter=").append(String.valueOf(this.filter)); + sb.append(",sortBy=").append(String.valueOf(this.sortBy)); + sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(",startIndex=").append(String.valueOf(this.startIndex)); + sb.append(",count=").append(String.valueOf(this.count)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListMyRequestsRequest)) { + return false; + } + + ListMyRequestsRequest other = (ListMyRequestsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListResourceTypeSchemaAttributesRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListResourceTypeSchemaAttributesRequest.java new file mode 100644 index 00000000000..5ec8cd5a459 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListResourceTypeSchemaAttributesRequest.java @@ -0,0 +1,700 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * ListResourceTypeSchemaAttributesRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListResourceTypeSchemaAttributesRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + private String filter; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + public String getFilter() { + return filter; + } + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + private String sortBy; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + public String getSortBy() { + return sortBy; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + public com.oracle.bmc.identitydomains.model.SortOrder getSortOrder() { + return sortOrder; + } + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + private Integer startIndex; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + public Integer getStartIndex() { + return startIndex; + } + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + public Integer getCount() { + return count; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListResourceTypeSchemaAttributesRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + */ + private String filter = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + * + * @param filter the value to set + * @return this builder instance + */ + public Builder filter(String filter) { + this.filter = filter; + return this; + } + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + */ + private String sortBy = null; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + * + * @param sortBy the value to set + * @return this builder instance + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + return this; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder = null; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder instance + */ + public Builder sortOrder(com.oracle.bmc.identitydomains.model.SortOrder sortOrder) { + this.sortOrder = sortOrder; + return this; + } + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + */ + private Integer startIndex = null; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + * + * @param startIndex the value to set + * @return this builder instance + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count = null; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + * + * @param count the value to set + * @return this builder instance + */ + public Builder count(Integer count) { + this.count = count; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListResourceTypeSchemaAttributesRequest o) { + filter(o.getFilter()); + sortBy(o.getSortBy()); + sortOrder(o.getSortOrder()); + startIndex(o.getStartIndex()); + count(o.getCount()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListResourceTypeSchemaAttributesRequest as configured by this + * builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListResourceTypeSchemaAttributesRequest + */ + public ListResourceTypeSchemaAttributesRequest build() { + ListResourceTypeSchemaAttributesRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListResourceTypeSchemaAttributesRequest as configured by this + * builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListResourceTypeSchemaAttributesRequest + */ + public ListResourceTypeSchemaAttributesRequest buildWithoutInvocationCallback() { + ListResourceTypeSchemaAttributesRequest request = + new ListResourceTypeSchemaAttributesRequest(); + request.filter = filter; + request.sortBy = sortBy; + request.sortOrder = sortOrder; + request.startIndex = startIndex; + request.count = count; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListResourceTypeSchemaAttributesRequest(filter, sortBy, sortOrder, startIndex, + // count, attributes, attributeSets, authorization, resourceTypeSchemaVersion, + // opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .filter(filter) + .sortBy(sortBy) + .sortOrder(sortOrder) + .startIndex(startIndex) + .count(count) + .attributes(attributes) + .attributeSets(attributeSets) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",filter=").append(String.valueOf(this.filter)); + sb.append(",sortBy=").append(String.valueOf(this.sortBy)); + sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(",startIndex=").append(String.valueOf(this.startIndex)); + sb.append(",count=").append(String.valueOf(this.count)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListResourceTypeSchemaAttributesRequest)) { + return false; + } + + ListResourceTypeSchemaAttributesRequest other = (ListResourceTypeSchemaAttributesRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListSecurityQuestionSettingsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListSecurityQuestionSettingsRequest.java new file mode 100644 index 00000000000..ea42d405004 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListSecurityQuestionSettingsRequest.java @@ -0,0 +1,459 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * ListSecurityQuestionSettingsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListSecurityQuestionSettingsRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListSecurityQuestionSettingsRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListSecurityQuestionSettingsRequest o) { + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListSecurityQuestionSettingsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListSecurityQuestionSettingsRequest + */ + public ListSecurityQuestionSettingsRequest build() { + ListSecurityQuestionSettingsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListSecurityQuestionSettingsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListSecurityQuestionSettingsRequest + */ + public ListSecurityQuestionSettingsRequest buildWithoutInvocationCallback() { + ListSecurityQuestionSettingsRequest request = new ListSecurityQuestionSettingsRequest(); + request.attributes = attributes; + request.attributeSets = attributeSets; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListSecurityQuestionSettingsRequest(attributes, attributeSets, authorization, + // resourceTypeSchemaVersion, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .attributes(attributes) + .attributeSets(attributeSets) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListSecurityQuestionSettingsRequest)) { + return false; + } + + ListSecurityQuestionSettingsRequest other = (ListSecurityQuestionSettingsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListSecurityQuestionsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListSecurityQuestionsRequest.java new file mode 100644 index 00000000000..23b1f93f5ac --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListSecurityQuestionsRequest.java @@ -0,0 +1,697 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * ListSecurityQuestionsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListSecurityQuestionsRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + private String filter; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter string + * MUST be a valid filter expression. See the Filtering section of the SCIM specification for + * more information (Section 3.4.2.2). The string should contain at least one condition that + * each item must match in order to be returned in the search results. Each condition specifies + * an attribute, an operator, and a value. Conditions within a filter can be connected by + * logical operators (such as AND and OR). Sets of conditions can be grouped together using + * parentheses. + */ + public String getFilter() { + return filter; + } + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + private String sortBy; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See the + * Attribute Notation section of the SCIM specification for more information (Section 3.10). + * Also, see the Sorting section of the SCIM specification for more information (Section + * 3.4.2.3). + */ + public String getSortBy() { + return sortBy; + } + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed values + * are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + public com.oracle.bmc.identitydomains.model.SortOrder getSortOrder() { + return sortOrder; + } + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + private Integer startIndex; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second page + * of results, and so on. + */ + public Integer getStartIndex() { + return startIndex; + } + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + public Integer getCount() { + return count; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListSecurityQuestionsRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + */ + private String filter = null; + + /** + * OPTIONAL. The filter string that is used to request a subset of resources. The filter + * string MUST be a valid filter expression. See the Filtering section of the SCIM + * specification for more information (Section 3.4.2.2). The string should contain at least + * one condition that each item must match in order to be returned in the search results. + * Each condition specifies an attribute, an operator, and a value. Conditions within a + * filter can be connected by logical operators (such as AND and OR). Sets of conditions can + * be grouped together using parentheses. + * + * @param filter the value to set + * @return this builder instance + */ + public Builder filter(String filter) { + this.filter = filter; + return this; + } + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + */ + private String sortBy = null; + + /** + * OPTIONAL. A string that indicates the attribute whose value SHALL be used to order the + * returned responses. The sortBy attribute MUST be in standard attribute notation form. See + * the Attribute Notation section of the SCIM specification for more information (Section + * 3.10). Also, see the Sorting section of the SCIM specification for more information + * (Section 3.4.2.3). + * + * @param sortBy the value to set + * @return this builder instance + */ + public Builder sortBy(String sortBy) { + this.sortBy = sortBy; + return this; + } + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + */ + private com.oracle.bmc.identitydomains.model.SortOrder sortOrder = null; + + /** + * A string that indicates the order in which the sortBy parameter is applied. Allowed + * values are 'ascending' and 'descending'. See ([Sorting + * Section](https://tools.ietf.org/html/draft-ietf-scim-api-19#section-3.4.2.3)). OPTIONAL. + * + * @param sortOrder the value to set + * @return this builder instance + */ + public Builder sortOrder(com.oracle.bmc.identitydomains.model.SortOrder sortOrder) { + this.sortOrder = sortOrder; + return this; + } + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + */ + private Integer startIndex = null; + + /** + * OPTIONAL. An integer that indicates the 1-based index of the first query result. See the + * Pagination section of the SCIM specification for more information. (Section 3.4.2.4). The + * number of results pages to return. The first page is 1. Specify 2 to access the second + * page of results, and so on. + * + * @param startIndex the value to set + * @return this builder instance + */ + public Builder startIndex(Integer startIndex) { + this.startIndex = startIndex; + return this; + } + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + */ + private Integer count = null; + + /** + * OPTIONAL. An integer that indicates the desired maximum number of query results per page. + * 1000 is the largest value that you can use. See the Pagination section of the System for + * Cross-Domain Identity Management Protocol specification for more information. (Section + * 3.4.2.4). + * + * @param count the value to set + * @return this builder instance + */ + public Builder count(Integer count) { + this.count = count; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListSecurityQuestionsRequest o) { + filter(o.getFilter()); + sortBy(o.getSortBy()); + sortOrder(o.getSortOrder()); + startIndex(o.getStartIndex()); + count(o.getCount()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListSecurityQuestionsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListSecurityQuestionsRequest + */ + public ListSecurityQuestionsRequest build() { + ListSecurityQuestionsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListSecurityQuestionsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListSecurityQuestionsRequest + */ + public ListSecurityQuestionsRequest buildWithoutInvocationCallback() { + ListSecurityQuestionsRequest request = new ListSecurityQuestionsRequest(); + request.filter = filter; + request.sortBy = sortBy; + request.sortOrder = sortOrder; + request.startIndex = startIndex; + request.count = count; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListSecurityQuestionsRequest(filter, sortBy, sortOrder, startIndex, count, + // attributes, attributeSets, authorization, resourceTypeSchemaVersion, opcRetryToken, + // page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .filter(filter) + .sortBy(sortBy) + .sortOrder(sortOrder) + .startIndex(startIndex) + .count(count) + .attributes(attributes) + .attributeSets(attributeSets) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",filter=").append(String.valueOf(this.filter)); + sb.append(",sortBy=").append(String.valueOf(this.sortBy)); + sb.append(",sortOrder=").append(String.valueOf(this.sortOrder)); + sb.append(",startIndex=").append(String.valueOf(this.startIndex)); + sb.append(",count=").append(String.valueOf(this.count)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListSecurityQuestionsRequest)) { + return false; + } + + ListSecurityQuestionsRequest other = (ListSecurityQuestionsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.filter, other.filter) + && java.util.Objects.equals(this.sortBy, other.sortBy) + && java.util.Objects.equals(this.sortOrder, other.sortOrder) + && java.util.Objects.equals(this.startIndex, other.startIndex) + && java.util.Objects.equals(this.count, other.count) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.filter == null ? 43 : this.filter.hashCode()); + result = (result * PRIME) + (this.sortBy == null ? 43 : this.sortBy.hashCode()); + result = (result * PRIME) + (this.sortOrder == null ? 43 : this.sortOrder.hashCode()); + result = (result * PRIME) + (this.startIndex == null ? 43 : this.startIndex.hashCode()); + result = (result * PRIME) + (this.count == null ? 43 : this.count.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListUserAttributesSettingsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListUserAttributesSettingsRequest.java new file mode 100644 index 00000000000..90144025939 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListUserAttributesSettingsRequest.java @@ -0,0 +1,459 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * ListUserAttributesSettingsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListUserAttributesSettingsRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + ListUserAttributesSettingsRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(ListUserAttributesSettingsRequest o) { + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of ListUserAttributesSettingsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of ListUserAttributesSettingsRequest + */ + public ListUserAttributesSettingsRequest build() { + ListUserAttributesSettingsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListUserAttributesSettingsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of ListUserAttributesSettingsRequest + */ + public ListUserAttributesSettingsRequest buildWithoutInvocationCallback() { + ListUserAttributesSettingsRequest request = new ListUserAttributesSettingsRequest(); + request.attributes = attributes; + request.attributeSets = attributeSets; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new ListUserAttributesSettingsRequest(attributes, attributeSets, authorization, + // resourceTypeSchemaVersion, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .attributes(attributes) + .attributeSets(attributeSets) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListUserAttributesSettingsRequest)) { + return false; + } + + ListUserAttributesSettingsRequest other = (ListUserAttributesSettingsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchAccountRecoverySettingRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchAccountRecoverySettingRequest.java new file mode 100644 index 00000000000..d2dcf66c42b --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchAccountRecoverySettingRequest.java @@ -0,0 +1,629 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * PatchAccountRecoverySettingRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchAccountRecoverySettingRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String accountRecoverySettingId; + + /** ID of the resource */ + public String getAccountRecoverySettingId() { + return accountRecoverySettingId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Update the AccountRecoverySettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp; + + /** + * Update the AccountRecoverySettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.PatchOp getPatchOp() { + return patchOp; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.PatchOp getBody$() { + return patchOp; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PatchAccountRecoverySettingRequest, + com.oracle.bmc.identitydomains.model.PatchOp> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String accountRecoverySettingId = null; + + /** + * ID of the resource + * + * @param accountRecoverySettingId the value to set + * @return this builder instance + */ + public Builder accountRecoverySettingId(String accountRecoverySettingId) { + this.accountRecoverySettingId = accountRecoverySettingId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Update the AccountRecoverySettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp = null; + + /** + * Update the AccountRecoverySettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param patchOp the value to set + * @return this builder instance + */ + public Builder patchOp(com.oracle.bmc.identitydomains.model.PatchOp patchOp) { + this.patchOp = patchOp; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PatchAccountRecoverySettingRequest o) { + accountRecoverySettingId(o.getAccountRecoverySettingId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + patchOp(o.getPatchOp()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PatchAccountRecoverySettingRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PatchAccountRecoverySettingRequest + */ + public PatchAccountRecoverySettingRequest build() { + PatchAccountRecoverySettingRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.PatchOp body) { + patchOp(body); + return this; + } + + /** + * Build the instance of PatchAccountRecoverySettingRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PatchAccountRecoverySettingRequest + */ + public PatchAccountRecoverySettingRequest buildWithoutInvocationCallback() { + PatchAccountRecoverySettingRequest request = new PatchAccountRecoverySettingRequest(); + request.accountRecoverySettingId = accountRecoverySettingId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.patchOp = patchOp; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PatchAccountRecoverySettingRequest(accountRecoverySettingId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, patchOp, ifMatch, + // opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .accountRecoverySettingId(accountRecoverySettingId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .patchOp(patchOp) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",accountRecoverySettingId=") + .append(String.valueOf(this.accountRecoverySettingId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",patchOp=").append(String.valueOf(this.patchOp)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchAccountRecoverySettingRequest)) { + return false; + } + + PatchAccountRecoverySettingRequest other = (PatchAccountRecoverySettingRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.accountRecoverySettingId, other.accountRecoverySettingId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.patchOp, other.patchOp) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.accountRecoverySettingId == null + ? 43 + : this.accountRecoverySettingId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.patchOp == null ? 43 : this.patchOp.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchAppRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchAppRequest.java new file mode 100644 index 00000000000..8a4e71d4fad --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchAppRequest.java @@ -0,0 +1,620 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use PatchAppRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchAppRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String appId; + + /** ID of the resource */ + public String getAppId() { + return appId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Update the App with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp; + + /** + * Update the App with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.PatchOp getPatchOp() { + return patchOp; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.PatchOp getBody$() { + return patchOp; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PatchAppRequest, com.oracle.bmc.identitydomains.model.PatchOp> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String appId = null; + + /** + * ID of the resource + * + * @param appId the value to set + * @return this builder instance + */ + public Builder appId(String appId) { + this.appId = appId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Update the App with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp = null; + + /** + * Update the App with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param patchOp the value to set + * @return this builder instance + */ + public Builder patchOp(com.oracle.bmc.identitydomains.model.PatchOp patchOp) { + this.patchOp = patchOp; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PatchAppRequest o) { + appId(o.getAppId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + patchOp(o.getPatchOp()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PatchAppRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PatchAppRequest + */ + public PatchAppRequest build() { + PatchAppRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.PatchOp body) { + patchOp(body); + return this; + } + + /** + * Build the instance of PatchAppRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PatchAppRequest + */ + public PatchAppRequest buildWithoutInvocationCallback() { + PatchAppRequest request = new PatchAppRequest(); + request.appId = appId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.patchOp = patchOp; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PatchAppRequest(appId, authorization, resourceTypeSchemaVersion, attributes, + // attributeSets, patchOp, ifMatch, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .appId(appId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .patchOp(patchOp) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",appId=").append(String.valueOf(this.appId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",patchOp=").append(String.valueOf(this.patchOp)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchAppRequest)) { + return false; + } + + PatchAppRequest other = (PatchAppRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.appId, other.appId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.patchOp, other.patchOp) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.appId == null ? 43 : this.appId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.patchOp == null ? 43 : this.patchOp.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchAppRoleRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchAppRoleRequest.java new file mode 100644 index 00000000000..eea2f0341d1 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchAppRoleRequest.java @@ -0,0 +1,620 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use PatchAppRoleRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchAppRoleRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String appRoleId; + + /** ID of the resource */ + public String getAppRoleId() { + return appRoleId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Update the AppRole with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp; + + /** + * Update the AppRole with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.PatchOp getPatchOp() { + return patchOp; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.PatchOp getBody$() { + return patchOp; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PatchAppRoleRequest, com.oracle.bmc.identitydomains.model.PatchOp> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String appRoleId = null; + + /** + * ID of the resource + * + * @param appRoleId the value to set + * @return this builder instance + */ + public Builder appRoleId(String appRoleId) { + this.appRoleId = appRoleId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Update the AppRole with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp = null; + + /** + * Update the AppRole with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param patchOp the value to set + * @return this builder instance + */ + public Builder patchOp(com.oracle.bmc.identitydomains.model.PatchOp patchOp) { + this.patchOp = patchOp; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PatchAppRoleRequest o) { + appRoleId(o.getAppRoleId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + patchOp(o.getPatchOp()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PatchAppRoleRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PatchAppRoleRequest + */ + public PatchAppRoleRequest build() { + PatchAppRoleRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.PatchOp body) { + patchOp(body); + return this; + } + + /** + * Build the instance of PatchAppRoleRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PatchAppRoleRequest + */ + public PatchAppRoleRequest buildWithoutInvocationCallback() { + PatchAppRoleRequest request = new PatchAppRoleRequest(); + request.appRoleId = appRoleId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.patchOp = patchOp; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PatchAppRoleRequest(appRoleId, authorization, resourceTypeSchemaVersion, + // attributes, attributeSets, patchOp, ifMatch, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .appRoleId(appRoleId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .patchOp(patchOp) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",appRoleId=").append(String.valueOf(this.appRoleId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",patchOp=").append(String.valueOf(this.patchOp)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchAppRoleRequest)) { + return false; + } + + PatchAppRoleRequest other = (PatchAppRoleRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.appRoleId, other.appRoleId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.patchOp, other.patchOp) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.appRoleId == null ? 43 : this.appRoleId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.patchOp == null ? 43 : this.patchOp.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchGrantRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchGrantRequest.java new file mode 100644 index 00000000000..04b1be2c63d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchGrantRequest.java @@ -0,0 +1,620 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use PatchGrantRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchGrantRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String grantId; + + /** ID of the resource */ + public String getGrantId() { + return grantId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Update the Grant with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp; + + /** + * Update the Grant with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.PatchOp getPatchOp() { + return patchOp; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.PatchOp getBody$() { + return patchOp; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PatchGrantRequest, com.oracle.bmc.identitydomains.model.PatchOp> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String grantId = null; + + /** + * ID of the resource + * + * @param grantId the value to set + * @return this builder instance + */ + public Builder grantId(String grantId) { + this.grantId = grantId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Update the Grant with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp = null; + + /** + * Update the Grant with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param patchOp the value to set + * @return this builder instance + */ + public Builder patchOp(com.oracle.bmc.identitydomains.model.PatchOp patchOp) { + this.patchOp = patchOp; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PatchGrantRequest o) { + grantId(o.getGrantId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + patchOp(o.getPatchOp()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PatchGrantRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PatchGrantRequest + */ + public PatchGrantRequest build() { + PatchGrantRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.PatchOp body) { + patchOp(body); + return this; + } + + /** + * Build the instance of PatchGrantRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PatchGrantRequest + */ + public PatchGrantRequest buildWithoutInvocationCallback() { + PatchGrantRequest request = new PatchGrantRequest(); + request.grantId = grantId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.patchOp = patchOp; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PatchGrantRequest(grantId, authorization, resourceTypeSchemaVersion, attributes, + // attributeSets, patchOp, ifMatch, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .grantId(grantId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .patchOp(patchOp) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",grantId=").append(String.valueOf(this.grantId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",patchOp=").append(String.valueOf(this.patchOp)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchGrantRequest)) { + return false; + } + + PatchGrantRequest other = (PatchGrantRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.grantId, other.grantId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.patchOp, other.patchOp) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.grantId == null ? 43 : this.grantId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.patchOp == null ? 43 : this.patchOp.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchIdentitySettingRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchIdentitySettingRequest.java new file mode 100644 index 00000000000..f1157a01d39 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchIdentitySettingRequest.java @@ -0,0 +1,623 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use PatchIdentitySettingRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchIdentitySettingRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String identitySettingId; + + /** ID of the resource */ + public String getIdentitySettingId() { + return identitySettingId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Update the IdentitySettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp; + + /** + * Update the IdentitySettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.PatchOp getPatchOp() { + return patchOp; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.PatchOp getBody$() { + return patchOp; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PatchIdentitySettingRequest, com.oracle.bmc.identitydomains.model.PatchOp> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String identitySettingId = null; + + /** + * ID of the resource + * + * @param identitySettingId the value to set + * @return this builder instance + */ + public Builder identitySettingId(String identitySettingId) { + this.identitySettingId = identitySettingId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Update the IdentitySettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp = null; + + /** + * Update the IdentitySettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param patchOp the value to set + * @return this builder instance + */ + public Builder patchOp(com.oracle.bmc.identitydomains.model.PatchOp patchOp) { + this.patchOp = patchOp; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PatchIdentitySettingRequest o) { + identitySettingId(o.getIdentitySettingId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + patchOp(o.getPatchOp()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PatchIdentitySettingRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PatchIdentitySettingRequest + */ + public PatchIdentitySettingRequest build() { + PatchIdentitySettingRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.PatchOp body) { + patchOp(body); + return this; + } + + /** + * Build the instance of PatchIdentitySettingRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PatchIdentitySettingRequest + */ + public PatchIdentitySettingRequest buildWithoutInvocationCallback() { + PatchIdentitySettingRequest request = new PatchIdentitySettingRequest(); + request.identitySettingId = identitySettingId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.patchOp = patchOp; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PatchIdentitySettingRequest(identitySettingId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, patchOp, ifMatch, + // opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .identitySettingId(identitySettingId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .patchOp(patchOp) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",identitySettingId=").append(String.valueOf(this.identitySettingId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",patchOp=").append(String.valueOf(this.patchOp)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchIdentitySettingRequest)) { + return false; + } + + PatchIdentitySettingRequest other = (PatchIdentitySettingRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.identitySettingId, other.identitySettingId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.patchOp, other.patchOp) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.identitySettingId == null ? 43 : this.identitySettingId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.patchOp == null ? 43 : this.patchOp.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchSecurityQuestionRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchSecurityQuestionRequest.java new file mode 100644 index 00000000000..14bd7dee19f --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchSecurityQuestionRequest.java @@ -0,0 +1,626 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * PatchSecurityQuestionRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchSecurityQuestionRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String securityQuestionId; + + /** ID of the resource */ + public String getSecurityQuestionId() { + return securityQuestionId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Update the SecurityQuestion with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp; + + /** + * Update the SecurityQuestion with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.PatchOp getPatchOp() { + return patchOp; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.PatchOp getBody$() { + return patchOp; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PatchSecurityQuestionRequest, com.oracle.bmc.identitydomains.model.PatchOp> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String securityQuestionId = null; + + /** + * ID of the resource + * + * @param securityQuestionId the value to set + * @return this builder instance + */ + public Builder securityQuestionId(String securityQuestionId) { + this.securityQuestionId = securityQuestionId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Update the SecurityQuestion with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp = null; + + /** + * Update the SecurityQuestion with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param patchOp the value to set + * @return this builder instance + */ + public Builder patchOp(com.oracle.bmc.identitydomains.model.PatchOp patchOp) { + this.patchOp = patchOp; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PatchSecurityQuestionRequest o) { + securityQuestionId(o.getSecurityQuestionId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + patchOp(o.getPatchOp()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PatchSecurityQuestionRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PatchSecurityQuestionRequest + */ + public PatchSecurityQuestionRequest build() { + PatchSecurityQuestionRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.PatchOp body) { + patchOp(body); + return this; + } + + /** + * Build the instance of PatchSecurityQuestionRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PatchSecurityQuestionRequest + */ + public PatchSecurityQuestionRequest buildWithoutInvocationCallback() { + PatchSecurityQuestionRequest request = new PatchSecurityQuestionRequest(); + request.securityQuestionId = securityQuestionId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.patchOp = patchOp; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PatchSecurityQuestionRequest(securityQuestionId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, patchOp, ifMatch, + // opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .securityQuestionId(securityQuestionId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .patchOp(patchOp) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",securityQuestionId=").append(String.valueOf(this.securityQuestionId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",patchOp=").append(String.valueOf(this.patchOp)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchSecurityQuestionRequest)) { + return false; + } + + PatchSecurityQuestionRequest other = (PatchSecurityQuestionRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.securityQuestionId, other.securityQuestionId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.patchOp, other.patchOp) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.securityQuestionId == null + ? 43 + : this.securityQuestionId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.patchOp == null ? 43 : this.patchOp.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchSecurityQuestionSettingRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchSecurityQuestionSettingRequest.java new file mode 100644 index 00000000000..c4d1028b68e --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchSecurityQuestionSettingRequest.java @@ -0,0 +1,629 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * PatchSecurityQuestionSettingRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchSecurityQuestionSettingRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String securityQuestionSettingId; + + /** ID of the resource */ + public String getSecurityQuestionSettingId() { + return securityQuestionSettingId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Update the SecurityQuestionSettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp; + + /** + * Update the SecurityQuestionSettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.PatchOp getPatchOp() { + return patchOp; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.PatchOp getBody$() { + return patchOp; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PatchSecurityQuestionSettingRequest, + com.oracle.bmc.identitydomains.model.PatchOp> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String securityQuestionSettingId = null; + + /** + * ID of the resource + * + * @param securityQuestionSettingId the value to set + * @return this builder instance + */ + public Builder securityQuestionSettingId(String securityQuestionSettingId) { + this.securityQuestionSettingId = securityQuestionSettingId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Update the SecurityQuestionSettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp = null; + + /** + * Update the SecurityQuestionSettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param patchOp the value to set + * @return this builder instance + */ + public Builder patchOp(com.oracle.bmc.identitydomains.model.PatchOp patchOp) { + this.patchOp = patchOp; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PatchSecurityQuestionSettingRequest o) { + securityQuestionSettingId(o.getSecurityQuestionSettingId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + patchOp(o.getPatchOp()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PatchSecurityQuestionSettingRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PatchSecurityQuestionSettingRequest + */ + public PatchSecurityQuestionSettingRequest build() { + PatchSecurityQuestionSettingRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.PatchOp body) { + patchOp(body); + return this; + } + + /** + * Build the instance of PatchSecurityQuestionSettingRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PatchSecurityQuestionSettingRequest + */ + public PatchSecurityQuestionSettingRequest buildWithoutInvocationCallback() { + PatchSecurityQuestionSettingRequest request = new PatchSecurityQuestionSettingRequest(); + request.securityQuestionSettingId = securityQuestionSettingId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.patchOp = patchOp; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PatchSecurityQuestionSettingRequest(securityQuestionSettingId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, patchOp, ifMatch, + // opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .securityQuestionSettingId(securityQuestionSettingId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .patchOp(patchOp) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",securityQuestionSettingId=") + .append(String.valueOf(this.securityQuestionSettingId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",patchOp=").append(String.valueOf(this.patchOp)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchSecurityQuestionSettingRequest)) { + return false; + } + + PatchSecurityQuestionSettingRequest other = (PatchSecurityQuestionSettingRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.securityQuestionSettingId, other.securityQuestionSettingId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.patchOp, other.patchOp) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.securityQuestionSettingId == null + ? 43 + : this.securityQuestionSettingId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.patchOp == null ? 43 : this.patchOp.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchUserAttributesSettingRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchUserAttributesSettingRequest.java new file mode 100644 index 00000000000..56e57251630 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchUserAttributesSettingRequest.java @@ -0,0 +1,628 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * PatchUserAttributesSettingRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchUserAttributesSettingRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String userAttributesSettingId; + + /** ID of the resource */ + public String getUserAttributesSettingId() { + return userAttributesSettingId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Update the UserAttributesSettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp; + + /** + * Update the UserAttributesSettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.PatchOp getPatchOp() { + return patchOp; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.PatchOp getBody$() { + return patchOp; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PatchUserAttributesSettingRequest, + com.oracle.bmc.identitydomains.model.PatchOp> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String userAttributesSettingId = null; + + /** + * ID of the resource + * + * @param userAttributesSettingId the value to set + * @return this builder instance + */ + public Builder userAttributesSettingId(String userAttributesSettingId) { + this.userAttributesSettingId = userAttributesSettingId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Update the UserAttributesSettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.PatchOp patchOp = null; + + /** + * Update the UserAttributesSettings with SCIM Patch schema. + * + *

Before you specify an attribute-value in a request to update a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param patchOp the value to set + * @return this builder instance + */ + public Builder patchOp(com.oracle.bmc.identitydomains.model.PatchOp patchOp) { + this.patchOp = patchOp; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PatchUserAttributesSettingRequest o) { + userAttributesSettingId(o.getUserAttributesSettingId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + patchOp(o.getPatchOp()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PatchUserAttributesSettingRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PatchUserAttributesSettingRequest + */ + public PatchUserAttributesSettingRequest build() { + PatchUserAttributesSettingRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.PatchOp body) { + patchOp(body); + return this; + } + + /** + * Build the instance of PatchUserAttributesSettingRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PatchUserAttributesSettingRequest + */ + public PatchUserAttributesSettingRequest buildWithoutInvocationCallback() { + PatchUserAttributesSettingRequest request = new PatchUserAttributesSettingRequest(); + request.userAttributesSettingId = userAttributesSettingId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.patchOp = patchOp; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PatchUserAttributesSettingRequest(userAttributesSettingId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, patchOp, ifMatch, + // opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .userAttributesSettingId(userAttributesSettingId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .patchOp(patchOp) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",userAttributesSettingId=").append(String.valueOf(this.userAttributesSettingId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",patchOp=").append(String.valueOf(this.patchOp)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchUserAttributesSettingRequest)) { + return false; + } + + PatchUserAttributesSettingRequest other = (PatchUserAttributesSettingRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.userAttributesSettingId, other.userAttributesSettingId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.patchOp, other.patchOp) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.userAttributesSettingId == null + ? 43 + : this.userAttributesSettingId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.patchOp == null ? 43 : this.patchOp.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutAccountRecoverySettingRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutAccountRecoverySettingRequest.java new file mode 100644 index 00000000000..93b2126f7b6 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutAccountRecoverySettingRequest.java @@ -0,0 +1,638 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * PutAccountRecoverySettingRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PutAccountRecoverySettingRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.AccountRecoverySetting> { + + /** ID of the resource */ + private String accountRecoverySettingId; + + /** ID of the resource */ + public String getAccountRecoverySettingId() { + return accountRecoverySettingId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Replace the current instance of AccountRecoverySettings with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.AccountRecoverySetting accountRecoverySetting; + + /** + * Replace the current instance of AccountRecoverySettings with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.AccountRecoverySetting getAccountRecoverySetting() { + return accountRecoverySetting; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.AccountRecoverySetting getBody$() { + return accountRecoverySetting; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PutAccountRecoverySettingRequest, + com.oracle.bmc.identitydomains.model.AccountRecoverySetting> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String accountRecoverySettingId = null; + + /** + * ID of the resource + * + * @param accountRecoverySettingId the value to set + * @return this builder instance + */ + public Builder accountRecoverySettingId(String accountRecoverySettingId) { + this.accountRecoverySettingId = accountRecoverySettingId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Replace the current instance of AccountRecoverySettings with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.AccountRecoverySetting accountRecoverySetting = + null; + + /** + * Replace the current instance of AccountRecoverySettings with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param accountRecoverySetting the value to set + * @return this builder instance + */ + public Builder accountRecoverySetting( + com.oracle.bmc.identitydomains.model.AccountRecoverySetting + accountRecoverySetting) { + this.accountRecoverySetting = accountRecoverySetting; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PutAccountRecoverySettingRequest o) { + accountRecoverySettingId(o.getAccountRecoverySettingId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + accountRecoverySetting(o.getAccountRecoverySetting()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PutAccountRecoverySettingRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PutAccountRecoverySettingRequest + */ + public PutAccountRecoverySettingRequest build() { + PutAccountRecoverySettingRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.AccountRecoverySetting body) { + accountRecoverySetting(body); + return this; + } + + /** + * Build the instance of PutAccountRecoverySettingRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PutAccountRecoverySettingRequest + */ + public PutAccountRecoverySettingRequest buildWithoutInvocationCallback() { + PutAccountRecoverySettingRequest request = new PutAccountRecoverySettingRequest(); + request.accountRecoverySettingId = accountRecoverySettingId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.accountRecoverySetting = accountRecoverySetting; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PutAccountRecoverySettingRequest(accountRecoverySettingId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, accountRecoverySetting, + // ifMatch, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .accountRecoverySettingId(accountRecoverySettingId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .accountRecoverySetting(accountRecoverySetting) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",accountRecoverySettingId=") + .append(String.valueOf(this.accountRecoverySettingId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",accountRecoverySetting=").append(String.valueOf(this.accountRecoverySetting)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PutAccountRecoverySettingRequest)) { + return false; + } + + PutAccountRecoverySettingRequest other = (PutAccountRecoverySettingRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.accountRecoverySettingId, other.accountRecoverySettingId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals( + this.accountRecoverySetting, other.accountRecoverySetting) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.accountRecoverySettingId == null + ? 43 + : this.accountRecoverySettingId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.accountRecoverySetting == null + ? 43 + : this.accountRecoverySetting.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutAppRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutAppRequest.java new file mode 100644 index 00000000000..e49ca8ba1f7 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutAppRequest.java @@ -0,0 +1,620 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use PutAppRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PutAppRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String appId; + + /** ID of the resource */ + public String getAppId() { + return appId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Replace the current instance of App with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.App app; + + /** + * Replace the current instance of App with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.App getApp() { + return app; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.App getBody$() { + return app; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PutAppRequest, com.oracle.bmc.identitydomains.model.App> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String appId = null; + + /** + * ID of the resource + * + * @param appId the value to set + * @return this builder instance + */ + public Builder appId(String appId) { + this.appId = appId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Replace the current instance of App with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.App app = null; + + /** + * Replace the current instance of App with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param app the value to set + * @return this builder instance + */ + public Builder app(com.oracle.bmc.identitydomains.model.App app) { + this.app = app; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PutAppRequest o) { + appId(o.getAppId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + app(o.getApp()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PutAppRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PutAppRequest + */ + public PutAppRequest build() { + PutAppRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.App body) { + app(body); + return this; + } + + /** + * Build the instance of PutAppRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PutAppRequest + */ + public PutAppRequest buildWithoutInvocationCallback() { + PutAppRequest request = new PutAppRequest(); + request.appId = appId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.app = app; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PutAppRequest(appId, authorization, resourceTypeSchemaVersion, attributes, + // attributeSets, app, ifMatch, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .appId(appId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .app(app) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",appId=").append(String.valueOf(this.appId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",app=").append(String.valueOf(this.app)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PutAppRequest)) { + return false; + } + + PutAppRequest other = (PutAppRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.appId, other.appId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.app, other.app) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.appId == null ? 43 : this.appId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = (result * PRIME) + (this.app == null ? 43 : this.app.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutAppStatusChangerRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutAppStatusChangerRequest.java new file mode 100644 index 00000000000..4b0669ac05d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutAppStatusChangerRequest.java @@ -0,0 +1,630 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use PutAppStatusChangerRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PutAppStatusChangerRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.AppStatusChanger> { + + /** ID of the resource */ + private String appStatusChangerId; + + /** ID of the resource */ + public String getAppStatusChangerId() { + return appStatusChangerId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Replace the current instance of AppStatusChanger with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.AppStatusChanger appStatusChanger; + + /** + * Replace the current instance of AppStatusChanger with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.AppStatusChanger getAppStatusChanger() { + return appStatusChanger; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.AppStatusChanger getBody$() { + return appStatusChanger; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PutAppStatusChangerRequest, + com.oracle.bmc.identitydomains.model.AppStatusChanger> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String appStatusChangerId = null; + + /** + * ID of the resource + * + * @param appStatusChangerId the value to set + * @return this builder instance + */ + public Builder appStatusChangerId(String appStatusChangerId) { + this.appStatusChangerId = appStatusChangerId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Replace the current instance of AppStatusChanger with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.AppStatusChanger appStatusChanger = null; + + /** + * Replace the current instance of AppStatusChanger with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param appStatusChanger the value to set + * @return this builder instance + */ + public Builder appStatusChanger( + com.oracle.bmc.identitydomains.model.AppStatusChanger appStatusChanger) { + this.appStatusChanger = appStatusChanger; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PutAppStatusChangerRequest o) { + appStatusChangerId(o.getAppStatusChangerId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + appStatusChanger(o.getAppStatusChanger()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PutAppStatusChangerRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PutAppStatusChangerRequest + */ + public PutAppStatusChangerRequest build() { + PutAppStatusChangerRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.AppStatusChanger body) { + appStatusChanger(body); + return this; + } + + /** + * Build the instance of PutAppStatusChangerRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PutAppStatusChangerRequest + */ + public PutAppStatusChangerRequest buildWithoutInvocationCallback() { + PutAppStatusChangerRequest request = new PutAppStatusChangerRequest(); + request.appStatusChangerId = appStatusChangerId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.appStatusChanger = appStatusChanger; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PutAppStatusChangerRequest(appStatusChangerId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, appStatusChanger, ifMatch, + // opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .appStatusChangerId(appStatusChangerId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .appStatusChanger(appStatusChanger) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",appStatusChangerId=").append(String.valueOf(this.appStatusChangerId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",appStatusChanger=").append(String.valueOf(this.appStatusChanger)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PutAppStatusChangerRequest)) { + return false; + } + + PutAppStatusChangerRequest other = (PutAppStatusChangerRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.appStatusChangerId, other.appStatusChangerId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.appStatusChanger, other.appStatusChanger) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.appStatusChangerId == null + ? 43 + : this.appStatusChangerId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.appStatusChanger == null ? 43 : this.appStatusChanger.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutIdentitySettingRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutIdentitySettingRequest.java new file mode 100644 index 00000000000..4879da90eeb --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutIdentitySettingRequest.java @@ -0,0 +1,628 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use PutIdentitySettingRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PutIdentitySettingRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.IdentitySetting> { + + /** ID of the resource */ + private String identitySettingId; + + /** ID of the resource */ + public String getIdentitySettingId() { + return identitySettingId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Replace the current instance of IdentitySettings with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting; + + /** + * Replace the current instance of IdentitySettings with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.IdentitySetting getIdentitySetting() { + return identitySetting; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.IdentitySetting getBody$() { + return identitySetting; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PutIdentitySettingRequest, + com.oracle.bmc.identitydomains.model.IdentitySetting> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String identitySettingId = null; + + /** + * ID of the resource + * + * @param identitySettingId the value to set + * @return this builder instance + */ + public Builder identitySettingId(String identitySettingId) { + this.identitySettingId = identitySettingId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Replace the current instance of IdentitySettings with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting = null; + + /** + * Replace the current instance of IdentitySettings with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param identitySetting the value to set + * @return this builder instance + */ + public Builder identitySetting( + com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting) { + this.identitySetting = identitySetting; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PutIdentitySettingRequest o) { + identitySettingId(o.getIdentitySettingId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + identitySetting(o.getIdentitySetting()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PutIdentitySettingRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PutIdentitySettingRequest + */ + public PutIdentitySettingRequest build() { + PutIdentitySettingRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.IdentitySetting body) { + identitySetting(body); + return this; + } + + /** + * Build the instance of PutIdentitySettingRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PutIdentitySettingRequest + */ + public PutIdentitySettingRequest buildWithoutInvocationCallback() { + PutIdentitySettingRequest request = new PutIdentitySettingRequest(); + request.identitySettingId = identitySettingId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.identitySetting = identitySetting; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PutIdentitySettingRequest(identitySettingId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, identitySetting, ifMatch, + // opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .identitySettingId(identitySettingId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .identitySetting(identitySetting) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",identitySettingId=").append(String.valueOf(this.identitySettingId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",identitySetting=").append(String.valueOf(this.identitySetting)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PutIdentitySettingRequest)) { + return false; + } + + PutIdentitySettingRequest other = (PutIdentitySettingRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.identitySettingId, other.identitySettingId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals(this.identitySetting, other.identitySetting) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.identitySettingId == null ? 43 : this.identitySettingId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.identitySetting == null ? 43 : this.identitySetting.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutSecurityQuestionSettingRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutSecurityQuestionSettingRequest.java new file mode 100644 index 00000000000..aeeffebc687 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutSecurityQuestionSettingRequest.java @@ -0,0 +1,639 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * PutSecurityQuestionSettingRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PutSecurityQuestionSettingRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting> { + + /** ID of the resource */ + private String securityQuestionSettingId; + + /** ID of the resource */ + public String getSecurityQuestionSettingId() { + return securityQuestionSettingId; + } + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + private String attributes; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes contains + * only attributes that are defined in the schema for that resource type as returned=always or + * returned=default. An attribute that is defined as returned=request is returned in a response + * only if the request specifies its name in the value of this query parameter. If a request + * specifies this query parameter, the response contains the attributes that this query + * parameter specifies, as well as any attribute that is defined as returned=always. + */ + public String getAttributes() { + return attributes; + } + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or more + * values can be given together to fetch more than one group of attributes. If 'attributes' + * query parameter is also available, union of the two is fetched. Valid values - all, always, + * never, request, default. Values are case-insensitive. + */ + public java.util.List getAttributeSets() { + return attributeSets; + } + /** + * Replace the current instance of SecurityQuestionSettings with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSetting securityQuestionSetting; + + /** + * Replace the current instance of SecurityQuestionSettings with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check the + * **'mutability'** property of that attribute in the resource-type schema below. Clicking on an + * attribute-row will expand that row to show the **SCIM++ Properties** of that attribute. - + * Your request to create, update or replace a resource may specify in its payload a value for + * any attribute that is defined as *mutability:readWrite* or *mutability:writeOnly* or + * *mutability:immutable*: - The SCIM APIs to create a resource will ignore silently any value + * that you specify for an attribute that is defined as *mutability:readOnly*. - The SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify a + * value for an attribute that is defined as *mutability:readOnly*. - Similarly, the SCIM APIs + * to update or replace a resource will fail with an error 400 Bad Request if you specify any + * value for an attribute that is defined as *mutability:immutable* and that already has a value + * in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, please + * check the **'returned'** property of that attribute in the resource-type schema below: - Your + * request to read a resource (or to search a resource-type) can specify as the value of + * attributes any attributes that are defined as *returned:default* or *returned:request* or + * *returned:always*: - If you request a specific set of attributes, the SCIM APIs to read a + * resource (or to search a resource-type) will return in each resource the set of attributes + * that you requested, as well as any attribute that is defined as *returned:always*. - If you + * do not request a specific set of attributes, the SCIM APIs to read a resource (or to search a + * resource-type) will return in each resource the the set of attributes defined as + * *returned:default*, as well as any attribute that is defined as *returned:always*. - The SCIM + * APIs to read a resource (or to search a resource-type) will ignore silently any request to + * return an attribute that is defined as *returned:never*. + */ + public com.oracle.bmc.identitydomains.model.SecurityQuestionSetting + getSecurityQuestionSetting() { + return securityQuestionSetting; + } + /** Used to make the request conditional on an ETag */ + private String ifMatch; + + /** Used to make the request conditional on an ETag */ + public String getIfMatch() { + return ifMatch; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.SecurityQuestionSetting getBody$() { + return securityQuestionSetting; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + PutSecurityQuestionSettingRequest, + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** ID of the resource */ + private String securityQuestionSettingId = null; + + /** + * ID of the resource + * + * @param securityQuestionSettingId the value to set + * @return this builder instance + */ + public Builder securityQuestionSettingId(String securityQuestionSettingId) { + this.securityQuestionSettingId = securityQuestionSettingId; + return this; + } + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + */ + private String attributes = null; + + /** + * A comma-delimited string that specifies the names of resource attributes that should be + * returned in the response. By default, a response that contains resource attributes + * contains only attributes that are defined in the schema for that resource type as + * returned=always or returned=default. An attribute that is defined as returned=request is + * returned in a response only if the request specifies its name in the value of this query + * parameter. If a request specifies this query parameter, the response contains the + * attributes that this query parameter specifies, as well as any attribute that is defined + * as returned=always. + * + * @param attributes the value to set + * @return this builder instance + */ + public Builder attributes(String attributes) { + this.attributes = attributes; + return this; + } + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + */ + private java.util.List attributeSets = + null; + + /** + * A multi-valued list of strings indicating the return type of attribute definition. The + * specified set of attributes can be fetched by the return type of the attribute. One or + * more values can be given together to fetch more than one group of attributes. If + * 'attributes' query parameter is also available, union of the two is fetched. Valid values + * - all, always, never, request, default. Values are case-insensitive. + * + * @param attributeSets the value to set + * @return this builder instance + */ + public Builder attributeSets( + java.util.List attributeSets) { + this.attributeSets = attributeSets; + return this; + } + + /** + * Singular setter. A multi-valued list of strings indicating the return type of attribute + * definition. The specified set of attributes can be fetched by the return type of the + * attribute. One or more values can be given together to fetch more than one group of + * attributes. If 'attributes' query parameter is also available, union of the two is + * fetched. Valid values - all, always, never, request, default. Values are + * case-insensitive. + * + * @param singularValue the singular value to set + * @return this builder instance + */ + public Builder attributeSets(AttributeSets singularValue) { + return this.attributeSets(java.util.Arrays.asList(singularValue)); + } + + /** + * Replace the current instance of SecurityQuestionSettings with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSetting + securityQuestionSetting = null; + + /** + * Replace the current instance of SecurityQuestionSettings with provided payload. + * + *

Before you specify an attribute-value in a request to replace a resource, please check + * the **'mutability'** property of that attribute in the resource-type schema below. + * Clicking on an attribute-row will expand that row to show the **SCIM++ Properties** of + * that attribute. - Your request to create, update or replace a resource may specify in its + * payload a value for any attribute that is defined as *mutability:readWrite* or + * *mutability:writeOnly* or *mutability:immutable*: - The SCIM APIs to create a resource + * will ignore silently any value that you specify for an attribute that is defined as + * *mutability:readOnly*. - The SCIM APIs to update or replace a resource will fail with an + * error 400 Bad Request if you specify a value for an attribute that is defined as + * *mutability:readOnly*. - Similarly, the SCIM APIs to update or replace a resource will + * fail with an error 400 Bad Request if you specify any value for an attribute that is + * defined as *mutability:immutable* and that already has a value in the specified resource. + * + *

Also, before you use the query-parameter attributes to request specific attributes, + * please check the **'returned'** property of that attribute in the resource-type schema + * below: - Your request to read a resource (or to search a resource-type) can specify as + * the value of attributes any attributes that are defined as *returned:default* or + * *returned:request* or *returned:always*: - If you request a specific set of attributes, + * the SCIM APIs to read a resource (or to search a resource-type) will return in each + * resource the set of attributes that you requested, as well as any attribute that is + * defined as *returned:always*. - If you do not request a specific set of attributes, the + * SCIM APIs to read a resource (or to search a resource-type) will return in each resource + * the the set of attributes defined as *returned:default*, as well as any attribute that is + * defined as *returned:always*. - The SCIM APIs to read a resource (or to search a + * resource-type) will ignore silently any request to return an attribute that is defined as + * *returned:never*. + * + * @param securityQuestionSetting the value to set + * @return this builder instance + */ + public Builder securityQuestionSetting( + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting + securityQuestionSetting) { + this.securityQuestionSetting = securityQuestionSetting; + return this; + } + + /** Used to make the request conditional on an ETag */ + private String ifMatch = null; + + /** + * Used to make the request conditional on an ETag + * + * @param ifMatch the value to set + * @return this builder instance + */ + public Builder ifMatch(String ifMatch) { + this.ifMatch = ifMatch; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(PutSecurityQuestionSettingRequest o) { + securityQuestionSettingId(o.getSecurityQuestionSettingId()); + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + attributes(o.getAttributes()); + attributeSets(o.getAttributeSets()); + securityQuestionSetting(o.getSecurityQuestionSetting()); + ifMatch(o.getIfMatch()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of PutSecurityQuestionSettingRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of PutSecurityQuestionSettingRequest + */ + public PutSecurityQuestionSettingRequest build() { + PutSecurityQuestionSettingRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.SecurityQuestionSetting body) { + securityQuestionSetting(body); + return this; + } + + /** + * Build the instance of PutSecurityQuestionSettingRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of PutSecurityQuestionSettingRequest + */ + public PutSecurityQuestionSettingRequest buildWithoutInvocationCallback() { + PutSecurityQuestionSettingRequest request = new PutSecurityQuestionSettingRequest(); + request.securityQuestionSettingId = securityQuestionSettingId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.securityQuestionSetting = securityQuestionSetting; + request.ifMatch = ifMatch; + request.opcRetryToken = opcRetryToken; + return request; + // new PutSecurityQuestionSettingRequest(securityQuestionSettingId, authorization, + // resourceTypeSchemaVersion, attributes, attributeSets, securityQuestionSetting, + // ifMatch, opcRetryToken); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .securityQuestionSettingId(securityQuestionSettingId) + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .attributes(attributes) + .attributeSets(attributeSets) + .securityQuestionSetting(securityQuestionSetting) + .ifMatch(ifMatch) + .opcRetryToken(opcRetryToken); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",securityQuestionSettingId=") + .append(String.valueOf(this.securityQuestionSettingId)); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",attributes=").append(String.valueOf(this.attributes)); + sb.append(",attributeSets=").append(String.valueOf(this.attributeSets)); + sb.append(",securityQuestionSetting=").append(String.valueOf(this.securityQuestionSetting)); + sb.append(",ifMatch=").append(String.valueOf(this.ifMatch)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PutSecurityQuestionSettingRequest)) { + return false; + } + + PutSecurityQuestionSettingRequest other = (PutSecurityQuestionSettingRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.securityQuestionSettingId, other.securityQuestionSettingId) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.attributes, other.attributes) + && java.util.Objects.equals(this.attributeSets, other.attributeSets) + && java.util.Objects.equals( + this.securityQuestionSetting, other.securityQuestionSetting) + && java.util.Objects.equals(this.ifMatch, other.ifMatch) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.securityQuestionSettingId == null + ? 43 + : this.securityQuestionSettingId.hashCode()); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = (result * PRIME) + (this.attributes == null ? 43 : this.attributes.hashCode()); + result = + (result * PRIME) + + (this.attributeSets == null ? 43 : this.attributeSets.hashCode()); + result = + (result * PRIME) + + (this.securityQuestionSetting == null + ? 43 + : this.securityQuestionSetting.hashCode()); + result = (result * PRIME) + (this.ifMatch == null ? 43 : this.ifMatch.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchAccountMgmtInfosRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchAccountMgmtInfosRequest.java new file mode 100644 index 00000000000..4fb7557870d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchAccountMgmtInfosRequest.java @@ -0,0 +1,396 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * SearchAccountMgmtInfosRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchAccountMgmtInfosRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.AccountMgmtInfoSearchRequest> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** Parameters for searching AccountMgmtInfos */ + private com.oracle.bmc.identitydomains.model.AccountMgmtInfoSearchRequest + accountMgmtInfoSearchRequest; + + /** Parameters for searching AccountMgmtInfos */ + public com.oracle.bmc.identitydomains.model.AccountMgmtInfoSearchRequest + getAccountMgmtInfoSearchRequest() { + return accountMgmtInfoSearchRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.AccountMgmtInfoSearchRequest getBody$() { + return accountMgmtInfoSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchAccountMgmtInfosRequest, + com.oracle.bmc.identitydomains.model.AccountMgmtInfoSearchRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** Parameters for searching AccountMgmtInfos */ + private com.oracle.bmc.identitydomains.model.AccountMgmtInfoSearchRequest + accountMgmtInfoSearchRequest = null; + + /** + * Parameters for searching AccountMgmtInfos + * + * @param accountMgmtInfoSearchRequest the value to set + * @return this builder instance + */ + public Builder accountMgmtInfoSearchRequest( + com.oracle.bmc.identitydomains.model.AccountMgmtInfoSearchRequest + accountMgmtInfoSearchRequest) { + this.accountMgmtInfoSearchRequest = accountMgmtInfoSearchRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(SearchAccountMgmtInfosRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + accountMgmtInfoSearchRequest(o.getAccountMgmtInfoSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchAccountMgmtInfosRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of SearchAccountMgmtInfosRequest + */ + public SearchAccountMgmtInfosRequest build() { + SearchAccountMgmtInfosRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.identitydomains.model.AccountMgmtInfoSearchRequest body) { + accountMgmtInfoSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchAccountMgmtInfosRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of SearchAccountMgmtInfosRequest + */ + public SearchAccountMgmtInfosRequest buildWithoutInvocationCallback() { + SearchAccountMgmtInfosRequest request = new SearchAccountMgmtInfosRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.accountMgmtInfoSearchRequest = accountMgmtInfoSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchAccountMgmtInfosRequest(authorization, resourceTypeSchemaVersion, + // accountMgmtInfoSearchRequest, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .accountMgmtInfoSearchRequest(accountMgmtInfoSearchRequest) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",accountMgmtInfoSearchRequest=") + .append(String.valueOf(this.accountMgmtInfoSearchRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchAccountMgmtInfosRequest)) { + return false; + } + + SearchAccountMgmtInfosRequest other = (SearchAccountMgmtInfosRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals( + this.accountMgmtInfoSearchRequest, other.accountMgmtInfoSearchRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.accountMgmtInfoSearchRequest == null + ? 43 + : this.accountMgmtInfoSearchRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchAppRolesRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchAppRolesRequest.java new file mode 100644 index 00000000000..6cc37cc9f73 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchAppRolesRequest.java @@ -0,0 +1,389 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use SearchAppRolesRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchAppRolesRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.AppRoleSearchRequest> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** Parameters for searching AppRoles */ + private com.oracle.bmc.identitydomains.model.AppRoleSearchRequest appRoleSearchRequest; + + /** Parameters for searching AppRoles */ + public com.oracle.bmc.identitydomains.model.AppRoleSearchRequest getAppRoleSearchRequest() { + return appRoleSearchRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.AppRoleSearchRequest getBody$() { + return appRoleSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchAppRolesRequest, + com.oracle.bmc.identitydomains.model.AppRoleSearchRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** Parameters for searching AppRoles */ + private com.oracle.bmc.identitydomains.model.AppRoleSearchRequest appRoleSearchRequest = + null; + + /** + * Parameters for searching AppRoles + * + * @param appRoleSearchRequest the value to set + * @return this builder instance + */ + public Builder appRoleSearchRequest( + com.oracle.bmc.identitydomains.model.AppRoleSearchRequest appRoleSearchRequest) { + this.appRoleSearchRequest = appRoleSearchRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(SearchAppRolesRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + appRoleSearchRequest(o.getAppRoleSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchAppRolesRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of SearchAppRolesRequest + */ + public SearchAppRolesRequest build() { + SearchAppRolesRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.AppRoleSearchRequest body) { + appRoleSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchAppRolesRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of SearchAppRolesRequest + */ + public SearchAppRolesRequest buildWithoutInvocationCallback() { + SearchAppRolesRequest request = new SearchAppRolesRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.appRoleSearchRequest = appRoleSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchAppRolesRequest(authorization, resourceTypeSchemaVersion, + // appRoleSearchRequest, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .appRoleSearchRequest(appRoleSearchRequest) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",appRoleSearchRequest=").append(String.valueOf(this.appRoleSearchRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchAppRolesRequest)) { + return false; + } + + SearchAppRolesRequest other = (SearchAppRolesRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.appRoleSearchRequest, other.appRoleSearchRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.appRoleSearchRequest == null + ? 43 + : this.appRoleSearchRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchAppsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchAppsRequest.java new file mode 100644 index 00000000000..ef9f0b7041a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchAppsRequest.java @@ -0,0 +1,385 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use SearchAppsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchAppsRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.AppSearchRequest> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** Parameters for searching Apps */ + private com.oracle.bmc.identitydomains.model.AppSearchRequest appSearchRequest; + + /** Parameters for searching Apps */ + public com.oracle.bmc.identitydomains.model.AppSearchRequest getAppSearchRequest() { + return appSearchRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.AppSearchRequest getBody$() { + return appSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchAppsRequest, com.oracle.bmc.identitydomains.model.AppSearchRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** Parameters for searching Apps */ + private com.oracle.bmc.identitydomains.model.AppSearchRequest appSearchRequest = null; + + /** + * Parameters for searching Apps + * + * @param appSearchRequest the value to set + * @return this builder instance + */ + public Builder appSearchRequest( + com.oracle.bmc.identitydomains.model.AppSearchRequest appSearchRequest) { + this.appSearchRequest = appSearchRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(SearchAppsRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + appSearchRequest(o.getAppSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchAppsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of SearchAppsRequest + */ + public SearchAppsRequest build() { + SearchAppsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.AppSearchRequest body) { + appSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchAppsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of SearchAppsRequest + */ + public SearchAppsRequest buildWithoutInvocationCallback() { + SearchAppsRequest request = new SearchAppsRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.appSearchRequest = appSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchAppsRequest(authorization, resourceTypeSchemaVersion, appSearchRequest, + // opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .appSearchRequest(appSearchRequest) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",appSearchRequest=").append(String.valueOf(this.appSearchRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchAppsRequest)) { + return false; + } + + SearchAppsRequest other = (SearchAppsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.appSearchRequest, other.appSearchRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.appSearchRequest == null ? 43 : this.appSearchRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchGrantsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchGrantsRequest.java new file mode 100644 index 00000000000..a3577e328fe --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchGrantsRequest.java @@ -0,0 +1,387 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use SearchGrantsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchGrantsRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.GrantSearchRequest> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** Parameters for searching Grants */ + private com.oracle.bmc.identitydomains.model.GrantSearchRequest grantSearchRequest; + + /** Parameters for searching Grants */ + public com.oracle.bmc.identitydomains.model.GrantSearchRequest getGrantSearchRequest() { + return grantSearchRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.GrantSearchRequest getBody$() { + return grantSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchGrantsRequest, com.oracle.bmc.identitydomains.model.GrantSearchRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** Parameters for searching Grants */ + private com.oracle.bmc.identitydomains.model.GrantSearchRequest grantSearchRequest = null; + + /** + * Parameters for searching Grants + * + * @param grantSearchRequest the value to set + * @return this builder instance + */ + public Builder grantSearchRequest( + com.oracle.bmc.identitydomains.model.GrantSearchRequest grantSearchRequest) { + this.grantSearchRequest = grantSearchRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(SearchGrantsRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + grantSearchRequest(o.getGrantSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchGrantsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of SearchGrantsRequest + */ + public SearchGrantsRequest build() { + SearchGrantsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.GrantSearchRequest body) { + grantSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchGrantsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of SearchGrantsRequest + */ + public SearchGrantsRequest buildWithoutInvocationCallback() { + SearchGrantsRequest request = new SearchGrantsRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.grantSearchRequest = grantSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchGrantsRequest(authorization, resourceTypeSchemaVersion, grantSearchRequest, + // opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .grantSearchRequest(grantSearchRequest) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",grantSearchRequest=").append(String.valueOf(this.grantSearchRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchGrantsRequest)) { + return false; + } + + SearchGrantsRequest other = (SearchGrantsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.grantSearchRequest, other.grantSearchRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.grantSearchRequest == null + ? 43 + : this.grantSearchRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchIdentitySettingsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchIdentitySettingsRequest.java new file mode 100644 index 00000000000..e3dde7a81b2 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchIdentitySettingsRequest.java @@ -0,0 +1,396 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * SearchIdentitySettingsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchIdentitySettingsRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.IdentitySettingsSearchRequest> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** Parameters for searching IdentitySettings */ + private com.oracle.bmc.identitydomains.model.IdentitySettingsSearchRequest + identitySettingsSearchRequest; + + /** Parameters for searching IdentitySettings */ + public com.oracle.bmc.identitydomains.model.IdentitySettingsSearchRequest + getIdentitySettingsSearchRequest() { + return identitySettingsSearchRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.IdentitySettingsSearchRequest getBody$() { + return identitySettingsSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchIdentitySettingsRequest, + com.oracle.bmc.identitydomains.model.IdentitySettingsSearchRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** Parameters for searching IdentitySettings */ + private com.oracle.bmc.identitydomains.model.IdentitySettingsSearchRequest + identitySettingsSearchRequest = null; + + /** + * Parameters for searching IdentitySettings + * + * @param identitySettingsSearchRequest the value to set + * @return this builder instance + */ + public Builder identitySettingsSearchRequest( + com.oracle.bmc.identitydomains.model.IdentitySettingsSearchRequest + identitySettingsSearchRequest) { + this.identitySettingsSearchRequest = identitySettingsSearchRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(SearchIdentitySettingsRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + identitySettingsSearchRequest(o.getIdentitySettingsSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchIdentitySettingsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of SearchIdentitySettingsRequest + */ + public SearchIdentitySettingsRequest build() { + SearchIdentitySettingsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.identitydomains.model.IdentitySettingsSearchRequest body) { + identitySettingsSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchIdentitySettingsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of SearchIdentitySettingsRequest + */ + public SearchIdentitySettingsRequest buildWithoutInvocationCallback() { + SearchIdentitySettingsRequest request = new SearchIdentitySettingsRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.identitySettingsSearchRequest = identitySettingsSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchIdentitySettingsRequest(authorization, resourceTypeSchemaVersion, + // identitySettingsSearchRequest, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .identitySettingsSearchRequest(identitySettingsSearchRequest) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",identitySettingsSearchRequest=") + .append(String.valueOf(this.identitySettingsSearchRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchIdentitySettingsRequest)) { + return false; + } + + SearchIdentitySettingsRequest other = (SearchIdentitySettingsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals( + this.identitySettingsSearchRequest, other.identitySettingsSearchRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.identitySettingsSearchRequest == null + ? 43 + : this.identitySettingsSearchRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchMyAppsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchMyAppsRequest.java new file mode 100644 index 00000000000..2cf8fa52132 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchMyAppsRequest.java @@ -0,0 +1,387 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use SearchMyAppsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchMyAppsRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.MyAppSearchRequest> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** Parameters for searching MyApps */ + private com.oracle.bmc.identitydomains.model.MyAppSearchRequest myAppSearchRequest; + + /** Parameters for searching MyApps */ + public com.oracle.bmc.identitydomains.model.MyAppSearchRequest getMyAppSearchRequest() { + return myAppSearchRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.MyAppSearchRequest getBody$() { + return myAppSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchMyAppsRequest, com.oracle.bmc.identitydomains.model.MyAppSearchRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** Parameters for searching MyApps */ + private com.oracle.bmc.identitydomains.model.MyAppSearchRequest myAppSearchRequest = null; + + /** + * Parameters for searching MyApps + * + * @param myAppSearchRequest the value to set + * @return this builder instance + */ + public Builder myAppSearchRequest( + com.oracle.bmc.identitydomains.model.MyAppSearchRequest myAppSearchRequest) { + this.myAppSearchRequest = myAppSearchRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(SearchMyAppsRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + myAppSearchRequest(o.getMyAppSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchMyAppsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of SearchMyAppsRequest + */ + public SearchMyAppsRequest build() { + SearchMyAppsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.MyAppSearchRequest body) { + myAppSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchMyAppsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of SearchMyAppsRequest + */ + public SearchMyAppsRequest buildWithoutInvocationCallback() { + SearchMyAppsRequest request = new SearchMyAppsRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.myAppSearchRequest = myAppSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchMyAppsRequest(authorization, resourceTypeSchemaVersion, myAppSearchRequest, + // opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .myAppSearchRequest(myAppSearchRequest) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",myAppSearchRequest=").append(String.valueOf(this.myAppSearchRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchMyAppsRequest)) { + return false; + } + + SearchMyAppsRequest other = (SearchMyAppsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals(this.myAppSearchRequest, other.myAppSearchRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.myAppSearchRequest == null + ? 43 + : this.myAppSearchRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchMyRequestableGroupsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchMyRequestableGroupsRequest.java new file mode 100644 index 00000000000..f45b8365518 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchMyRequestableGroupsRequest.java @@ -0,0 +1,396 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * SearchMyRequestableGroupsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchMyRequestableGroupsRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.MyRequestableGroupSearchRequest> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** Parameters for searching MyRequestableGroups */ + private com.oracle.bmc.identitydomains.model.MyRequestableGroupSearchRequest + myRequestableGroupSearchRequest; + + /** Parameters for searching MyRequestableGroups */ + public com.oracle.bmc.identitydomains.model.MyRequestableGroupSearchRequest + getMyRequestableGroupSearchRequest() { + return myRequestableGroupSearchRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.MyRequestableGroupSearchRequest getBody$() { + return myRequestableGroupSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchMyRequestableGroupsRequest, + com.oracle.bmc.identitydomains.model.MyRequestableGroupSearchRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** Parameters for searching MyRequestableGroups */ + private com.oracle.bmc.identitydomains.model.MyRequestableGroupSearchRequest + myRequestableGroupSearchRequest = null; + + /** + * Parameters for searching MyRequestableGroups + * + * @param myRequestableGroupSearchRequest the value to set + * @return this builder instance + */ + public Builder myRequestableGroupSearchRequest( + com.oracle.bmc.identitydomains.model.MyRequestableGroupSearchRequest + myRequestableGroupSearchRequest) { + this.myRequestableGroupSearchRequest = myRequestableGroupSearchRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(SearchMyRequestableGroupsRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + myRequestableGroupSearchRequest(o.getMyRequestableGroupSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchMyRequestableGroupsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of SearchMyRequestableGroupsRequest + */ + public SearchMyRequestableGroupsRequest build() { + SearchMyRequestableGroupsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.identitydomains.model.MyRequestableGroupSearchRequest body) { + myRequestableGroupSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchMyRequestableGroupsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of SearchMyRequestableGroupsRequest + */ + public SearchMyRequestableGroupsRequest buildWithoutInvocationCallback() { + SearchMyRequestableGroupsRequest request = new SearchMyRequestableGroupsRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.myRequestableGroupSearchRequest = myRequestableGroupSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchMyRequestableGroupsRequest(authorization, resourceTypeSchemaVersion, + // myRequestableGroupSearchRequest, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .myRequestableGroupSearchRequest(myRequestableGroupSearchRequest) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",myRequestableGroupSearchRequest=") + .append(String.valueOf(this.myRequestableGroupSearchRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchMyRequestableGroupsRequest)) { + return false; + } + + SearchMyRequestableGroupsRequest other = (SearchMyRequestableGroupsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals( + this.myRequestableGroupSearchRequest, other.myRequestableGroupSearchRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.myRequestableGroupSearchRequest == null + ? 43 + : this.myRequestableGroupSearchRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchMyRequestsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchMyRequestsRequest.java new file mode 100644 index 00000000000..0e5d4461851 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchMyRequestsRequest.java @@ -0,0 +1,391 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use SearchMyRequestsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchMyRequestsRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.MyRequestSearchRequest> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** Parameters for searching MyRequests */ + private com.oracle.bmc.identitydomains.model.MyRequestSearchRequest myRequestSearchRequest; + + /** Parameters for searching MyRequests */ + public com.oracle.bmc.identitydomains.model.MyRequestSearchRequest getMyRequestSearchRequest() { + return myRequestSearchRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.MyRequestSearchRequest getBody$() { + return myRequestSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchMyRequestsRequest, + com.oracle.bmc.identitydomains.model.MyRequestSearchRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** Parameters for searching MyRequests */ + private com.oracle.bmc.identitydomains.model.MyRequestSearchRequest myRequestSearchRequest = + null; + + /** + * Parameters for searching MyRequests + * + * @param myRequestSearchRequest the value to set + * @return this builder instance + */ + public Builder myRequestSearchRequest( + com.oracle.bmc.identitydomains.model.MyRequestSearchRequest + myRequestSearchRequest) { + this.myRequestSearchRequest = myRequestSearchRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(SearchMyRequestsRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + myRequestSearchRequest(o.getMyRequestSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchMyRequestsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of SearchMyRequestsRequest + */ + public SearchMyRequestsRequest build() { + SearchMyRequestsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$(com.oracle.bmc.identitydomains.model.MyRequestSearchRequest body) { + myRequestSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchMyRequestsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of SearchMyRequestsRequest + */ + public SearchMyRequestsRequest buildWithoutInvocationCallback() { + SearchMyRequestsRequest request = new SearchMyRequestsRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.myRequestSearchRequest = myRequestSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchMyRequestsRequest(authorization, resourceTypeSchemaVersion, + // myRequestSearchRequest, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .myRequestSearchRequest(myRequestSearchRequest) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",myRequestSearchRequest=").append(String.valueOf(this.myRequestSearchRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchMyRequestsRequest)) { + return false; + } + + SearchMyRequestsRequest other = (SearchMyRequestsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals( + this.myRequestSearchRequest, other.myRequestSearchRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.myRequestSearchRequest == null + ? 43 + : this.myRequestSearchRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchResourceTypeSchemaAttributesRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchResourceTypeSchemaAttributesRequest.java new file mode 100644 index 00000000000..963b17e428e --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchResourceTypeSchemaAttributesRequest.java @@ -0,0 +1,407 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * SearchResourceTypeSchemaAttributesRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchResourceTypeSchemaAttributesRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributeSearchRequest> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** Parameters for searching ResourceTypeSchemaAttributes */ + private com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributeSearchRequest + resourceTypeSchemaAttributeSearchRequest; + + /** Parameters for searching ResourceTypeSchemaAttributes */ + public com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributeSearchRequest + getResourceTypeSchemaAttributeSearchRequest() { + return resourceTypeSchemaAttributeSearchRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributeSearchRequest + getBody$() { + return resourceTypeSchemaAttributeSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchResourceTypeSchemaAttributesRequest, + com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributeSearchRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** Parameters for searching ResourceTypeSchemaAttributes */ + private com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributeSearchRequest + resourceTypeSchemaAttributeSearchRequest = null; + + /** + * Parameters for searching ResourceTypeSchemaAttributes + * + * @param resourceTypeSchemaAttributeSearchRequest the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaAttributeSearchRequest( + com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributeSearchRequest + resourceTypeSchemaAttributeSearchRequest) { + this.resourceTypeSchemaAttributeSearchRequest = + resourceTypeSchemaAttributeSearchRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(SearchResourceTypeSchemaAttributesRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + resourceTypeSchemaAttributeSearchRequest( + o.getResourceTypeSchemaAttributeSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchResourceTypeSchemaAttributesRequest as configured by this + * builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of SearchResourceTypeSchemaAttributesRequest + */ + public SearchResourceTypeSchemaAttributesRequest build() { + SearchResourceTypeSchemaAttributesRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributeSearchRequest + body) { + resourceTypeSchemaAttributeSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchResourceTypeSchemaAttributesRequest as configured by this + * builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of SearchResourceTypeSchemaAttributesRequest + */ + public SearchResourceTypeSchemaAttributesRequest buildWithoutInvocationCallback() { + SearchResourceTypeSchemaAttributesRequest request = + new SearchResourceTypeSchemaAttributesRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.resourceTypeSchemaAttributeSearchRequest = + resourceTypeSchemaAttributeSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchResourceTypeSchemaAttributesRequest(authorization, + // resourceTypeSchemaVersion, resourceTypeSchemaAttributeSearchRequest, opcRetryToken, + // page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .resourceTypeSchemaAttributeSearchRequest(resourceTypeSchemaAttributeSearchRequest) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",resourceTypeSchemaAttributeSearchRequest=") + .append(String.valueOf(this.resourceTypeSchemaAttributeSearchRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchResourceTypeSchemaAttributesRequest)) { + return false; + } + + SearchResourceTypeSchemaAttributesRequest other = + (SearchResourceTypeSchemaAttributesRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals( + this.resourceTypeSchemaAttributeSearchRequest, + other.resourceTypeSchemaAttributeSearchRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaAttributeSearchRequest == null + ? 43 + : this.resourceTypeSchemaAttributeSearchRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchSecurityQuestionSettingsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchSecurityQuestionSettingsRequest.java new file mode 100644 index 00000000000..fdea7576c10 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchSecurityQuestionSettingsRequest.java @@ -0,0 +1,398 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * SearchSecurityQuestionSettingsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchSecurityQuestionSettingsRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.SecurityQuestionSettingsSearchRequest> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** Parameters for searching SecurityQuestionSettings */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSettingsSearchRequest + securityQuestionSettingsSearchRequest; + + /** Parameters for searching SecurityQuestionSettings */ + public com.oracle.bmc.identitydomains.model.SecurityQuestionSettingsSearchRequest + getSecurityQuestionSettingsSearchRequest() { + return securityQuestionSettingsSearchRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.SecurityQuestionSettingsSearchRequest getBody$() { + return securityQuestionSettingsSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchSecurityQuestionSettingsRequest, + com.oracle.bmc.identitydomains.model.SecurityQuestionSettingsSearchRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** Parameters for searching SecurityQuestionSettings */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSettingsSearchRequest + securityQuestionSettingsSearchRequest = null; + + /** + * Parameters for searching SecurityQuestionSettings + * + * @param securityQuestionSettingsSearchRequest the value to set + * @return this builder instance + */ + public Builder securityQuestionSettingsSearchRequest( + com.oracle.bmc.identitydomains.model.SecurityQuestionSettingsSearchRequest + securityQuestionSettingsSearchRequest) { + this.securityQuestionSettingsSearchRequest = securityQuestionSettingsSearchRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(SearchSecurityQuestionSettingsRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + securityQuestionSettingsSearchRequest(o.getSecurityQuestionSettingsSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchSecurityQuestionSettingsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of SearchSecurityQuestionSettingsRequest + */ + public SearchSecurityQuestionSettingsRequest build() { + SearchSecurityQuestionSettingsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.identitydomains.model.SecurityQuestionSettingsSearchRequest body) { + securityQuestionSettingsSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchSecurityQuestionSettingsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of SearchSecurityQuestionSettingsRequest + */ + public SearchSecurityQuestionSettingsRequest buildWithoutInvocationCallback() { + SearchSecurityQuestionSettingsRequest request = + new SearchSecurityQuestionSettingsRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.securityQuestionSettingsSearchRequest = securityQuestionSettingsSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchSecurityQuestionSettingsRequest(authorization, resourceTypeSchemaVersion, + // securityQuestionSettingsSearchRequest, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .securityQuestionSettingsSearchRequest(securityQuestionSettingsSearchRequest) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",securityQuestionSettingsSearchRequest=") + .append(String.valueOf(this.securityQuestionSettingsSearchRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchSecurityQuestionSettingsRequest)) { + return false; + } + + SearchSecurityQuestionSettingsRequest other = (SearchSecurityQuestionSettingsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals( + this.securityQuestionSettingsSearchRequest, + other.securityQuestionSettingsSearchRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.securityQuestionSettingsSearchRequest == null + ? 43 + : this.securityQuestionSettingsSearchRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchSecurityQuestionsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchSecurityQuestionsRequest.java new file mode 100644 index 00000000000..43639e7e8d2 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchSecurityQuestionsRequest.java @@ -0,0 +1,396 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * SearchSecurityQuestionsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchSecurityQuestionsRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.SecurityQuestionSearchRequest> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** Parameters for searching SecurityQuestions */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSearchRequest + securityQuestionSearchRequest; + + /** Parameters for searching SecurityQuestions */ + public com.oracle.bmc.identitydomains.model.SecurityQuestionSearchRequest + getSecurityQuestionSearchRequest() { + return securityQuestionSearchRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.SecurityQuestionSearchRequest getBody$() { + return securityQuestionSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchSecurityQuestionsRequest, + com.oracle.bmc.identitydomains.model.SecurityQuestionSearchRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** Parameters for searching SecurityQuestions */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSearchRequest + securityQuestionSearchRequest = null; + + /** + * Parameters for searching SecurityQuestions + * + * @param securityQuestionSearchRequest the value to set + * @return this builder instance + */ + public Builder securityQuestionSearchRequest( + com.oracle.bmc.identitydomains.model.SecurityQuestionSearchRequest + securityQuestionSearchRequest) { + this.securityQuestionSearchRequest = securityQuestionSearchRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(SearchSecurityQuestionsRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + securityQuestionSearchRequest(o.getSecurityQuestionSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchSecurityQuestionsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of SearchSecurityQuestionsRequest + */ + public SearchSecurityQuestionsRequest build() { + SearchSecurityQuestionsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.identitydomains.model.SecurityQuestionSearchRequest body) { + securityQuestionSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchSecurityQuestionsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of SearchSecurityQuestionsRequest + */ + public SearchSecurityQuestionsRequest buildWithoutInvocationCallback() { + SearchSecurityQuestionsRequest request = new SearchSecurityQuestionsRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.securityQuestionSearchRequest = securityQuestionSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchSecurityQuestionsRequest(authorization, resourceTypeSchemaVersion, + // securityQuestionSearchRequest, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .securityQuestionSearchRequest(securityQuestionSearchRequest) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",securityQuestionSearchRequest=") + .append(String.valueOf(this.securityQuestionSearchRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchSecurityQuestionsRequest)) { + return false; + } + + SearchSecurityQuestionsRequest other = (SearchSecurityQuestionsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals( + this.securityQuestionSearchRequest, other.securityQuestionSearchRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.securityQuestionSearchRequest == null + ? 43 + : this.securityQuestionSearchRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchUserAttributesSettingsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchUserAttributesSettingsRequest.java new file mode 100644 index 00000000000..9474d50d946 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchUserAttributesSettingsRequest.java @@ -0,0 +1,397 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.requests; + +import com.oracle.bmc.identitydomains.model.*; +/** + * Example: Click here to see how to use + * SearchUserAttributesSettingsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchUserAttributesSettingsRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.UserAttributesSettingsSearchRequest> { + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + public String getAuthorization() { + return authorization; + } + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + private String resourceTypeSchemaVersion; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values are + * Earliest Version or Latest Version as specified in each REST API endpoint description, or any + * sequential number inbetween. All schema attributes/body parameters are a part of version 1. + * After version 1, any attributes added or deprecated will be tagged with the version that they + * were added to or deprecated in. If no version is provided, the latest schema version is + * returned. + */ + public String getResourceTypeSchemaVersion() { + return resourceTypeSchemaVersion; + } + /** Parameters for searching UserAttributesSettings */ + private com.oracle.bmc.identitydomains.model.UserAttributesSettingsSearchRequest + userAttributesSettingsSearchRequest; + + /** Parameters for searching UserAttributesSettings */ + public com.oracle.bmc.identitydomains.model.UserAttributesSettingsSearchRequest + getUserAttributesSettingsSearchRequest() { + return userAttributesSettingsSearchRequest; + } + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the request is + * retried. Idempotency tokens expire after 24 hours. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page; + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + public String getPage() { + return page; + } + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit; + + /** The maximum number of items to return in a paginated 'List' call. */ + public Integer getLimit() { + return limit; + } + + /** + * Alternative accessor for the body parameter. + * + * @return body parameter + */ + @Override + @com.oracle.bmc.InternalSdk + public com.oracle.bmc.identitydomains.model.UserAttributesSettingsSearchRequest getBody$() { + return userAttributesSettingsSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchUserAttributesSettingsRequest, + com.oracle.bmc.identitydomains.model.UserAttributesSettingsSearchRequest> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + */ + private String authorization = null; + + /** + * The Authorization field value consists of credentials containing the authentication + * information of the user agent for the realm of the resource being requested. + * + * @param authorization the value to set + * @return this builder instance + */ + public Builder authorization(String authorization) { + this.authorization = authorization; + return this; + } + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + */ + private String resourceTypeSchemaVersion = null; + + /** + * An endpoint-specific schema version number to use in the Request. Allowed version values + * are Earliest Version or Latest Version as specified in each REST API endpoint + * description, or any sequential number inbetween. All schema attributes/body parameters + * are a part of version 1. After version 1, any attributes added or deprecated will be + * tagged with the version that they were added to or deprecated in. If no version is + * provided, the latest schema version is returned. + * + * @param resourceTypeSchemaVersion the value to set + * @return this builder instance + */ + public Builder resourceTypeSchemaVersion(String resourceTypeSchemaVersion) { + this.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + return this; + } + + /** Parameters for searching UserAttributesSettings */ + private com.oracle.bmc.identitydomains.model.UserAttributesSettingsSearchRequest + userAttributesSettingsSearchRequest = null; + + /** + * Parameters for searching UserAttributesSettings + * + * @param userAttributesSettingsSearchRequest the value to set + * @return this builder instance + */ + public Builder userAttributesSettingsSearchRequest( + com.oracle.bmc.identitydomains.model.UserAttributesSettingsSearchRequest + userAttributesSettingsSearchRequest) { + this.userAttributesSettingsSearchRequest = userAttributesSettingsSearchRequest; + return this; + } + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + */ + private String opcRetryToken = null; + + /** + * A token you supply to uniquely identify the request and provide idempotency if the + * request is retried. Idempotency tokens expire after 24 hours. + * + * @param opcRetryToken the value to set + * @return this builder instance + */ + public Builder opcRetryToken(String opcRetryToken) { + this.opcRetryToken = opcRetryToken; + return this; + } + + /** The value of the {@code opc-next-page} response header from the previous 'List' call. */ + private String page = null; + + /** + * The value of the {@code opc-next-page} response header from the previous 'List' call. + * + * @param page the value to set + * @return this builder instance + */ + public Builder page(String page) { + this.page = page; + return this; + } + + /** The maximum number of items to return in a paginated 'List' call. */ + private Integer limit = null; + + /** + * The maximum number of items to return in a paginated 'List' call. + * + * @param limit the value to set + * @return this builder instance + */ + public Builder limit(Integer limit) { + this.limit = limit; + return this; + } + + /** + * Set the invocation callback for the request to be built. + * + * @param invocationCallback the invocation callback to be set for the request + * @return this builder instance + */ + public Builder invocationCallback( + com.oracle.bmc.http.client.RequestInterceptor invocationCallback) { + this.invocationCallback = invocationCallback; + return this; + } + + /** + * Set the retry configuration for the request to be built. + * + * @param retryConfiguration the retry configuration to be used for the request + * @return this builder instance + */ + public Builder retryConfiguration( + com.oracle.bmc.retrier.RetryConfiguration retryConfiguration) { + this.retryConfiguration = retryConfiguration; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + public Builder copy(SearchUserAttributesSettingsRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + userAttributesSettingsSearchRequest(o.getUserAttributesSettingsSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchUserAttributesSettingsRequest as configured by this builder + * + *

Note that this method takes calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#buildWithoutInvocationCallback} does not. + * + *

This is the preferred method to build an instance. + * + * @return instance of SearchUserAttributesSettingsRequest + */ + public SearchUserAttributesSettingsRequest build() { + SearchUserAttributesSettingsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Alternative setter for the body parameter. + * + * @param body the body parameter + * @return this builder instance + */ + @com.oracle.bmc.InternalSdk + public Builder body$( + com.oracle.bmc.identitydomains.model.UserAttributesSettingsSearchRequest body) { + userAttributesSettingsSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchUserAttributesSettingsRequest as configured by this builder + * + *

Note that this method does not take calls to {@link + * Builder#invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)} into account, + * while the method {@link Builder#build} does + * + * @return instance of SearchUserAttributesSettingsRequest + */ + public SearchUserAttributesSettingsRequest buildWithoutInvocationCallback() { + SearchUserAttributesSettingsRequest request = new SearchUserAttributesSettingsRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.userAttributesSettingsSearchRequest = userAttributesSettingsSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchUserAttributesSettingsRequest(authorization, resourceTypeSchemaVersion, + // userAttributesSettingsSearchRequest, opcRetryToken, page, limit); + } + } + + /** + * Return an instance of {@link Builder} that allows you to modify request properties. + * + * @return instance of {@link Builder} that allows you to modify request properties. + */ + public Builder toBuilder() { + return new Builder() + .authorization(authorization) + .resourceTypeSchemaVersion(resourceTypeSchemaVersion) + .userAttributesSettingsSearchRequest(userAttributesSettingsSearchRequest) + .opcRetryToken(opcRetryToken) + .page(page) + .limit(limit); + } + + /** + * Return a new builder for this request object. + * + * @return builder for the request object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",authorization=").append(String.valueOf(this.authorization)); + sb.append(",resourceTypeSchemaVersion=") + .append(String.valueOf(this.resourceTypeSchemaVersion)); + sb.append(",userAttributesSettingsSearchRequest=") + .append(String.valueOf(this.userAttributesSettingsSearchRequest)); + sb.append(",opcRetryToken=").append(String.valueOf(this.opcRetryToken)); + sb.append(",page=").append(String.valueOf(this.page)); + sb.append(",limit=").append(String.valueOf(this.limit)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchUserAttributesSettingsRequest)) { + return false; + } + + SearchUserAttributesSettingsRequest other = (SearchUserAttributesSettingsRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.authorization, other.authorization) + && java.util.Objects.equals( + this.resourceTypeSchemaVersion, other.resourceTypeSchemaVersion) + && java.util.Objects.equals( + this.userAttributesSettingsSearchRequest, + other.userAttributesSettingsSearchRequest) + && java.util.Objects.equals(this.opcRetryToken, other.opcRetryToken) + && java.util.Objects.equals(this.page, other.page) + && java.util.Objects.equals(this.limit, other.limit); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = + (result * PRIME) + + (this.authorization == null ? 43 : this.authorization.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaVersion == null + ? 43 + : this.resourceTypeSchemaVersion.hashCode()); + result = + (result * PRIME) + + (this.userAttributesSettingsSearchRequest == null + ? 43 + : this.userAttributesSettingsSearchRequest.hashCode()); + result = + (result * PRIME) + + (this.opcRetryToken == null ? 43 : this.opcRetryToken.hashCode()); + result = (result * PRIME) + (this.page == null ? 43 : this.page.hashCode()); + result = (result * PRIME) + (this.limit == null ? 43 : this.limit.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateAppResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateAppResponse.java new file mode 100644 index 00000000000..e549a162712 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateAppResponse.java @@ -0,0 +1,207 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class CreateAppResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned App instance. */ + private com.oracle.bmc.identitydomains.model.App app; + + /** + * The returned App instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.App getApp() { + return app; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "app" + }) + private CreateAppResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.App app) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.app = app; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned App instance. */ + private com.oracle.bmc.identitydomains.model.App app; + + /** + * The returned App instance. + * + * @param app the value to set + * @return this builder + */ + public Builder app(com.oracle.bmc.identitydomains.model.App app) { + this.app = app; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(CreateAppResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + app(o.getApp()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public CreateAppResponse build() { + return new CreateAppResponse(__httpStatusCode__, headers, opcRequestId, etag, app); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",app=").append(String.valueOf(app)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateAppResponse)) { + return false; + } + + CreateAppResponse other = (CreateAppResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.app, other.app); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.app == null ? 43 : this.app.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateAppRoleResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateAppRoleResponse.java new file mode 100644 index 00000000000..2a8c58d1d67 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateAppRoleResponse.java @@ -0,0 +1,208 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class CreateAppRoleResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned AppRole instance. */ + private com.oracle.bmc.identitydomains.model.AppRole appRole; + + /** + * The returned AppRole instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AppRole getAppRole() { + return appRole; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "appRole" + }) + private CreateAppRoleResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.AppRole appRole) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.appRole = appRole; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned AppRole instance. */ + private com.oracle.bmc.identitydomains.model.AppRole appRole; + + /** + * The returned AppRole instance. + * + * @param appRole the value to set + * @return this builder + */ + public Builder appRole(com.oracle.bmc.identitydomains.model.AppRole appRole) { + this.appRole = appRole; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(CreateAppRoleResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + appRole(o.getAppRole()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public CreateAppRoleResponse build() { + return new CreateAppRoleResponse( + __httpStatusCode__, headers, opcRequestId, etag, appRole); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",appRole=").append(String.valueOf(appRole)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateAppRoleResponse)) { + return false; + } + + CreateAppRoleResponse other = (CreateAppRoleResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.appRole, other.appRole); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.appRole == null ? 43 : this.appRole.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateGrantResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateGrantResponse.java new file mode 100644 index 00000000000..1c771237090 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateGrantResponse.java @@ -0,0 +1,207 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class CreateGrantResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned Grant instance. */ + private com.oracle.bmc.identitydomains.model.Grant grant; + + /** + * The returned Grant instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.Grant getGrant() { + return grant; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "grant" + }) + private CreateGrantResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.Grant grant) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.grant = grant; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned Grant instance. */ + private com.oracle.bmc.identitydomains.model.Grant grant; + + /** + * The returned Grant instance. + * + * @param grant the value to set + * @return this builder + */ + public Builder grant(com.oracle.bmc.identitydomains.model.Grant grant) { + this.grant = grant; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(CreateGrantResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + grant(o.getGrant()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public CreateGrantResponse build() { + return new CreateGrantResponse(__httpStatusCode__, headers, opcRequestId, etag, grant); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",grant=").append(String.valueOf(grant)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateGrantResponse)) { + return false; + } + + CreateGrantResponse other = (CreateGrantResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.grant, other.grant); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.grant == null ? 43 : this.grant.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateMyRequestResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateMyRequestResponse.java new file mode 100644 index 00000000000..bb68380ab37 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateMyRequestResponse.java @@ -0,0 +1,208 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class CreateMyRequestResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned MyRequest instance. */ + private com.oracle.bmc.identitydomains.model.MyRequest myRequest; + + /** + * The returned MyRequest instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.MyRequest getMyRequest() { + return myRequest; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "myRequest" + }) + private CreateMyRequestResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.MyRequest myRequest) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.myRequest = myRequest; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned MyRequest instance. */ + private com.oracle.bmc.identitydomains.model.MyRequest myRequest; + + /** + * The returned MyRequest instance. + * + * @param myRequest the value to set + * @return this builder + */ + public Builder myRequest(com.oracle.bmc.identitydomains.model.MyRequest myRequest) { + this.myRequest = myRequest; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(CreateMyRequestResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + myRequest(o.getMyRequest()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public CreateMyRequestResponse build() { + return new CreateMyRequestResponse( + __httpStatusCode__, headers, opcRequestId, etag, myRequest); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",myRequest=").append(String.valueOf(myRequest)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateMyRequestResponse)) { + return false; + } + + CreateMyRequestResponse other = (CreateMyRequestResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.myRequest, other.myRequest); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.myRequest == null ? 43 : this.myRequest.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateSecurityQuestionResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateSecurityQuestionResponse.java new file mode 100644 index 00000000000..460ab732fdb --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateSecurityQuestionResponse.java @@ -0,0 +1,212 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class CreateSecurityQuestionResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned SecurityQuestion instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion; + + /** + * The returned SecurityQuestion instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.SecurityQuestion getSecurityQuestion() { + return securityQuestion; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "securityQuestion" + }) + private CreateSecurityQuestionResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.securityQuestion = securityQuestion; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + CreateSecurityQuestionResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned SecurityQuestion instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion; + + /** + * The returned SecurityQuestion instance. + * + * @param securityQuestion the value to set + * @return this builder + */ + public Builder securityQuestion( + com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion) { + this.securityQuestion = securityQuestion; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(CreateSecurityQuestionResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + securityQuestion(o.getSecurityQuestion()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public CreateSecurityQuestionResponse build() { + return new CreateSecurityQuestionResponse( + __httpStatusCode__, headers, opcRequestId, etag, securityQuestion); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",securityQuestion=").append(String.valueOf(securityQuestion)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateSecurityQuestionResponse)) { + return false; + } + + CreateSecurityQuestionResponse other = (CreateSecurityQuestionResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.securityQuestion, other.securityQuestion); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = + (result * PRIME) + + (this.securityQuestion == null ? 43 : this.securityQuestion.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteAppResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteAppResponse.java new file mode 100644 index 00000000000..bcf7f9a714e --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteAppResponse.java @@ -0,0 +1,136 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class DeleteAppResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + @java.beans.ConstructorProperties({"__httpStatusCode__", "headers", "opcRequestId"}) + private DeleteAppResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(DeleteAppResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public DeleteAppResponse build() { + return new DeleteAppResponse(__httpStatusCode__, headers, opcRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DeleteAppResponse)) { + return false; + } + + DeleteAppResponse other = (DeleteAppResponse) o; + return super.equals(o) && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteAppRoleResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteAppRoleResponse.java new file mode 100644 index 00000000000..515574fa9e2 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteAppRoleResponse.java @@ -0,0 +1,136 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class DeleteAppRoleResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + @java.beans.ConstructorProperties({"__httpStatusCode__", "headers", "opcRequestId"}) + private DeleteAppRoleResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(DeleteAppRoleResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public DeleteAppRoleResponse build() { + return new DeleteAppRoleResponse(__httpStatusCode__, headers, opcRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DeleteAppRoleResponse)) { + return false; + } + + DeleteAppRoleResponse other = (DeleteAppRoleResponse) o; + return super.equals(o) && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteGrantResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteGrantResponse.java new file mode 100644 index 00000000000..3e6bfaf3de2 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteGrantResponse.java @@ -0,0 +1,136 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class DeleteGrantResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + @java.beans.ConstructorProperties({"__httpStatusCode__", "headers", "opcRequestId"}) + private DeleteGrantResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(DeleteGrantResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public DeleteGrantResponse build() { + return new DeleteGrantResponse(__httpStatusCode__, headers, opcRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DeleteGrantResponse)) { + return false; + } + + DeleteGrantResponse other = (DeleteGrantResponse) o; + return super.equals(o) && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteSecurityQuestionResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteSecurityQuestionResponse.java new file mode 100644 index 00000000000..81a83ddba72 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/DeleteSecurityQuestionResponse.java @@ -0,0 +1,137 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class DeleteSecurityQuestionResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + @java.beans.ConstructorProperties({"__httpStatusCode__", "headers", "opcRequestId"}) + private DeleteSecurityQuestionResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + DeleteSecurityQuestionResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(DeleteSecurityQuestionResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public DeleteSecurityQuestionResponse build() { + return new DeleteSecurityQuestionResponse(__httpStatusCode__, headers, opcRequestId); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DeleteSecurityQuestionResponse)) { + return false; + } + + DeleteSecurityQuestionResponse other = (DeleteSecurityQuestionResponse) o; + return super.equals(o) && java.util.Objects.equals(this.opcRequestId, other.opcRequestId); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAccountMgmtInfoResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAccountMgmtInfoResponse.java new file mode 100644 index 00000000000..f902ccee5ba --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAccountMgmtInfoResponse.java @@ -0,0 +1,178 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetAccountMgmtInfoResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned AccountMgmtInfo instance. */ + private com.oracle.bmc.identitydomains.model.AccountMgmtInfo accountMgmtInfo; + + /** + * The returned AccountMgmtInfo instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AccountMgmtInfo getAccountMgmtInfo() { + return accountMgmtInfo; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "accountMgmtInfo" + }) + private GetAccountMgmtInfoResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + com.oracle.bmc.identitydomains.model.AccountMgmtInfo accountMgmtInfo) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.accountMgmtInfo = accountMgmtInfo; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned AccountMgmtInfo instance. */ + private com.oracle.bmc.identitydomains.model.AccountMgmtInfo accountMgmtInfo; + + /** + * The returned AccountMgmtInfo instance. + * + * @param accountMgmtInfo the value to set + * @return this builder + */ + public Builder accountMgmtInfo( + com.oracle.bmc.identitydomains.model.AccountMgmtInfo accountMgmtInfo) { + this.accountMgmtInfo = accountMgmtInfo; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetAccountMgmtInfoResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + accountMgmtInfo(o.getAccountMgmtInfo()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetAccountMgmtInfoResponse build() { + return new GetAccountMgmtInfoResponse( + __httpStatusCode__, headers, opcRequestId, accountMgmtInfo); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",accountMgmtInfo=").append(String.valueOf(accountMgmtInfo)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetAccountMgmtInfoResponse)) { + return false; + } + + GetAccountMgmtInfoResponse other = (GetAccountMgmtInfoResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.accountMgmtInfo, other.accountMgmtInfo); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.accountMgmtInfo == null ? 43 : this.accountMgmtInfo.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAccountRecoverySettingResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAccountRecoverySettingResponse.java new file mode 100644 index 00000000000..2d2efbbefac --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAccountRecoverySettingResponse.java @@ -0,0 +1,183 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetAccountRecoverySettingResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned AccountRecoverySetting instance. */ + private com.oracle.bmc.identitydomains.model.AccountRecoverySetting accountRecoverySetting; + + /** + * The returned AccountRecoverySetting instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AccountRecoverySetting getAccountRecoverySetting() { + return accountRecoverySetting; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "accountRecoverySetting" + }) + private GetAccountRecoverySettingResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + com.oracle.bmc.identitydomains.model.AccountRecoverySetting accountRecoverySetting) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.accountRecoverySetting = accountRecoverySetting; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + GetAccountRecoverySettingResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned AccountRecoverySetting instance. */ + private com.oracle.bmc.identitydomains.model.AccountRecoverySetting accountRecoverySetting; + + /** + * The returned AccountRecoverySetting instance. + * + * @param accountRecoverySetting the value to set + * @return this builder + */ + public Builder accountRecoverySetting( + com.oracle.bmc.identitydomains.model.AccountRecoverySetting + accountRecoverySetting) { + this.accountRecoverySetting = accountRecoverySetting; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetAccountRecoverySettingResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + accountRecoverySetting(o.getAccountRecoverySetting()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetAccountRecoverySettingResponse build() { + return new GetAccountRecoverySettingResponse( + __httpStatusCode__, headers, opcRequestId, accountRecoverySetting); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",accountRecoverySetting=").append(String.valueOf(accountRecoverySetting)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetAccountRecoverySettingResponse)) { + return false; + } + + GetAccountRecoverySettingResponse other = (GetAccountRecoverySettingResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals( + this.accountRecoverySetting, other.accountRecoverySetting); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.accountRecoverySetting == null + ? 43 + : this.accountRecoverySetting.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAppResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAppResponse.java new file mode 100644 index 00000000000..9b5377e62b9 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAppResponse.java @@ -0,0 +1,169 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetAppResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned App instance. */ + private com.oracle.bmc.identitydomains.model.App app; + + /** + * The returned App instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.App getApp() { + return app; + } + + @java.beans.ConstructorProperties({"__httpStatusCode__", "headers", "opcRequestId", "app"}) + private GetAppResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + com.oracle.bmc.identitydomains.model.App app) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.app = app; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned App instance. */ + private com.oracle.bmc.identitydomains.model.App app; + + /** + * The returned App instance. + * + * @param app the value to set + * @return this builder + */ + public Builder app(com.oracle.bmc.identitydomains.model.App app) { + this.app = app; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetAppResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + app(o.getApp()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetAppResponse build() { + return new GetAppResponse(__httpStatusCode__, headers, opcRequestId, app); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",app=").append(String.valueOf(app)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetAppResponse)) { + return false; + } + + GetAppResponse other = (GetAppResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.app, other.app); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.app == null ? 43 : this.app.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAppRoleResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAppRoleResponse.java new file mode 100644 index 00000000000..0724fe9b98e --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetAppRoleResponse.java @@ -0,0 +1,169 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetAppRoleResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned AppRole instance. */ + private com.oracle.bmc.identitydomains.model.AppRole appRole; + + /** + * The returned AppRole instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AppRole getAppRole() { + return appRole; + } + + @java.beans.ConstructorProperties({"__httpStatusCode__", "headers", "opcRequestId", "appRole"}) + private GetAppRoleResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + com.oracle.bmc.identitydomains.model.AppRole appRole) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.appRole = appRole; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned AppRole instance. */ + private com.oracle.bmc.identitydomains.model.AppRole appRole; + + /** + * The returned AppRole instance. + * + * @param appRole the value to set + * @return this builder + */ + public Builder appRole(com.oracle.bmc.identitydomains.model.AppRole appRole) { + this.appRole = appRole; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetAppRoleResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + appRole(o.getAppRole()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetAppRoleResponse build() { + return new GetAppRoleResponse(__httpStatusCode__, headers, opcRequestId, appRole); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",appRole=").append(String.valueOf(appRole)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetAppRoleResponse)) { + return false; + } + + GetAppRoleResponse other = (GetAppRoleResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.appRole, other.appRole); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.appRole == null ? 43 : this.appRole.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetGrantResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetGrantResponse.java new file mode 100644 index 00000000000..afb7c8cb55f --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetGrantResponse.java @@ -0,0 +1,169 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetGrantResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned Grant instance. */ + private com.oracle.bmc.identitydomains.model.Grant grant; + + /** + * The returned Grant instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.Grant getGrant() { + return grant; + } + + @java.beans.ConstructorProperties({"__httpStatusCode__", "headers", "opcRequestId", "grant"}) + private GetGrantResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + com.oracle.bmc.identitydomains.model.Grant grant) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.grant = grant; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned Grant instance. */ + private com.oracle.bmc.identitydomains.model.Grant grant; + + /** + * The returned Grant instance. + * + * @param grant the value to set + * @return this builder + */ + public Builder grant(com.oracle.bmc.identitydomains.model.Grant grant) { + this.grant = grant; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetGrantResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + grant(o.getGrant()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetGrantResponse build() { + return new GetGrantResponse(__httpStatusCode__, headers, opcRequestId, grant); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",grant=").append(String.valueOf(grant)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetGrantResponse)) { + return false; + } + + GetGrantResponse other = (GetGrantResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.grant, other.grant); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.grant == null ? 43 : this.grant.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetIdentitySettingResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetIdentitySettingResponse.java new file mode 100644 index 00000000000..a3d45ba3165 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetIdentitySettingResponse.java @@ -0,0 +1,178 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetIdentitySettingResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned IdentitySetting instance. */ + private com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting; + + /** + * The returned IdentitySetting instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.IdentitySetting getIdentitySetting() { + return identitySetting; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "identitySetting" + }) + private GetIdentitySettingResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.identitySetting = identitySetting; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned IdentitySetting instance. */ + private com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting; + + /** + * The returned IdentitySetting instance. + * + * @param identitySetting the value to set + * @return this builder + */ + public Builder identitySetting( + com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting) { + this.identitySetting = identitySetting; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetIdentitySettingResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + identitySetting(o.getIdentitySetting()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetIdentitySettingResponse build() { + return new GetIdentitySettingResponse( + __httpStatusCode__, headers, opcRequestId, identitySetting); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",identitySetting=").append(String.valueOf(identitySetting)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetIdentitySettingResponse)) { + return false; + } + + GetIdentitySettingResponse other = (GetIdentitySettingResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.identitySetting, other.identitySetting); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.identitySetting == null ? 43 : this.identitySetting.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetSecurityQuestionResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetSecurityQuestionResponse.java new file mode 100644 index 00000000000..28e9ca8a53d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetSecurityQuestionResponse.java @@ -0,0 +1,178 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetSecurityQuestionResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned SecurityQuestion instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion; + + /** + * The returned SecurityQuestion instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.SecurityQuestion getSecurityQuestion() { + return securityQuestion; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "securityQuestion" + }) + private GetSecurityQuestionResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.securityQuestion = securityQuestion; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned SecurityQuestion instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion; + + /** + * The returned SecurityQuestion instance. + * + * @param securityQuestion the value to set + * @return this builder + */ + public Builder securityQuestion( + com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion) { + this.securityQuestion = securityQuestion; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetSecurityQuestionResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + securityQuestion(o.getSecurityQuestion()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetSecurityQuestionResponse build() { + return new GetSecurityQuestionResponse( + __httpStatusCode__, headers, opcRequestId, securityQuestion); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",securityQuestion=").append(String.valueOf(securityQuestion)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetSecurityQuestionResponse)) { + return false; + } + + GetSecurityQuestionResponse other = (GetSecurityQuestionResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.securityQuestion, other.securityQuestion); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.securityQuestion == null ? 43 : this.securityQuestion.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetSecurityQuestionSettingResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetSecurityQuestionSettingResponse.java new file mode 100644 index 00000000000..e318ab54038 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetSecurityQuestionSettingResponse.java @@ -0,0 +1,185 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetSecurityQuestionSettingResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned SecurityQuestionSetting instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSetting securityQuestionSetting; + + /** + * The returned SecurityQuestionSetting instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.SecurityQuestionSetting + getSecurityQuestionSetting() { + return securityQuestionSetting; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "securityQuestionSetting" + }) + private GetSecurityQuestionSettingResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting securityQuestionSetting) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.securityQuestionSetting = securityQuestionSetting; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + GetSecurityQuestionSettingResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned SecurityQuestionSetting instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSetting + securityQuestionSetting; + + /** + * The returned SecurityQuestionSetting instance. + * + * @param securityQuestionSetting the value to set + * @return this builder + */ + public Builder securityQuestionSetting( + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting + securityQuestionSetting) { + this.securityQuestionSetting = securityQuestionSetting; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetSecurityQuestionSettingResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + securityQuestionSetting(o.getSecurityQuestionSetting()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetSecurityQuestionSettingResponse build() { + return new GetSecurityQuestionSettingResponse( + __httpStatusCode__, headers, opcRequestId, securityQuestionSetting); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",securityQuestionSetting=").append(String.valueOf(securityQuestionSetting)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetSecurityQuestionSettingResponse)) { + return false; + } + + GetSecurityQuestionSettingResponse other = (GetSecurityQuestionSettingResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals( + this.securityQuestionSetting, other.securityQuestionSetting); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.securityQuestionSetting == null + ? 43 + : this.securityQuestionSetting.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetUserAttributesSettingResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetUserAttributesSettingResponse.java new file mode 100644 index 00000000000..5707f8accc3 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetUserAttributesSettingResponse.java @@ -0,0 +1,182 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetUserAttributesSettingResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** The returned UserAttributesSetting instance. */ + private com.oracle.bmc.identitydomains.model.UserAttributesSetting userAttributesSetting; + + /** + * The returned UserAttributesSetting instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.UserAttributesSetting getUserAttributesSetting() { + return userAttributesSetting; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "userAttributesSetting" + }) + private GetUserAttributesSettingResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + com.oracle.bmc.identitydomains.model.UserAttributesSetting userAttributesSetting) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.userAttributesSetting = userAttributesSetting; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + GetUserAttributesSettingResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** The returned UserAttributesSetting instance. */ + private com.oracle.bmc.identitydomains.model.UserAttributesSetting userAttributesSetting; + + /** + * The returned UserAttributesSetting instance. + * + * @param userAttributesSetting the value to set + * @return this builder + */ + public Builder userAttributesSetting( + com.oracle.bmc.identitydomains.model.UserAttributesSetting userAttributesSetting) { + this.userAttributesSetting = userAttributesSetting; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetUserAttributesSettingResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + userAttributesSetting(o.getUserAttributesSetting()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetUserAttributesSettingResponse build() { + return new GetUserAttributesSettingResponse( + __httpStatusCode__, headers, opcRequestId, userAttributesSetting); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",userAttributesSetting=").append(String.valueOf(userAttributesSetting)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetUserAttributesSettingResponse)) { + return false; + } + + GetUserAttributesSettingResponse other = (GetUserAttributesSettingResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals( + this.userAttributesSetting, other.userAttributesSetting); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = + (result * PRIME) + + (this.userAttributesSetting == null + ? 43 + : this.userAttributesSetting.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAccountMgmtInfosResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAccountMgmtInfosResponse.java new file mode 100644 index 00000000000..8f5b10b292a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAccountMgmtInfosResponse.java @@ -0,0 +1,223 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListAccountMgmtInfosResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned AccountMgmtInfos instance. */ + private com.oracle.bmc.identitydomains.model.AccountMgmtInfos accountMgmtInfos; + + /** + * The returned AccountMgmtInfos instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AccountMgmtInfos getAccountMgmtInfos() { + return accountMgmtInfos; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "accountMgmtInfos" + }) + private ListAccountMgmtInfosResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.AccountMgmtInfos accountMgmtInfos) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.accountMgmtInfos = accountMgmtInfos; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned AccountMgmtInfos instance. */ + private com.oracle.bmc.identitydomains.model.AccountMgmtInfos accountMgmtInfos; + + /** + * The returned AccountMgmtInfos instance. + * + * @param accountMgmtInfos the value to set + * @return this builder + */ + public Builder accountMgmtInfos( + com.oracle.bmc.identitydomains.model.AccountMgmtInfos accountMgmtInfos) { + this.accountMgmtInfos = accountMgmtInfos; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListAccountMgmtInfosResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + accountMgmtInfos(o.getAccountMgmtInfos()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListAccountMgmtInfosResponse build() { + return new ListAccountMgmtInfosResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, accountMgmtInfos); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",accountMgmtInfos=").append(String.valueOf(accountMgmtInfos)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListAccountMgmtInfosResponse)) { + return false; + } + + ListAccountMgmtInfosResponse other = (ListAccountMgmtInfosResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.accountMgmtInfos, other.accountMgmtInfos); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.accountMgmtInfos == null ? 43 : this.accountMgmtInfos.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAccountRecoverySettingsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAccountRecoverySettingsResponse.java new file mode 100644 index 00000000000..23c8aebdc64 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAccountRecoverySettingsResponse.java @@ -0,0 +1,234 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListAccountRecoverySettingsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned AccountRecoverySettings instance. */ + private com.oracle.bmc.identitydomains.model.AccountRecoverySettings accountRecoverySettings; + + /** + * The returned AccountRecoverySettings instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AccountRecoverySettings + getAccountRecoverySettings() { + return accountRecoverySettings; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "accountRecoverySettings" + }) + private ListAccountRecoverySettingsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.AccountRecoverySettings accountRecoverySettings) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.accountRecoverySettings = accountRecoverySettings; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ListAccountRecoverySettingsResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned AccountRecoverySettings instance. */ + private com.oracle.bmc.identitydomains.model.AccountRecoverySettings + accountRecoverySettings; + + /** + * The returned AccountRecoverySettings instance. + * + * @param accountRecoverySettings the value to set + * @return this builder + */ + public Builder accountRecoverySettings( + com.oracle.bmc.identitydomains.model.AccountRecoverySettings + accountRecoverySettings) { + this.accountRecoverySettings = accountRecoverySettings; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListAccountRecoverySettingsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + accountRecoverySettings(o.getAccountRecoverySettings()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListAccountRecoverySettingsResponse build() { + return new ListAccountRecoverySettingsResponse( + __httpStatusCode__, + headers, + opcRequestId, + opcNextPage, + accountRecoverySettings); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",accountRecoverySettings=").append(String.valueOf(accountRecoverySettings)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListAccountRecoverySettingsResponse)) { + return false; + } + + ListAccountRecoverySettingsResponse other = (ListAccountRecoverySettingsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals( + this.accountRecoverySettings, other.accountRecoverySettings); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.accountRecoverySettings == null + ? 43 + : this.accountRecoverySettings.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAppRolesResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAppRolesResponse.java new file mode 100644 index 00000000000..15e5f68e213 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAppRolesResponse.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListAppRolesResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned AppRoles instance. */ + private com.oracle.bmc.identitydomains.model.AppRoles appRoles; + + /** + * The returned AppRoles instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AppRoles getAppRoles() { + return appRoles; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "appRoles" + }) + private ListAppRolesResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.AppRoles appRoles) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.appRoles = appRoles; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned AppRoles instance. */ + private com.oracle.bmc.identitydomains.model.AppRoles appRoles; + + /** + * The returned AppRoles instance. + * + * @param appRoles the value to set + * @return this builder + */ + public Builder appRoles(com.oracle.bmc.identitydomains.model.AppRoles appRoles) { + this.appRoles = appRoles; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListAppRolesResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + appRoles(o.getAppRoles()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListAppRolesResponse build() { + return new ListAppRolesResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, appRoles); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",appRoles=").append(String.valueOf(appRoles)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListAppRolesResponse)) { + return false; + } + + ListAppRolesResponse other = (ListAppRolesResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.appRoles, other.appRoles); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.appRoles == null ? 43 : this.appRoles.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAppsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAppsResponse.java new file mode 100644 index 00000000000..be2d5e8ea2c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListAppsResponse.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListAppsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned Apps instance. */ + private com.oracle.bmc.identitydomains.model.Apps apps; + + /** + * The returned Apps instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.Apps getApps() { + return apps; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "apps" + }) + private ListAppsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.Apps apps) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.apps = apps; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned Apps instance. */ + private com.oracle.bmc.identitydomains.model.Apps apps; + + /** + * The returned Apps instance. + * + * @param apps the value to set + * @return this builder + */ + public Builder apps(com.oracle.bmc.identitydomains.model.Apps apps) { + this.apps = apps; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListAppsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + apps(o.getApps()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListAppsResponse build() { + return new ListAppsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, apps); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",apps=").append(String.valueOf(apps)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListAppsResponse)) { + return false; + } + + ListAppsResponse other = (ListAppsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.apps, other.apps); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.apps == null ? 43 : this.apps.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListGrantsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListGrantsResponse.java new file mode 100644 index 00000000000..c1ec2790be0 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListGrantsResponse.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListGrantsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned Grants instance. */ + private com.oracle.bmc.identitydomains.model.Grants grants; + + /** + * The returned Grants instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.Grants getGrants() { + return grants; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "grants" + }) + private ListGrantsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.Grants grants) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.grants = grants; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned Grants instance. */ + private com.oracle.bmc.identitydomains.model.Grants grants; + + /** + * The returned Grants instance. + * + * @param grants the value to set + * @return this builder + */ + public Builder grants(com.oracle.bmc.identitydomains.model.Grants grants) { + this.grants = grants; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListGrantsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + grants(o.getGrants()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListGrantsResponse build() { + return new ListGrantsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, grants); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",grants=").append(String.valueOf(grants)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListGrantsResponse)) { + return false; + } + + ListGrantsResponse other = (ListGrantsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.grants, other.grants); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.grants == null ? 43 : this.grants.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListIdentitySettingsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListIdentitySettingsResponse.java new file mode 100644 index 00000000000..b81a29f7f0c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListIdentitySettingsResponse.java @@ -0,0 +1,223 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListIdentitySettingsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned IdentitySettings instance. */ + private com.oracle.bmc.identitydomains.model.IdentitySettings identitySettings; + + /** + * The returned IdentitySettings instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.IdentitySettings getIdentitySettings() { + return identitySettings; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "identitySettings" + }) + private ListIdentitySettingsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.IdentitySettings identitySettings) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.identitySettings = identitySettings; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned IdentitySettings instance. */ + private com.oracle.bmc.identitydomains.model.IdentitySettings identitySettings; + + /** + * The returned IdentitySettings instance. + * + * @param identitySettings the value to set + * @return this builder + */ + public Builder identitySettings( + com.oracle.bmc.identitydomains.model.IdentitySettings identitySettings) { + this.identitySettings = identitySettings; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListIdentitySettingsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + identitySettings(o.getIdentitySettings()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListIdentitySettingsResponse build() { + return new ListIdentitySettingsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, identitySettings); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",identitySettings=").append(String.valueOf(identitySettings)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListIdentitySettingsResponse)) { + return false; + } + + ListIdentitySettingsResponse other = (ListIdentitySettingsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.identitySettings, other.identitySettings); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.identitySettings == null ? 43 : this.identitySettings.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListMyAppsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListMyAppsResponse.java new file mode 100644 index 00000000000..65fe2b49cfb --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListMyAppsResponse.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListMyAppsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned MyApps instance. */ + private com.oracle.bmc.identitydomains.model.MyApps myApps; + + /** + * The returned MyApps instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.MyApps getMyApps() { + return myApps; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "myApps" + }) + private ListMyAppsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.MyApps myApps) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.myApps = myApps; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned MyApps instance. */ + private com.oracle.bmc.identitydomains.model.MyApps myApps; + + /** + * The returned MyApps instance. + * + * @param myApps the value to set + * @return this builder + */ + public Builder myApps(com.oracle.bmc.identitydomains.model.MyApps myApps) { + this.myApps = myApps; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListMyAppsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + myApps(o.getMyApps()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListMyAppsResponse build() { + return new ListMyAppsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, myApps); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",myApps=").append(String.valueOf(myApps)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListMyAppsResponse)) { + return false; + } + + ListMyAppsResponse other = (ListMyAppsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.myApps, other.myApps); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.myApps == null ? 43 : this.myApps.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListMyRequestableGroupsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListMyRequestableGroupsResponse.java new file mode 100644 index 00000000000..ffe3d4f027c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListMyRequestableGroupsResponse.java @@ -0,0 +1,226 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListMyRequestableGroupsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned MyRequestableGroups instance. */ + private com.oracle.bmc.identitydomains.model.MyRequestableGroups myRequestableGroups; + + /** + * The returned MyRequestableGroups instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.MyRequestableGroups getMyRequestableGroups() { + return myRequestableGroups; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "myRequestableGroups" + }) + private ListMyRequestableGroupsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.MyRequestableGroups myRequestableGroups) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.myRequestableGroups = myRequestableGroups; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ListMyRequestableGroupsResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned MyRequestableGroups instance. */ + private com.oracle.bmc.identitydomains.model.MyRequestableGroups myRequestableGroups; + + /** + * The returned MyRequestableGroups instance. + * + * @param myRequestableGroups the value to set + * @return this builder + */ + public Builder myRequestableGroups( + com.oracle.bmc.identitydomains.model.MyRequestableGroups myRequestableGroups) { + this.myRequestableGroups = myRequestableGroups; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListMyRequestableGroupsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + myRequestableGroups(o.getMyRequestableGroups()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListMyRequestableGroupsResponse build() { + return new ListMyRequestableGroupsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, myRequestableGroups); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",myRequestableGroups=").append(String.valueOf(myRequestableGroups)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListMyRequestableGroupsResponse)) { + return false; + } + + ListMyRequestableGroupsResponse other = (ListMyRequestableGroupsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.myRequestableGroups, other.myRequestableGroups); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.myRequestableGroups == null + ? 43 + : this.myRequestableGroups.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListMyRequestsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListMyRequestsResponse.java new file mode 100644 index 00000000000..15996a5754d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListMyRequestsResponse.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListMyRequestsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned MyRequests instance. */ + private com.oracle.bmc.identitydomains.model.MyRequests myRequests; + + /** + * The returned MyRequests instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.MyRequests getMyRequests() { + return myRequests; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "myRequests" + }) + private ListMyRequestsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.MyRequests myRequests) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.myRequests = myRequests; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned MyRequests instance. */ + private com.oracle.bmc.identitydomains.model.MyRequests myRequests; + + /** + * The returned MyRequests instance. + * + * @param myRequests the value to set + * @return this builder + */ + public Builder myRequests(com.oracle.bmc.identitydomains.model.MyRequests myRequests) { + this.myRequests = myRequests; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListMyRequestsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + myRequests(o.getMyRequests()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListMyRequestsResponse build() { + return new ListMyRequestsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, myRequests); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",myRequests=").append(String.valueOf(myRequests)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListMyRequestsResponse)) { + return false; + } + + ListMyRequestsResponse other = (ListMyRequestsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.myRequests, other.myRequests); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.myRequests == null ? 43 : this.myRequests.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListResourceTypeSchemaAttributesResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListResourceTypeSchemaAttributesResponse.java new file mode 100644 index 00000000000..977b2cff38c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListResourceTypeSchemaAttributesResponse.java @@ -0,0 +1,238 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListResourceTypeSchemaAttributesResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned ResourceTypeSchemaAttributes instance. */ + private com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes + resourceTypeSchemaAttributes; + + /** + * The returned ResourceTypeSchemaAttributes instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes + getResourceTypeSchemaAttributes() { + return resourceTypeSchemaAttributes; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "resourceTypeSchemaAttributes" + }) + private ListResourceTypeSchemaAttributesResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes + resourceTypeSchemaAttributes) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.resourceTypeSchemaAttributes = resourceTypeSchemaAttributes; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ListResourceTypeSchemaAttributesResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned ResourceTypeSchemaAttributes instance. */ + private com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes + resourceTypeSchemaAttributes; + + /** + * The returned ResourceTypeSchemaAttributes instance. + * + * @param resourceTypeSchemaAttributes the value to set + * @return this builder + */ + public Builder resourceTypeSchemaAttributes( + com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes + resourceTypeSchemaAttributes) { + this.resourceTypeSchemaAttributes = resourceTypeSchemaAttributes; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListResourceTypeSchemaAttributesResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + resourceTypeSchemaAttributes(o.getResourceTypeSchemaAttributes()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListResourceTypeSchemaAttributesResponse build() { + return new ListResourceTypeSchemaAttributesResponse( + __httpStatusCode__, + headers, + opcRequestId, + opcNextPage, + resourceTypeSchemaAttributes); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",resourceTypeSchemaAttributes=") + .append(String.valueOf(resourceTypeSchemaAttributes)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListResourceTypeSchemaAttributesResponse)) { + return false; + } + + ListResourceTypeSchemaAttributesResponse other = + (ListResourceTypeSchemaAttributesResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals( + this.resourceTypeSchemaAttributes, other.resourceTypeSchemaAttributes); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaAttributes == null + ? 43 + : this.resourceTypeSchemaAttributes.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListSecurityQuestionSettingsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListSecurityQuestionSettingsResponse.java new file mode 100644 index 00000000000..1a3daf209ed --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListSecurityQuestionSettingsResponse.java @@ -0,0 +1,235 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListSecurityQuestionSettingsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned SecurityQuestionSettings instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSettings securityQuestionSettings; + + /** + * The returned SecurityQuestionSettings instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.SecurityQuestionSettings + getSecurityQuestionSettings() { + return securityQuestionSettings; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "securityQuestionSettings" + }) + private ListSecurityQuestionSettingsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.SecurityQuestionSettings + securityQuestionSettings) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.securityQuestionSettings = securityQuestionSettings; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ListSecurityQuestionSettingsResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned SecurityQuestionSettings instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSettings + securityQuestionSettings; + + /** + * The returned SecurityQuestionSettings instance. + * + * @param securityQuestionSettings the value to set + * @return this builder + */ + public Builder securityQuestionSettings( + com.oracle.bmc.identitydomains.model.SecurityQuestionSettings + securityQuestionSettings) { + this.securityQuestionSettings = securityQuestionSettings; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListSecurityQuestionSettingsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + securityQuestionSettings(o.getSecurityQuestionSettings()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListSecurityQuestionSettingsResponse build() { + return new ListSecurityQuestionSettingsResponse( + __httpStatusCode__, + headers, + opcRequestId, + opcNextPage, + securityQuestionSettings); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",securityQuestionSettings=").append(String.valueOf(securityQuestionSettings)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListSecurityQuestionSettingsResponse)) { + return false; + } + + ListSecurityQuestionSettingsResponse other = (ListSecurityQuestionSettingsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals( + this.securityQuestionSettings, other.securityQuestionSettings); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.securityQuestionSettings == null + ? 43 + : this.securityQuestionSettings.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListSecurityQuestionsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListSecurityQuestionsResponse.java new file mode 100644 index 00000000000..fd04694b516 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListSecurityQuestionsResponse.java @@ -0,0 +1,223 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListSecurityQuestionsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned SecurityQuestions instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestions securityQuestions; + + /** + * The returned SecurityQuestions instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.SecurityQuestions getSecurityQuestions() { + return securityQuestions; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "securityQuestions" + }) + private ListSecurityQuestionsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.SecurityQuestions securityQuestions) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.securityQuestions = securityQuestions; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned SecurityQuestions instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestions securityQuestions; + + /** + * The returned SecurityQuestions instance. + * + * @param securityQuestions the value to set + * @return this builder + */ + public Builder securityQuestions( + com.oracle.bmc.identitydomains.model.SecurityQuestions securityQuestions) { + this.securityQuestions = securityQuestions; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListSecurityQuestionsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + securityQuestions(o.getSecurityQuestions()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListSecurityQuestionsResponse build() { + return new ListSecurityQuestionsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, securityQuestions); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",securityQuestions=").append(String.valueOf(securityQuestions)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListSecurityQuestionsResponse)) { + return false; + } + + ListSecurityQuestionsResponse other = (ListSecurityQuestionsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.securityQuestions, other.securityQuestions); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.securityQuestions == null ? 43 : this.securityQuestions.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListUserAttributesSettingsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListUserAttributesSettingsResponse.java new file mode 100644 index 00000000000..d8e7aa3ebd3 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListUserAttributesSettingsResponse.java @@ -0,0 +1,228 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListUserAttributesSettingsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned UserAttributesSettings instance. */ + private com.oracle.bmc.identitydomains.model.UserAttributesSettings userAttributesSettings; + + /** + * The returned UserAttributesSettings instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.UserAttributesSettings getUserAttributesSettings() { + return userAttributesSettings; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "userAttributesSettings" + }) + private ListUserAttributesSettingsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.UserAttributesSettings userAttributesSettings) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.userAttributesSettings = userAttributesSettings; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ListUserAttributesSettingsResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned UserAttributesSettings instance. */ + private com.oracle.bmc.identitydomains.model.UserAttributesSettings userAttributesSettings; + + /** + * The returned UserAttributesSettings instance. + * + * @param userAttributesSettings the value to set + * @return this builder + */ + public Builder userAttributesSettings( + com.oracle.bmc.identitydomains.model.UserAttributesSettings + userAttributesSettings) { + this.userAttributesSettings = userAttributesSettings; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListUserAttributesSettingsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + userAttributesSettings(o.getUserAttributesSettings()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListUserAttributesSettingsResponse build() { + return new ListUserAttributesSettingsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, userAttributesSettings); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",userAttributesSettings=").append(String.valueOf(userAttributesSettings)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListUserAttributesSettingsResponse)) { + return false; + } + + ListUserAttributesSettingsResponse other = (ListUserAttributesSettingsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals( + this.userAttributesSettings, other.userAttributesSettings); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.userAttributesSettings == null + ? 43 + : this.userAttributesSettings.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchAccountRecoverySettingResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchAccountRecoverySettingResponse.java new file mode 100644 index 00000000000..ea2a33b80fc --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchAccountRecoverySettingResponse.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchAccountRecoverySettingResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned AccountRecoverySetting instance. */ + private com.oracle.bmc.identitydomains.model.AccountRecoverySetting accountRecoverySetting; + + /** + * The returned AccountRecoverySetting instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AccountRecoverySetting getAccountRecoverySetting() { + return accountRecoverySetting; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "accountRecoverySetting" + }) + private PatchAccountRecoverySettingResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.AccountRecoverySetting accountRecoverySetting) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.accountRecoverySetting = accountRecoverySetting; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + PatchAccountRecoverySettingResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned AccountRecoverySetting instance. */ + private com.oracle.bmc.identitydomains.model.AccountRecoverySetting accountRecoverySetting; + + /** + * The returned AccountRecoverySetting instance. + * + * @param accountRecoverySetting the value to set + * @return this builder + */ + public Builder accountRecoverySetting( + com.oracle.bmc.identitydomains.model.AccountRecoverySetting + accountRecoverySetting) { + this.accountRecoverySetting = accountRecoverySetting; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PatchAccountRecoverySettingResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + accountRecoverySetting(o.getAccountRecoverySetting()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PatchAccountRecoverySettingResponse build() { + return new PatchAccountRecoverySettingResponse( + __httpStatusCode__, headers, opcRequestId, etag, accountRecoverySetting); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",accountRecoverySetting=").append(String.valueOf(accountRecoverySetting)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchAccountRecoverySettingResponse)) { + return false; + } + + PatchAccountRecoverySettingResponse other = (PatchAccountRecoverySettingResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals( + this.accountRecoverySetting, other.accountRecoverySetting); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = + (result * PRIME) + + (this.accountRecoverySetting == null + ? 43 + : this.accountRecoverySetting.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchAppResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchAppResponse.java new file mode 100644 index 00000000000..05138e922d8 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchAppResponse.java @@ -0,0 +1,207 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchAppResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned App instance. */ + private com.oracle.bmc.identitydomains.model.App app; + + /** + * The returned App instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.App getApp() { + return app; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "app" + }) + private PatchAppResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.App app) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.app = app; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned App instance. */ + private com.oracle.bmc.identitydomains.model.App app; + + /** + * The returned App instance. + * + * @param app the value to set + * @return this builder + */ + public Builder app(com.oracle.bmc.identitydomains.model.App app) { + this.app = app; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PatchAppResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + app(o.getApp()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PatchAppResponse build() { + return new PatchAppResponse(__httpStatusCode__, headers, opcRequestId, etag, app); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",app=").append(String.valueOf(app)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchAppResponse)) { + return false; + } + + PatchAppResponse other = (PatchAppResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.app, other.app); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.app == null ? 43 : this.app.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchAppRoleResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchAppRoleResponse.java new file mode 100644 index 00000000000..c8e57c0ba78 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchAppRoleResponse.java @@ -0,0 +1,208 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchAppRoleResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned AppRole instance. */ + private com.oracle.bmc.identitydomains.model.AppRole appRole; + + /** + * The returned AppRole instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AppRole getAppRole() { + return appRole; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "appRole" + }) + private PatchAppRoleResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.AppRole appRole) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.appRole = appRole; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned AppRole instance. */ + private com.oracle.bmc.identitydomains.model.AppRole appRole; + + /** + * The returned AppRole instance. + * + * @param appRole the value to set + * @return this builder + */ + public Builder appRole(com.oracle.bmc.identitydomains.model.AppRole appRole) { + this.appRole = appRole; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PatchAppRoleResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + appRole(o.getAppRole()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PatchAppRoleResponse build() { + return new PatchAppRoleResponse( + __httpStatusCode__, headers, opcRequestId, etag, appRole); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",appRole=").append(String.valueOf(appRole)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchAppRoleResponse)) { + return false; + } + + PatchAppRoleResponse other = (PatchAppRoleResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.appRole, other.appRole); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.appRole == null ? 43 : this.appRole.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchGrantResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchGrantResponse.java new file mode 100644 index 00000000000..04c713bb95d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchGrantResponse.java @@ -0,0 +1,207 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchGrantResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned Grant instance. */ + private com.oracle.bmc.identitydomains.model.Grant grant; + + /** + * The returned Grant instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.Grant getGrant() { + return grant; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "grant" + }) + private PatchGrantResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.Grant grant) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.grant = grant; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned Grant instance. */ + private com.oracle.bmc.identitydomains.model.Grant grant; + + /** + * The returned Grant instance. + * + * @param grant the value to set + * @return this builder + */ + public Builder grant(com.oracle.bmc.identitydomains.model.Grant grant) { + this.grant = grant; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PatchGrantResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + grant(o.getGrant()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PatchGrantResponse build() { + return new PatchGrantResponse(__httpStatusCode__, headers, opcRequestId, etag, grant); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",grant=").append(String.valueOf(grant)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchGrantResponse)) { + return false; + } + + PatchGrantResponse other = (PatchGrantResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.grant, other.grant); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.grant == null ? 43 : this.grant.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchIdentitySettingResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchIdentitySettingResponse.java new file mode 100644 index 00000000000..5b805865bd0 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchIdentitySettingResponse.java @@ -0,0 +1,211 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchIdentitySettingResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned IdentitySetting instance. */ + private com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting; + + /** + * The returned IdentitySetting instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.IdentitySetting getIdentitySetting() { + return identitySetting; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "identitySetting" + }) + private PatchIdentitySettingResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.identitySetting = identitySetting; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned IdentitySetting instance. */ + private com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting; + + /** + * The returned IdentitySetting instance. + * + * @param identitySetting the value to set + * @return this builder + */ + public Builder identitySetting( + com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting) { + this.identitySetting = identitySetting; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PatchIdentitySettingResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + identitySetting(o.getIdentitySetting()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PatchIdentitySettingResponse build() { + return new PatchIdentitySettingResponse( + __httpStatusCode__, headers, opcRequestId, etag, identitySetting); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",identitySetting=").append(String.valueOf(identitySetting)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchIdentitySettingResponse)) { + return false; + } + + PatchIdentitySettingResponse other = (PatchIdentitySettingResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.identitySetting, other.identitySetting); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = + (result * PRIME) + + (this.identitySetting == null ? 43 : this.identitySetting.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchSecurityQuestionResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchSecurityQuestionResponse.java new file mode 100644 index 00000000000..f66514c9185 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchSecurityQuestionResponse.java @@ -0,0 +1,211 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchSecurityQuestionResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned SecurityQuestion instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion; + + /** + * The returned SecurityQuestion instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.SecurityQuestion getSecurityQuestion() { + return securityQuestion; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "securityQuestion" + }) + private PatchSecurityQuestionResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.securityQuestion = securityQuestion; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned SecurityQuestion instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion; + + /** + * The returned SecurityQuestion instance. + * + * @param securityQuestion the value to set + * @return this builder + */ + public Builder securityQuestion( + com.oracle.bmc.identitydomains.model.SecurityQuestion securityQuestion) { + this.securityQuestion = securityQuestion; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PatchSecurityQuestionResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + securityQuestion(o.getSecurityQuestion()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PatchSecurityQuestionResponse build() { + return new PatchSecurityQuestionResponse( + __httpStatusCode__, headers, opcRequestId, etag, securityQuestion); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",securityQuestion=").append(String.valueOf(securityQuestion)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchSecurityQuestionResponse)) { + return false; + } + + PatchSecurityQuestionResponse other = (PatchSecurityQuestionResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.securityQuestion, other.securityQuestion); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = + (result * PRIME) + + (this.securityQuestion == null ? 43 : this.securityQuestion.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchSecurityQuestionSettingResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchSecurityQuestionSettingResponse.java new file mode 100644 index 00000000000..1210c387551 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchSecurityQuestionSettingResponse.java @@ -0,0 +1,218 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchSecurityQuestionSettingResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned SecurityQuestionSetting instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSetting securityQuestionSetting; + + /** + * The returned SecurityQuestionSetting instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.SecurityQuestionSetting + getSecurityQuestionSetting() { + return securityQuestionSetting; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "securityQuestionSetting" + }) + private PatchSecurityQuestionSettingResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting securityQuestionSetting) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.securityQuestionSetting = securityQuestionSetting; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + PatchSecurityQuestionSettingResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned SecurityQuestionSetting instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSetting + securityQuestionSetting; + + /** + * The returned SecurityQuestionSetting instance. + * + * @param securityQuestionSetting the value to set + * @return this builder + */ + public Builder securityQuestionSetting( + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting + securityQuestionSetting) { + this.securityQuestionSetting = securityQuestionSetting; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PatchSecurityQuestionSettingResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + securityQuestionSetting(o.getSecurityQuestionSetting()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PatchSecurityQuestionSettingResponse build() { + return new PatchSecurityQuestionSettingResponse( + __httpStatusCode__, headers, opcRequestId, etag, securityQuestionSetting); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",securityQuestionSetting=").append(String.valueOf(securityQuestionSetting)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchSecurityQuestionSettingResponse)) { + return false; + } + + PatchSecurityQuestionSettingResponse other = (PatchSecurityQuestionSettingResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals( + this.securityQuestionSetting, other.securityQuestionSetting); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = + (result * PRIME) + + (this.securityQuestionSetting == null + ? 43 + : this.securityQuestionSetting.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchUserAttributesSettingResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchUserAttributesSettingResponse.java new file mode 100644 index 00000000000..046c766eb1c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PatchUserAttributesSettingResponse.java @@ -0,0 +1,215 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PatchUserAttributesSettingResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned UserAttributesSetting instance. */ + private com.oracle.bmc.identitydomains.model.UserAttributesSetting userAttributesSetting; + + /** + * The returned UserAttributesSetting instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.UserAttributesSetting getUserAttributesSetting() { + return userAttributesSetting; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "userAttributesSetting" + }) + private PatchUserAttributesSettingResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.UserAttributesSetting userAttributesSetting) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.userAttributesSetting = userAttributesSetting; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + PatchUserAttributesSettingResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned UserAttributesSetting instance. */ + private com.oracle.bmc.identitydomains.model.UserAttributesSetting userAttributesSetting; + + /** + * The returned UserAttributesSetting instance. + * + * @param userAttributesSetting the value to set + * @return this builder + */ + public Builder userAttributesSetting( + com.oracle.bmc.identitydomains.model.UserAttributesSetting userAttributesSetting) { + this.userAttributesSetting = userAttributesSetting; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PatchUserAttributesSettingResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + userAttributesSetting(o.getUserAttributesSetting()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PatchUserAttributesSettingResponse build() { + return new PatchUserAttributesSettingResponse( + __httpStatusCode__, headers, opcRequestId, etag, userAttributesSetting); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",userAttributesSetting=").append(String.valueOf(userAttributesSetting)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PatchUserAttributesSettingResponse)) { + return false; + } + + PatchUserAttributesSettingResponse other = (PatchUserAttributesSettingResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals( + this.userAttributesSetting, other.userAttributesSetting); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = + (result * PRIME) + + (this.userAttributesSetting == null + ? 43 + : this.userAttributesSetting.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutAccountRecoverySettingResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutAccountRecoverySettingResponse.java new file mode 100644 index 00000000000..e8609d8eb0c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutAccountRecoverySettingResponse.java @@ -0,0 +1,216 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PutAccountRecoverySettingResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned AccountRecoverySetting instance. */ + private com.oracle.bmc.identitydomains.model.AccountRecoverySetting accountRecoverySetting; + + /** + * The returned AccountRecoverySetting instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AccountRecoverySetting getAccountRecoverySetting() { + return accountRecoverySetting; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "accountRecoverySetting" + }) + private PutAccountRecoverySettingResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.AccountRecoverySetting accountRecoverySetting) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.accountRecoverySetting = accountRecoverySetting; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + PutAccountRecoverySettingResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned AccountRecoverySetting instance. */ + private com.oracle.bmc.identitydomains.model.AccountRecoverySetting accountRecoverySetting; + + /** + * The returned AccountRecoverySetting instance. + * + * @param accountRecoverySetting the value to set + * @return this builder + */ + public Builder accountRecoverySetting( + com.oracle.bmc.identitydomains.model.AccountRecoverySetting + accountRecoverySetting) { + this.accountRecoverySetting = accountRecoverySetting; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PutAccountRecoverySettingResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + accountRecoverySetting(o.getAccountRecoverySetting()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PutAccountRecoverySettingResponse build() { + return new PutAccountRecoverySettingResponse( + __httpStatusCode__, headers, opcRequestId, etag, accountRecoverySetting); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",accountRecoverySetting=").append(String.valueOf(accountRecoverySetting)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PutAccountRecoverySettingResponse)) { + return false; + } + + PutAccountRecoverySettingResponse other = (PutAccountRecoverySettingResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals( + this.accountRecoverySetting, other.accountRecoverySetting); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = + (result * PRIME) + + (this.accountRecoverySetting == null + ? 43 + : this.accountRecoverySetting.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutAppResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutAppResponse.java new file mode 100644 index 00000000000..89f023dcad5 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutAppResponse.java @@ -0,0 +1,207 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PutAppResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned App instance. */ + private com.oracle.bmc.identitydomains.model.App app; + + /** + * The returned App instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.App getApp() { + return app; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "app" + }) + private PutAppResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.App app) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.app = app; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned App instance. */ + private com.oracle.bmc.identitydomains.model.App app; + + /** + * The returned App instance. + * + * @param app the value to set + * @return this builder + */ + public Builder app(com.oracle.bmc.identitydomains.model.App app) { + this.app = app; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PutAppResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + app(o.getApp()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PutAppResponse build() { + return new PutAppResponse(__httpStatusCode__, headers, opcRequestId, etag, app); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",app=").append(String.valueOf(app)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PutAppResponse)) { + return false; + } + + PutAppResponse other = (PutAppResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.app, other.app); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = (result * PRIME) + (this.app == null ? 43 : this.app.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutAppStatusChangerResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutAppStatusChangerResponse.java new file mode 100644 index 00000000000..6abf09fca3e --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutAppStatusChangerResponse.java @@ -0,0 +1,211 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PutAppStatusChangerResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned AppStatusChanger instance. */ + private com.oracle.bmc.identitydomains.model.AppStatusChanger appStatusChanger; + + /** + * The returned AppStatusChanger instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AppStatusChanger getAppStatusChanger() { + return appStatusChanger; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "appStatusChanger" + }) + private PutAppStatusChangerResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.AppStatusChanger appStatusChanger) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.appStatusChanger = appStatusChanger; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned AppStatusChanger instance. */ + private com.oracle.bmc.identitydomains.model.AppStatusChanger appStatusChanger; + + /** + * The returned AppStatusChanger instance. + * + * @param appStatusChanger the value to set + * @return this builder + */ + public Builder appStatusChanger( + com.oracle.bmc.identitydomains.model.AppStatusChanger appStatusChanger) { + this.appStatusChanger = appStatusChanger; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PutAppStatusChangerResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + appStatusChanger(o.getAppStatusChanger()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PutAppStatusChangerResponse build() { + return new PutAppStatusChangerResponse( + __httpStatusCode__, headers, opcRequestId, etag, appStatusChanger); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",appStatusChanger=").append(String.valueOf(appStatusChanger)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PutAppStatusChangerResponse)) { + return false; + } + + PutAppStatusChangerResponse other = (PutAppStatusChangerResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.appStatusChanger, other.appStatusChanger); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = + (result * PRIME) + + (this.appStatusChanger == null ? 43 : this.appStatusChanger.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutIdentitySettingResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutIdentitySettingResponse.java new file mode 100644 index 00000000000..87499673b1c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutIdentitySettingResponse.java @@ -0,0 +1,211 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PutIdentitySettingResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned IdentitySetting instance. */ + private com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting; + + /** + * The returned IdentitySetting instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.IdentitySetting getIdentitySetting() { + return identitySetting; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "identitySetting" + }) + private PutIdentitySettingResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.identitySetting = identitySetting; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned IdentitySetting instance. */ + private com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting; + + /** + * The returned IdentitySetting instance. + * + * @param identitySetting the value to set + * @return this builder + */ + public Builder identitySetting( + com.oracle.bmc.identitydomains.model.IdentitySetting identitySetting) { + this.identitySetting = identitySetting; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PutIdentitySettingResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + identitySetting(o.getIdentitySetting()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PutIdentitySettingResponse build() { + return new PutIdentitySettingResponse( + __httpStatusCode__, headers, opcRequestId, etag, identitySetting); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",identitySetting=").append(String.valueOf(identitySetting)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PutIdentitySettingResponse)) { + return false; + } + + PutIdentitySettingResponse other = (PutIdentitySettingResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals(this.identitySetting, other.identitySetting); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = + (result * PRIME) + + (this.identitySetting == null ? 43 : this.identitySetting.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutSecurityQuestionSettingResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutSecurityQuestionSettingResponse.java new file mode 100644 index 00000000000..11d770aff38 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/PutSecurityQuestionSettingResponse.java @@ -0,0 +1,218 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class PutSecurityQuestionSettingResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @return the value + */ + public String getEtag() { + return etag; + } + + /** The returned SecurityQuestionSetting instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSetting securityQuestionSetting; + + /** + * The returned SecurityQuestionSetting instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.SecurityQuestionSetting + getSecurityQuestionSetting() { + return securityQuestionSetting; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "securityQuestionSetting" + }) + private PutSecurityQuestionSettingResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting securityQuestionSetting) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.securityQuestionSetting = securityQuestionSetting; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + PutSecurityQuestionSettingResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** For optimistic concurrency control. See {@code if-match}. */ + private String etag; + + /** + * For optimistic concurrency control. See {@code if-match}. + * + * @param etag the value to set + * @return this builder + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** The returned SecurityQuestionSetting instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSetting + securityQuestionSetting; + + /** + * The returned SecurityQuestionSetting instance. + * + * @param securityQuestionSetting the value to set + * @return this builder + */ + public Builder securityQuestionSetting( + com.oracle.bmc.identitydomains.model.SecurityQuestionSetting + securityQuestionSetting) { + this.securityQuestionSetting = securityQuestionSetting; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(PutSecurityQuestionSettingResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + securityQuestionSetting(o.getSecurityQuestionSetting()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public PutSecurityQuestionSettingResponse build() { + return new PutSecurityQuestionSettingResponse( + __httpStatusCode__, headers, opcRequestId, etag, securityQuestionSetting); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",etag=").append(String.valueOf(etag)); + sb.append(",securityQuestionSetting=").append(String.valueOf(securityQuestionSetting)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PutSecurityQuestionSettingResponse)) { + return false; + } + + PutSecurityQuestionSettingResponse other = (PutSecurityQuestionSettingResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.etag, other.etag) + && java.util.Objects.equals( + this.securityQuestionSetting, other.securityQuestionSetting); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.etag == null ? 43 : this.etag.hashCode()); + result = + (result * PRIME) + + (this.securityQuestionSetting == null + ? 43 + : this.securityQuestionSetting.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchAccountMgmtInfosResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchAccountMgmtInfosResponse.java new file mode 100644 index 00000000000..ae6368a815a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchAccountMgmtInfosResponse.java @@ -0,0 +1,224 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchAccountMgmtInfosResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned AccountMgmtInfos instance. */ + private com.oracle.bmc.identitydomains.model.AccountMgmtInfos accountMgmtInfos; + + /** + * The returned AccountMgmtInfos instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AccountMgmtInfos getAccountMgmtInfos() { + return accountMgmtInfos; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "accountMgmtInfos" + }) + private SearchAccountMgmtInfosResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.AccountMgmtInfos accountMgmtInfos) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.accountMgmtInfos = accountMgmtInfos; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + SearchAccountMgmtInfosResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned AccountMgmtInfos instance. */ + private com.oracle.bmc.identitydomains.model.AccountMgmtInfos accountMgmtInfos; + + /** + * The returned AccountMgmtInfos instance. + * + * @param accountMgmtInfos the value to set + * @return this builder + */ + public Builder accountMgmtInfos( + com.oracle.bmc.identitydomains.model.AccountMgmtInfos accountMgmtInfos) { + this.accountMgmtInfos = accountMgmtInfos; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchAccountMgmtInfosResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + accountMgmtInfos(o.getAccountMgmtInfos()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchAccountMgmtInfosResponse build() { + return new SearchAccountMgmtInfosResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, accountMgmtInfos); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",accountMgmtInfos=").append(String.valueOf(accountMgmtInfos)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchAccountMgmtInfosResponse)) { + return false; + } + + SearchAccountMgmtInfosResponse other = (SearchAccountMgmtInfosResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.accountMgmtInfos, other.accountMgmtInfos); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.accountMgmtInfos == null ? 43 : this.accountMgmtInfos.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchAppRolesResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchAppRolesResponse.java new file mode 100644 index 00000000000..b7f34305f2a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchAppRolesResponse.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchAppRolesResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned AppRoles instance. */ + private com.oracle.bmc.identitydomains.model.AppRoles appRoles; + + /** + * The returned AppRoles instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.AppRoles getAppRoles() { + return appRoles; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "appRoles" + }) + private SearchAppRolesResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.AppRoles appRoles) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.appRoles = appRoles; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned AppRoles instance. */ + private com.oracle.bmc.identitydomains.model.AppRoles appRoles; + + /** + * The returned AppRoles instance. + * + * @param appRoles the value to set + * @return this builder + */ + public Builder appRoles(com.oracle.bmc.identitydomains.model.AppRoles appRoles) { + this.appRoles = appRoles; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchAppRolesResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + appRoles(o.getAppRoles()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchAppRolesResponse build() { + return new SearchAppRolesResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, appRoles); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",appRoles=").append(String.valueOf(appRoles)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchAppRolesResponse)) { + return false; + } + + SearchAppRolesResponse other = (SearchAppRolesResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.appRoles, other.appRoles); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.appRoles == null ? 43 : this.appRoles.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchAppsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchAppsResponse.java new file mode 100644 index 00000000000..206d43493c3 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchAppsResponse.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchAppsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned Apps instance. */ + private com.oracle.bmc.identitydomains.model.Apps apps; + + /** + * The returned Apps instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.Apps getApps() { + return apps; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "apps" + }) + private SearchAppsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.Apps apps) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.apps = apps; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned Apps instance. */ + private com.oracle.bmc.identitydomains.model.Apps apps; + + /** + * The returned Apps instance. + * + * @param apps the value to set + * @return this builder + */ + public Builder apps(com.oracle.bmc.identitydomains.model.Apps apps) { + this.apps = apps; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchAppsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + apps(o.getApps()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchAppsResponse build() { + return new SearchAppsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, apps); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",apps=").append(String.valueOf(apps)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchAppsResponse)) { + return false; + } + + SearchAppsResponse other = (SearchAppsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.apps, other.apps); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.apps == null ? 43 : this.apps.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchGrantsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchGrantsResponse.java new file mode 100644 index 00000000000..e3591bd7d34 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchGrantsResponse.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchGrantsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned Grants instance. */ + private com.oracle.bmc.identitydomains.model.Grants grants; + + /** + * The returned Grants instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.Grants getGrants() { + return grants; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "grants" + }) + private SearchGrantsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.Grants grants) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.grants = grants; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned Grants instance. */ + private com.oracle.bmc.identitydomains.model.Grants grants; + + /** + * The returned Grants instance. + * + * @param grants the value to set + * @return this builder + */ + public Builder grants(com.oracle.bmc.identitydomains.model.Grants grants) { + this.grants = grants; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchGrantsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + grants(o.getGrants()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchGrantsResponse build() { + return new SearchGrantsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, grants); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",grants=").append(String.valueOf(grants)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchGrantsResponse)) { + return false; + } + + SearchGrantsResponse other = (SearchGrantsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.grants, other.grants); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.grants == null ? 43 : this.grants.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchIdentitySettingsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchIdentitySettingsResponse.java new file mode 100644 index 00000000000..840206655a0 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchIdentitySettingsResponse.java @@ -0,0 +1,224 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchIdentitySettingsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned IdentitySettings instance. */ + private com.oracle.bmc.identitydomains.model.IdentitySettings identitySettings; + + /** + * The returned IdentitySettings instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.IdentitySettings getIdentitySettings() { + return identitySettings; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "identitySettings" + }) + private SearchIdentitySettingsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.IdentitySettings identitySettings) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.identitySettings = identitySettings; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + SearchIdentitySettingsResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned IdentitySettings instance. */ + private com.oracle.bmc.identitydomains.model.IdentitySettings identitySettings; + + /** + * The returned IdentitySettings instance. + * + * @param identitySettings the value to set + * @return this builder + */ + public Builder identitySettings( + com.oracle.bmc.identitydomains.model.IdentitySettings identitySettings) { + this.identitySettings = identitySettings; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchIdentitySettingsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + identitySettings(o.getIdentitySettings()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchIdentitySettingsResponse build() { + return new SearchIdentitySettingsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, identitySettings); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",identitySettings=").append(String.valueOf(identitySettings)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchIdentitySettingsResponse)) { + return false; + } + + SearchIdentitySettingsResponse other = (SearchIdentitySettingsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.identitySettings, other.identitySettings); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.identitySettings == null ? 43 : this.identitySettings.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchMyAppsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchMyAppsResponse.java new file mode 100644 index 00000000000..96f2352900c --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchMyAppsResponse.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchMyAppsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned MyApps instance. */ + private com.oracle.bmc.identitydomains.model.MyApps myApps; + + /** + * The returned MyApps instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.MyApps getMyApps() { + return myApps; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "myApps" + }) + private SearchMyAppsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.MyApps myApps) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.myApps = myApps; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned MyApps instance. */ + private com.oracle.bmc.identitydomains.model.MyApps myApps; + + /** + * The returned MyApps instance. + * + * @param myApps the value to set + * @return this builder + */ + public Builder myApps(com.oracle.bmc.identitydomains.model.MyApps myApps) { + this.myApps = myApps; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchMyAppsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + myApps(o.getMyApps()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchMyAppsResponse build() { + return new SearchMyAppsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, myApps); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",myApps=").append(String.valueOf(myApps)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchMyAppsResponse)) { + return false; + } + + SearchMyAppsResponse other = (SearchMyAppsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.myApps, other.myApps); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.myApps == null ? 43 : this.myApps.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchMyRequestableGroupsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchMyRequestableGroupsResponse.java new file mode 100644 index 00000000000..fc2a1935735 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchMyRequestableGroupsResponse.java @@ -0,0 +1,226 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchMyRequestableGroupsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned MyRequestableGroups instance. */ + private com.oracle.bmc.identitydomains.model.MyRequestableGroups myRequestableGroups; + + /** + * The returned MyRequestableGroups instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.MyRequestableGroups getMyRequestableGroups() { + return myRequestableGroups; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "myRequestableGroups" + }) + private SearchMyRequestableGroupsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.MyRequestableGroups myRequestableGroups) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.myRequestableGroups = myRequestableGroups; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + SearchMyRequestableGroupsResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned MyRequestableGroups instance. */ + private com.oracle.bmc.identitydomains.model.MyRequestableGroups myRequestableGroups; + + /** + * The returned MyRequestableGroups instance. + * + * @param myRequestableGroups the value to set + * @return this builder + */ + public Builder myRequestableGroups( + com.oracle.bmc.identitydomains.model.MyRequestableGroups myRequestableGroups) { + this.myRequestableGroups = myRequestableGroups; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchMyRequestableGroupsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + myRequestableGroups(o.getMyRequestableGroups()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchMyRequestableGroupsResponse build() { + return new SearchMyRequestableGroupsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, myRequestableGroups); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",myRequestableGroups=").append(String.valueOf(myRequestableGroups)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchMyRequestableGroupsResponse)) { + return false; + } + + SearchMyRequestableGroupsResponse other = (SearchMyRequestableGroupsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.myRequestableGroups, other.myRequestableGroups); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.myRequestableGroups == null + ? 43 + : this.myRequestableGroups.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchMyRequestsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchMyRequestsResponse.java new file mode 100644 index 00000000000..daadd4e3b11 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchMyRequestsResponse.java @@ -0,0 +1,220 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchMyRequestsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned MyRequests instance. */ + private com.oracle.bmc.identitydomains.model.MyRequests myRequests; + + /** + * The returned MyRequests instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.MyRequests getMyRequests() { + return myRequests; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "myRequests" + }) + private SearchMyRequestsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.MyRequests myRequests) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.myRequests = myRequests; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned MyRequests instance. */ + private com.oracle.bmc.identitydomains.model.MyRequests myRequests; + + /** + * The returned MyRequests instance. + * + * @param myRequests the value to set + * @return this builder + */ + public Builder myRequests(com.oracle.bmc.identitydomains.model.MyRequests myRequests) { + this.myRequests = myRequests; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchMyRequestsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + myRequests(o.getMyRequests()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchMyRequestsResponse build() { + return new SearchMyRequestsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, myRequests); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",myRequests=").append(String.valueOf(myRequests)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchMyRequestsResponse)) { + return false; + } + + SearchMyRequestsResponse other = (SearchMyRequestsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.myRequests, other.myRequests); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = (result * PRIME) + (this.myRequests == null ? 43 : this.myRequests.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchResourceTypeSchemaAttributesResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchResourceTypeSchemaAttributesResponse.java new file mode 100644 index 00000000000..a257cec6958 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchResourceTypeSchemaAttributesResponse.java @@ -0,0 +1,239 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchResourceTypeSchemaAttributesResponse + extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned ResourceTypeSchemaAttributes instance. */ + private com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes + resourceTypeSchemaAttributes; + + /** + * The returned ResourceTypeSchemaAttributes instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes + getResourceTypeSchemaAttributes() { + return resourceTypeSchemaAttributes; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "resourceTypeSchemaAttributes" + }) + private SearchResourceTypeSchemaAttributesResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes + resourceTypeSchemaAttributes) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.resourceTypeSchemaAttributes = resourceTypeSchemaAttributes; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + SearchResourceTypeSchemaAttributesResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned ResourceTypeSchemaAttributes instance. */ + private com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes + resourceTypeSchemaAttributes; + + /** + * The returned ResourceTypeSchemaAttributes instance. + * + * @param resourceTypeSchemaAttributes the value to set + * @return this builder + */ + public Builder resourceTypeSchemaAttributes( + com.oracle.bmc.identitydomains.model.ResourceTypeSchemaAttributes + resourceTypeSchemaAttributes) { + this.resourceTypeSchemaAttributes = resourceTypeSchemaAttributes; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchResourceTypeSchemaAttributesResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + resourceTypeSchemaAttributes(o.getResourceTypeSchemaAttributes()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchResourceTypeSchemaAttributesResponse build() { + return new SearchResourceTypeSchemaAttributesResponse( + __httpStatusCode__, + headers, + opcRequestId, + opcNextPage, + resourceTypeSchemaAttributes); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",resourceTypeSchemaAttributes=") + .append(String.valueOf(resourceTypeSchemaAttributes)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchResourceTypeSchemaAttributesResponse)) { + return false; + } + + SearchResourceTypeSchemaAttributesResponse other = + (SearchResourceTypeSchemaAttributesResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals( + this.resourceTypeSchemaAttributes, other.resourceTypeSchemaAttributes); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.resourceTypeSchemaAttributes == null + ? 43 + : this.resourceTypeSchemaAttributes.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchSecurityQuestionSettingsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchSecurityQuestionSettingsResponse.java new file mode 100644 index 00000000000..e2769b28e03 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchSecurityQuestionSettingsResponse.java @@ -0,0 +1,235 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchSecurityQuestionSettingsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned SecurityQuestionSettings instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSettings securityQuestionSettings; + + /** + * The returned SecurityQuestionSettings instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.SecurityQuestionSettings + getSecurityQuestionSettings() { + return securityQuestionSettings; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "securityQuestionSettings" + }) + private SearchSecurityQuestionSettingsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.SecurityQuestionSettings + securityQuestionSettings) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.securityQuestionSettings = securityQuestionSettings; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + SearchSecurityQuestionSettingsResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned SecurityQuestionSettings instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestionSettings + securityQuestionSettings; + + /** + * The returned SecurityQuestionSettings instance. + * + * @param securityQuestionSettings the value to set + * @return this builder + */ + public Builder securityQuestionSettings( + com.oracle.bmc.identitydomains.model.SecurityQuestionSettings + securityQuestionSettings) { + this.securityQuestionSettings = securityQuestionSettings; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchSecurityQuestionSettingsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + securityQuestionSettings(o.getSecurityQuestionSettings()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchSecurityQuestionSettingsResponse build() { + return new SearchSecurityQuestionSettingsResponse( + __httpStatusCode__, + headers, + opcRequestId, + opcNextPage, + securityQuestionSettings); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",securityQuestionSettings=").append(String.valueOf(securityQuestionSettings)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchSecurityQuestionSettingsResponse)) { + return false; + } + + SearchSecurityQuestionSettingsResponse other = (SearchSecurityQuestionSettingsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals( + this.securityQuestionSettings, other.securityQuestionSettings); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.securityQuestionSettings == null + ? 43 + : this.securityQuestionSettings.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchSecurityQuestionsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchSecurityQuestionsResponse.java new file mode 100644 index 00000000000..2c4ed6a0e48 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchSecurityQuestionsResponse.java @@ -0,0 +1,224 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchSecurityQuestionsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned SecurityQuestions instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestions securityQuestions; + + /** + * The returned SecurityQuestions instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.SecurityQuestions getSecurityQuestions() { + return securityQuestions; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "securityQuestions" + }) + private SearchSecurityQuestionsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.SecurityQuestions securityQuestions) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.securityQuestions = securityQuestions; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + SearchSecurityQuestionsResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned SecurityQuestions instance. */ + private com.oracle.bmc.identitydomains.model.SecurityQuestions securityQuestions; + + /** + * The returned SecurityQuestions instance. + * + * @param securityQuestions the value to set + * @return this builder + */ + public Builder securityQuestions( + com.oracle.bmc.identitydomains.model.SecurityQuestions securityQuestions) { + this.securityQuestions = securityQuestions; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchSecurityQuestionsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + securityQuestions(o.getSecurityQuestions()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchSecurityQuestionsResponse build() { + return new SearchSecurityQuestionsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, securityQuestions); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",securityQuestions=").append(String.valueOf(securityQuestions)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchSecurityQuestionsResponse)) { + return false; + } + + SearchSecurityQuestionsResponse other = (SearchSecurityQuestionsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals(this.securityQuestions, other.securityQuestions); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.securityQuestions == null ? 43 : this.securityQuestions.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchUserAttributesSettingsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchUserAttributesSettingsResponse.java new file mode 100644 index 00000000000..7c6fe36769d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchUserAttributesSettingsResponse.java @@ -0,0 +1,228 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.identitydomains.responses; + +import com.oracle.bmc.identitydomains.model.*; + +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchUserAttributesSettingsResponse extends com.oracle.bmc.responses.BmcResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @return the value + */ + public String getOpcRequestId() { + return opcRequestId; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in the + * response, then a partial list might have been returned. Include this value as the {@code + * page} parameter for the subsequent GET request to get the next batch of items. + * + * @return the value + */ + public String getOpcNextPage() { + return opcNextPage; + } + + /** The returned UserAttributesSettings instance. */ + private com.oracle.bmc.identitydomains.model.UserAttributesSettings userAttributesSettings; + + /** + * The returned UserAttributesSettings instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.UserAttributesSettings getUserAttributesSettings() { + return userAttributesSettings; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "userAttributesSettings" + }) + private SearchUserAttributesSettingsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.UserAttributesSettings userAttributesSettings) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.userAttributesSettings = userAttributesSettings; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + SearchUserAttributesSettingsResponse> { + private int __httpStatusCode__; + + @Override + public Builder __httpStatusCode__(int __httpStatusCode__) { + this.__httpStatusCode__ = __httpStatusCode__; + return this; + } + + private java.util.Map> headers; + + @Override + public Builder headers(java.util.Map> headers) { + this.headers = headers; + return this; + } + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + */ + private String opcRequestId; + + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please provide the request ID. + * + * @param opcRequestId the value to set + * @return this builder + */ + public Builder opcRequestId(String opcRequestId) { + this.opcRequestId = opcRequestId; + return this; + } + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + */ + private String opcNextPage; + + /** + * For pagination of a list of items. When paging through a list, if this header appears in + * the response, then a partial list might have been returned. Include this value as the + * {@code page} parameter for the subsequent GET request to get the next batch of items. + * + * @param opcNextPage the value to set + * @return this builder + */ + public Builder opcNextPage(String opcNextPage) { + this.opcNextPage = opcNextPage; + return this; + } + + /** The returned UserAttributesSettings instance. */ + private com.oracle.bmc.identitydomains.model.UserAttributesSettings userAttributesSettings; + + /** + * The returned UserAttributesSettings instance. + * + * @param userAttributesSettings the value to set + * @return this builder + */ + public Builder userAttributesSettings( + com.oracle.bmc.identitydomains.model.UserAttributesSettings + userAttributesSettings) { + this.userAttributesSettings = userAttributesSettings; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchUserAttributesSettingsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + userAttributesSettings(o.getUserAttributesSettings()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchUserAttributesSettingsResponse build() { + return new SearchUserAttributesSettingsResponse( + __httpStatusCode__, headers, opcRequestId, opcNextPage, userAttributesSettings); + } + } + + /** + * Return a new builder for this response object. + * + * @return builder for the response object + */ + public static Builder builder() { + return new Builder(); + } + + @Override + public String toString() { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("("); + sb.append("super=").append(super.toString()); + sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); + sb.append(",opcNextPage=").append(String.valueOf(opcNextPage)); + sb.append(",userAttributesSettings=").append(String.valueOf(userAttributesSettings)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchUserAttributesSettingsResponse)) { + return false; + } + + SearchUserAttributesSettingsResponse other = (SearchUserAttributesSettingsResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals(this.opcNextPage, other.opcNextPage) + && java.util.Objects.equals( + this.userAttributesSettings, other.userAttributesSettings); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); + result = (result * PRIME) + (this.opcNextPage == null ? 43 : this.opcNextPage.hashCode()); + result = + (result * PRIME) + + (this.userAttributesSettings == null + ? 43 + : this.userAttributesSettings.hashCode()); + return result; + } +} diff --git a/bmc-integration/pom.xml b/bmc-integration/pom.xml index 1590336f41d..9540702f650 100644 --- a/bmc-integration/pom.xml +++ b/bmc-integration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-integration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-jms/pom.xml b/bmc-jms/pom.xml index 37543203a69..d78f0fa11ef 100644 --- a/bmc-jms/pom.xml +++ b/bmc-jms/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-jms @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-keymanagement/pom.xml b/bmc-keymanagement/pom.xml index 0c5cd43373c..4d5b2d14673 100644 --- a/bmc-keymanagement/pom.xml +++ b/bmc-keymanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-keymanagement @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-licensemanager/pom.xml b/bmc-licensemanager/pom.xml index 186cd84ba92..9487dbd4398 100644 --- a/bmc-licensemanager/pom.xml +++ b/bmc-licensemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-licensemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-limits/pom.xml b/bmc-limits/pom.xml index 056e294a5a1..5515d58a54a 100644 --- a/bmc-limits/pom.xml +++ b/bmc-limits/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-limits @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-loadbalancer/pom.xml b/bmc-loadbalancer/pom.xml index 574352b00e9..b734acd00b9 100644 --- a/bmc-loadbalancer/pom.xml +++ b/bmc-loadbalancer/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-lockbox/pom.xml b/bmc-lockbox/pom.xml index 810415cc23b..8e7e9df5b2c 100644 --- a/bmc-lockbox/pom.xml +++ b/bmc-lockbox/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-lockbox @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-loganalytics/pom.xml b/bmc-loganalytics/pom.xml index 2e2743232da..67402362c0d 100644 --- a/bmc-loganalytics/pom.xml +++ b/bmc-loganalytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-loganalytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-logging/pom.xml b/bmc-logging/pom.xml index 3c1b5df6ba8..ba5763f8481 100644 --- a/bmc-logging/pom.xml +++ b/bmc-logging/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-logging @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-loggingingestion/pom.xml b/bmc-loggingingestion/pom.xml index 14d189aa04c..9cd6131c760 100644 --- a/bmc-loggingingestion/pom.xml +++ b/bmc-loggingingestion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-loggingingestion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-loggingsearch/pom.xml b/bmc-loggingsearch/pom.xml index 4c627a0c8d4..8ceb895955d 100644 --- a/bmc-loggingsearch/pom.xml +++ b/bmc-loggingsearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-loggingsearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-managementagent/pom.xml b/bmc-managementagent/pom.xml index c6a1d99aaea..d876da8f2e8 100644 --- a/bmc-managementagent/pom.xml +++ b/bmc-managementagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-managementagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-managementdashboard/pom.xml b/bmc-managementdashboard/pom.xml index 24b3da500c8..2e4ab2b0cea 100644 --- a/bmc-managementdashboard/pom.xml +++ b/bmc-managementdashboard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-managementdashboard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-marketplace/pom.xml b/bmc-marketplace/pom.xml index 64fa770d0b9..940735adeae 100644 --- a/bmc-marketplace/pom.xml +++ b/bmc-marketplace/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-marketplace @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-mediaservices/pom.xml b/bmc-mediaservices/pom.xml index 39ba431f1c5..0b450ab9dcc 100644 --- a/bmc-mediaservices/pom.xml +++ b/bmc-mediaservices/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-mediaservices @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-monitoring/pom.xml b/bmc-monitoring/pom.xml index 7f2fd0e7ba1..0e6f02d9df3 100644 --- a/bmc-monitoring/pom.xml +++ b/bmc-monitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-monitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-mysql/pom.xml b/bmc-mysql/pom.xml index d21cec125fd..87b50b559f9 100644 --- a/bmc-mysql/pom.xml +++ b/bmc-mysql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-mysql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-networkfirewall/pom.xml b/bmc-networkfirewall/pom.xml index aad046342b4..1ec0a194e33 100644 --- a/bmc-networkfirewall/pom.xml +++ b/bmc-networkfirewall/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-networkfirewall @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-networkloadbalancer/pom.xml b/bmc-networkloadbalancer/pom.xml index fd227bc2732..28d4531f976 100644 --- a/bmc-networkloadbalancer/pom.xml +++ b/bmc-networkloadbalancer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-networkloadbalancer @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-nosql/pom.xml b/bmc-nosql/pom.xml index 152235558cb..148181d6119 100644 --- a/bmc-nosql/pom.xml +++ b/bmc-nosql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-nosql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-objectstorage/bmc-objectstorage-combined/pom.xml b/bmc-objectstorage/bmc-objectstorage-combined/pom.xml index 0d6f06a4757..b34813148a8 100644 --- a/bmc-objectstorage/bmc-objectstorage-combined/pom.xml +++ b/bmc-objectstorage/bmc-objectstorage-combined/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-parent - 3.22.0 + 3.23.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-objectstorage-extensions - 3.22.0 + 3.23.0 diff --git a/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml b/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml index fb5a7277d37..a89b6a6786c 100644 --- a/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml +++ b/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-parent - 3.22.0 + 3.23.0 ../pom.xml @@ -18,17 +18,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.22.0 + 3.23.0 com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.22.0 + 3.23.0 org.slf4j diff --git a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml index 93c0ff66497..937ae119da7 100644 --- a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml +++ b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-parent - 3.22.0 + 3.23.0 ../pom.xml @@ -19,7 +19,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-objectstorage/pom.xml b/bmc-objectstorage/pom.xml index 3e93e52c3c7..283c75f4605 100644 --- a/bmc-objectstorage/pom.xml +++ b/bmc-objectstorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml diff --git a/bmc-oce/pom.xml b/bmc-oce/pom.xml index 92e28788df4..dec7cd8bc93 100644 --- a/bmc-oce/pom.xml +++ b/bmc-oce/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-oce @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-ocicontrolcenter/pom.xml b/bmc-ocicontrolcenter/pom.xml index bf498293f4a..a7d1a046c84 100644 --- a/bmc-ocicontrolcenter/pom.xml +++ b/bmc-ocicontrolcenter/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-ocicontrolcenter @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-ocvp/pom.xml b/bmc-ocvp/pom.xml index 29d1134d265..0508211b85d 100644 --- a/bmc-ocvp/pom.xml +++ b/bmc-ocvp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-ocvp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-oda/pom.xml b/bmc-oda/pom.xml index eed6aff49d1..1a4dd592c05 100644 --- a/bmc-oda/pom.xml +++ b/bmc-oda/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-oda @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-onesubscription/pom.xml b/bmc-onesubscription/pom.xml index 7394b4afcfe..a80525e4381 100644 --- a/bmc-onesubscription/pom.xml +++ b/bmc-onesubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-onesubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-ons/pom.xml b/bmc-ons/pom.xml index 650470ceee1..0fdb864c13b 100644 --- a/bmc-ons/pom.xml +++ b/bmc-ons/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-ons @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-opa/pom.xml b/bmc-opa/pom.xml index 5a43b1c8337..a7b8f1cf6cc 100644 --- a/bmc-opa/pom.xml +++ b/bmc-opa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-opa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-opensearch/pom.xml b/bmc-opensearch/pom.xml index c037823ed0b..34e659174d3 100644 --- a/bmc-opensearch/pom.xml +++ b/bmc-opensearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-opensearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-operatoraccesscontrol/pom.xml b/bmc-operatoraccesscontrol/pom.xml index 699ee4e04c7..248a3ced569 100644 --- a/bmc-operatoraccesscontrol/pom.xml +++ b/bmc-operatoraccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-operatoraccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/AccessRequests.java b/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/AccessRequests.java index 34e7917a0c8..75de36ddc27 100644 --- a/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/AccessRequests.java +++ b/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/AccessRequests.java @@ -73,9 +73,9 @@ public interface AccessRequests extends AutoCloseable { * * @param request The request object containing the details to send * @return A response object containing details about the completed operation - * @throws BmcException when an error occurs. This operation will not retry by default, users - * can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to - * enable retries for it. The specifics of the default retry strategy are described here + * @throws BmcException when an error occurs. This operation uses + * RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is + * provided. The specifics of the default retry strategy are described here * https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries *

Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click Example: Click subResourceList, String compartmentId, ResourceTypes resourceType, java.util.List actionRequestsList, @@ -104,6 +106,7 @@ public AccessRequest( this.operatorId = operatorId; this.resourceId = resourceId; this.resourceName = resourceName; + this.subResourceList = subResourceList; this.compartmentId = compartmentId; this.resourceType = resourceType; this.actionRequestsList = actionRequestsList; @@ -238,6 +241,21 @@ public Builder resourceName(String resourceName) { this.__explicitlySet__.add("resourceName"); return this; } + /** The subresources requested for approval. */ + @com.fasterxml.jackson.annotation.JsonProperty("subResourceList") + private java.util.List subResourceList; + + /** + * The subresources requested for approval. + * + * @param subResourceList the value to set + * @return this builder + */ + public Builder subResourceList(java.util.List subResourceList) { + this.subResourceList = subResourceList; + this.__explicitlySet__.add("subResourceList"); + return this; + } /** The OCID of the compartment that contains the access request. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; @@ -654,6 +672,7 @@ public AccessRequest build() { this.operatorId, this.resourceId, this.resourceName, + this.subResourceList, this.compartmentId, this.resourceType, this.actionRequestsList, @@ -704,6 +723,9 @@ public Builder copy(AccessRequest model) { if (model.wasPropertyExplicitlySet("resourceName")) { this.resourceName(model.getResourceName()); } + if (model.wasPropertyExplicitlySet("subResourceList")) { + this.subResourceList(model.getSubResourceList()); + } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } @@ -883,6 +905,19 @@ public String getResourceName() { return resourceName; } + /** The subresources requested for approval. */ + @com.fasterxml.jackson.annotation.JsonProperty("subResourceList") + private final java.util.List subResourceList; + + /** + * The subresources requested for approval. + * + * @return the value + */ + public java.util.List getSubResourceList() { + return subResourceList; + } + /** The OCID of the compartment that contains the access request. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; @@ -1256,6 +1291,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", operatorId=").append(String.valueOf(this.operatorId)); sb.append(", resourceId=").append(String.valueOf(this.resourceId)); sb.append(", resourceName=").append(String.valueOf(this.resourceName)); + sb.append(", subResourceList=").append(String.valueOf(this.subResourceList)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", resourceType=").append(String.valueOf(this.resourceType)); sb.append(", actionRequestsList=").append(String.valueOf(this.actionRequestsList)); @@ -1300,6 +1336,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.operatorId, other.operatorId) && java.util.Objects.equals(this.resourceId, other.resourceId) && java.util.Objects.equals(this.resourceName, other.resourceName) + && java.util.Objects.equals(this.subResourceList, other.subResourceList) && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.resourceType, other.resourceType) && java.util.Objects.equals(this.actionRequestsList, other.actionRequestsList) @@ -1342,6 +1379,9 @@ public int hashCode() { result = (result * PRIME) + (this.operatorId == null ? 43 : this.operatorId.hashCode()); result = (result * PRIME) + (this.resourceId == null ? 43 : this.resourceId.hashCode()); result = (result * PRIME) + (this.resourceName == null ? 43 : this.resourceName.hashCode()); + result = + (result * PRIME) + + (this.subResourceList == null ? 43 : this.subResourceList.hashCode()); result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); diff --git a/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/AccessRequestSummary.java b/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/AccessRequestSummary.java index 08c68b2fdb6..7e263f75ce9 100644 --- a/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/AccessRequestSummary.java +++ b/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/AccessRequestSummary.java @@ -30,6 +30,7 @@ public final class AccessRequestSummary "compartmentId", "resourceId", "resourceName", + "subResourceList", "resourceType", "lifecycleState", "lifecycleDetails", @@ -50,6 +51,7 @@ public AccessRequestSummary( String compartmentId, String resourceId, String resourceName, + java.util.List subResourceList, ResourceTypes resourceType, AccessRequestLifecycleStates lifecycleState, String lifecycleDetails, @@ -69,6 +71,7 @@ public AccessRequestSummary( this.compartmentId = compartmentId; this.resourceId = resourceId; this.resourceName = resourceName; + this.subResourceList = subResourceList; this.resourceType = resourceType; this.lifecycleState = lifecycleState; this.lifecycleDetails = lifecycleDetails; @@ -179,6 +182,21 @@ public Builder resourceName(String resourceName) { this.__explicitlySet__.add("resourceName"); return this; } + /** The subresources requested for approval. */ + @com.fasterxml.jackson.annotation.JsonProperty("subResourceList") + private java.util.List subResourceList; + + /** + * The subresources requested for approval. + * + * @param subResourceList the value to set + * @return this builder + */ + public Builder subResourceList(java.util.List subResourceList) { + this.subResourceList = subResourceList; + this.__explicitlySet__.add("subResourceList"); + return this; + } /** resourceType for which the AccessRequest is applicable */ @com.fasterxml.jackson.annotation.JsonProperty("resourceType") private ResourceTypes resourceType; @@ -395,6 +413,7 @@ public AccessRequestSummary build() { this.compartmentId, this.resourceId, this.resourceName, + this.subResourceList, this.resourceType, this.lifecycleState, this.lifecycleDetails, @@ -433,6 +452,9 @@ public Builder copy(AccessRequestSummary model) { if (model.wasPropertyExplicitlySet("resourceName")) { this.resourceName(model.getResourceName()); } + if (model.wasPropertyExplicitlySet("subResourceList")) { + this.subResourceList(model.getSubResourceList()); + } if (model.wasPropertyExplicitlySet("resourceType")) { this.resourceType(model.getResourceType()); } @@ -564,6 +586,19 @@ public String getResourceName() { return resourceName; } + /** The subresources requested for approval. */ + @com.fasterxml.jackson.annotation.JsonProperty("subResourceList") + private final java.util.List subResourceList; + + /** + * The subresources requested for approval. + * + * @return the value + */ + public java.util.List getSubResourceList() { + return subResourceList; + } + /** resourceType for which the AccessRequest is applicable */ @com.fasterxml.jackson.annotation.JsonProperty("resourceType") private final ResourceTypes resourceType; @@ -763,6 +798,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", resourceId=").append(String.valueOf(this.resourceId)); sb.append(", resourceName=").append(String.valueOf(this.resourceName)); + sb.append(", subResourceList=").append(String.valueOf(this.subResourceList)); sb.append(", resourceType=").append(String.valueOf(this.resourceType)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); @@ -795,6 +831,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.resourceId, other.resourceId) && java.util.Objects.equals(this.resourceName, other.resourceName) + && java.util.Objects.equals(this.subResourceList, other.subResourceList) && java.util.Objects.equals(this.resourceType, other.resourceType) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) @@ -826,6 +863,9 @@ public int hashCode() { + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); result = (result * PRIME) + (this.resourceId == null ? 43 : this.resourceId.hashCode()); result = (result * PRIME) + (this.resourceName == null ? 43 : this.resourceName.hashCode()); + result = + (result * PRIME) + + (this.subResourceList == null ? 43 : this.subResourceList.hashCode()); result = (result * PRIME) + (this.resourceType == null ? 43 : this.resourceType.hashCode()); result = (result * PRIME) diff --git a/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/OperatorControl.java b/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/OperatorControl.java index 3a1257d1ab2..acd8d9b4b25 100644 --- a/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/OperatorControl.java +++ b/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/OperatorControl.java @@ -40,6 +40,7 @@ public final class OperatorControl "lifecycleState", "timeOfCreation", "timeOfModification", + "isDefaultOperatorControl", "timeOfDeletion", "lastModifiedInfo", "freeformTags", @@ -61,6 +62,7 @@ public OperatorControl( OperatorControlLifecycleStates lifecycleState, java.util.Date timeOfCreation, java.util.Date timeOfModification, + Boolean isDefaultOperatorControl, java.util.Date timeOfDeletion, String lastModifiedInfo, java.util.Map freeformTags, @@ -81,6 +83,7 @@ public OperatorControl( this.lifecycleState = lifecycleState; this.timeOfCreation = timeOfCreation; this.timeOfModification = timeOfModification; + this.isDefaultOperatorControl = isDefaultOperatorControl; this.timeOfDeletion = timeOfDeletion; this.lastModifiedInfo = lastModifiedInfo; this.freeformTags = freeformTags; @@ -357,6 +360,21 @@ public Builder timeOfModification(java.util.Date timeOfModification) { this.__explicitlySet__.add("timeOfModification"); return this; } + /** Whether the operator control is a default Operator Control. */ + @com.fasterxml.jackson.annotation.JsonProperty("isDefaultOperatorControl") + private Boolean isDefaultOperatorControl; + + /** + * Whether the operator control is a default Operator Control. + * + * @param isDefaultOperatorControl the value to set + * @return this builder + */ + public Builder isDefaultOperatorControl(Boolean isDefaultOperatorControl) { + this.isDefaultOperatorControl = isDefaultOperatorControl; + this.__explicitlySet__.add("isDefaultOperatorControl"); + return this; + } /** * Time when deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp * format. Example: '2020-05-22T21:10:29.600Z'. Note a deleted operator control still stays @@ -452,6 +470,7 @@ public OperatorControl build() { this.lifecycleState, this.timeOfCreation, this.timeOfModification, + this.isDefaultOperatorControl, this.timeOfDeletion, this.lastModifiedInfo, this.freeformTags, @@ -509,6 +528,9 @@ public Builder copy(OperatorControl model) { if (model.wasPropertyExplicitlySet("timeOfModification")) { this.timeOfModification(model.getTimeOfModification()); } + if (model.wasPropertyExplicitlySet("isDefaultOperatorControl")) { + this.isDefaultOperatorControl(model.getIsDefaultOperatorControl()); + } if (model.wasPropertyExplicitlySet("timeOfDeletion")) { this.timeOfDeletion(model.getTimeOfDeletion()); } @@ -771,6 +793,19 @@ public java.util.Date getTimeOfModification() { return timeOfModification; } + /** Whether the operator control is a default Operator Control. */ + @com.fasterxml.jackson.annotation.JsonProperty("isDefaultOperatorControl") + private final Boolean isDefaultOperatorControl; + + /** + * Whether the operator control is a default Operator Control. + * + * @return the value + */ + public Boolean getIsDefaultOperatorControl() { + return isDefaultOperatorControl; + } + /** * Time when deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp * format. Example: '2020-05-22T21:10:29.600Z'. Note a deleted operator control still stays in @@ -867,6 +902,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", timeOfCreation=").append(String.valueOf(this.timeOfCreation)); sb.append(", timeOfModification=").append(String.valueOf(this.timeOfModification)); + sb.append(", isDefaultOperatorControl=") + .append(String.valueOf(this.isDefaultOperatorControl)); sb.append(", timeOfDeletion=").append(String.valueOf(this.timeOfDeletion)); sb.append(", lastModifiedInfo=").append(String.valueOf(this.lastModifiedInfo)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); @@ -902,6 +939,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.timeOfCreation, other.timeOfCreation) && java.util.Objects.equals(this.timeOfModification, other.timeOfModification) + && java.util.Objects.equals( + this.isDefaultOperatorControl, other.isDefaultOperatorControl) && java.util.Objects.equals(this.timeOfDeletion, other.timeOfDeletion) && java.util.Objects.equals(this.lastModifiedInfo, other.lastModifiedInfo) && java.util.Objects.equals(this.freeformTags, other.freeformTags) @@ -962,6 +1001,11 @@ public int hashCode() { + (this.timeOfModification == null ? 43 : this.timeOfModification.hashCode()); + result = + (result * PRIME) + + (this.isDefaultOperatorControl == null + ? 43 + : this.isDefaultOperatorControl.hashCode()); result = (result * PRIME) + (this.timeOfDeletion == null ? 43 : this.timeOfDeletion.hashCode()); diff --git a/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/OperatorControlAssignment.java b/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/OperatorControlAssignment.java index a969fc34572..735e5d8493a 100644 --- a/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/OperatorControlAssignment.java +++ b/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/OperatorControlAssignment.java @@ -52,6 +52,7 @@ public final class OperatorControlAssignment "isAutoApproveDuringMaintenance", "errorCode", "errorMessage", + "isDefaultAssignment", "freeformTags", "definedTags" }) @@ -81,6 +82,7 @@ public OperatorControlAssignment( Boolean isAutoApproveDuringMaintenance, Integer errorCode, String errorMessage, + Boolean isDefaultAssignment, java.util.Map freeformTags, java.util.Map> definedTags) { super(); @@ -109,6 +111,7 @@ public OperatorControlAssignment( this.isAutoApproveDuringMaintenance = isAutoApproveDuringMaintenance; this.errorCode = errorCode; this.errorMessage = errorMessage; + this.isDefaultAssignment = isDefaultAssignment; this.freeformTags = freeformTags; this.definedTags = definedTags; } @@ -526,6 +529,21 @@ public Builder errorMessage(String errorMessage) { this.__explicitlySet__.add("errorMessage"); return this; } + /** Whether the assignment is a default assignment. */ + @com.fasterxml.jackson.annotation.JsonProperty("isDefaultAssignment") + private Boolean isDefaultAssignment; + + /** + * Whether the assignment is a default assignment. + * + * @param isDefaultAssignment the value to set + * @return this builder + */ + public Builder isDefaultAssignment(Boolean isDefaultAssignment) { + this.isDefaultAssignment = isDefaultAssignment; + this.__explicitlySet__.add("isDefaultAssignment"); + return this; + } /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists * for cross-compatibility only. @@ -593,6 +611,7 @@ public OperatorControlAssignment build() { this.isAutoApproveDuringMaintenance, this.errorCode, this.errorMessage, + this.isDefaultAssignment, this.freeformTags, this.definedTags); for (String explicitlySetProperty : this.__explicitlySet__) { @@ -678,6 +697,9 @@ public Builder copy(OperatorControlAssignment model) { if (model.wasPropertyExplicitlySet("errorMessage")) { this.errorMessage(model.getErrorMessage()); } + if (model.wasPropertyExplicitlySet("isDefaultAssignment")) { + this.isDefaultAssignment(model.getIsDefaultAssignment()); + } if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } @@ -1058,6 +1080,19 @@ public String getErrorMessage() { return errorMessage; } + /** Whether the assignment is a default assignment. */ + @com.fasterxml.jackson.annotation.JsonProperty("isDefaultAssignment") + private final Boolean isDefaultAssignment; + + /** + * Whether the assignment is a default assignment. + * + * @return the value + */ + public Boolean getIsDefaultAssignment() { + return isDefaultAssignment; + } + /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for * cross-compatibility only. @@ -1131,6 +1166,7 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.isAutoApproveDuringMaintenance)); sb.append(", errorCode=").append(String.valueOf(this.errorCode)); sb.append(", errorMessage=").append(String.valueOf(this.errorMessage)); + sb.append(", isDefaultAssignment=").append(String.valueOf(this.isDefaultAssignment)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(")"); @@ -1176,6 +1212,7 @@ public boolean equals(Object o) { this.isAutoApproveDuringMaintenance, other.isAutoApproveDuringMaintenance) && java.util.Objects.equals(this.errorCode, other.errorCode) && java.util.Objects.equals(this.errorMessage, other.errorMessage) + && java.util.Objects.equals(this.isDefaultAssignment, other.isDefaultAssignment) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.definedTags, other.definedTags) && super.equals(other); @@ -1256,6 +1293,11 @@ public int hashCode() { : this.isAutoApproveDuringMaintenance.hashCode()); result = (result * PRIME) + (this.errorCode == null ? 43 : this.errorCode.hashCode()); result = (result * PRIME) + (this.errorMessage == null ? 43 : this.errorMessage.hashCode()); + result = + (result * PRIME) + + (this.isDefaultAssignment == null + ? 43 + : this.isDefaultAssignment.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + super.hashCode(); diff --git a/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/OperatorControlAssignmentLifecycleStates.java b/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/OperatorControlAssignmentLifecycleStates.java index 01156cee41f..79541a9fd89 100644 --- a/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/OperatorControlAssignmentLifecycleStates.java +++ b/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/OperatorControlAssignmentLifecycleStates.java @@ -12,6 +12,7 @@ public enum OperatorControlAssignmentLifecycleStates Applied("APPLIED"), Applyfailed("APPLYFAILED"), Updating("UPDATING"), + Updatefailed("UPDATEFAILED"), Deleting("DELETING"), Deleted("DELETED"), Deletionfailed("DELETIONFAILED"), diff --git a/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/ResourceTypes.java b/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/ResourceTypes.java index 9093ef27aee..9a26013e1a1 100644 --- a/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/ResourceTypes.java +++ b/bmc-operatoraccesscontrol/src/main/java/com/oracle/bmc/operatoraccesscontrol/model/ResourceTypes.java @@ -11,6 +11,7 @@ public enum ResourceTypes implements com.oracle.bmc.http.internal.BmcEnum { Exadatainfrastructure("EXADATAINFRASTRUCTURE"), Autonomousvmcluster("AUTONOMOUSVMCLUSTER"), Cloudautonomousvmcluster("CLOUDAUTONOMOUSVMCLUSTER"), + Cccinfrastructure("CCCINFRASTRUCTURE"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-opsi/pom.xml b/bmc-opsi/pom.xml index 90381d6840c..b3b39f49007 100644 --- a/bmc-opsi/pom.xml +++ b/bmc-opsi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-opsi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-optimizer/pom.xml b/bmc-optimizer/pom.xml index a75ac1af94b..67c52015412 100644 --- a/bmc-optimizer/pom.xml +++ b/bmc-optimizer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-optimizer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-osmanagement/pom.xml b/bmc-osmanagement/pom.xml index 52dd1053a24..9427b68021c 100644 --- a/bmc-osmanagement/pom.xml +++ b/bmc-osmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-osmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-osmanagementhub/pom.xml b/bmc-osmanagementhub/pom.xml index 5d378b8783f..ee08a3e7d6a 100644 --- a/bmc-osmanagementhub/pom.xml +++ b/bmc-osmanagementhub/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-osmanagementhub @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-ospgateway/pom.xml b/bmc-ospgateway/pom.xml index 7a6a059d1c0..e186c9446bd 100644 --- a/bmc-ospgateway/pom.xml +++ b/bmc-ospgateway/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-ospgateway @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-osubbillingschedule/pom.xml b/bmc-osubbillingschedule/pom.xml index 2109a56f311..f89f1ef1950 100644 --- a/bmc-osubbillingschedule/pom.xml +++ b/bmc-osubbillingschedule/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-osubbillingschedule @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-osuborganizationsubscription/pom.xml b/bmc-osuborganizationsubscription/pom.xml index 961b579884d..c12daeb7280 100644 --- a/bmc-osuborganizationsubscription/pom.xml +++ b/bmc-osuborganizationsubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-osuborganizationsubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-osubsubscription/pom.xml b/bmc-osubsubscription/pom.xml index c79f02bb0d7..7de199af08c 100644 --- a/bmc-osubsubscription/pom.xml +++ b/bmc-osubsubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-osubsubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-osubusage/pom.xml b/bmc-osubusage/pom.xml index 54f78eb9c7e..e4d10fe6394 100644 --- a/bmc-osubusage/pom.xml +++ b/bmc-osubusage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-osubusage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-other-examples/bmc-jersey-examples/pom.xml b/bmc-other-examples/bmc-jersey-examples/pom.xml index 25d7cf82b6a..b1729730cb6 100644 --- a/bmc-other-examples/bmc-jersey-examples/pom.xml +++ b/bmc-other-examples/bmc-jersey-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk-jersey-examples - 3.22.0 + 3.23.0 Oracle Cloud Infrastructure SDK - Examples using Jersey 2 HTTP client This project contains the examples on how to use the SDK used for Oracle Cloud Infrastructure with the Jersey 2 HTTP client https://docs.cloud.oracle.com/Content/API/SDKDocs/javasdk.htm @@ -49,7 +49,7 @@ com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.22.0 + 3.23.0 false @@ -75,14 +75,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.22.0 + 3.23.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.22.0 + 3.23.0 pom import diff --git a/bmc-other-examples/bmc-jersey3-examples/pom.xml b/bmc-other-examples/bmc-jersey3-examples/pom.xml index e72c854ca9a..f8694e7e870 100644 --- a/bmc-other-examples/bmc-jersey3-examples/pom.xml +++ b/bmc-other-examples/bmc-jersey3-examples/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk-jersey3-examples - 3.22.0 + 3.23.0 Oracle Cloud Infrastructure SDK - Examples using Jersey 3 HTTP client This project contains the examples on how to use the SDK used for Oracle Cloud Infrastructure with the Jersey 3 HTTP client https://docs.cloud.oracle.com/Content/API/SDKDocs/javasdk.htm @@ -49,7 +49,7 @@ com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.22.0 + 3.23.0 false @@ -75,14 +75,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.22.0 + 3.23.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.22.0 + 3.23.0 pom import diff --git a/bmc-other-examples/pom.xml b/bmc-other-examples/pom.xml index 8f9a4d598c2..01c790d2f98 100644 --- a/bmc-other-examples/pom.xml +++ b/bmc-other-examples/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml diff --git a/bmc-queue/pom.xml b/bmc-queue/pom.xml index e693f1c0d31..1263d4d775b 100644 --- a/bmc-queue/pom.xml +++ b/bmc-queue/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-queue @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-recovery/pom.xml b/bmc-recovery/pom.xml index 3233674dee3..7357cf46457 100644 --- a/bmc-recovery/pom.xml +++ b/bmc-recovery/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-recovery @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-resourcemanager/pom.xml b/bmc-resourcemanager/pom.xml index d508a704380..5a6f7f2c0ab 100644 --- a/bmc-resourcemanager/pom.xml +++ b/bmc-resourcemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-resourcemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-resourcesearch/pom.xml b/bmc-resourcesearch/pom.xml index f7ce04ca9d6..acbc417f4e1 100644 --- a/bmc-resourcesearch/pom.xml +++ b/bmc-resourcesearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-resourcesearch @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-rover/pom.xml b/bmc-rover/pom.xml index 10ff330675a..a8416f33fb6 100644 --- a/bmc-rover/pom.xml +++ b/bmc-rover/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-rover @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-sch/pom.xml b/bmc-sch/pom.xml index c51065b724f..38f1a698394 100644 --- a/bmc-sch/pom.xml +++ b/bmc-sch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-sch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-secrets/pom.xml b/bmc-secrets/pom.xml index a827042a3e1..3e49c7ed7dd 100644 --- a/bmc-secrets/pom.xml +++ b/bmc-secrets/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-secrets @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-servicecatalog/pom.xml b/bmc-servicecatalog/pom.xml index c494156eeec..010f97f4879 100644 --- a/bmc-servicecatalog/pom.xml +++ b/bmc-servicecatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-servicecatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-servicemanagerproxy/pom.xml b/bmc-servicemanagerproxy/pom.xml index 874f29567e9..0b69a8aba12 100644 --- a/bmc-servicemanagerproxy/pom.xml +++ b/bmc-servicemanagerproxy/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-servicemanagerproxy @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-servicemesh/pom.xml b/bmc-servicemesh/pom.xml index ebbd57045a7..5a792f6ddb9 100644 --- a/bmc-servicemesh/pom.xml +++ b/bmc-servicemesh/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-servicemesh @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-shaded/bmc-shaded-full/pom.xml b/bmc-shaded/bmc-shaded-full/pom.xml index 5d2342bdaf7..cce94a9702d 100644 --- a/bmc-shaded/bmc-shaded-full/pom.xml +++ b/bmc-shaded/bmc-shaded-full/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk-shaded - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-shaded-full diff --git a/bmc-shaded/pom.xml b/bmc-shaded/pom.xml index 9989b3e5bed..c58ee8ce3c4 100644 --- a/bmc-shaded/pom.xml +++ b/bmc-shaded/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml diff --git a/bmc-stackmonitoring/pom.xml b/bmc-stackmonitoring/pom.xml index 8b3739c6f87..629e3bf3a89 100644 --- a/bmc-stackmonitoring/pom.xml +++ b/bmc-stackmonitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-stackmonitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-streaming/pom.xml b/bmc-streaming/pom.xml index 4214401e556..21ba5158846 100644 --- a/bmc-streaming/pom.xml +++ b/bmc-streaming/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-streaming @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-tenantmanagercontrolplane/pom.xml b/bmc-tenantmanagercontrolplane/pom.xml index 6ff4ffc63be..8727fea317e 100644 --- a/bmc-tenantmanagercontrolplane/pom.xml +++ b/bmc-tenantmanagercontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-tenantmanagercontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-threatintelligence/pom.xml b/bmc-threatintelligence/pom.xml index d184a65dd92..76435e16cd3 100644 --- a/bmc-threatintelligence/pom.xml +++ b/bmc-threatintelligence/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-threatintelligence @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-usage/pom.xml b/bmc-usage/pom.xml index a366f0cd199..a65e00743fe 100644 --- a/bmc-usage/pom.xml +++ b/bmc-usage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-usage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-usageapi/pom.xml b/bmc-usageapi/pom.xml index fcc02b2e326..e2b2cca2bfc 100644 --- a/bmc-usageapi/pom.xml +++ b/bmc-usageapi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-usageapi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-vault/pom.xml b/bmc-vault/pom.xml index a9ed92312a6..c663e22f978 100644 --- a/bmc-vault/pom.xml +++ b/bmc-vault/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-vault @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-vbsinst/pom.xml b/bmc-vbsinst/pom.xml index 982c54e5533..ea0ac004d8a 100644 --- a/bmc-vbsinst/pom.xml +++ b/bmc-vbsinst/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-vbsinst @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-visualbuilder/pom.xml b/bmc-visualbuilder/pom.xml index 44a86e3eb13..d6f3418a661 100644 --- a/bmc-visualbuilder/pom.xml +++ b/bmc-visualbuilder/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-visualbuilder @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-vnmonitoring/pom.xml b/bmc-vnmonitoring/pom.xml index ec4c22f1aaa..c5ae8e7b26d 100644 --- a/bmc-vnmonitoring/pom.xml +++ b/bmc-vnmonitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-vnmonitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddDrgRouteRuleDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddDrgRouteRuleDetails.java index 0bb0404a4b5..3f1299d7e0d 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddDrgRouteRuleDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddDrgRouteRuleDetails.java @@ -35,17 +35,15 @@ public AddDrgRouteRuleDetails( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * Type of destination for the rule. Required if {@code direction} = {@code EGRESS}. Allowed - * values: * {@code CIDR_BLOCK}: If the rule's {@code destination} is an IP address range in - * CIDR notation. + * Type of destination for the rule. Allowed values: * {@code CIDR_BLOCK}: If the rule's + * {@code destination} is an IP address range in CIDR notation. */ @com.fasterxml.jackson.annotation.JsonProperty("destinationType") private DestinationType destinationType; /** - * Type of destination for the rule. Required if {@code direction} = {@code EGRESS}. Allowed - * values: * {@code CIDR_BLOCK}: If the rule's {@code destination} is an IP address range in - * CIDR notation. + * Type of destination for the rule. Allowed values: * {@code CIDR_BLOCK}: If the rule's + * {@code destination} is an IP address range in CIDR notation. * * @param destinationType the value to set * @return this builder @@ -140,9 +138,8 @@ public Builder toBuilder() { } /** - * Type of destination for the rule. Required if {@code direction} = {@code EGRESS}. Allowed - * values: * {@code CIDR_BLOCK}: If the rule's {@code destination} is an IP address range in - * CIDR notation. + * Type of destination for the rule. Allowed values: * {@code CIDR_BLOCK}: If the rule's {@code + * destination} is an IP address range in CIDR notation. */ public enum DestinationType implements com.oracle.bmc.http.internal.BmcEnum { CidrBlock("CIDR_BLOCK"), @@ -176,17 +173,15 @@ public static DestinationType create(String key) { } }; /** - * Type of destination for the rule. Required if {@code direction} = {@code EGRESS}. Allowed - * values: * {@code CIDR_BLOCK}: If the rule's {@code destination} is an IP address range in - * CIDR notation. + * Type of destination for the rule. Allowed values: * {@code CIDR_BLOCK}: If the rule's {@code + * destination} is an IP address range in CIDR notation. */ @com.fasterxml.jackson.annotation.JsonProperty("destinationType") private final DestinationType destinationType; /** - * Type of destination for the rule. Required if {@code direction} = {@code EGRESS}. Allowed - * values: * {@code CIDR_BLOCK}: If the rule's {@code destination} is an IP address range in - * CIDR notation. + * Type of destination for the rule. Allowed values: * {@code CIDR_BLOCK}: If the rule's {@code + * destination} is an IP address range in CIDR notation. * * @return the value */ diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddPublicIpPoolCapacityDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddPublicIpPoolCapacityDetails.java new file mode 100644 index 00000000000..3beb962fe3b --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddPublicIpPoolCapacityDetails.java @@ -0,0 +1,186 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The information used to add capacity to an IP pool.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AddPublicIpPoolCapacityDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AddPublicIpPoolCapacityDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"byoipRangeId", "cidrBlock"}) + public AddPublicIpPoolCapacityDetails(String byoipRangeId, String cidrBlock) { + super(); + this.byoipRangeId = byoipRangeId; + this.cidrBlock = cidrBlock; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the {@code ByoipRange} resource to which the CIDR block belongs. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipRangeId") + private String byoipRangeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the {@code ByoipRange} resource to which the CIDR block belongs. + * + * @param byoipRangeId the value to set + * @return this builder + */ + public Builder byoipRangeId(String byoipRangeId) { + this.byoipRangeId = byoipRangeId; + this.__explicitlySet__.add("byoipRangeId"); + return this; + } + /** + * The CIDR block to add to the public IP pool. It could be all of the CIDR block identified + * in {@code byoipRangeId}, or a subrange. Example: {@code 10.0.1.0/24} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private String cidrBlock; + + /** + * The CIDR block to add to the public IP pool. It could be all of the CIDR block identified + * in {@code byoipRangeId}, or a subrange. Example: {@code 10.0.1.0/24} + * + * @param cidrBlock the value to set + * @return this builder + */ + public Builder cidrBlock(String cidrBlock) { + this.cidrBlock = cidrBlock; + this.__explicitlySet__.add("cidrBlock"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AddPublicIpPoolCapacityDetails build() { + AddPublicIpPoolCapacityDetails model = + new AddPublicIpPoolCapacityDetails(this.byoipRangeId, this.cidrBlock); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AddPublicIpPoolCapacityDetails model) { + if (model.wasPropertyExplicitlySet("byoipRangeId")) { + this.byoipRangeId(model.getByoipRangeId()); + } + if (model.wasPropertyExplicitlySet("cidrBlock")) { + this.cidrBlock(model.getCidrBlock()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the {@code ByoipRange} resource to which the CIDR block belongs. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipRangeId") + private final String byoipRangeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the {@code ByoipRange} resource to which the CIDR block belongs. + * + * @return the value + */ + public String getByoipRangeId() { + return byoipRangeId; + } + + /** + * The CIDR block to add to the public IP pool. It could be all of the CIDR block identified in + * {@code byoipRangeId}, or a subrange. Example: {@code 10.0.1.0/24} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private final String cidrBlock; + + /** + * The CIDR block to add to the public IP pool. It could be all of the CIDR block identified in + * {@code byoipRangeId}, or a subrange. Example: {@code 10.0.1.0/24} + * + * @return the value + */ + public String getCidrBlock() { + return cidrBlock; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AddPublicIpPoolCapacityDetails("); + sb.append("super=").append(super.toString()); + sb.append("byoipRangeId=").append(String.valueOf(this.byoipRangeId)); + sb.append(", cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AddPublicIpPoolCapacityDetails)) { + return false; + } + + AddPublicIpPoolCapacityDetails other = (AddPublicIpPoolCapacityDetails) o; + return java.util.Objects.equals(this.byoipRangeId, other.byoipRangeId) + && java.util.Objects.equals(this.cidrBlock, other.cidrBlock) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.byoipRangeId == null ? 43 : this.byoipRangeId.hashCode()); + result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddSubnetIpv6CidrDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddSubnetIpv6CidrDetails.java new file mode 100644 index 00000000000..84882baed20 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddSubnetIpv6CidrDetails.java @@ -0,0 +1,156 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Details used when adding an IPv6 CIDR block to a subnet.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AddSubnetIpv6CidrDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AddSubnetIpv6CidrDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"ipv6CidrBlock"}) + public AddSubnetIpv6CidrDetails(String ipv6CidrBlock) { + super(); + this.ipv6CidrBlock = ipv6CidrBlock; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * This field is not required and should only be specified when adding an IPv6 CIDR to a + * subnet's IPv6 address space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private String ipv6CidrBlock; + + /** + * This field is not required and should only be specified when adding an IPv6 CIDR to a + * subnet's IPv6 address space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/64} + * + * @param ipv6CidrBlock the value to set + * @return this builder + */ + public Builder ipv6CidrBlock(String ipv6CidrBlock) { + this.ipv6CidrBlock = ipv6CidrBlock; + this.__explicitlySet__.add("ipv6CidrBlock"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AddSubnetIpv6CidrDetails build() { + AddSubnetIpv6CidrDetails model = new AddSubnetIpv6CidrDetails(this.ipv6CidrBlock); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AddSubnetIpv6CidrDetails model) { + if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { + this.ipv6CidrBlock(model.getIpv6CidrBlock()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * This field is not required and should only be specified when adding an IPv6 CIDR to a + * subnet's IPv6 address space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private final String ipv6CidrBlock; + + /** + * This field is not required and should only be specified when adding an IPv6 CIDR to a + * subnet's IPv6 address space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/64} + * + * @return the value + */ + public String getIpv6CidrBlock() { + return ipv6CidrBlock; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AddSubnetIpv6CidrDetails("); + sb.append("super=").append(super.toString()); + sb.append("ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AddSubnetIpv6CidrDetails)) { + return false; + } + + AddSubnetIpv6CidrDetails other = (AddSubnetIpv6CidrDetails) o; + return java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddVcnCidrDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddVcnCidrDetails.java new file mode 100644 index 00000000000..06f640e8f16 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddVcnCidrDetails.java @@ -0,0 +1,133 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Details used to add a CIDR block to a VCN.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AddVcnCidrDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AddVcnCidrDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"cidrBlock"}) + public AddVcnCidrDetails(String cidrBlock) { + super(); + this.cidrBlock = cidrBlock; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The CIDR block to add. */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private String cidrBlock; + + /** + * The CIDR block to add. + * + * @param cidrBlock the value to set + * @return this builder + */ + public Builder cidrBlock(String cidrBlock) { + this.cidrBlock = cidrBlock; + this.__explicitlySet__.add("cidrBlock"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AddVcnCidrDetails build() { + AddVcnCidrDetails model = new AddVcnCidrDetails(this.cidrBlock); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AddVcnCidrDetails model) { + if (model.wasPropertyExplicitlySet("cidrBlock")) { + this.cidrBlock(model.getCidrBlock()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The CIDR block to add. */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private final String cidrBlock; + + /** + * The CIDR block to add. + * + * @return the value + */ + public String getCidrBlock() { + return cidrBlock; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AddVcnCidrDetails("); + sb.append("super=").append(super.toString()); + sb.append("cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AddVcnCidrDetails)) { + return false; + } + + AddVcnCidrDetails other = (AddVcnCidrDetails) o; + return java.util.Objects.equals(this.cidrBlock, other.cidrBlock) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddVcnIpv6CidrDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddVcnIpv6CidrDetails.java new file mode 100644 index 00000000000..b4305d6d4fe --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AddVcnIpv6CidrDetails.java @@ -0,0 +1,244 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Details used when adding a ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or a + * BYOIPv6 prefix. You can add only one of these per request.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AddVcnIpv6CidrDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AddVcnIpv6CidrDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "ipv6PrivateCidrBlock", + "isOracleGuaAllocationEnabled", + "byoipv6CidrDetail" + }) + public AddVcnIpv6CidrDetails( + String ipv6PrivateCidrBlock, + Boolean isOracleGuaAllocationEnabled, + Byoipv6CidrDetails byoipv6CidrDetail) { + super(); + this.ipv6PrivateCidrBlock = ipv6PrivateCidrBlock; + this.isOracleGuaAllocationEnabled = isOracleGuaAllocationEnabled; + this.byoipv6CidrDetail = byoipv6CidrDetail; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * This field is not required and should only be specified if a ULA or private IPv6 prefix + * is desired for VCN's private IP address space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/48} or {@code fd00:1000:0:1::/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6PrivateCidrBlock") + private String ipv6PrivateCidrBlock; + + /** + * This field is not required and should only be specified if a ULA or private IPv6 prefix + * is desired for VCN's private IP address space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/48} or {@code fd00:1000:0:1::/64} + * + * @param ipv6PrivateCidrBlock the value to set + * @return this builder + */ + public Builder ipv6PrivateCidrBlock(String ipv6PrivateCidrBlock) { + this.ipv6PrivateCidrBlock = ipv6PrivateCidrBlock; + this.__explicitlySet__.add("ipv6PrivateCidrBlock"); + return this; + } + /** + * Indicates whether Oracle will allocate an IPv6 GUA. Only one prefix of /56 size can be + * allocated by Oracle as a GUA. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOracleGuaAllocationEnabled") + private Boolean isOracleGuaAllocationEnabled; + + /** + * Indicates whether Oracle will allocate an IPv6 GUA. Only one prefix of /56 size can be + * allocated by Oracle as a GUA. + * + * @param isOracleGuaAllocationEnabled the value to set + * @return this builder + */ + public Builder isOracleGuaAllocationEnabled(Boolean isOracleGuaAllocationEnabled) { + this.isOracleGuaAllocationEnabled = isOracleGuaAllocationEnabled; + this.__explicitlySet__.add("isOracleGuaAllocationEnabled"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("byoipv6CidrDetail") + private Byoipv6CidrDetails byoipv6CidrDetail; + + public Builder byoipv6CidrDetail(Byoipv6CidrDetails byoipv6CidrDetail) { + this.byoipv6CidrDetail = byoipv6CidrDetail; + this.__explicitlySet__.add("byoipv6CidrDetail"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AddVcnIpv6CidrDetails build() { + AddVcnIpv6CidrDetails model = + new AddVcnIpv6CidrDetails( + this.ipv6PrivateCidrBlock, + this.isOracleGuaAllocationEnabled, + this.byoipv6CidrDetail); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AddVcnIpv6CidrDetails model) { + if (model.wasPropertyExplicitlySet("ipv6PrivateCidrBlock")) { + this.ipv6PrivateCidrBlock(model.getIpv6PrivateCidrBlock()); + } + if (model.wasPropertyExplicitlySet("isOracleGuaAllocationEnabled")) { + this.isOracleGuaAllocationEnabled(model.getIsOracleGuaAllocationEnabled()); + } + if (model.wasPropertyExplicitlySet("byoipv6CidrDetail")) { + this.byoipv6CidrDetail(model.getByoipv6CidrDetail()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * This field is not required and should only be specified if a ULA or private IPv6 prefix is + * desired for VCN's private IP address space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/48} or {@code fd00:1000:0:1::/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6PrivateCidrBlock") + private final String ipv6PrivateCidrBlock; + + /** + * This field is not required and should only be specified if a ULA or private IPv6 prefix is + * desired for VCN's private IP address space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/48} or {@code fd00:1000:0:1::/64} + * + * @return the value + */ + public String getIpv6PrivateCidrBlock() { + return ipv6PrivateCidrBlock; + } + + /** + * Indicates whether Oracle will allocate an IPv6 GUA. Only one prefix of /56 size can be + * allocated by Oracle as a GUA. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOracleGuaAllocationEnabled") + private final Boolean isOracleGuaAllocationEnabled; + + /** + * Indicates whether Oracle will allocate an IPv6 GUA. Only one prefix of /56 size can be + * allocated by Oracle as a GUA. + * + * @return the value + */ + public Boolean getIsOracleGuaAllocationEnabled() { + return isOracleGuaAllocationEnabled; + } + + @com.fasterxml.jackson.annotation.JsonProperty("byoipv6CidrDetail") + private final Byoipv6CidrDetails byoipv6CidrDetail; + + public Byoipv6CidrDetails getByoipv6CidrDetail() { + return byoipv6CidrDetail; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AddVcnIpv6CidrDetails("); + sb.append("super=").append(super.toString()); + sb.append("ipv6PrivateCidrBlock=").append(String.valueOf(this.ipv6PrivateCidrBlock)); + sb.append(", isOracleGuaAllocationEnabled=") + .append(String.valueOf(this.isOracleGuaAllocationEnabled)); + sb.append(", byoipv6CidrDetail=").append(String.valueOf(this.byoipv6CidrDetail)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AddVcnIpv6CidrDetails)) { + return false; + } + + AddVcnIpv6CidrDetails other = (AddVcnIpv6CidrDetails) o; + return java.util.Objects.equals(this.ipv6PrivateCidrBlock, other.ipv6PrivateCidrBlock) + && java.util.Objects.equals( + this.isOracleGuaAllocationEnabled, other.isOracleGuaAllocationEnabled) + && java.util.Objects.equals(this.byoipv6CidrDetail, other.byoipv6CidrDetail) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.ipv6PrivateCidrBlock == null + ? 43 + : this.ipv6PrivateCidrBlock.hashCode()); + result = + (result * PRIME) + + (this.isOracleGuaAllocationEnabled == null + ? 43 + : this.isOracleGuaAllocationEnabled.hashCode()); + result = + (result * PRIME) + + (this.byoipv6CidrDetail == null ? 43 : this.byoipv6CidrDetail.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AllowedIkeIPSecParameters.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AllowedIkeIPSecParameters.java new file mode 100644 index 00000000000..6f2a2dd59e2 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AllowedIkeIPSecParameters.java @@ -0,0 +1,233 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Lists the current allowed and default IPSec tunnel parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AllowedIkeIPSecParameters.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AllowedIkeIPSecParameters + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "allowedPhaseOneParameters", + "allowedPhaseTwoParameters", + "defaultPhaseOneParameters", + "defaultPhaseTwoParameters" + }) + public AllowedIkeIPSecParameters( + AllowedPhaseOneParameters allowedPhaseOneParameters, + AllowedPhaseTwoParameters allowedPhaseTwoParameters, + DefaultPhaseOneParameters defaultPhaseOneParameters, + DefaultPhaseTwoParameters defaultPhaseTwoParameters) { + super(); + this.allowedPhaseOneParameters = allowedPhaseOneParameters; + this.allowedPhaseTwoParameters = allowedPhaseTwoParameters; + this.defaultPhaseOneParameters = defaultPhaseOneParameters; + this.defaultPhaseTwoParameters = defaultPhaseTwoParameters; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("allowedPhaseOneParameters") + private AllowedPhaseOneParameters allowedPhaseOneParameters; + + public Builder allowedPhaseOneParameters( + AllowedPhaseOneParameters allowedPhaseOneParameters) { + this.allowedPhaseOneParameters = allowedPhaseOneParameters; + this.__explicitlySet__.add("allowedPhaseOneParameters"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("allowedPhaseTwoParameters") + private AllowedPhaseTwoParameters allowedPhaseTwoParameters; + + public Builder allowedPhaseTwoParameters( + AllowedPhaseTwoParameters allowedPhaseTwoParameters) { + this.allowedPhaseTwoParameters = allowedPhaseTwoParameters; + this.__explicitlySet__.add("allowedPhaseTwoParameters"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("defaultPhaseOneParameters") + private DefaultPhaseOneParameters defaultPhaseOneParameters; + + public Builder defaultPhaseOneParameters( + DefaultPhaseOneParameters defaultPhaseOneParameters) { + this.defaultPhaseOneParameters = defaultPhaseOneParameters; + this.__explicitlySet__.add("defaultPhaseOneParameters"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("defaultPhaseTwoParameters") + private DefaultPhaseTwoParameters defaultPhaseTwoParameters; + + public Builder defaultPhaseTwoParameters( + DefaultPhaseTwoParameters defaultPhaseTwoParameters) { + this.defaultPhaseTwoParameters = defaultPhaseTwoParameters; + this.__explicitlySet__.add("defaultPhaseTwoParameters"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AllowedIkeIPSecParameters build() { + AllowedIkeIPSecParameters model = + new AllowedIkeIPSecParameters( + this.allowedPhaseOneParameters, + this.allowedPhaseTwoParameters, + this.defaultPhaseOneParameters, + this.defaultPhaseTwoParameters); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AllowedIkeIPSecParameters model) { + if (model.wasPropertyExplicitlySet("allowedPhaseOneParameters")) { + this.allowedPhaseOneParameters(model.getAllowedPhaseOneParameters()); + } + if (model.wasPropertyExplicitlySet("allowedPhaseTwoParameters")) { + this.allowedPhaseTwoParameters(model.getAllowedPhaseTwoParameters()); + } + if (model.wasPropertyExplicitlySet("defaultPhaseOneParameters")) { + this.defaultPhaseOneParameters(model.getDefaultPhaseOneParameters()); + } + if (model.wasPropertyExplicitlySet("defaultPhaseTwoParameters")) { + this.defaultPhaseTwoParameters(model.getDefaultPhaseTwoParameters()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @com.fasterxml.jackson.annotation.JsonProperty("allowedPhaseOneParameters") + private final AllowedPhaseOneParameters allowedPhaseOneParameters; + + public AllowedPhaseOneParameters getAllowedPhaseOneParameters() { + return allowedPhaseOneParameters; + } + + @com.fasterxml.jackson.annotation.JsonProperty("allowedPhaseTwoParameters") + private final AllowedPhaseTwoParameters allowedPhaseTwoParameters; + + public AllowedPhaseTwoParameters getAllowedPhaseTwoParameters() { + return allowedPhaseTwoParameters; + } + + @com.fasterxml.jackson.annotation.JsonProperty("defaultPhaseOneParameters") + private final DefaultPhaseOneParameters defaultPhaseOneParameters; + + public DefaultPhaseOneParameters getDefaultPhaseOneParameters() { + return defaultPhaseOneParameters; + } + + @com.fasterxml.jackson.annotation.JsonProperty("defaultPhaseTwoParameters") + private final DefaultPhaseTwoParameters defaultPhaseTwoParameters; + + public DefaultPhaseTwoParameters getDefaultPhaseTwoParameters() { + return defaultPhaseTwoParameters; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AllowedIkeIPSecParameters("); + sb.append("super=").append(super.toString()); + sb.append("allowedPhaseOneParameters=") + .append(String.valueOf(this.allowedPhaseOneParameters)); + sb.append(", allowedPhaseTwoParameters=") + .append(String.valueOf(this.allowedPhaseTwoParameters)); + sb.append(", defaultPhaseOneParameters=") + .append(String.valueOf(this.defaultPhaseOneParameters)); + sb.append(", defaultPhaseTwoParameters=") + .append(String.valueOf(this.defaultPhaseTwoParameters)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AllowedIkeIPSecParameters)) { + return false; + } + + AllowedIkeIPSecParameters other = (AllowedIkeIPSecParameters) o; + return java.util.Objects.equals( + this.allowedPhaseOneParameters, other.allowedPhaseOneParameters) + && java.util.Objects.equals( + this.allowedPhaseTwoParameters, other.allowedPhaseTwoParameters) + && java.util.Objects.equals( + this.defaultPhaseOneParameters, other.defaultPhaseOneParameters) + && java.util.Objects.equals( + this.defaultPhaseTwoParameters, other.defaultPhaseTwoParameters) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.allowedPhaseOneParameters == null + ? 43 + : this.allowedPhaseOneParameters.hashCode()); + result = + (result * PRIME) + + (this.allowedPhaseTwoParameters == null + ? 43 + : this.allowedPhaseTwoParameters.hashCode()); + result = + (result * PRIME) + + (this.defaultPhaseOneParameters == null + ? 43 + : this.defaultPhaseOneParameters.hashCode()); + result = + (result * PRIME) + + (this.defaultPhaseTwoParameters == null + ? 43 + : this.defaultPhaseTwoParameters.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AllowedPhaseOneParameters.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AllowedPhaseOneParameters.java new file mode 100644 index 00000000000..a634f732e62 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AllowedPhaseOneParameters.java @@ -0,0 +1,225 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Allowed phase one parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AllowedPhaseOneParameters.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AllowedPhaseOneParameters + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "encryptionAlgorithms", + "authenticationAlgorithms", + "dhGroups" + }) + public AllowedPhaseOneParameters( + java.util.List encryptionAlgorithms, + java.util.List authenticationAlgorithms, + java.util.List dhGroups) { + super(); + this.encryptionAlgorithms = encryptionAlgorithms; + this.authenticationAlgorithms = authenticationAlgorithms; + this.dhGroups = dhGroups; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Allowed phase one encryption algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionAlgorithms") + private java.util.List encryptionAlgorithms; + + /** + * Allowed phase one encryption algorithms. + * + * @param encryptionAlgorithms the value to set + * @return this builder + */ + public Builder encryptionAlgorithms(java.util.List encryptionAlgorithms) { + this.encryptionAlgorithms = encryptionAlgorithms; + this.__explicitlySet__.add("encryptionAlgorithms"); + return this; + } + /** Allowed phase one authentication algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("authenticationAlgorithms") + private java.util.List authenticationAlgorithms; + + /** + * Allowed phase one authentication algorithms. + * + * @param authenticationAlgorithms the value to set + * @return this builder + */ + public Builder authenticationAlgorithms(java.util.List authenticationAlgorithms) { + this.authenticationAlgorithms = authenticationAlgorithms; + this.__explicitlySet__.add("authenticationAlgorithms"); + return this; + } + /** Allowed phase one Diffie-Hellman groups. */ + @com.fasterxml.jackson.annotation.JsonProperty("dhGroups") + private java.util.List dhGroups; + + /** + * Allowed phase one Diffie-Hellman groups. + * + * @param dhGroups the value to set + * @return this builder + */ + public Builder dhGroups(java.util.List dhGroups) { + this.dhGroups = dhGroups; + this.__explicitlySet__.add("dhGroups"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AllowedPhaseOneParameters build() { + AllowedPhaseOneParameters model = + new AllowedPhaseOneParameters( + this.encryptionAlgorithms, + this.authenticationAlgorithms, + this.dhGroups); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AllowedPhaseOneParameters model) { + if (model.wasPropertyExplicitlySet("encryptionAlgorithms")) { + this.encryptionAlgorithms(model.getEncryptionAlgorithms()); + } + if (model.wasPropertyExplicitlySet("authenticationAlgorithms")) { + this.authenticationAlgorithms(model.getAuthenticationAlgorithms()); + } + if (model.wasPropertyExplicitlySet("dhGroups")) { + this.dhGroups(model.getDhGroups()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Allowed phase one encryption algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionAlgorithms") + private final java.util.List encryptionAlgorithms; + + /** + * Allowed phase one encryption algorithms. + * + * @return the value + */ + public java.util.List getEncryptionAlgorithms() { + return encryptionAlgorithms; + } + + /** Allowed phase one authentication algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("authenticationAlgorithms") + private final java.util.List authenticationAlgorithms; + + /** + * Allowed phase one authentication algorithms. + * + * @return the value + */ + public java.util.List getAuthenticationAlgorithms() { + return authenticationAlgorithms; + } + + /** Allowed phase one Diffie-Hellman groups. */ + @com.fasterxml.jackson.annotation.JsonProperty("dhGroups") + private final java.util.List dhGroups; + + /** + * Allowed phase one Diffie-Hellman groups. + * + * @return the value + */ + public java.util.List getDhGroups() { + return dhGroups; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AllowedPhaseOneParameters("); + sb.append("super=").append(super.toString()); + sb.append("encryptionAlgorithms=").append(String.valueOf(this.encryptionAlgorithms)); + sb.append(", authenticationAlgorithms=") + .append(String.valueOf(this.authenticationAlgorithms)); + sb.append(", dhGroups=").append(String.valueOf(this.dhGroups)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AllowedPhaseOneParameters)) { + return false; + } + + AllowedPhaseOneParameters other = (AllowedPhaseOneParameters) o; + return java.util.Objects.equals(this.encryptionAlgorithms, other.encryptionAlgorithms) + && java.util.Objects.equals( + this.authenticationAlgorithms, other.authenticationAlgorithms) + && java.util.Objects.equals(this.dhGroups, other.dhGroups) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.encryptionAlgorithms == null + ? 43 + : this.encryptionAlgorithms.hashCode()); + result = + (result * PRIME) + + (this.authenticationAlgorithms == null + ? 43 + : this.authenticationAlgorithms.hashCode()); + result = (result * PRIME) + (this.dhGroups == null ? 43 : this.dhGroups.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AllowedPhaseTwoParameters.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AllowedPhaseTwoParameters.java new file mode 100644 index 00000000000..c2efe1d688e --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/AllowedPhaseTwoParameters.java @@ -0,0 +1,225 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Allowed phase two parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = AllowedPhaseTwoParameters.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class AllowedPhaseTwoParameters + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "encryptionAlgorithms", + "authenticationAlgorithms", + "pfsDhGroups" + }) + public AllowedPhaseTwoParameters( + java.util.List encryptionAlgorithms, + java.util.List authenticationAlgorithms, + java.util.List pfsDhGroups) { + super(); + this.encryptionAlgorithms = encryptionAlgorithms; + this.authenticationAlgorithms = authenticationAlgorithms; + this.pfsDhGroups = pfsDhGroups; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Allowed phase two encryption algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionAlgorithms") + private java.util.List encryptionAlgorithms; + + /** + * Allowed phase two encryption algorithms. + * + * @param encryptionAlgorithms the value to set + * @return this builder + */ + public Builder encryptionAlgorithms(java.util.List encryptionAlgorithms) { + this.encryptionAlgorithms = encryptionAlgorithms; + this.__explicitlySet__.add("encryptionAlgorithms"); + return this; + } + /** Allowed phase two authentication algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("authenticationAlgorithms") + private java.util.List authenticationAlgorithms; + + /** + * Allowed phase two authentication algorithms. + * + * @param authenticationAlgorithms the value to set + * @return this builder + */ + public Builder authenticationAlgorithms(java.util.List authenticationAlgorithms) { + this.authenticationAlgorithms = authenticationAlgorithms; + this.__explicitlySet__.add("authenticationAlgorithms"); + return this; + } + /** Allowed perfect forward secrecy Diffie-Hellman groups. */ + @com.fasterxml.jackson.annotation.JsonProperty("pfsDhGroups") + private java.util.List pfsDhGroups; + + /** + * Allowed perfect forward secrecy Diffie-Hellman groups. + * + * @param pfsDhGroups the value to set + * @return this builder + */ + public Builder pfsDhGroups(java.util.List pfsDhGroups) { + this.pfsDhGroups = pfsDhGroups; + this.__explicitlySet__.add("pfsDhGroups"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public AllowedPhaseTwoParameters build() { + AllowedPhaseTwoParameters model = + new AllowedPhaseTwoParameters( + this.encryptionAlgorithms, + this.authenticationAlgorithms, + this.pfsDhGroups); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(AllowedPhaseTwoParameters model) { + if (model.wasPropertyExplicitlySet("encryptionAlgorithms")) { + this.encryptionAlgorithms(model.getEncryptionAlgorithms()); + } + if (model.wasPropertyExplicitlySet("authenticationAlgorithms")) { + this.authenticationAlgorithms(model.getAuthenticationAlgorithms()); + } + if (model.wasPropertyExplicitlySet("pfsDhGroups")) { + this.pfsDhGroups(model.getPfsDhGroups()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Allowed phase two encryption algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionAlgorithms") + private final java.util.List encryptionAlgorithms; + + /** + * Allowed phase two encryption algorithms. + * + * @return the value + */ + public java.util.List getEncryptionAlgorithms() { + return encryptionAlgorithms; + } + + /** Allowed phase two authentication algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("authenticationAlgorithms") + private final java.util.List authenticationAlgorithms; + + /** + * Allowed phase two authentication algorithms. + * + * @return the value + */ + public java.util.List getAuthenticationAlgorithms() { + return authenticationAlgorithms; + } + + /** Allowed perfect forward secrecy Diffie-Hellman groups. */ + @com.fasterxml.jackson.annotation.JsonProperty("pfsDhGroups") + private final java.util.List pfsDhGroups; + + /** + * Allowed perfect forward secrecy Diffie-Hellman groups. + * + * @return the value + */ + public java.util.List getPfsDhGroups() { + return pfsDhGroups; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("AllowedPhaseTwoParameters("); + sb.append("super=").append(super.toString()); + sb.append("encryptionAlgorithms=").append(String.valueOf(this.encryptionAlgorithms)); + sb.append(", authenticationAlgorithms=") + .append(String.valueOf(this.authenticationAlgorithms)); + sb.append(", pfsDhGroups=").append(String.valueOf(this.pfsDhGroups)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof AllowedPhaseTwoParameters)) { + return false; + } + + AllowedPhaseTwoParameters other = (AllowedPhaseTwoParameters) o; + return java.util.Objects.equals(this.encryptionAlgorithms, other.encryptionAlgorithms) + && java.util.Objects.equals( + this.authenticationAlgorithms, other.authenticationAlgorithms) + && java.util.Objects.equals(this.pfsDhGroups, other.pfsDhGroups) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.encryptionAlgorithms == null + ? 43 + : this.encryptionAlgorithms.hashCode()); + result = + (result * PRIME) + + (this.authenticationAlgorithms == null + ? 43 + : this.authenticationAlgorithms.hashCode()); + result = (result * PRIME) + (this.pfsDhGroups == null ? 43 : this.pfsDhGroups.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/BgpSessionInfo.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/BgpSessionInfo.java new file mode 100644 index 00000000000..0d7a1815856 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/BgpSessionInfo.java @@ -0,0 +1,704 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Information for establishing a BGP session for the IPSec tunnel.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = BgpSessionInfo.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class BgpSessionInfo + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "oracleInterfaceIp", + "customerInterfaceIp", + "oracleInterfaceIpv6", + "customerInterfaceIpv6", + "oracleBgpAsn", + "customerBgpAsn", + "bgpState", + "bgpIpv6State" + }) + public BgpSessionInfo( + String oracleInterfaceIp, + String customerInterfaceIp, + String oracleInterfaceIpv6, + String customerInterfaceIpv6, + String oracleBgpAsn, + String customerBgpAsn, + BgpState bgpState, + BgpIpv6State bgpIpv6State) { + super(); + this.oracleInterfaceIp = oracleInterfaceIp; + this.customerInterfaceIp = customerInterfaceIp; + this.oracleInterfaceIpv6 = oracleInterfaceIpv6; + this.customerInterfaceIpv6 = customerInterfaceIpv6; + this.oracleBgpAsn = oracleBgpAsn; + this.customerBgpAsn = customerBgpAsn; + this.bgpState = bgpState; + this.bgpIpv6State = bgpIpv6State; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The IP address for the Oracle end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP + * session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You + * can set this IP address so you can troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.4/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInterfaceIp") + private String oracleInterfaceIp; + + /** + * The IP address for the Oracle end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP + * session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You + * can set this IP address so you can troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.4/31} + * + * @param oracleInterfaceIp the value to set + * @return this builder + */ + public Builder oracleInterfaceIp(String oracleInterfaceIp) { + this.oracleInterfaceIp = oracleInterfaceIp; + this.__explicitlySet__.add("oracleInterfaceIp"); + return this; + } + /** + * The IP address for the CPE end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP + * session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You + * can set this IP address so you can troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.5/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerInterfaceIp") + private String customerInterfaceIp; + + /** + * The IP address for the CPE end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP + * session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You + * can set this IP address so you can troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.5/31} + * + * @param customerInterfaceIp the value to set + * @return this builder + */ + public Builder customerInterfaceIp(String customerInterfaceIp) { + this.customerInterfaceIp = customerInterfaceIp; + this.__explicitlySet__.add("customerInterfaceIp"); + return this; + } + /** + * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInterfaceIpv6") + private String oracleInterfaceIpv6; + + /** + * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + * + * @param oracleInterfaceIpv6 the value to set + * @return this builder + */ + public Builder oracleInterfaceIpv6(String oracleInterfaceIpv6) { + this.oracleInterfaceIpv6 = oracleInterfaceIpv6; + this.__explicitlySet__.add("oracleInterfaceIpv6"); + return this; + } + /** + * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerInterfaceIpv6") + private String customerInterfaceIpv6; + + /** + * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + * + * @param customerInterfaceIpv6 the value to set + * @return this builder + */ + public Builder customerInterfaceIpv6(String customerInterfaceIpv6) { + this.customerInterfaceIpv6 = customerInterfaceIpv6; + this.__explicitlySet__.add("customerInterfaceIpv6"); + return this; + } + /** The Oracle BGP ASN. */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleBgpAsn") + private String oracleBgpAsn; + + /** + * The Oracle BGP ASN. + * + * @param oracleBgpAsn the value to set + * @return this builder + */ + public Builder oracleBgpAsn(String oracleBgpAsn) { + this.oracleBgpAsn = oracleBgpAsn; + this.__explicitlySet__.add("oracleBgpAsn"); + return this; + } + /** + * If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this ASN is required and used for the tunnel's BGP session. This + * is the ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte + * ASN. Uses "asplain" format. + * + *

If the tunnel uses static routing, the {@code customerBgpAsn} must be null. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") + private String customerBgpAsn; + + /** + * If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this ASN is required and used for the tunnel's BGP session. This + * is the ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte + * ASN. Uses "asplain" format. + * + *

If the tunnel uses static routing, the {@code customerBgpAsn} must be null. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + * + * @param customerBgpAsn the value to set + * @return this builder + */ + public Builder customerBgpAsn(String customerBgpAsn) { + this.customerBgpAsn = customerBgpAsn; + this.__explicitlySet__.add("customerBgpAsn"); + return this; + } + /** The state of the BGP session. */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpState") + private BgpState bgpState; + + /** + * The state of the BGP session. + * + * @param bgpState the value to set + * @return this builder + */ + public Builder bgpState(BgpState bgpState) { + this.bgpState = bgpState; + this.__explicitlySet__.add("bgpState"); + return this; + } + /** The state of the BGP IPv6 session. */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpIpv6State") + private BgpIpv6State bgpIpv6State; + + /** + * The state of the BGP IPv6 session. + * + * @param bgpIpv6State the value to set + * @return this builder + */ + public Builder bgpIpv6State(BgpIpv6State bgpIpv6State) { + this.bgpIpv6State = bgpIpv6State; + this.__explicitlySet__.add("bgpIpv6State"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public BgpSessionInfo build() { + BgpSessionInfo model = + new BgpSessionInfo( + this.oracleInterfaceIp, + this.customerInterfaceIp, + this.oracleInterfaceIpv6, + this.customerInterfaceIpv6, + this.oracleBgpAsn, + this.customerBgpAsn, + this.bgpState, + this.bgpIpv6State); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(BgpSessionInfo model) { + if (model.wasPropertyExplicitlySet("oracleInterfaceIp")) { + this.oracleInterfaceIp(model.getOracleInterfaceIp()); + } + if (model.wasPropertyExplicitlySet("customerInterfaceIp")) { + this.customerInterfaceIp(model.getCustomerInterfaceIp()); + } + if (model.wasPropertyExplicitlySet("oracleInterfaceIpv6")) { + this.oracleInterfaceIpv6(model.getOracleInterfaceIpv6()); + } + if (model.wasPropertyExplicitlySet("customerInterfaceIpv6")) { + this.customerInterfaceIpv6(model.getCustomerInterfaceIpv6()); + } + if (model.wasPropertyExplicitlySet("oracleBgpAsn")) { + this.oracleBgpAsn(model.getOracleBgpAsn()); + } + if (model.wasPropertyExplicitlySet("customerBgpAsn")) { + this.customerBgpAsn(model.getCustomerBgpAsn()); + } + if (model.wasPropertyExplicitlySet("bgpState")) { + this.bgpState(model.getBgpState()); + } + if (model.wasPropertyExplicitlySet("bgpIpv6State")) { + this.bgpIpv6State(model.getBgpIpv6State()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The IP address for the Oracle end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can + * set this IP address so you can troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.4/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInterfaceIp") + private final String oracleInterfaceIp; + + /** + * The IP address for the Oracle end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can + * set this IP address so you can troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.4/31} + * + * @return the value + */ + public String getOracleInterfaceIp() { + return oracleInterfaceIp; + } + + /** + * The IP address for the CPE end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can + * set this IP address so you can troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.5/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerInterfaceIp") + private final String customerInterfaceIp; + + /** + * The IP address for the CPE end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can + * set this IP address so you can troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.5/31} + * + * @return the value + */ + public String getCustomerInterfaceIp() { + return customerInterfaceIp; + } + + /** + * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInterfaceIpv6") + private final String oracleInterfaceIpv6; + + /** + * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + * + * @return the value + */ + public String getOracleInterfaceIpv6() { + return oracleInterfaceIpv6; + } + + /** + * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerInterfaceIpv6") + private final String customerInterfaceIpv6; + + /** + * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + * + * @return the value + */ + public String getCustomerInterfaceIpv6() { + return customerInterfaceIpv6; + } + + /** The Oracle BGP ASN. */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleBgpAsn") + private final String oracleBgpAsn; + + /** + * The Oracle BGP ASN. + * + * @return the value + */ + public String getOracleBgpAsn() { + return oracleBgpAsn; + } + + /** + * If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this ASN is required and used for the tunnel's BGP session. This is + * the ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. Uses + * "asplain" format. + * + *

If the tunnel uses static routing, the {@code customerBgpAsn} must be null. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") + private final String customerBgpAsn; + + /** + * If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this ASN is required and used for the tunnel's BGP session. This is + * the ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. Uses + * "asplain" format. + * + *

If the tunnel uses static routing, the {@code customerBgpAsn} must be null. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + * + * @return the value + */ + public String getCustomerBgpAsn() { + return customerBgpAsn; + } + + /** The state of the BGP session. */ + public enum BgpState implements com.oracle.bmc.http.internal.BmcEnum { + Up("UP"), + Down("DOWN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (BgpState v : BgpState.values()) { + map.put(v.getValue(), v); + } + } + + BgpState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static BgpState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid BgpState: " + key); + } + }; + /** The state of the BGP session. */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpState") + private final BgpState bgpState; + + /** + * The state of the BGP session. + * + * @return the value + */ + public BgpState getBgpState() { + return bgpState; + } + + /** The state of the BGP IPv6 session. */ + public enum BgpIpv6State implements com.oracle.bmc.http.internal.BmcEnum { + Up("UP"), + Down("DOWN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (BgpIpv6State v : BgpIpv6State.values()) { + map.put(v.getValue(), v); + } + } + + BgpIpv6State(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static BgpIpv6State create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid BgpIpv6State: " + key); + } + }; + /** The state of the BGP IPv6 session. */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpIpv6State") + private final BgpIpv6State bgpIpv6State; + + /** + * The state of the BGP IPv6 session. + * + * @return the value + */ + public BgpIpv6State getBgpIpv6State() { + return bgpIpv6State; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("BgpSessionInfo("); + sb.append("super=").append(super.toString()); + sb.append("oracleInterfaceIp=").append(String.valueOf(this.oracleInterfaceIp)); + sb.append(", customerInterfaceIp=").append(String.valueOf(this.customerInterfaceIp)); + sb.append(", oracleInterfaceIpv6=").append(String.valueOf(this.oracleInterfaceIpv6)); + sb.append(", customerInterfaceIpv6=").append(String.valueOf(this.customerInterfaceIpv6)); + sb.append(", oracleBgpAsn=").append(String.valueOf(this.oracleBgpAsn)); + sb.append(", customerBgpAsn=").append(String.valueOf(this.customerBgpAsn)); + sb.append(", bgpState=").append(String.valueOf(this.bgpState)); + sb.append(", bgpIpv6State=").append(String.valueOf(this.bgpIpv6State)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof BgpSessionInfo)) { + return false; + } + + BgpSessionInfo other = (BgpSessionInfo) o; + return java.util.Objects.equals(this.oracleInterfaceIp, other.oracleInterfaceIp) + && java.util.Objects.equals(this.customerInterfaceIp, other.customerInterfaceIp) + && java.util.Objects.equals(this.oracleInterfaceIpv6, other.oracleInterfaceIpv6) + && java.util.Objects.equals(this.customerInterfaceIpv6, other.customerInterfaceIpv6) + && java.util.Objects.equals(this.oracleBgpAsn, other.oracleBgpAsn) + && java.util.Objects.equals(this.customerBgpAsn, other.customerBgpAsn) + && java.util.Objects.equals(this.bgpState, other.bgpState) + && java.util.Objects.equals(this.bgpIpv6State, other.bgpIpv6State) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.oracleInterfaceIp == null ? 43 : this.oracleInterfaceIp.hashCode()); + result = + (result * PRIME) + + (this.customerInterfaceIp == null + ? 43 + : this.customerInterfaceIp.hashCode()); + result = + (result * PRIME) + + (this.oracleInterfaceIpv6 == null + ? 43 + : this.oracleInterfaceIpv6.hashCode()); + result = + (result * PRIME) + + (this.customerInterfaceIpv6 == null + ? 43 + : this.customerInterfaceIpv6.hashCode()); + result = (result * PRIME) + (this.oracleBgpAsn == null ? 43 : this.oracleBgpAsn.hashCode()); + result = + (result * PRIME) + + (this.customerBgpAsn == null ? 43 : this.customerBgpAsn.hashCode()); + result = (result * PRIME) + (this.bgpState == null ? 43 : this.bgpState.hashCode()); + result = (result * PRIME) + (this.bgpIpv6State == null ? 43 : this.bgpIpv6State.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipAllocatedRangeCollection.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipAllocatedRangeCollection.java new file mode 100644 index 00000000000..400a48e3c9f --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipAllocatedRangeCollection.java @@ -0,0 +1,133 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Results of a {@code ListByoipAllocatedRanges} operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ByoipAllocatedRangeCollection.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ByoipAllocatedRangeCollection + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"items"}) + public ByoipAllocatedRangeCollection(java.util.List items) { + super(); + this.items = items; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** A list of subranges of a BYOIP CIDR block allocated to an IP pool. */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private java.util.List items; + + /** + * A list of subranges of a BYOIP CIDR block allocated to an IP pool. + * + * @param items the value to set + * @return this builder + */ + public Builder items(java.util.List items) { + this.items = items; + this.__explicitlySet__.add("items"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ByoipAllocatedRangeCollection build() { + ByoipAllocatedRangeCollection model = new ByoipAllocatedRangeCollection(this.items); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ByoipAllocatedRangeCollection model) { + if (model.wasPropertyExplicitlySet("items")) { + this.items(model.getItems()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** A list of subranges of a BYOIP CIDR block allocated to an IP pool. */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private final java.util.List items; + + /** + * A list of subranges of a BYOIP CIDR block allocated to an IP pool. + * + * @return the value + */ + public java.util.List getItems() { + return items; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ByoipAllocatedRangeCollection("); + sb.append("super=").append(super.toString()); + sb.append("items=").append(String.valueOf(this.items)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ByoipAllocatedRangeCollection)) { + return false; + } + + ByoipAllocatedRangeCollection other = (ByoipAllocatedRangeCollection) o; + return java.util.Objects.equals(this.items, other.items) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipAllocatedRangeSummary.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipAllocatedRangeSummary.java new file mode 100644 index 00000000000..3037b76773a --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipAllocatedRangeSummary.java @@ -0,0 +1,188 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * A summary of CIDR block subranges that are currently allocated to an IP pool.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ByoipAllocatedRangeSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ByoipAllocatedRangeSummary + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"cidrBlock", "publicIpPoolId"}) + public ByoipAllocatedRangeSummary(String cidrBlock, String publicIpPoolId) { + super(); + this.cidrBlock = cidrBlock; + this.publicIpPoolId = publicIpPoolId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part + * of a BYOIP CIDR block. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private String cidrBlock; + + /** + * The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part + * of a BYOIP CIDR block. + * + * @param cidrBlock the value to set + * @return this builder + */ + public Builder cidrBlock(String cidrBlock) { + this.cidrBlock = cidrBlock; + this.__explicitlySet__.add("cidrBlock"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the IP pool containing the CIDR block. + */ + @com.fasterxml.jackson.annotation.JsonProperty("publicIpPoolId") + private String publicIpPoolId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the IP pool containing the CIDR block. + * + * @param publicIpPoolId the value to set + * @return this builder + */ + public Builder publicIpPoolId(String publicIpPoolId) { + this.publicIpPoolId = publicIpPoolId; + this.__explicitlySet__.add("publicIpPoolId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ByoipAllocatedRangeSummary build() { + ByoipAllocatedRangeSummary model = + new ByoipAllocatedRangeSummary(this.cidrBlock, this.publicIpPoolId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ByoipAllocatedRangeSummary model) { + if (model.wasPropertyExplicitlySet("cidrBlock")) { + this.cidrBlock(model.getCidrBlock()); + } + if (model.wasPropertyExplicitlySet("publicIpPoolId")) { + this.publicIpPoolId(model.getPublicIpPoolId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of + * a BYOIP CIDR block. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private final String cidrBlock; + + /** + * The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of + * a BYOIP CIDR block. + * + * @return the value + */ + public String getCidrBlock() { + return cidrBlock; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the IP pool containing the CIDR block. + */ + @com.fasterxml.jackson.annotation.JsonProperty("publicIpPoolId") + private final String publicIpPoolId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the IP pool containing the CIDR block. + * + * @return the value + */ + public String getPublicIpPoolId() { + return publicIpPoolId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ByoipAllocatedRangeSummary("); + sb.append("super=").append(super.toString()); + sb.append("cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(", publicIpPoolId=").append(String.valueOf(this.publicIpPoolId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ByoipAllocatedRangeSummary)) { + return false; + } + + ByoipAllocatedRangeSummary other = (ByoipAllocatedRangeSummary) o; + return java.util.Objects.equals(this.cidrBlock, other.cidrBlock) + && java.util.Objects.equals(this.publicIpPoolId, other.publicIpPoolId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = + (result * PRIME) + + (this.publicIpPoolId == null ? 43 : this.publicIpPoolId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRange.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRange.java new file mode 100644 index 00000000000..c46e717338a --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRange.java @@ -0,0 +1,914 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Oracle offers the ability to Bring Your Own IP (BYOIP), importing public IP addresses or IPv6 + * addresses that you currently own to Oracle Cloud Infrastructure. A {@code ByoipRange} resource is + * a record of the imported address block (a BYOIP CIDR block) and also some associated metadata. + * The process used to [Bring Your Own + * IP](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm) is explained in the + * documentation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = ByoipRange.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ByoipRange extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "byoipRangeVcnIpv6Allocations", + "cidrBlock", + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "id", + "ipv6CidrBlock", + "lifecycleDetails", + "lifecycleState", + "timeCreated", + "timeValidated", + "timeAdvertised", + "timeWithdrawn", + "validationToken" + }) + public ByoipRange( + java.util.List byoipRangeVcnIpv6Allocations, + String cidrBlock, + String compartmentId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + String id, + String ipv6CidrBlock, + LifecycleDetails lifecycleDetails, + LifecycleState lifecycleState, + java.util.Date timeCreated, + java.util.Date timeValidated, + java.util.Date timeAdvertised, + java.util.Date timeWithdrawn, + String validationToken) { + super(); + this.byoipRangeVcnIpv6Allocations = byoipRangeVcnIpv6Allocations; + this.cidrBlock = cidrBlock; + this.compartmentId = compartmentId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.id = id; + this.ipv6CidrBlock = ipv6CidrBlock; + this.lifecycleDetails = lifecycleDetails; + this.lifecycleState = lifecycleState; + this.timeCreated = timeCreated; + this.timeValidated = timeValidated; + this.timeAdvertised = timeAdvertised; + this.timeWithdrawn = timeWithdrawn; + this.validationToken = validationToken; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** A list of {@code ByoipRangeVcnIpv6AllocationSummary} objects. */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipRangeVcnIpv6Allocations") + private java.util.List byoipRangeVcnIpv6Allocations; + + /** + * A list of {@code ByoipRangeVcnIpv6AllocationSummary} objects. + * + * @param byoipRangeVcnIpv6Allocations the value to set + * @return this builder + */ + public Builder byoipRangeVcnIpv6Allocations( + java.util.List byoipRangeVcnIpv6Allocations) { + this.byoipRangeVcnIpv6Allocations = byoipRangeVcnIpv6Allocations; + this.__explicitlySet__.add("byoipRangeVcnIpv6Allocations"); + return this; + } + /** The public IPv4 CIDR block being imported from on-premises to the Oracle cloud. */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private String cidrBlock; + + /** + * The public IPv4 CIDR block being imported from on-premises to the Oracle cloud. + * + * @param cidrBlock the value to set + * @return this builder + */ + public Builder cidrBlock(String cidrBlock) { + this.cidrBlock = cidrBlock; + this.__explicitlySet__.add("cidrBlock"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the BYOIP CIDR block. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the BYOIP CIDR block. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the {@code ByoipRange} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the {@code ByoipRange} resource. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block must be /48 or + * larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix + * can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may + * specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled + * subnets will remain a fixed /64 in size. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private String ipv6CidrBlock; + + /** + * The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block must be /48 or + * larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix + * can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may + * specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled + * subnets will remain a fixed /64 in size. + * + * @param ipv6CidrBlock the value to set + * @return this builder + */ + public Builder ipv6CidrBlock(String ipv6CidrBlock) { + this.ipv6CidrBlock = ipv6CidrBlock; + this.__explicitlySet__.add("ipv6CidrBlock"); + return this; + } + /** The {@code ByoipRange} resource's current status. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") + private LifecycleDetails lifecycleDetails; + + /** + * The {@code ByoipRange} resource's current status. + * + * @param lifecycleDetails the value to set + * @return this builder + */ + public Builder lifecycleDetails(LifecycleDetails lifecycleDetails) { + this.lifecycleDetails = lifecycleDetails; + this.__explicitlySet__.add("lifecycleDetails"); + return this; + } + /** The {@code ByoipRange} resource's current state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private LifecycleState lifecycleState; + + /** + * The {@code ByoipRange} resource's current state. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** + * The date and time the {@code ByoipRange} resource was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the {@code ByoipRange} resource was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param timeCreated the value to set + * @return this builder + */ + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + /** + * The date and time the {@code ByoipRange} resource was validated, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeValidated") + private java.util.Date timeValidated; + + /** + * The date and time the {@code ByoipRange} resource was validated, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param timeValidated the value to set + * @return this builder + */ + public Builder timeValidated(java.util.Date timeValidated) { + this.timeValidated = timeValidated; + this.__explicitlySet__.add("timeValidated"); + return this; + } + /** + * The date and time the {@code ByoipRange} resource was advertised to the internet by BGP, + * in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeAdvertised") + private java.util.Date timeAdvertised; + + /** + * The date and time the {@code ByoipRange} resource was advertised to the internet by BGP, + * in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param timeAdvertised the value to set + * @return this builder + */ + public Builder timeAdvertised(java.util.Date timeAdvertised) { + this.timeAdvertised = timeAdvertised; + this.__explicitlySet__.add("timeAdvertised"); + return this; + } + /** + * The date and time the {@code ByoipRange} resource was withdrawn from advertisement by BGP + * to the internet, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeWithdrawn") + private java.util.Date timeWithdrawn; + + /** + * The date and time the {@code ByoipRange} resource was withdrawn from advertisement by BGP + * to the internet, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param timeWithdrawn the value to set + * @return this builder + */ + public Builder timeWithdrawn(java.util.Date timeWithdrawn) { + this.timeWithdrawn = timeWithdrawn; + this.__explicitlySet__.add("timeWithdrawn"); + return this; + } + /** + * The validation token is an internally-generated ASCII string used in the validation + * process. See [Importing a CIDR + * block](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) + * for details. + */ + @com.fasterxml.jackson.annotation.JsonProperty("validationToken") + private String validationToken; + + /** + * The validation token is an internally-generated ASCII string used in the validation + * process. See [Importing a CIDR + * block](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) + * for details. + * + * @param validationToken the value to set + * @return this builder + */ + public Builder validationToken(String validationToken) { + this.validationToken = validationToken; + this.__explicitlySet__.add("validationToken"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ByoipRange build() { + ByoipRange model = + new ByoipRange( + this.byoipRangeVcnIpv6Allocations, + this.cidrBlock, + this.compartmentId, + this.definedTags, + this.displayName, + this.freeformTags, + this.id, + this.ipv6CidrBlock, + this.lifecycleDetails, + this.lifecycleState, + this.timeCreated, + this.timeValidated, + this.timeAdvertised, + this.timeWithdrawn, + this.validationToken); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ByoipRange model) { + if (model.wasPropertyExplicitlySet("byoipRangeVcnIpv6Allocations")) { + this.byoipRangeVcnIpv6Allocations(model.getByoipRangeVcnIpv6Allocations()); + } + if (model.wasPropertyExplicitlySet("cidrBlock")) { + this.cidrBlock(model.getCidrBlock()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { + this.ipv6CidrBlock(model.getIpv6CidrBlock()); + } + if (model.wasPropertyExplicitlySet("lifecycleDetails")) { + this.lifecycleDetails(model.getLifecycleDetails()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("timeValidated")) { + this.timeValidated(model.getTimeValidated()); + } + if (model.wasPropertyExplicitlySet("timeAdvertised")) { + this.timeAdvertised(model.getTimeAdvertised()); + } + if (model.wasPropertyExplicitlySet("timeWithdrawn")) { + this.timeWithdrawn(model.getTimeWithdrawn()); + } + if (model.wasPropertyExplicitlySet("validationToken")) { + this.validationToken(model.getValidationToken()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** A list of {@code ByoipRangeVcnIpv6AllocationSummary} objects. */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipRangeVcnIpv6Allocations") + private final java.util.List byoipRangeVcnIpv6Allocations; + + /** + * A list of {@code ByoipRangeVcnIpv6AllocationSummary} objects. + * + * @return the value + */ + public java.util.List getByoipRangeVcnIpv6Allocations() { + return byoipRangeVcnIpv6Allocations; + } + + /** The public IPv4 CIDR block being imported from on-premises to the Oracle cloud. */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private final String cidrBlock; + + /** + * The public IPv4 CIDR block being imported from on-premises to the Oracle cloud. + * + * @return the value + */ + public String getCidrBlock() { + return cidrBlock; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the BYOIP CIDR block. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the BYOIP CIDR block. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the {@code ByoipRange} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the {@code ByoipRange} resource. + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block must be /48 or + * larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can + * be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a + * ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will + * remain a fixed /64 in size. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private final String ipv6CidrBlock; + + /** + * The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block must be /48 or + * larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can + * be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a + * ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will + * remain a fixed /64 in size. + * + * @return the value + */ + public String getIpv6CidrBlock() { + return ipv6CidrBlock; + } + + /** The {@code ByoipRange} resource's current status. */ + public enum LifecycleDetails implements com.oracle.bmc.http.internal.BmcEnum { + Creating("CREATING"), + Validating("VALIDATING"), + Provisioned("PROVISIONED"), + Active("ACTIVE"), + Failed("FAILED"), + Deleting("DELETING"), + Deleted("DELETED"), + Advertising("ADVERTISING"), + Withdrawing("WITHDRAWING"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (LifecycleDetails v : LifecycleDetails.values()) { + map.put(v.getValue(), v); + } + } + + LifecycleDetails(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static LifecycleDetails create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid LifecycleDetails: " + key); + } + }; + /** The {@code ByoipRange} resource's current status. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") + private final LifecycleDetails lifecycleDetails; + + /** + * The {@code ByoipRange} resource's current status. + * + * @return the value + */ + public LifecycleDetails getLifecycleDetails() { + return lifecycleDetails; + } + + /** The {@code ByoipRange} resource's current state. */ + public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { + Inactive("INACTIVE"), + Updating("UPDATING"), + Active("ACTIVE"), + Deleting("DELETING"), + Deleted("DELETED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (LifecycleState v : LifecycleState.values()) { + map.put(v.getValue(), v); + } + } + + LifecycleState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static LifecycleState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid LifecycleState: " + key); + } + }; + /** The {@code ByoipRange} resource's current state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final LifecycleState lifecycleState; + + /** + * The {@code ByoipRange} resource's current state. + * + * @return the value + */ + public LifecycleState getLifecycleState() { + return lifecycleState; + } + + /** + * The date and time the {@code ByoipRange} resource was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the {@code ByoipRange} resource was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + /** + * The date and time the {@code ByoipRange} resource was validated, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeValidated") + private final java.util.Date timeValidated; + + /** + * The date and time the {@code ByoipRange} resource was validated, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeValidated() { + return timeValidated; + } + + /** + * The date and time the {@code ByoipRange} resource was advertised to the internet by BGP, in + * the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeAdvertised") + private final java.util.Date timeAdvertised; + + /** + * The date and time the {@code ByoipRange} resource was advertised to the internet by BGP, in + * the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeAdvertised() { + return timeAdvertised; + } + + /** + * The date and time the {@code ByoipRange} resource was withdrawn from advertisement by BGP to + * the internet, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeWithdrawn") + private final java.util.Date timeWithdrawn; + + /** + * The date and time the {@code ByoipRange} resource was withdrawn from advertisement by BGP to + * the internet, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeWithdrawn() { + return timeWithdrawn; + } + + /** + * The validation token is an internally-generated ASCII string used in the validation process. + * See [Importing a CIDR + * block](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for + * details. + */ + @com.fasterxml.jackson.annotation.JsonProperty("validationToken") + private final String validationToken; + + /** + * The validation token is an internally-generated ASCII string used in the validation process. + * See [Importing a CIDR + * block](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for + * details. + * + * @return the value + */ + public String getValidationToken() { + return validationToken; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ByoipRange("); + sb.append("super=").append(super.toString()); + sb.append("byoipRangeVcnIpv6Allocations=") + .append(String.valueOf(this.byoipRangeVcnIpv6Allocations)); + sb.append(", cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", id=").append(String.valueOf(this.id)); + sb.append(", ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); + sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", timeValidated=").append(String.valueOf(this.timeValidated)); + sb.append(", timeAdvertised=").append(String.valueOf(this.timeAdvertised)); + sb.append(", timeWithdrawn=").append(String.valueOf(this.timeWithdrawn)); + sb.append(", validationToken=").append(String.valueOf(this.validationToken)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ByoipRange)) { + return false; + } + + ByoipRange other = (ByoipRange) o; + return java.util.Objects.equals( + this.byoipRangeVcnIpv6Allocations, other.byoipRangeVcnIpv6Allocations) + && java.util.Objects.equals(this.cidrBlock, other.cidrBlock) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) + && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals(this.timeValidated, other.timeValidated) + && java.util.Objects.equals(this.timeAdvertised, other.timeAdvertised) + && java.util.Objects.equals(this.timeWithdrawn, other.timeWithdrawn) + && java.util.Objects.equals(this.validationToken, other.validationToken) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.byoipRangeVcnIpv6Allocations == null + ? 43 + : this.byoipRangeVcnIpv6Allocations.hashCode()); + result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = + (result * PRIME) + + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); + result = + (result * PRIME) + + (this.lifecycleDetails == null ? 43 : this.lifecycleDetails.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = + (result * PRIME) + + (this.timeValidated == null ? 43 : this.timeValidated.hashCode()); + result = + (result * PRIME) + + (this.timeAdvertised == null ? 43 : this.timeAdvertised.hashCode()); + result = + (result * PRIME) + + (this.timeWithdrawn == null ? 43 : this.timeWithdrawn.hashCode()); + result = + (result * PRIME) + + (this.validationToken == null ? 43 : this.validationToken.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRangeCollection.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRangeCollection.java new file mode 100644 index 00000000000..b18299ddcb2 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRangeCollection.java @@ -0,0 +1,133 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The results returned by a {@code ListByoipRange} operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ByoipRangeCollection.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ByoipRangeCollection + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"items"}) + public ByoipRangeCollection(java.util.List items) { + super(); + this.items = items; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** A list of {@code ByoipRange} resource summaries. */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private java.util.List items; + + /** + * A list of {@code ByoipRange} resource summaries. + * + * @param items the value to set + * @return this builder + */ + public Builder items(java.util.List items) { + this.items = items; + this.__explicitlySet__.add("items"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ByoipRangeCollection build() { + ByoipRangeCollection model = new ByoipRangeCollection(this.items); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ByoipRangeCollection model) { + if (model.wasPropertyExplicitlySet("items")) { + this.items(model.getItems()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** A list of {@code ByoipRange} resource summaries. */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private final java.util.List items; + + /** + * A list of {@code ByoipRange} resource summaries. + * + * @return the value + */ + public java.util.List getItems() { + return items; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ByoipRangeCollection("); + sb.append("super=").append(super.toString()); + sb.append("items=").append(String.valueOf(this.items)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ByoipRangeCollection)) { + return false; + } + + ByoipRangeCollection other = (ByoipRangeCollection) o; + return java.util.Objects.equals(this.items, other.items) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRangeSummary.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRangeSummary.java new file mode 100644 index 00000000000..265dd1348d8 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRangeSummary.java @@ -0,0 +1,611 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Information about a {@code ByoipRange} resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ByoipRangeSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ByoipRangeSummary + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "byoipRangeVcnIpv6Allocations", + "cidrBlock", + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "id", + "ipv6CidrBlock", + "lifecycleState", + "lifecycleDetails", + "timeCreated" + }) + public ByoipRangeSummary( + java.util.List byoipRangeVcnIpv6Allocations, + String cidrBlock, + String compartmentId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + String id, + String ipv6CidrBlock, + ByoipRange.LifecycleState lifecycleState, + ByoipRange.LifecycleDetails lifecycleDetails, + java.util.Date timeCreated) { + super(); + this.byoipRangeVcnIpv6Allocations = byoipRangeVcnIpv6Allocations; + this.cidrBlock = cidrBlock; + this.compartmentId = compartmentId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.id = id; + this.ipv6CidrBlock = ipv6CidrBlock; + this.lifecycleState = lifecycleState; + this.lifecycleDetails = lifecycleDetails; + this.timeCreated = timeCreated; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** A list of {@code ByoipRangeVcnIpv6AllocationSummary} objects. */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipRangeVcnIpv6Allocations") + private java.util.List byoipRangeVcnIpv6Allocations; + + /** + * A list of {@code ByoipRangeVcnIpv6AllocationSummary} objects. + * + * @param byoipRangeVcnIpv6Allocations the value to set + * @return this builder + */ + public Builder byoipRangeVcnIpv6Allocations( + java.util.List byoipRangeVcnIpv6Allocations) { + this.byoipRangeVcnIpv6Allocations = byoipRangeVcnIpv6Allocations; + this.__explicitlySet__.add("byoipRangeVcnIpv6Allocations"); + return this; + } + /** The public IPv4 address range you are importing to the Oracle cloud. */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private String cidrBlock; + + /** + * The public IPv4 address range you are importing to the Oracle cloud. + * + * @param cidrBlock the value to set + * @return this builder + */ + public Builder cidrBlock(String cidrBlock) { + this.cidrBlock = cidrBlock; + this.__explicitlySet__.add("cidrBlock"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the {@code ByoipRange} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the {@code ByoipRange} resource. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the {@code ByoipRange} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the {@code ByoipRange} resource. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block must be /48 or + * larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix + * can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify + * a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets + * will remain a fixed /64 in size. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private String ipv6CidrBlock; + + /** + * The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block must be /48 or + * larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix + * can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify + * a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets + * will remain a fixed /64 in size. + * + * @param ipv6CidrBlock the value to set + * @return this builder + */ + public Builder ipv6CidrBlock(String ipv6CidrBlock) { + this.ipv6CidrBlock = ipv6CidrBlock; + this.__explicitlySet__.add("ipv6CidrBlock"); + return this; + } + /** The {@code ByoipRange} resource's current state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private ByoipRange.LifecycleState lifecycleState; + + /** + * The {@code ByoipRange} resource's current state. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(ByoipRange.LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** The Byoip Range's current lifeCycle substate. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") + private ByoipRange.LifecycleDetails lifecycleDetails; + + /** + * The Byoip Range's current lifeCycle substate. + * + * @param lifecycleDetails the value to set + * @return this builder + */ + public Builder lifecycleDetails(ByoipRange.LifecycleDetails lifecycleDetails) { + this.lifecycleDetails = lifecycleDetails; + this.__explicitlySet__.add("lifecycleDetails"); + return this; + } + /** + * The date and time the {@code ByoipRange} resource was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the {@code ByoipRange} resource was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param timeCreated the value to set + * @return this builder + */ + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ByoipRangeSummary build() { + ByoipRangeSummary model = + new ByoipRangeSummary( + this.byoipRangeVcnIpv6Allocations, + this.cidrBlock, + this.compartmentId, + this.definedTags, + this.displayName, + this.freeformTags, + this.id, + this.ipv6CidrBlock, + this.lifecycleState, + this.lifecycleDetails, + this.timeCreated); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ByoipRangeSummary model) { + if (model.wasPropertyExplicitlySet("byoipRangeVcnIpv6Allocations")) { + this.byoipRangeVcnIpv6Allocations(model.getByoipRangeVcnIpv6Allocations()); + } + if (model.wasPropertyExplicitlySet("cidrBlock")) { + this.cidrBlock(model.getCidrBlock()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { + this.ipv6CidrBlock(model.getIpv6CidrBlock()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("lifecycleDetails")) { + this.lifecycleDetails(model.getLifecycleDetails()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** A list of {@code ByoipRangeVcnIpv6AllocationSummary} objects. */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipRangeVcnIpv6Allocations") + private final java.util.List byoipRangeVcnIpv6Allocations; + + /** + * A list of {@code ByoipRangeVcnIpv6AllocationSummary} objects. + * + * @return the value + */ + public java.util.List getByoipRangeVcnIpv6Allocations() { + return byoipRangeVcnIpv6Allocations; + } + + /** The public IPv4 address range you are importing to the Oracle cloud. */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private final String cidrBlock; + + /** + * The public IPv4 address range you are importing to the Oracle cloud. + * + * @return the value + */ + public String getCidrBlock() { + return cidrBlock; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the {@code ByoipRange} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the {@code ByoipRange} resource. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the {@code ByoipRange} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the {@code ByoipRange} resource. + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block must be /48 or + * larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can + * be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA + * or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a + * fixed /64 in size. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private final String ipv6CidrBlock; + + /** + * The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block must be /48 or + * larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can + * be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA + * or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a + * fixed /64 in size. + * + * @return the value + */ + public String getIpv6CidrBlock() { + return ipv6CidrBlock; + } + + /** The {@code ByoipRange} resource's current state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final ByoipRange.LifecycleState lifecycleState; + + /** + * The {@code ByoipRange} resource's current state. + * + * @return the value + */ + public ByoipRange.LifecycleState getLifecycleState() { + return lifecycleState; + } + + /** The Byoip Range's current lifeCycle substate. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleDetails") + private final ByoipRange.LifecycleDetails lifecycleDetails; + + /** + * The Byoip Range's current lifeCycle substate. + * + * @return the value + */ + public ByoipRange.LifecycleDetails getLifecycleDetails() { + return lifecycleDetails; + } + + /** + * The date and time the {@code ByoipRange} resource was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the {@code ByoipRange} resource was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ByoipRangeSummary("); + sb.append("super=").append(super.toString()); + sb.append("byoipRangeVcnIpv6Allocations=") + .append(String.valueOf(this.byoipRangeVcnIpv6Allocations)); + sb.append(", cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", id=").append(String.valueOf(this.id)); + sb.append(", ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", lifecycleDetails=").append(String.valueOf(this.lifecycleDetails)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ByoipRangeSummary)) { + return false; + } + + ByoipRangeSummary other = (ByoipRangeSummary) o; + return java.util.Objects.equals( + this.byoipRangeVcnIpv6Allocations, other.byoipRangeVcnIpv6Allocations) + && java.util.Objects.equals(this.cidrBlock, other.cidrBlock) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.lifecycleDetails, other.lifecycleDetails) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.byoipRangeVcnIpv6Allocations == null + ? 43 + : this.byoipRangeVcnIpv6Allocations.hashCode()); + result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = + (result * PRIME) + + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = + (result * PRIME) + + (this.lifecycleDetails == null ? 43 : this.lifecycleDetails.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRangeVcnIpv6AllocationSummary.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRangeVcnIpv6AllocationSummary.java new file mode 100644 index 00000000000..ef8fe1e7bbc --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ByoipRangeVcnIpv6AllocationSummary.java @@ -0,0 +1,278 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * A summary of IPv6 CIDR block subranges currently allocated to a VCN.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ByoipRangeVcnIpv6AllocationSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ByoipRangeVcnIpv6AllocationSummary + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"byoipRangeId", "compartmentId", "ipv6CidrBlock", "vcnId"}) + public ByoipRangeVcnIpv6AllocationSummary( + String byoipRangeId, String compartmentId, String ipv6CidrBlock, String vcnId) { + super(); + this.byoipRangeId = byoipRangeId; + this.compartmentId = compartmentId; + this.ipv6CidrBlock = ipv6CidrBlock; + this.vcnId = vcnId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the {@code ByoipRange} resource to which the CIDR block belongs. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipRangeId") + private String byoipRangeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the {@code ByoipRange} resource to which the CIDR block belongs. + * + * @param byoipRangeId the value to set + * @return this builder + */ + public Builder byoipRangeId(String byoipRangeId) { + this.byoipRangeId = byoipRangeId; + this.__explicitlySet__.add("byoipRangeId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the {@code ByoipRange}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the {@code ByoipRange}. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * The BYOIPv6 CIDR block range or subrange allocated to a VCN. This could be all or part of + * a BYOIPv6 CIDR block. Each VCN allocation must be /64 or larger. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private String ipv6CidrBlock; + + /** + * The BYOIPv6 CIDR block range or subrange allocated to a VCN. This could be all or part of + * a BYOIPv6 CIDR block. Each VCN allocation must be /64 or larger. + * + * @param ipv6CidrBlock the value to set + * @return this builder + */ + public Builder ipv6CidrBlock(String ipv6CidrBlock) { + this.ipv6CidrBlock = ipv6CidrBlock; + this.__explicitlySet__.add("ipv6CidrBlock"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the {@code Vcn} resource to which the ByoipRange belongs. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the {@code Vcn} resource to which the ByoipRange belongs. + * + * @param vcnId the value to set + * @return this builder + */ + public Builder vcnId(String vcnId) { + this.vcnId = vcnId; + this.__explicitlySet__.add("vcnId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ByoipRangeVcnIpv6AllocationSummary build() { + ByoipRangeVcnIpv6AllocationSummary model = + new ByoipRangeVcnIpv6AllocationSummary( + this.byoipRangeId, this.compartmentId, this.ipv6CidrBlock, this.vcnId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ByoipRangeVcnIpv6AllocationSummary model) { + if (model.wasPropertyExplicitlySet("byoipRangeId")) { + this.byoipRangeId(model.getByoipRangeId()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { + this.ipv6CidrBlock(model.getIpv6CidrBlock()); + } + if (model.wasPropertyExplicitlySet("vcnId")) { + this.vcnId(model.getVcnId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the {@code ByoipRange} resource to which the CIDR block belongs. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipRangeId") + private final String byoipRangeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the {@code ByoipRange} resource to which the CIDR block belongs. + * + * @return the value + */ + public String getByoipRangeId() { + return byoipRangeId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the {@code ByoipRange}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the {@code ByoipRange}. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * The BYOIPv6 CIDR block range or subrange allocated to a VCN. This could be all or part of a + * BYOIPv6 CIDR block. Each VCN allocation must be /64 or larger. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private final String ipv6CidrBlock; + + /** + * The BYOIPv6 CIDR block range or subrange allocated to a VCN. This could be all or part of a + * BYOIPv6 CIDR block. Each VCN allocation must be /64 or larger. + * + * @return the value + */ + public String getIpv6CidrBlock() { + return ipv6CidrBlock; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the {@code Vcn} resource to which the ByoipRange belongs. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private final String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the {@code Vcn} resource to which the ByoipRange belongs. + * + * @return the value + */ + public String getVcnId() { + return vcnId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ByoipRangeVcnIpv6AllocationSummary("); + sb.append("super=").append(super.toString()); + sb.append("byoipRangeId=").append(String.valueOf(this.byoipRangeId)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); + sb.append(", vcnId=").append(String.valueOf(this.vcnId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ByoipRangeVcnIpv6AllocationSummary)) { + return false; + } + + ByoipRangeVcnIpv6AllocationSummary other = (ByoipRangeVcnIpv6AllocationSummary) o; + return java.util.Objects.equals(this.byoipRangeId, other.byoipRangeId) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) + && java.util.Objects.equals(this.vcnId, other.vcnId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.byoipRangeId == null ? 43 : this.byoipRangeId.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = + (result * PRIME) + + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); + result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Byoipv6CidrDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Byoipv6CidrDetails.java new file mode 100644 index 00000000000..431c3c1e3ff --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Byoipv6CidrDetails.java @@ -0,0 +1,197 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The list of one or more BYOIPv6 CIDR blocks for the VCN that meets the following criteria: - The + * CIDR must from a BYOIPv6 range. - The IPv6 CIDR blocks must be valid. - Multiple CIDR blocks must + * not overlap each other or the on-premises network CIDR block. - The number of CIDR blocks must + * not exceed the limit of IPv6 CIDR blocks allowed to a VCN.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = Byoipv6CidrDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class Byoipv6CidrDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"byoipv6RangeId", "ipv6CidrBlock"}) + public Byoipv6CidrDetails(String byoipv6RangeId, String ipv6CidrBlock) { + super(); + this.byoipv6RangeId = byoipv6RangeId; + this.ipv6CidrBlock = ipv6CidrBlock; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the {@code ByoipRange} resource to which the CIDR block belongs. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipv6RangeId") + private String byoipv6RangeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the {@code ByoipRange} resource to which the CIDR block belongs. + * + * @param byoipv6RangeId the value to set + * @return this builder + */ + public Builder byoipv6RangeId(String byoipv6RangeId) { + this.byoipv6RangeId = byoipv6RangeId; + this.__explicitlySet__.add("byoipv6RangeId"); + return this; + } + /** + * An IPv6 CIDR block required to create a VCN with a BYOIP prefix. It could be the whole + * CIDR block identified in {@code byoipv6RangeId}, or a subrange. Example: {@code + * 2001:0db8:0123::/48} + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private String ipv6CidrBlock; + + /** + * An IPv6 CIDR block required to create a VCN with a BYOIP prefix. It could be the whole + * CIDR block identified in {@code byoipv6RangeId}, or a subrange. Example: {@code + * 2001:0db8:0123::/48} + * + * @param ipv6CidrBlock the value to set + * @return this builder + */ + public Builder ipv6CidrBlock(String ipv6CidrBlock) { + this.ipv6CidrBlock = ipv6CidrBlock; + this.__explicitlySet__.add("ipv6CidrBlock"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public Byoipv6CidrDetails build() { + Byoipv6CidrDetails model = + new Byoipv6CidrDetails(this.byoipv6RangeId, this.ipv6CidrBlock); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(Byoipv6CidrDetails model) { + if (model.wasPropertyExplicitlySet("byoipv6RangeId")) { + this.byoipv6RangeId(model.getByoipv6RangeId()); + } + if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { + this.ipv6CidrBlock(model.getIpv6CidrBlock()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the {@code ByoipRange} resource to which the CIDR block belongs. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipv6RangeId") + private final String byoipv6RangeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the {@code ByoipRange} resource to which the CIDR block belongs. + * + * @return the value + */ + public String getByoipv6RangeId() { + return byoipv6RangeId; + } + + /** + * An IPv6 CIDR block required to create a VCN with a BYOIP prefix. It could be the whole CIDR + * block identified in {@code byoipv6RangeId}, or a subrange. Example: {@code + * 2001:0db8:0123::/48} + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private final String ipv6CidrBlock; + + /** + * An IPv6 CIDR block required to create a VCN with a BYOIP prefix. It could be the whole CIDR + * block identified in {@code byoipv6RangeId}, or a subrange. Example: {@code + * 2001:0db8:0123::/48} + * + * @return the value + */ + public String getIpv6CidrBlock() { + return ipv6CidrBlock; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("Byoipv6CidrDetails("); + sb.append("super=").append(super.toString()); + sb.append("byoipv6RangeId=").append(String.valueOf(this.byoipv6RangeId)); + sb.append(", ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof Byoipv6CidrDetails)) { + return false; + } + + Byoipv6CidrDetails other = (Byoipv6CidrDetails) o; + return java.util.Objects.equals(this.byoipv6RangeId, other.byoipv6RangeId) + && java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.byoipv6RangeId == null ? 43 : this.byoipv6RangeId.hashCode()); + result = + (result * PRIME) + + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CaptureFilter.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CaptureFilter.java new file mode 100644 index 00000000000..3295779f5d7 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CaptureFilter.java @@ -0,0 +1,579 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * A capture filter contains a set of *{@link + * #captureFilterRuleDetails(CaptureFilterRuleDetailsRequest) captureFilterRuleDetails}* governing + * what traffic a *{@link Vtap}* mirrors. The capture filter is created with no rules defined, and + * it must have at least one rule for the VTAP to start mirroring traffic.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = CaptureFilter.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CaptureFilter extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "id", + "lifecycleState", + "filterType", + "timeCreated", + "vtapCaptureFilterRules" + }) + public CaptureFilter( + String compartmentId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + String id, + LifecycleState lifecycleState, + FilterType filterType, + java.util.Date timeCreated, + java.util.List vtapCaptureFilterRules) { + super(); + this.compartmentId = compartmentId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.id = id; + this.lifecycleState = lifecycleState; + this.filterType = filterType; + this.timeCreated = timeCreated; + this.vtapCaptureFilterRules = vtapCaptureFilterRules; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the capture filter. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the capture filter. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** The capture filter's current administrative state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private LifecycleState lifecycleState; + + /** + * The capture filter's current administrative state. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** Indicates which service will use this capture filter */ + @com.fasterxml.jackson.annotation.JsonProperty("filterType") + private FilterType filterType; + + /** + * Indicates which service will use this capture filter + * + * @param filterType the value to set + * @return this builder + */ + public Builder filterType(FilterType filterType) { + this.filterType = filterType; + this.__explicitlySet__.add("filterType"); + return this; + } + /** + * The date and time the capture filter was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2021-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the capture filter was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2021-08-25T21:10:29.600Z} + * + * @param timeCreated the value to set + * @return this builder + */ + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + /** The set of rules governing what traffic a VTAP mirrors. */ + @com.fasterxml.jackson.annotation.JsonProperty("vtapCaptureFilterRules") + private java.util.List vtapCaptureFilterRules; + + /** + * The set of rules governing what traffic a VTAP mirrors. + * + * @param vtapCaptureFilterRules the value to set + * @return this builder + */ + public Builder vtapCaptureFilterRules( + java.util.List vtapCaptureFilterRules) { + this.vtapCaptureFilterRules = vtapCaptureFilterRules; + this.__explicitlySet__.add("vtapCaptureFilterRules"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CaptureFilter build() { + CaptureFilter model = + new CaptureFilter( + this.compartmentId, + this.definedTags, + this.displayName, + this.freeformTags, + this.id, + this.lifecycleState, + this.filterType, + this.timeCreated, + this.vtapCaptureFilterRules); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CaptureFilter model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("filterType")) { + this.filterType(model.getFilterType()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("vtapCaptureFilterRules")) { + this.vtapCaptureFilterRules(model.getVtapCaptureFilterRules()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the capture filter. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the capture filter. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + * + * @return the value + */ + public String getId() { + return id; + } + + /** The capture filter's current administrative state. */ + public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { + Provisioning("PROVISIONING"), + Available("AVAILABLE"), + Updating("UPDATING"), + Terminating("TERMINATING"), + Terminated("TERMINATED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (LifecycleState v : LifecycleState.values()) { + map.put(v.getValue(), v); + } + } + + LifecycleState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static LifecycleState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid LifecycleState: " + key); + } + }; + /** The capture filter's current administrative state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final LifecycleState lifecycleState; + + /** + * The capture filter's current administrative state. + * + * @return the value + */ + public LifecycleState getLifecycleState() { + return lifecycleState; + } + + /** Indicates which service will use this capture filter */ + public enum FilterType implements com.oracle.bmc.http.internal.BmcEnum { + Vtap("VTAP"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (FilterType v : FilterType.values()) { + map.put(v.getValue(), v); + } + } + + FilterType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static FilterType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid FilterType: " + key); + } + }; + /** Indicates which service will use this capture filter */ + @com.fasterxml.jackson.annotation.JsonProperty("filterType") + private final FilterType filterType; + + /** + * Indicates which service will use this capture filter + * + * @return the value + */ + public FilterType getFilterType() { + return filterType; + } + + /** + * The date and time the capture filter was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2021-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the capture filter was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2021-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + /** The set of rules governing what traffic a VTAP mirrors. */ + @com.fasterxml.jackson.annotation.JsonProperty("vtapCaptureFilterRules") + private final java.util.List vtapCaptureFilterRules; + + /** + * The set of rules governing what traffic a VTAP mirrors. + * + * @return the value + */ + public java.util.List getVtapCaptureFilterRules() { + return vtapCaptureFilterRules; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CaptureFilter("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", id=").append(String.valueOf(this.id)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", filterType=").append(String.valueOf(this.filterType)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", vtapCaptureFilterRules=").append(String.valueOf(this.vtapCaptureFilterRules)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CaptureFilter)) { + return false; + } + + CaptureFilter other = (CaptureFilter) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.filterType, other.filterType) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals( + this.vtapCaptureFilterRules, other.vtapCaptureFilterRules) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = (result * PRIME) + (this.filterType == null ? 43 : this.filterType.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = + (result * PRIME) + + (this.vtapCaptureFilterRules == null + ? 43 + : this.vtapCaptureFilterRules.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeByoipRangeCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeByoipRangeCompartmentDetails.java new file mode 100644 index 00000000000..022df9ec230 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeByoipRangeCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeByoipRangeCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeByoipRangeCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeByoipRangeCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination compartment for the BYOIP CIDR block move. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination compartment for the BYOIP CIDR block move. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeByoipRangeCompartmentDetails build() { + ChangeByoipRangeCompartmentDetails model = + new ChangeByoipRangeCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeByoipRangeCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination compartment for the BYOIP CIDR block move. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination compartment for the BYOIP CIDR block move. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeByoipRangeCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeByoipRangeCompartmentDetails)) { + return false; + } + + ChangeByoipRangeCompartmentDetails other = (ChangeByoipRangeCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCaptureFilterCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCaptureFilterCompartmentDetails.java new file mode 100644 index 00000000000..963cfaae4d4 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCaptureFilterCompartmentDetails.java @@ -0,0 +1,146 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * These configuration details are used in the move operation when changing the compartment + * containing a virtual test access point (VTAP) capture filter.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeCaptureFilterCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeCaptureFilterCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeCaptureFilterCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination compartment for the VTAP capture filter move. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination compartment for the VTAP capture filter move. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeCaptureFilterCompartmentDetails build() { + ChangeCaptureFilterCompartmentDetails model = + new ChangeCaptureFilterCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeCaptureFilterCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination compartment for the VTAP capture filter move. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination compartment for the VTAP capture filter move. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeCaptureFilterCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeCaptureFilterCompartmentDetails)) { + return false; + } + + ChangeCaptureFilterCompartmentDetails other = (ChangeCaptureFilterCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCpeCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCpeCompartmentDetails.java new file mode 100644 index 00000000000..526d70e6a12 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCpeCompartmentDetails.java @@ -0,0 +1,144 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeCpeCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeCpeCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeCpeCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the CPE object to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the CPE object to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeCpeCompartmentDetails build() { + ChangeCpeCompartmentDetails model = new ChangeCpeCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeCpeCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the CPE object to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the CPE object to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeCpeCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeCpeCompartmentDetails)) { + return false; + } + + ChangeCpeCompartmentDetails other = (ChangeCpeCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCrossConnectCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCrossConnectCompartmentDetails.java new file mode 100644 index 00000000000..695e6c05072 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCrossConnectCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeCrossConnectCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeCrossConnectCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeCrossConnectCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the cross-connect to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the cross-connect to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeCrossConnectCompartmentDetails build() { + ChangeCrossConnectCompartmentDetails model = + new ChangeCrossConnectCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeCrossConnectCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the cross-connect to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the cross-connect to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeCrossConnectCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeCrossConnectCompartmentDetails)) { + return false; + } + + ChangeCrossConnectCompartmentDetails other = (ChangeCrossConnectCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCrossConnectGroupCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCrossConnectGroupCompartmentDetails.java new file mode 100644 index 00000000000..5900c7f49e3 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeCrossConnectGroupCompartmentDetails.java @@ -0,0 +1,146 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeCrossConnectGroupCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeCrossConnectGroupCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeCrossConnectGroupCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the cross-connect group to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the cross-connect group to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeCrossConnectGroupCompartmentDetails build() { + ChangeCrossConnectGroupCompartmentDetails model = + new ChangeCrossConnectGroupCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeCrossConnectGroupCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the cross-connect group to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the cross-connect group to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeCrossConnectGroupCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeCrossConnectGroupCompartmentDetails)) { + return false; + } + + ChangeCrossConnectGroupCompartmentDetails other = + (ChangeCrossConnectGroupCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeDhcpOptionsCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeDhcpOptionsCompartmentDetails.java new file mode 100644 index 00000000000..b28cd83063d --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeDhcpOptionsCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeDhcpOptionsCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeDhcpOptionsCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeDhcpOptionsCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the set of DHCP options to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the set of DHCP options to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeDhcpOptionsCompartmentDetails build() { + ChangeDhcpOptionsCompartmentDetails model = + new ChangeDhcpOptionsCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeDhcpOptionsCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the set of DHCP options to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the set of DHCP options to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeDhcpOptionsCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeDhcpOptionsCompartmentDetails)) { + return false; + } + + ChangeDhcpOptionsCompartmentDetails other = (ChangeDhcpOptionsCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeDrgCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeDrgCompartmentDetails.java new file mode 100644 index 00000000000..f53fadd8458 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeDrgCompartmentDetails.java @@ -0,0 +1,144 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeDrgCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeDrgCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeDrgCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the DRG to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the DRG to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeDrgCompartmentDetails build() { + ChangeDrgCompartmentDetails model = new ChangeDrgCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeDrgCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the DRG to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the DRG to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeDrgCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeDrgCompartmentDetails)) { + return false; + } + + ChangeDrgCompartmentDetails other = (ChangeDrgCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeIPSecConnectionCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeIPSecConnectionCompartmentDetails.java new file mode 100644 index 00000000000..09ba8f5c1d0 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeIPSecConnectionCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeIPSecConnectionCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeIPSecConnectionCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeIPSecConnectionCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the IPSec connection to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the IPSec connection to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeIPSecConnectionCompartmentDetails build() { + ChangeIPSecConnectionCompartmentDetails model = + new ChangeIPSecConnectionCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeIPSecConnectionCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the IPSec connection to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the IPSec connection to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeIPSecConnectionCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeIPSecConnectionCompartmentDetails)) { + return false; + } + + ChangeIPSecConnectionCompartmentDetails other = (ChangeIPSecConnectionCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeInternetGatewayCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeInternetGatewayCompartmentDetails.java new file mode 100644 index 00000000000..5b8bb3d45fe --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeInternetGatewayCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeInternetGatewayCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeInternetGatewayCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeInternetGatewayCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the internet gateway to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the internet gateway to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeInternetGatewayCompartmentDetails build() { + ChangeInternetGatewayCompartmentDetails model = + new ChangeInternetGatewayCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeInternetGatewayCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the internet gateway to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the internet gateway to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeInternetGatewayCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeInternetGatewayCompartmentDetails)) { + return false; + } + + ChangeInternetGatewayCompartmentDetails other = (ChangeInternetGatewayCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeLocalPeeringGatewayCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeLocalPeeringGatewayCompartmentDetails.java new file mode 100644 index 00000000000..d0b87de7a18 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeLocalPeeringGatewayCompartmentDetails.java @@ -0,0 +1,146 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeLocalPeeringGatewayCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeLocalPeeringGatewayCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeLocalPeeringGatewayCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the local peering gateway to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the local peering gateway to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeLocalPeeringGatewayCompartmentDetails build() { + ChangeLocalPeeringGatewayCompartmentDetails model = + new ChangeLocalPeeringGatewayCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeLocalPeeringGatewayCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the local peering gateway to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the local peering gateway to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeLocalPeeringGatewayCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeLocalPeeringGatewayCompartmentDetails)) { + return false; + } + + ChangeLocalPeeringGatewayCompartmentDetails other = + (ChangeLocalPeeringGatewayCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeNatGatewayCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeNatGatewayCompartmentDetails.java new file mode 100644 index 00000000000..9860934b73d --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeNatGatewayCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeNatGatewayCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeNatGatewayCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeNatGatewayCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the NAT gateway to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the NAT gateway to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeNatGatewayCompartmentDetails build() { + ChangeNatGatewayCompartmentDetails model = + new ChangeNatGatewayCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeNatGatewayCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the NAT gateway to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the NAT gateway to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeNatGatewayCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeNatGatewayCompartmentDetails)) { + return false; + } + + ChangeNatGatewayCompartmentDetails other = (ChangeNatGatewayCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeNetworkSecurityGroupCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeNetworkSecurityGroupCompartmentDetails.java new file mode 100644 index 00000000000..f603e95da20 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeNetworkSecurityGroupCompartmentDetails.java @@ -0,0 +1,146 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeNetworkSecurityGroupCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeNetworkSecurityGroupCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeNetworkSecurityGroupCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the network security group to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the network security group to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeNetworkSecurityGroupCompartmentDetails build() { + ChangeNetworkSecurityGroupCompartmentDetails model = + new ChangeNetworkSecurityGroupCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeNetworkSecurityGroupCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the network security group to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the network security group to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeNetworkSecurityGroupCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeNetworkSecurityGroupCompartmentDetails)) { + return false; + } + + ChangeNetworkSecurityGroupCompartmentDetails other = + (ChangeNetworkSecurityGroupCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangePublicIpCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangePublicIpCompartmentDetails.java new file mode 100644 index 00000000000..3586828cdc4 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangePublicIpCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangePublicIpCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangePublicIpCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangePublicIpCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the public IP to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the public IP to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangePublicIpCompartmentDetails build() { + ChangePublicIpCompartmentDetails model = + new ChangePublicIpCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangePublicIpCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the public IP to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the public IP to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangePublicIpCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangePublicIpCompartmentDetails)) { + return false; + } + + ChangePublicIpCompartmentDetails other = (ChangePublicIpCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangePublicIpPoolCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangePublicIpPoolCompartmentDetails.java new file mode 100644 index 00000000000..7381aff0aae --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangePublicIpPoolCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangePublicIpPoolCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangePublicIpPoolCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangePublicIpPoolCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination compartment for the public IP pool move. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination compartment for the public IP pool move. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangePublicIpPoolCompartmentDetails build() { + ChangePublicIpPoolCompartmentDetails model = + new ChangePublicIpPoolCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangePublicIpPoolCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination compartment for the public IP pool move. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination compartment for the public IP pool move. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangePublicIpPoolCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangePublicIpPoolCompartmentDetails)) { + return false; + } + + ChangePublicIpPoolCompartmentDetails other = (ChangePublicIpPoolCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeRemotePeeringConnectionCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeRemotePeeringConnectionCompartmentDetails.java new file mode 100644 index 00000000000..96df945a85f --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeRemotePeeringConnectionCompartmentDetails.java @@ -0,0 +1,146 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeRemotePeeringConnectionCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeRemotePeeringConnectionCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeRemotePeeringConnectionCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the remote peering connection to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the remote peering connection to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeRemotePeeringConnectionCompartmentDetails build() { + ChangeRemotePeeringConnectionCompartmentDetails model = + new ChangeRemotePeeringConnectionCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeRemotePeeringConnectionCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the remote peering connection to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the remote peering connection to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeRemotePeeringConnectionCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeRemotePeeringConnectionCompartmentDetails)) { + return false; + } + + ChangeRemotePeeringConnectionCompartmentDetails other = + (ChangeRemotePeeringConnectionCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeRouteTableCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeRouteTableCompartmentDetails.java new file mode 100644 index 00000000000..776db984427 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeRouteTableCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeRouteTableCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeRouteTableCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeRouteTableCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the route table to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the route table to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeRouteTableCompartmentDetails build() { + ChangeRouteTableCompartmentDetails model = + new ChangeRouteTableCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeRouteTableCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the route table to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the route table to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeRouteTableCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeRouteTableCompartmentDetails)) { + return false; + } + + ChangeRouteTableCompartmentDetails other = (ChangeRouteTableCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeSecurityListCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeSecurityListCompartmentDetails.java new file mode 100644 index 00000000000..da337a3e3bf --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeSecurityListCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeSecurityListCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeSecurityListCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeSecurityListCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the security list to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the security list to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeSecurityListCompartmentDetails build() { + ChangeSecurityListCompartmentDetails model = + new ChangeSecurityListCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeSecurityListCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the security list to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the security list to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeSecurityListCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeSecurityListCompartmentDetails)) { + return false; + } + + ChangeSecurityListCompartmentDetails other = (ChangeSecurityListCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeServiceGatewayCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeServiceGatewayCompartmentDetails.java new file mode 100644 index 00000000000..39015508db9 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeServiceGatewayCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeServiceGatewayCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeServiceGatewayCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeServiceGatewayCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the service gateway to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the service gateway to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeServiceGatewayCompartmentDetails build() { + ChangeServiceGatewayCompartmentDetails model = + new ChangeServiceGatewayCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeServiceGatewayCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the service gateway to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the service gateway to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeServiceGatewayCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeServiceGatewayCompartmentDetails)) { + return false; + } + + ChangeServiceGatewayCompartmentDetails other = (ChangeServiceGatewayCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeSubnetCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeSubnetCompartmentDetails.java new file mode 100644 index 00000000000..b25a62cd049 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeSubnetCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeSubnetCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeSubnetCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeSubnetCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the subnet to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the subnet to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeSubnetCompartmentDetails build() { + ChangeSubnetCompartmentDetails model = + new ChangeSubnetCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeSubnetCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the subnet to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the subnet to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeSubnetCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeSubnetCompartmentDetails)) { + return false; + } + + ChangeSubnetCompartmentDetails other = (ChangeSubnetCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVcnCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVcnCompartmentDetails.java new file mode 100644 index 00000000000..c3b60423ddc --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVcnCompartmentDetails.java @@ -0,0 +1,144 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeVcnCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeVcnCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeVcnCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the VCN to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the VCN to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeVcnCompartmentDetails build() { + ChangeVcnCompartmentDetails model = new ChangeVcnCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeVcnCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the VCN to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the VCN to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeVcnCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeVcnCompartmentDetails)) { + return false; + } + + ChangeVcnCompartmentDetails other = (ChangeVcnCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVirtualCircuitCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVirtualCircuitCompartmentDetails.java new file mode 100644 index 00000000000..7397616526f --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVirtualCircuitCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeVirtualCircuitCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeVirtualCircuitCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeVirtualCircuitCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the virtual circuit to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the virtual circuit to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeVirtualCircuitCompartmentDetails build() { + ChangeVirtualCircuitCompartmentDetails model = + new ChangeVirtualCircuitCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeVirtualCircuitCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the virtual circuit to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the virtual circuit to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeVirtualCircuitCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeVirtualCircuitCompartmentDetails)) { + return false; + } + + ChangeVirtualCircuitCompartmentDetails other = (ChangeVirtualCircuitCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVlanCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVlanCompartmentDetails.java new file mode 100644 index 00000000000..3179b39db33 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVlanCompartmentDetails.java @@ -0,0 +1,145 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The configuration details for the move operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeVlanCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeVlanCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeVlanCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the VLAN to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to move the VLAN to. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeVlanCompartmentDetails build() { + ChangeVlanCompartmentDetails model = + new ChangeVlanCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeVlanCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the VLAN to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to move the VLAN to. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeVlanCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeVlanCompartmentDetails)) { + return false; + } + + ChangeVlanCompartmentDetails other = (ChangeVlanCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVtapCompartmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVtapCompartmentDetails.java new file mode 100644 index 00000000000..0de7070d887 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ChangeVtapCompartmentDetails.java @@ -0,0 +1,146 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * These configuration details are used in the move operation when changing the compartment + * containing a virtual test access point (VTAP).
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ChangeVtapCompartmentDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ChangeVtapCompartmentDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"compartmentId"}) + public ChangeVtapCompartmentDetails(String compartmentId) { + super(); + this.compartmentId = compartmentId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination compartment for the VTAP move. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination compartment for the VTAP move. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ChangeVtapCompartmentDetails build() { + ChangeVtapCompartmentDetails model = + new ChangeVtapCompartmentDetails(this.compartmentId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ChangeVtapCompartmentDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination compartment for the VTAP move. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination compartment for the VTAP move. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ChangeVtapCompartmentDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ChangeVtapCompartmentDetails)) { + return false; + } + + ChangeVtapCompartmentDetails other = (ChangeVtapCompartmentDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Cpe.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Cpe.java index 3fc971b6765..d3f3a6d9300 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Cpe.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Cpe.java @@ -38,6 +38,7 @@ public final class Cpe extends com.oracle.bmc.http.client.internal.ExplicitlySet "freeformTags", "id", "ipAddress", + "cpeDeviceShapeId", "timeCreated" }) public Cpe( @@ -47,6 +48,7 @@ public Cpe( java.util.Map freeformTags, String id, String ipAddress, + String cpeDeviceShapeId, java.util.Date timeCreated) { super(); this.compartmentId = compartmentId; @@ -55,6 +57,7 @@ public Cpe( this.freeformTags = freeformTags; this.id = id; this.ipAddress = ipAddress; + this.cpeDeviceShapeId = cpeDeviceShapeId; this.timeCreated = timeCreated; } @@ -167,6 +170,57 @@ public Builder ipAddress(String ipAddress) { this.__explicitlySet__.add("ipAddress"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the CPE's device type. The Networking service maintains a general list of CPE device + * types (for example, Cisco ASA). For each type, Oracle provides CPE configuration content + * that can help a network engineer configure the CPE. The + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * uniquely identifies the type of device. To get the OCIDs for the device types on the + * list, see {@link #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. + * + *

For information about how to generate CPE configuration content for a CPE device type, + * see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeDeviceShapeId") + private String cpeDeviceShapeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the CPE's device type. The Networking service maintains a general list of CPE device + * types (for example, Cisco ASA). For each type, Oracle provides CPE configuration content + * that can help a network engineer configure the CPE. The + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * uniquely identifies the type of device. To get the OCIDs for the device types on the + * list, see {@link #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. + * + *

For information about how to generate CPE configuration content for a CPE device type, + * see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} + * + * @param cpeDeviceShapeId the value to set + * @return this builder + */ + public Builder cpeDeviceShapeId(String cpeDeviceShapeId) { + this.cpeDeviceShapeId = cpeDeviceShapeId; + this.__explicitlySet__.add("cpeDeviceShapeId"); + return this; + } /** * The date and time the CPE was created, in the format defined by * [RFC3339](https://tools.ietf.org/html/rfc3339). @@ -203,6 +257,7 @@ public Cpe build() { this.freeformTags, this.id, this.ipAddress, + this.cpeDeviceShapeId, this.timeCreated); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -230,6 +285,9 @@ public Builder copy(Cpe model) { if (model.wasPropertyExplicitlySet("ipAddress")) { this.ipAddress(model.getIpAddress()); } + if (model.wasPropertyExplicitlySet("cpeDeviceShapeId")) { + this.cpeDeviceShapeId(model.getCpeDeviceShapeId()); + } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } @@ -340,6 +398,55 @@ public String getIpAddress() { return ipAddress; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the CPE's device type. The Networking service maintains a general list of CPE device types + * (for example, Cisco ASA). For each type, Oracle provides CPE configuration content that can + * help a network engineer configure the CPE. The + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) uniquely + * identifies the type of device. To get the OCIDs for the device types on the list, see {@link + * #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. + * + *

For information about how to generate CPE configuration content for a CPE device type, + * see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeDeviceShapeId") + private final String cpeDeviceShapeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the CPE's device type. The Networking service maintains a general list of CPE device types + * (for example, Cisco ASA). For each type, Oracle provides CPE configuration content that can + * help a network engineer configure the CPE. The + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) uniquely + * identifies the type of device. To get the OCIDs for the device types on the list, see {@link + * #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. + * + *

For information about how to generate CPE configuration content for a CPE device type, + * see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} + * + * @return the value + */ + public String getCpeDeviceShapeId() { + return cpeDeviceShapeId; + } + /** * The date and time the CPE was created, in the format defined by * [RFC3339](https://tools.ietf.org/html/rfc3339). @@ -382,6 +489,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", id=").append(String.valueOf(this.id)); sb.append(", ipAddress=").append(String.valueOf(this.ipAddress)); + sb.append(", cpeDeviceShapeId=").append(String.valueOf(this.cpeDeviceShapeId)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(")"); return sb.toString(); @@ -403,6 +511,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.ipAddress, other.ipAddress) + && java.util.Objects.equals(this.cpeDeviceShapeId, other.cpeDeviceShapeId) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && super.equals(other); } @@ -419,6 +528,9 @@ public int hashCode() { result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); result = (result * PRIME) + (this.ipAddress == null ? 43 : this.ipAddress.hashCode()); + result = + (result * PRIME) + + (this.cpeDeviceShapeId == null ? 43 : this.cpeDeviceShapeId.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceConfigAnswer.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceConfigAnswer.java new file mode 100644 index 00000000000..ba26f0afe8b --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceConfigAnswer.java @@ -0,0 +1,180 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * An individual answer to a CPE device question. + * + *

The answers correlate to the questions that are specific to the CPE device type (see the + * {@code parameters} attribute of {@link CpeDeviceShapeDetail}).
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CpeDeviceConfigAnswer.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CpeDeviceConfigAnswer + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"key", "value"}) + public CpeDeviceConfigAnswer(String key, String value) { + super(); + this.key = key; + this.value = value; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * A string that identifies the question to be answered. See the {@code key} attribute in + * {@link #cpeDeviceConfigQuestion(CpeDeviceConfigQuestionRequest) cpeDeviceConfigQuestion}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + private String key; + + /** + * A string that identifies the question to be answered. See the {@code key} attribute in + * {@link #cpeDeviceConfigQuestion(CpeDeviceConfigQuestionRequest) cpeDeviceConfigQuestion}. + * + * @param key the value to set + * @return this builder + */ + public Builder key(String key) { + this.key = key; + this.__explicitlySet__.add("key"); + return this; + } + /** The answer to the question. */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * The answer to the question. + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CpeDeviceConfigAnswer build() { + CpeDeviceConfigAnswer model = new CpeDeviceConfigAnswer(this.key, this.value); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CpeDeviceConfigAnswer model) { + if (model.wasPropertyExplicitlySet("key")) { + this.key(model.getKey()); + } + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * A string that identifies the question to be answered. See the {@code key} attribute in {@link + * #cpeDeviceConfigQuestion(CpeDeviceConfigQuestionRequest) cpeDeviceConfigQuestion}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + private final String key; + + /** + * A string that identifies the question to be answered. See the {@code key} attribute in {@link + * #cpeDeviceConfigQuestion(CpeDeviceConfigQuestionRequest) cpeDeviceConfigQuestion}. + * + * @return the value + */ + public String getKey() { + return key; + } + + /** The answer to the question. */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * The answer to the question. + * + * @return the value + */ + public String getValue() { + return value; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CpeDeviceConfigAnswer("); + sb.append("super=").append(super.toString()); + sb.append("key=").append(String.valueOf(this.key)); + sb.append(", value=").append(String.valueOf(this.value)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CpeDeviceConfigAnswer)) { + return false; + } + + CpeDeviceConfigAnswer other = (CpeDeviceConfigAnswer) o; + return java.util.Objects.equals(this.key, other.key) + && java.util.Objects.equals(this.value, other.value) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.key == null ? 43 : this.key.hashCode()); + result = (result * PRIME) + (this.value == null ? 43 : this.value.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceConfigQuestion.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceConfigQuestion.java new file mode 100644 index 00000000000..4677d208d12 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceConfigQuestion.java @@ -0,0 +1,217 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * An individual question that the customer can answer about the CPE device. + * + *

The customer provides answers to these questions in {@link + * #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) updateTunnelCpeDeviceConfig}. + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CpeDeviceConfigQuestion.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CpeDeviceConfigQuestion + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"key", "displayName", "explanation"}) + public CpeDeviceConfigQuestion(String key, String displayName, String explanation) { + super(); + this.key = key; + this.displayName = displayName; + this.explanation = explanation; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** A string that identifies the question. */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + private String key; + + /** + * A string that identifies the question. + * + * @param key the value to set + * @return this builder + */ + public Builder key(String key) { + this.key = key; + this.__explicitlySet__.add("key"); + return this; + } + /** + * A descriptive label for the question (for example, to display in a form in a graphical + * interface). Avoid entering confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A descriptive label for the question (for example, to display in a form in a graphical + * interface). Avoid entering confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** A description or explanation of the question, to help the customer answer accurately. */ + @com.fasterxml.jackson.annotation.JsonProperty("explanation") + private String explanation; + + /** + * A description or explanation of the question, to help the customer answer accurately. + * + * @param explanation the value to set + * @return this builder + */ + public Builder explanation(String explanation) { + this.explanation = explanation; + this.__explicitlySet__.add("explanation"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CpeDeviceConfigQuestion build() { + CpeDeviceConfigQuestion model = + new CpeDeviceConfigQuestion(this.key, this.displayName, this.explanation); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CpeDeviceConfigQuestion model) { + if (model.wasPropertyExplicitlySet("key")) { + this.key(model.getKey()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("explanation")) { + this.explanation(model.getExplanation()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** A string that identifies the question. */ + @com.fasterxml.jackson.annotation.JsonProperty("key") + private final String key; + + /** + * A string that identifies the question. + * + * @return the value + */ + public String getKey() { + return key; + } + + /** + * A descriptive label for the question (for example, to display in a form in a graphical + * interface). Avoid entering confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A descriptive label for the question (for example, to display in a form in a graphical + * interface). Avoid entering confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** A description or explanation of the question, to help the customer answer accurately. */ + @com.fasterxml.jackson.annotation.JsonProperty("explanation") + private final String explanation; + + /** + * A description or explanation of the question, to help the customer answer accurately. + * + * @return the value + */ + public String getExplanation() { + return explanation; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CpeDeviceConfigQuestion("); + sb.append("super=").append(super.toString()); + sb.append("key=").append(String.valueOf(this.key)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", explanation=").append(String.valueOf(this.explanation)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CpeDeviceConfigQuestion)) { + return false; + } + + CpeDeviceConfigQuestion other = (CpeDeviceConfigQuestion) o; + return java.util.Objects.equals(this.key, other.key) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.explanation, other.explanation) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.key == null ? 43 : this.key.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.explanation == null ? 43 : this.explanation.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceInfo.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceInfo.java new file mode 100644 index 00000000000..733398d6bcb --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceInfo.java @@ -0,0 +1,173 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Basic information about a particular CPE device type.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = CpeDeviceInfo.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CpeDeviceInfo extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"vendor", "platformSoftwareVersion"}) + public CpeDeviceInfo(String vendor, String platformSoftwareVersion) { + super(); + this.vendor = vendor; + this.platformSoftwareVersion = platformSoftwareVersion; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The vendor that makes the CPE device. */ + @com.fasterxml.jackson.annotation.JsonProperty("vendor") + private String vendor; + + /** + * The vendor that makes the CPE device. + * + * @param vendor the value to set + * @return this builder + */ + public Builder vendor(String vendor) { + this.vendor = vendor; + this.__explicitlySet__.add("vendor"); + return this; + } + /** The platform or software version of the CPE device. */ + @com.fasterxml.jackson.annotation.JsonProperty("platformSoftwareVersion") + private String platformSoftwareVersion; + + /** + * The platform or software version of the CPE device. + * + * @param platformSoftwareVersion the value to set + * @return this builder + */ + public Builder platformSoftwareVersion(String platformSoftwareVersion) { + this.platformSoftwareVersion = platformSoftwareVersion; + this.__explicitlySet__.add("platformSoftwareVersion"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CpeDeviceInfo build() { + CpeDeviceInfo model = new CpeDeviceInfo(this.vendor, this.platformSoftwareVersion); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CpeDeviceInfo model) { + if (model.wasPropertyExplicitlySet("vendor")) { + this.vendor(model.getVendor()); + } + if (model.wasPropertyExplicitlySet("platformSoftwareVersion")) { + this.platformSoftwareVersion(model.getPlatformSoftwareVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The vendor that makes the CPE device. */ + @com.fasterxml.jackson.annotation.JsonProperty("vendor") + private final String vendor; + + /** + * The vendor that makes the CPE device. + * + * @return the value + */ + public String getVendor() { + return vendor; + } + + /** The platform or software version of the CPE device. */ + @com.fasterxml.jackson.annotation.JsonProperty("platformSoftwareVersion") + private final String platformSoftwareVersion; + + /** + * The platform or software version of the CPE device. + * + * @return the value + */ + public String getPlatformSoftwareVersion() { + return platformSoftwareVersion; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CpeDeviceInfo("); + sb.append("super=").append(super.toString()); + sb.append("vendor=").append(String.valueOf(this.vendor)); + sb.append(", platformSoftwareVersion=") + .append(String.valueOf(this.platformSoftwareVersion)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CpeDeviceInfo)) { + return false; + } + + CpeDeviceInfo other = (CpeDeviceInfo) o; + return java.util.Objects.equals(this.vendor, other.vendor) + && java.util.Objects.equals( + this.platformSoftwareVersion, other.platformSoftwareVersion) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.vendor == null ? 43 : this.vendor.hashCode()); + result = + (result * PRIME) + + (this.platformSoftwareVersion == null + ? 43 + : this.platformSoftwareVersion.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceShapeDetail.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceShapeDetail.java new file mode 100644 index 00000000000..17e15183abe --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceShapeDetail.java @@ -0,0 +1,316 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The detailed information about a particular CPE device type. Compare with {@link + * CpeDeviceShapeSummary}.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CpeDeviceShapeDetail.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CpeDeviceShapeDetail + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "cpeDeviceShapeId", + "cpeDeviceInfo", + "parameters", + "template" + }) + public CpeDeviceShapeDetail( + String cpeDeviceShapeId, + CpeDeviceInfo cpeDeviceInfo, + java.util.List parameters, + String template) { + super(); + this.cpeDeviceShapeId = cpeDeviceShapeId; + this.cpeDeviceInfo = cpeDeviceInfo; + this.parameters = parameters; + this.template = template; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the CPE device shape. This value uniquely identifies the type of CPE device. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeDeviceShapeId") + private String cpeDeviceShapeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the CPE device shape. This value uniquely identifies the type of CPE device. + * + * @param cpeDeviceShapeId the value to set + * @return this builder + */ + public Builder cpeDeviceShapeId(String cpeDeviceShapeId) { + this.cpeDeviceShapeId = cpeDeviceShapeId; + this.__explicitlySet__.add("cpeDeviceShapeId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cpeDeviceInfo") + private CpeDeviceInfo cpeDeviceInfo; + + public Builder cpeDeviceInfo(CpeDeviceInfo cpeDeviceInfo) { + this.cpeDeviceInfo = cpeDeviceInfo; + this.__explicitlySet__.add("cpeDeviceInfo"); + return this; + } + /** + * For certain CPE devices types, the customer can provide answers to questions that are + * specific to the device type. This attribute contains a list of those questions. The + * Networking service merges the answers with other information and renders a set of CPE + * configuration content. To provide the answers, use {@link + * #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) + * updateTunnelCpeDeviceConfig}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("parameters") + private java.util.List parameters; + + /** + * For certain CPE devices types, the customer can provide answers to questions that are + * specific to the device type. This attribute contains a list of those questions. The + * Networking service merges the answers with other information and renders a set of CPE + * configuration content. To provide the answers, use {@link + * #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) + * updateTunnelCpeDeviceConfig}. + * + * @param parameters the value to set + * @return this builder + */ + public Builder parameters(java.util.List parameters) { + this.parameters = parameters; + this.__explicitlySet__.add("parameters"); + return this; + } + /** + * A template of CPE device configuration information that will be merged with the + * customer's answers to the questions to render the final CPE device configuration content. + * Also see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} + */ + @com.fasterxml.jackson.annotation.JsonProperty("template") + private String template; + + /** + * A template of CPE device configuration information that will be merged with the + * customer's answers to the questions to render the final CPE device configuration content. + * Also see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} + * + * @param template the value to set + * @return this builder + */ + public Builder template(String template) { + this.template = template; + this.__explicitlySet__.add("template"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CpeDeviceShapeDetail build() { + CpeDeviceShapeDetail model = + new CpeDeviceShapeDetail( + this.cpeDeviceShapeId, + this.cpeDeviceInfo, + this.parameters, + this.template); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CpeDeviceShapeDetail model) { + if (model.wasPropertyExplicitlySet("cpeDeviceShapeId")) { + this.cpeDeviceShapeId(model.getCpeDeviceShapeId()); + } + if (model.wasPropertyExplicitlySet("cpeDeviceInfo")) { + this.cpeDeviceInfo(model.getCpeDeviceInfo()); + } + if (model.wasPropertyExplicitlySet("parameters")) { + this.parameters(model.getParameters()); + } + if (model.wasPropertyExplicitlySet("template")) { + this.template(model.getTemplate()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the CPE device shape. This value uniquely identifies the type of CPE device. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeDeviceShapeId") + private final String cpeDeviceShapeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the CPE device shape. This value uniquely identifies the type of CPE device. + * + * @return the value + */ + public String getCpeDeviceShapeId() { + return cpeDeviceShapeId; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cpeDeviceInfo") + private final CpeDeviceInfo cpeDeviceInfo; + + public CpeDeviceInfo getCpeDeviceInfo() { + return cpeDeviceInfo; + } + + /** + * For certain CPE devices types, the customer can provide answers to questions that are + * specific to the device type. This attribute contains a list of those questions. The + * Networking service merges the answers with other information and renders a set of CPE + * configuration content. To provide the answers, use {@link + * #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) + * updateTunnelCpeDeviceConfig}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("parameters") + private final java.util.List parameters; + + /** + * For certain CPE devices types, the customer can provide answers to questions that are + * specific to the device type. This attribute contains a list of those questions. The + * Networking service merges the answers with other information and renders a set of CPE + * configuration content. To provide the answers, use {@link + * #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) + * updateTunnelCpeDeviceConfig}. + * + * @return the value + */ + public java.util.List getParameters() { + return parameters; + } + + /** + * A template of CPE device configuration information that will be merged with the customer's + * answers to the questions to render the final CPE device configuration content. Also see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} + */ + @com.fasterxml.jackson.annotation.JsonProperty("template") + private final String template; + + /** + * A template of CPE device configuration information that will be merged with the customer's + * answers to the questions to render the final CPE device configuration content. Also see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} + * + * @return the value + */ + public String getTemplate() { + return template; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CpeDeviceShapeDetail("); + sb.append("super=").append(super.toString()); + sb.append("cpeDeviceShapeId=").append(String.valueOf(this.cpeDeviceShapeId)); + sb.append(", cpeDeviceInfo=").append(String.valueOf(this.cpeDeviceInfo)); + sb.append(", parameters=").append(String.valueOf(this.parameters)); + sb.append(", template=").append(String.valueOf(this.template)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CpeDeviceShapeDetail)) { + return false; + } + + CpeDeviceShapeDetail other = (CpeDeviceShapeDetail) o; + return java.util.Objects.equals(this.cpeDeviceShapeId, other.cpeDeviceShapeId) + && java.util.Objects.equals(this.cpeDeviceInfo, other.cpeDeviceInfo) + && java.util.Objects.equals(this.parameters, other.parameters) + && java.util.Objects.equals(this.template, other.template) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.cpeDeviceShapeId == null ? 43 : this.cpeDeviceShapeId.hashCode()); + result = + (result * PRIME) + + (this.cpeDeviceInfo == null ? 43 : this.cpeDeviceInfo.hashCode()); + result = (result * PRIME) + (this.parameters == null ? 43 : this.parameters.hashCode()); + result = (result * PRIME) + (this.template == null ? 43 : this.template.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceShapeSummary.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceShapeSummary.java new file mode 100644 index 00000000000..ee583dfad41 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CpeDeviceShapeSummary.java @@ -0,0 +1,168 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * A summary of information about a particular CPE device type. Compare with {@link + * CpeDeviceShapeDetail}.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CpeDeviceShapeSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CpeDeviceShapeSummary + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"id", "cpeDeviceInfo"}) + public CpeDeviceShapeSummary(String id, CpeDeviceInfo cpeDeviceInfo) { + super(); + this.id = id; + this.cpeDeviceInfo = cpeDeviceInfo; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the CPE device shape. This value uniquely identifies the type of CPE device. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the CPE device shape. This value uniquely identifies the type of CPE device. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cpeDeviceInfo") + private CpeDeviceInfo cpeDeviceInfo; + + public Builder cpeDeviceInfo(CpeDeviceInfo cpeDeviceInfo) { + this.cpeDeviceInfo = cpeDeviceInfo; + this.__explicitlySet__.add("cpeDeviceInfo"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CpeDeviceShapeSummary build() { + CpeDeviceShapeSummary model = new CpeDeviceShapeSummary(this.id, this.cpeDeviceInfo); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CpeDeviceShapeSummary model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("cpeDeviceInfo")) { + this.cpeDeviceInfo(model.getCpeDeviceInfo()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the CPE device shape. This value uniquely identifies the type of CPE device. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the CPE device shape. This value uniquely identifies the type of CPE device. + * + * @return the value + */ + public String getId() { + return id; + } + + @com.fasterxml.jackson.annotation.JsonProperty("cpeDeviceInfo") + private final CpeDeviceInfo cpeDeviceInfo; + + public CpeDeviceInfo getCpeDeviceInfo() { + return cpeDeviceInfo; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CpeDeviceShapeSummary("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", cpeDeviceInfo=").append(String.valueOf(this.cpeDeviceInfo)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CpeDeviceShapeSummary)) { + return false; + } + + CpeDeviceShapeSummary other = (CpeDeviceShapeSummary) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.cpeDeviceInfo, other.cpeDeviceInfo) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = + (result * PRIME) + + (this.cpeDeviceInfo == null ? 43 : this.cpeDeviceInfo.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateByoipRangeDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateByoipRangeDetails.java new file mode 100644 index 00000000000..c7a7c84855c --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateByoipRangeDetails.java @@ -0,0 +1,376 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The information used to create a {@code ByoipRange} resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateByoipRangeDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateByoipRangeDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "cidrBlock", + "compartmentId", + "ipv6CidrBlock", + "definedTags", + "displayName", + "freeformTags" + }) + public CreateByoipRangeDetails( + String cidrBlock, + String compartmentId, + String ipv6CidrBlock, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags) { + super(); + this.cidrBlock = cidrBlock; + this.compartmentId = compartmentId; + this.ipv6CidrBlock = ipv6CidrBlock; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The BYOIP CIDR block. You can assign some or all of it to a public IP pool after it is + * validated. Example: {@code 10.0.1.0/24} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private String cidrBlock; + + /** + * The BYOIP CIDR block. You can assign some or all of it to a public IP pool after it is + * validated. Example: {@code 10.0.1.0/24} + * + * @param cidrBlock the value to set + * @return this builder + */ + public Builder cidrBlock(String cidrBlock) { + this.cidrBlock = cidrBlock; + this.__explicitlySet__.add("cidrBlock"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the BYOIP CIDR block. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the BYOIP CIDR block. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * The BYOIPv6 CIDR block. You can assign some or all of it to a VCN after it is validated. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private String ipv6CidrBlock; + + /** + * The BYOIPv6 CIDR block. You can assign some or all of it to a VCN after it is validated. + * + * @param ipv6CidrBlock the value to set + * @return this builder + */ + public Builder ipv6CidrBlock(String ipv6CidrBlock) { + this.ipv6CidrBlock = ipv6CidrBlock; + this.__explicitlySet__.add("ipv6CidrBlock"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateByoipRangeDetails build() { + CreateByoipRangeDetails model = + new CreateByoipRangeDetails( + this.cidrBlock, + this.compartmentId, + this.ipv6CidrBlock, + this.definedTags, + this.displayName, + this.freeformTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateByoipRangeDetails model) { + if (model.wasPropertyExplicitlySet("cidrBlock")) { + this.cidrBlock(model.getCidrBlock()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { + this.ipv6CidrBlock(model.getIpv6CidrBlock()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The BYOIP CIDR block. You can assign some or all of it to a public IP pool after it is + * validated. Example: {@code 10.0.1.0/24} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private final String cidrBlock; + + /** + * The BYOIP CIDR block. You can assign some or all of it to a public IP pool after it is + * validated. Example: {@code 10.0.1.0/24} + * + * @return the value + */ + public String getCidrBlock() { + return cidrBlock; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the BYOIP CIDR block. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the BYOIP CIDR block. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** The BYOIPv6 CIDR block. You can assign some or all of it to a VCN after it is validated. */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private final String ipv6CidrBlock; + + /** + * The BYOIPv6 CIDR block. You can assign some or all of it to a VCN after it is validated. + * + * @return the value + */ + public String getIpv6CidrBlock() { + return ipv6CidrBlock; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CreateByoipRangeDetails("); + sb.append("super=").append(super.toString()); + sb.append("cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateByoipRangeDetails)) { + return false; + } + + CreateByoipRangeDetails other = (CreateByoipRangeDetails) o; + return java.util.Objects.equals(this.cidrBlock, other.cidrBlock) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = + (result * PRIME) + + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCaptureFilterDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCaptureFilterDetails.java new file mode 100644 index 00000000000..382d5220c31 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCaptureFilterDetails.java @@ -0,0 +1,402 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * A capture filter contains a set of rules governing what traffic a VTAP mirrors.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateCaptureFilterDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateCaptureFilterDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "filterType", + "vtapCaptureFilterRules" + }) + public CreateCaptureFilterDetails( + String compartmentId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + FilterType filterType, + java.util.List vtapCaptureFilterRules) { + super(); + this.compartmentId = compartmentId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.filterType = filterType; + this.vtapCaptureFilterRules = vtapCaptureFilterRules; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the capture filter. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the capture filter. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** Indicates which service will use this capture filter */ + @com.fasterxml.jackson.annotation.JsonProperty("filterType") + private FilterType filterType; + + /** + * Indicates which service will use this capture filter + * + * @param filterType the value to set + * @return this builder + */ + public Builder filterType(FilterType filterType) { + this.filterType = filterType; + this.__explicitlySet__.add("filterType"); + return this; + } + /** The set of rules governing what traffic a VTAP mirrors. */ + @com.fasterxml.jackson.annotation.JsonProperty("vtapCaptureFilterRules") + private java.util.List vtapCaptureFilterRules; + + /** + * The set of rules governing what traffic a VTAP mirrors. + * + * @param vtapCaptureFilterRules the value to set + * @return this builder + */ + public Builder vtapCaptureFilterRules( + java.util.List vtapCaptureFilterRules) { + this.vtapCaptureFilterRules = vtapCaptureFilterRules; + this.__explicitlySet__.add("vtapCaptureFilterRules"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateCaptureFilterDetails build() { + CreateCaptureFilterDetails model = + new CreateCaptureFilterDetails( + this.compartmentId, + this.definedTags, + this.displayName, + this.freeformTags, + this.filterType, + this.vtapCaptureFilterRules); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateCaptureFilterDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("filterType")) { + this.filterType(model.getFilterType()); + } + if (model.wasPropertyExplicitlySet("vtapCaptureFilterRules")) { + this.vtapCaptureFilterRules(model.getVtapCaptureFilterRules()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the capture filter. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the capture filter. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** Indicates which service will use this capture filter */ + public enum FilterType implements com.oracle.bmc.http.internal.BmcEnum { + Vtap("VTAP"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (FilterType v : FilterType.values()) { + map.put(v.getValue(), v); + } + } + + FilterType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static FilterType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid FilterType: " + key); + } + }; + /** Indicates which service will use this capture filter */ + @com.fasterxml.jackson.annotation.JsonProperty("filterType") + private final FilterType filterType; + + /** + * Indicates which service will use this capture filter + * + * @return the value + */ + public FilterType getFilterType() { + return filterType; + } + + /** The set of rules governing what traffic a VTAP mirrors. */ + @com.fasterxml.jackson.annotation.JsonProperty("vtapCaptureFilterRules") + private final java.util.List vtapCaptureFilterRules; + + /** + * The set of rules governing what traffic a VTAP mirrors. + * + * @return the value + */ + public java.util.List getVtapCaptureFilterRules() { + return vtapCaptureFilterRules; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CreateCaptureFilterDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", filterType=").append(String.valueOf(this.filterType)); + sb.append(", vtapCaptureFilterRules=").append(String.valueOf(this.vtapCaptureFilterRules)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateCaptureFilterDetails)) { + return false; + } + + CreateCaptureFilterDetails other = (CreateCaptureFilterDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.filterType, other.filterType) + && java.util.Objects.equals( + this.vtapCaptureFilterRules, other.vtapCaptureFilterRules) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.filterType == null ? 43 : this.filterType.hashCode()); + result = + (result * PRIME) + + (this.vtapCaptureFilterRules == null + ? 43 + : this.vtapCaptureFilterRules.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCpeDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCpeDetails.java index b4c60ddeaa7..e5bab637735 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCpeDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCpeDetails.java @@ -27,20 +27,23 @@ public final class CreateCpeDetails "definedTags", "displayName", "freeformTags", - "ipAddress" + "ipAddress", + "cpeDeviceShapeId" }) public CreateCpeDetails( String compartmentId, java.util.Map> definedTags, String displayName, java.util.Map freeformTags, - String ipAddress) { + String ipAddress, + String cpeDeviceShapeId) { super(); this.compartmentId = compartmentId; this.definedTags = definedTags; this.displayName = displayName; this.freeformTags = freeformTags; this.ipAddress = ipAddress; + this.cpeDeviceShapeId = cpeDeviceShapeId; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -143,6 +146,51 @@ public Builder ipAddress(String ipAddress) { this.__explicitlySet__.add("ipAddress"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the CPE device type. You can provide a value if you want to later generate CPE device + * configuration content for IPSec connections that use this CPE. You can also call {@link + * #updateCpe(UpdateCpeRequest) updateCpe} later to provide a value. For a list of possible + * values, see {@link #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. + * + *

For more information about generating CPE device configuration content, see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeDeviceShapeId") + private String cpeDeviceShapeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the CPE device type. You can provide a value if you want to later generate CPE device + * configuration content for IPSec connections that use this CPE. You can also call {@link + * #updateCpe(UpdateCpeRequest) updateCpe} later to provide a value. For a list of possible + * values, see {@link #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. + * + *

For more information about generating CPE device configuration content, see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} + * + * @param cpeDeviceShapeId the value to set + * @return this builder + */ + public Builder cpeDeviceShapeId(String cpeDeviceShapeId) { + this.cpeDeviceShapeId = cpeDeviceShapeId; + this.__explicitlySet__.add("cpeDeviceShapeId"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -154,7 +202,8 @@ public CreateCpeDetails build() { this.definedTags, this.displayName, this.freeformTags, - this.ipAddress); + this.ipAddress, + this.cpeDeviceShapeId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -178,6 +227,9 @@ public Builder copy(CreateCpeDetails model) { if (model.wasPropertyExplicitlySet("ipAddress")) { this.ipAddress(model.getIpAddress()); } + if (model.wasPropertyExplicitlySet("cpeDeviceShapeId")) { + this.cpeDeviceShapeId(model.getCpeDeviceShapeId()); + } return this; } } @@ -278,6 +330,49 @@ public String getIpAddress() { return ipAddress; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the CPE device type. You can provide a value if you want to later generate CPE device + * configuration content for IPSec connections that use this CPE. You can also call {@link + * #updateCpe(UpdateCpeRequest) updateCpe} later to provide a value. For a list of possible + * values, see {@link #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. + * + *

For more information about generating CPE device configuration content, see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeDeviceShapeId") + private final String cpeDeviceShapeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the CPE device type. You can provide a value if you want to later generate CPE device + * configuration content for IPSec connections that use this CPE. You can also call {@link + * #updateCpe(UpdateCpeRequest) updateCpe} later to provide a value. For a list of possible + * values, see {@link #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. + * + *

For more information about generating CPE device configuration content, see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} + * + * @return the value + */ + public String getCpeDeviceShapeId() { + return cpeDeviceShapeId; + } + @Override public String toString() { return this.toString(true); @@ -298,6 +393,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", ipAddress=").append(String.valueOf(this.ipAddress)); + sb.append(", cpeDeviceShapeId=").append(String.valueOf(this.cpeDeviceShapeId)); sb.append(")"); return sb.toString(); } @@ -317,6 +413,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.ipAddress, other.ipAddress) + && java.util.Objects.equals(this.cpeDeviceShapeId, other.cpeDeviceShapeId) && super.equals(other); } @@ -331,6 +428,9 @@ public int hashCode() { result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.ipAddress == null ? 43 : this.ipAddress.hashCode()); + result = + (result * PRIME) + + (this.cpeDeviceShapeId == null ? 43 : this.cpeDeviceShapeId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCrossConnectDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCrossConnectDetails.java index 45717be19e4..2e8cb2c6267 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCrossConnectDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCrossConnectDetails.java @@ -26,28 +26,40 @@ public final class CreateCrossConnectDetails @java.beans.ConstructorProperties({ "compartmentId", "crossConnectGroupId", + "definedTags", "displayName", "farCrossConnectOrCrossConnectGroupId", + "freeformTags", "locationName", "nearCrossConnectOrCrossConnectGroupId", - "portSpeedShapeName" + "portSpeedShapeName", + "customerReferenceName", + "macsecProperties" }) public CreateCrossConnectDetails( String compartmentId, String crossConnectGroupId, + java.util.Map> definedTags, String displayName, String farCrossConnectOrCrossConnectGroupId, + java.util.Map freeformTags, String locationName, String nearCrossConnectOrCrossConnectGroupId, - String portSpeedShapeName) { + String portSpeedShapeName, + String customerReferenceName, + CreateMacsecProperties macsecProperties) { super(); this.compartmentId = compartmentId; this.crossConnectGroupId = crossConnectGroupId; + this.definedTags = definedTags; this.displayName = displayName; this.farCrossConnectOrCrossConnectGroupId = farCrossConnectOrCrossConnectGroupId; + this.freeformTags = freeformTags; this.locationName = locationName; this.nearCrossConnectOrCrossConnectGroupId = nearCrossConnectOrCrossConnectGroupId; this.portSpeedShapeName = portSpeedShapeName; + this.customerReferenceName = customerReferenceName; + this.macsecProperties = macsecProperties; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -90,6 +102,26 @@ public Builder crossConnectGroupId(String crossConnectGroupId) { this.__explicitlySet__.add("crossConnectGroupId"); return this; } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -135,6 +167,25 @@ public Builder farCrossConnectOrCrossConnectGroupId( this.__explicitlySet__.add("farCrossConnectOrCrossConnectGroupId"); return this; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } /** * The name of the FastConnect location where this cross-connect will be installed. To get a * list of the available locations, see {@link @@ -209,6 +260,34 @@ public Builder portSpeedShapeName(String portSpeedShapeName) { this.__explicitlySet__.add("portSpeedShapeName"); return this; } + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerReferenceName") + private String customerReferenceName; + + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * uses. + * + * @param customerReferenceName the value to set + * @return this builder + */ + public Builder customerReferenceName(String customerReferenceName) { + this.customerReferenceName = customerReferenceName; + this.__explicitlySet__.add("customerReferenceName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("macsecProperties") + private CreateMacsecProperties macsecProperties; + + public Builder macsecProperties(CreateMacsecProperties macsecProperties) { + this.macsecProperties = macsecProperties; + this.__explicitlySet__.add("macsecProperties"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -218,11 +297,15 @@ public CreateCrossConnectDetails build() { new CreateCrossConnectDetails( this.compartmentId, this.crossConnectGroupId, + this.definedTags, this.displayName, this.farCrossConnectOrCrossConnectGroupId, + this.freeformTags, this.locationName, this.nearCrossConnectOrCrossConnectGroupId, - this.portSpeedShapeName); + this.portSpeedShapeName, + this.customerReferenceName, + this.macsecProperties); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -237,6 +320,9 @@ public Builder copy(CreateCrossConnectDetails model) { if (model.wasPropertyExplicitlySet("crossConnectGroupId")) { this.crossConnectGroupId(model.getCrossConnectGroupId()); } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } @@ -244,6 +330,9 @@ public Builder copy(CreateCrossConnectDetails model) { this.farCrossConnectOrCrossConnectGroupId( model.getFarCrossConnectOrCrossConnectGroupId()); } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } if (model.wasPropertyExplicitlySet("locationName")) { this.locationName(model.getLocationName()); } @@ -254,6 +343,12 @@ public Builder copy(CreateCrossConnectDetails model) { if (model.wasPropertyExplicitlySet("portSpeedShapeName")) { this.portSpeedShapeName(model.getPortSpeedShapeName()); } + if (model.wasPropertyExplicitlySet("customerReferenceName")) { + this.customerReferenceName(model.getCustomerReferenceName()); + } + if (model.wasPropertyExplicitlySet("macsecProperties")) { + this.macsecProperties(model.getMacsecProperties()); + } return this; } } @@ -301,6 +396,23 @@ public String getCrossConnectGroupId() { return crossConnectGroupId; } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -341,6 +453,23 @@ public String getFarCrossConnectOrCrossConnectGroupId() { return farCrossConnectOrCrossConnectGroupId; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + /** * The name of the FastConnect location where this cross-connect will be installed. To get a * list of the available locations, see {@link @@ -408,6 +537,30 @@ public String getPortSpeedShapeName() { return portSpeedShapeName; } + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerReferenceName") + private final String customerReferenceName; + + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * uses. + * + * @return the value + */ + public String getCustomerReferenceName() { + return customerReferenceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("macsecProperties") + private final CreateMacsecProperties macsecProperties; + + public CreateMacsecProperties getMacsecProperties() { + return macsecProperties; + } + @Override public String toString() { return this.toString(true); @@ -425,13 +578,17 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", crossConnectGroupId=").append(String.valueOf(this.crossConnectGroupId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", farCrossConnectOrCrossConnectGroupId=") .append(String.valueOf(this.farCrossConnectOrCrossConnectGroupId)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", locationName=").append(String.valueOf(this.locationName)); sb.append(", nearCrossConnectOrCrossConnectGroupId=") .append(String.valueOf(this.nearCrossConnectOrCrossConnectGroupId)); sb.append(", portSpeedShapeName=").append(String.valueOf(this.portSpeedShapeName)); + sb.append(", customerReferenceName=").append(String.valueOf(this.customerReferenceName)); + sb.append(", macsecProperties=").append(String.valueOf(this.macsecProperties)); sb.append(")"); return sb.toString(); } @@ -448,15 +605,19 @@ public boolean equals(Object o) { CreateCrossConnectDetails other = (CreateCrossConnectDetails) o; return java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.crossConnectGroupId, other.crossConnectGroupId) + && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals( this.farCrossConnectOrCrossConnectGroupId, other.farCrossConnectOrCrossConnectGroupId) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.locationName, other.locationName) && java.util.Objects.equals( this.nearCrossConnectOrCrossConnectGroupId, other.nearCrossConnectOrCrossConnectGroupId) && java.util.Objects.equals(this.portSpeedShapeName, other.portSpeedShapeName) + && java.util.Objects.equals(this.customerReferenceName, other.customerReferenceName) + && java.util.Objects.equals(this.macsecProperties, other.macsecProperties) && super.equals(other); } @@ -472,12 +633,14 @@ public int hashCode() { + (this.crossConnectGroupId == null ? 43 : this.crossConnectGroupId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.farCrossConnectOrCrossConnectGroupId == null ? 43 : this.farCrossConnectOrCrossConnectGroupId.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.locationName == null ? 43 : this.locationName.hashCode()); result = (result * PRIME) @@ -489,6 +652,14 @@ public int hashCode() { + (this.portSpeedShapeName == null ? 43 : this.portSpeedShapeName.hashCode()); + result = + (result * PRIME) + + (this.customerReferenceName == null + ? 43 + : this.customerReferenceName.hashCode()); + result = + (result * PRIME) + + (this.macsecProperties == null ? 43 : this.macsecProperties.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCrossConnectGroupDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCrossConnectGroupDetails.java index 9ec2a89b72d..2c77f9bb296 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCrossConnectGroupDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateCrossConnectGroupDetails.java @@ -23,11 +23,28 @@ public final class CreateCrossConnectGroupDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"compartmentId", "displayName"}) - public CreateCrossConnectGroupDetails(String compartmentId, String displayName) { + @java.beans.ConstructorProperties({ + "compartmentId", + "definedTags", + "displayName", + "customerReferenceName", + "freeformTags", + "macsecProperties" + }) + public CreateCrossConnectGroupDetails( + String compartmentId, + java.util.Map> definedTags, + String displayName, + String customerReferenceName, + java.util.Map freeformTags, + CreateMacsecProperties macsecProperties) { super(); this.compartmentId = compartmentId; + this.definedTags = definedTags; this.displayName = displayName; + this.customerReferenceName = customerReferenceName; + this.freeformTags = freeformTags; + this.macsecProperties = macsecProperties; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -51,6 +68,26 @@ public Builder compartmentId(String compartmentId) { this.__explicitlySet__.add("compartmentId"); return this; } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -70,13 +107,66 @@ public Builder displayName(String displayName) { this.__explicitlySet__.add("displayName"); return this; } + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * group uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerReferenceName") + private String customerReferenceName; + + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * group uses. + * + * @param customerReferenceName the value to set + * @return this builder + */ + public Builder customerReferenceName(String customerReferenceName) { + this.customerReferenceName = customerReferenceName; + this.__explicitlySet__.add("customerReferenceName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("macsecProperties") + private CreateMacsecProperties macsecProperties; + + public Builder macsecProperties(CreateMacsecProperties macsecProperties) { + this.macsecProperties = macsecProperties; + this.__explicitlySet__.add("macsecProperties"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public CreateCrossConnectGroupDetails build() { CreateCrossConnectGroupDetails model = - new CreateCrossConnectGroupDetails(this.compartmentId, this.displayName); + new CreateCrossConnectGroupDetails( + this.compartmentId, + this.definedTags, + this.displayName, + this.customerReferenceName, + this.freeformTags, + this.macsecProperties); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -88,9 +178,21 @@ public Builder copy(CreateCrossConnectGroupDetails model) { if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } + if (model.wasPropertyExplicitlySet("customerReferenceName")) { + this.customerReferenceName(model.getCustomerReferenceName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("macsecProperties")) { + this.macsecProperties(model.getMacsecProperties()); + } return this; } } @@ -121,6 +223,23 @@ public String getCompartmentId() { return compartmentId; } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -138,6 +257,47 @@ public String getDisplayName() { return displayName; } + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * group uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerReferenceName") + private final String customerReferenceName; + + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * group uses. + * + * @return the value + */ + public String getCustomerReferenceName() { + return customerReferenceName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + @com.fasterxml.jackson.annotation.JsonProperty("macsecProperties") + private final CreateMacsecProperties macsecProperties; + + public CreateMacsecProperties getMacsecProperties() { + return macsecProperties; + } + @Override public String toString() { return this.toString(true); @@ -154,7 +314,11 @@ public String toString(boolean includeByteArrayContents) { sb.append("CreateCrossConnectGroupDetails("); sb.append("super=").append(super.toString()); sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", customerReferenceName=").append(String.valueOf(this.customerReferenceName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", macsecProperties=").append(String.valueOf(this.macsecProperties)); sb.append(")"); return sb.toString(); } @@ -170,7 +334,11 @@ public boolean equals(Object o) { CreateCrossConnectGroupDetails other = (CreateCrossConnectGroupDetails) o; return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.customerReferenceName, other.customerReferenceName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.macsecProperties, other.macsecProperties) && super.equals(other); } @@ -181,7 +349,17 @@ public int hashCode() { result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = + (result * PRIME) + + (this.customerReferenceName == null + ? 43 + : this.customerReferenceName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = + (result * PRIME) + + (this.macsecProperties == null ? 43 : this.macsecProperties.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateDhcpDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateDhcpDetails.java index 5539d1003d9..071044ba982 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateDhcpDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateDhcpDetails.java @@ -29,7 +29,8 @@ public final class CreateDhcpDetails "displayName", "freeformTags", "options", - "vcnId" + "vcnId", + "domainNameType" }) public CreateDhcpDetails( String compartmentId, @@ -37,7 +38,8 @@ public CreateDhcpDetails( String displayName, java.util.Map freeformTags, java.util.List options, - String vcnId) { + String vcnId, + DomainNameType domainNameType) { super(); this.compartmentId = compartmentId; this.definedTags = definedTags; @@ -45,6 +47,7 @@ public CreateDhcpDetails( this.freeformTags = freeformTags; this.options = options; this.vcnId = vcnId; + this.domainNameType = domainNameType; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -160,6 +163,21 @@ public Builder vcnId(String vcnId) { this.__explicitlySet__.add("vcnId"); return this; } + /** The search domain name type of DHCP options */ + @com.fasterxml.jackson.annotation.JsonProperty("domainNameType") + private DomainNameType domainNameType; + + /** + * The search domain name type of DHCP options + * + * @param domainNameType the value to set + * @return this builder + */ + public Builder domainNameType(DomainNameType domainNameType) { + this.domainNameType = domainNameType; + this.__explicitlySet__.add("domainNameType"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -172,7 +190,8 @@ public CreateDhcpDetails build() { this.displayName, this.freeformTags, this.options, - this.vcnId); + this.vcnId, + this.domainNameType); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -199,6 +218,9 @@ public Builder copy(CreateDhcpDetails model) { if (model.wasPropertyExplicitlySet("vcnId")) { this.vcnId(model.getVcnId()); } + if (model.wasPropertyExplicitlySet("domainNameType")) { + this.domainNameType(model.getDomainNameType()); + } return this; } } @@ -310,6 +332,53 @@ public String getVcnId() { return vcnId; } + /** The search domain name type of DHCP options */ + public enum DomainNameType implements com.oracle.bmc.http.internal.BmcEnum { + SubnetDomain("SUBNET_DOMAIN"), + VcnDomain("VCN_DOMAIN"), + CustomDomain("CUSTOM_DOMAIN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DomainNameType v : DomainNameType.values()) { + map.put(v.getValue(), v); + } + } + + DomainNameType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DomainNameType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid DomainNameType: " + key); + } + }; + /** The search domain name type of DHCP options */ + @com.fasterxml.jackson.annotation.JsonProperty("domainNameType") + private final DomainNameType domainNameType; + + /** + * The search domain name type of DHCP options + * + * @return the value + */ + public DomainNameType getDomainNameType() { + return domainNameType; + } + @Override public String toString() { return this.toString(true); @@ -331,6 +400,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", options=").append(String.valueOf(this.options)); sb.append(", vcnId=").append(String.valueOf(this.vcnId)); + sb.append(", domainNameType=").append(String.valueOf(this.domainNameType)); sb.append(")"); return sb.toString(); } @@ -351,6 +421,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.options, other.options) && java.util.Objects.equals(this.vcnId, other.vcnId) + && java.util.Objects.equals(this.domainNameType, other.domainNameType) && super.equals(other); } @@ -366,6 +437,9 @@ public int hashCode() { result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.options == null ? 43 : this.options.hashCode()); result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); + result = + (result * PRIME) + + (this.domainNameType == null ? 43 : this.domainNameType.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateDrgAttachmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateDrgAttachmentDetails.java index 5101e1a5c21..01ce7b22637 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateDrgAttachmentDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateDrgAttachmentDetails.java @@ -30,6 +30,7 @@ public final class CreateDrgAttachmentDetails "networkDetails", "definedTags", "freeformTags", + "routeTableId", "vcnId" }) public CreateDrgAttachmentDetails( @@ -39,6 +40,7 @@ public CreateDrgAttachmentDetails( DrgAttachmentNetworkCreateDetails networkDetails, java.util.Map> definedTags, java.util.Map freeformTags, + String routeTableId, String vcnId) { super(); this.displayName = displayName; @@ -47,6 +49,7 @@ public CreateDrgAttachmentDetails( this.networkDetails = networkDetails; this.definedTags = definedTags; this.freeformTags = freeformTags; + this.routeTableId = routeTableId; this.vcnId = vcnId; } @@ -161,6 +164,49 @@ public Builder freeformTags(java.util.Map freeformTags) { this.__explicitlySet__.add("freeformTags"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table used by the DRG attachment. + * + *

If you don't specify a route table here, the DRG attachment is created without an + * associated route table. The Networking service does NOT automatically associate the + * attached VCN's default route table with the DRG attachment. For information about why you + * would associate a route table with a DRG attachment, see: + * + *

[Transit Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + * This field is deprecated. Instead, use the networkDetails field to specify the VCN route + * table for this attachment. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table used by the DRG attachment. + * + *

If you don't specify a route table here, the DRG attachment is created without an + * associated route table. The Networking service does NOT automatically associate the + * attached VCN's default route table with the DRG attachment. For information about why you + * would associate a route table with a DRG attachment, see: + * + *

[Transit Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + * This field is deprecated. Instead, use the networkDetails field to specify the VCN route + * table for this attachment. + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the VCN. This field is deprecated. Instead, use the {@code networkDetails} field to @@ -199,6 +245,7 @@ public CreateDrgAttachmentDetails build() { this.networkDetails, this.definedTags, this.freeformTags, + this.routeTableId, this.vcnId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -226,6 +273,9 @@ public Builder copy(CreateDrgAttachmentDetails model) { if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } if (model.wasPropertyExplicitlySet("vcnId")) { this.vcnId(model.getVcnId()); } @@ -338,6 +388,47 @@ public java.util.Map getFreeformTags() { return freeformTags; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table used by the DRG attachment. + * + *

If you don't specify a route table here, the DRG attachment is created without an + * associated route table. The Networking service does NOT automatically associate the attached + * VCN's default route table with the DRG attachment. For information about why you would + * associate a route table with a DRG attachment, see: + * + *

[Transit Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + * This field is deprecated. Instead, use the networkDetails field to specify the VCN route + * table for this attachment. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table used by the DRG attachment. + * + *

If you don't specify a route table here, the DRG attachment is created without an + * associated route table. The Networking service does NOT automatically associate the attached + * VCN's default route table with the DRG attachment. For information about why you would + * associate a route table with a DRG attachment, see: + * + *

[Transit Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + * This field is deprecated. Instead, use the networkDetails field to specify the VCN route + * table for this attachment. + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the VCN. This field is deprecated. Instead, use the {@code networkDetails} field to specify @@ -380,6 +471,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", networkDetails=").append(String.valueOf(this.networkDetails)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(", vcnId=").append(String.valueOf(this.vcnId)); sb.append(")"); return sb.toString(); @@ -401,6 +493,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.networkDetails, other.networkDetails) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) && java.util.Objects.equals(this.vcnId, other.vcnId) && super.equals(other); } @@ -419,6 +512,7 @@ public int hashCode() { + (this.networkDetails == null ? 43 : this.networkDetails.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecConnectionDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecConnectionDetails.java index ee4ac049343..eb13ddebaf3 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecConnectionDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecConnectionDetails.java @@ -30,7 +30,10 @@ public final class CreateIPSecConnectionDetails "displayName", "drgId", "freeformTags", - "staticRoutes" + "cpeLocalIdentifier", + "cpeLocalIdentifierType", + "staticRoutes", + "tunnelConfiguration" }) public CreateIPSecConnectionDetails( String compartmentId, @@ -39,7 +42,10 @@ public CreateIPSecConnectionDetails( String displayName, String drgId, java.util.Map freeformTags, - java.util.List staticRoutes) { + String cpeLocalIdentifier, + CpeLocalIdentifierType cpeLocalIdentifierType, + java.util.List staticRoutes, + java.util.List tunnelConfiguration) { super(); this.compartmentId = compartmentId; this.cpeId = cpeId; @@ -47,7 +53,10 @@ public CreateIPSecConnectionDetails( this.displayName = displayName; this.drgId = drgId; this.freeformTags = freeformTags; + this.cpeLocalIdentifier = cpeLocalIdentifier; + this.cpeLocalIdentifierType = cpeLocalIdentifierType; this.staticRoutes = staticRoutes; + this.tunnelConfiguration = tunnelConfiguration; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -167,13 +176,83 @@ public Builder freeformTags(java.util.Map freeformTags) { this.__explicitlySet__.add("freeformTags"); return this; } + /** + * Your identifier for your CPE device. Can be either an IP address or a hostname + * (specifically, the fully qualified domain name (FQDN)). The type of identifier you + * provide here must correspond to the value for {@code cpeLocalIdentifierType}. + * + *

If you don't provide a value, the {@code ipAddress} attribute for the {@link Cpe} + * object specified by {@code cpeId} is used as the {@code cpeLocalIdentifier}. + * + *

For information about why you'd provide this value, see [If Your CPE Is Behind a NAT + * Device](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + * + *

Example IP address: {@code 10.0.3.3} + * + *

Example hostname: {@code cpe.example.com} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeLocalIdentifier") + private String cpeLocalIdentifier; + + /** + * Your identifier for your CPE device. Can be either an IP address or a hostname + * (specifically, the fully qualified domain name (FQDN)). The type of identifier you + * provide here must correspond to the value for {@code cpeLocalIdentifierType}. + * + *

If you don't provide a value, the {@code ipAddress} attribute for the {@link Cpe} + * object specified by {@code cpeId} is used as the {@code cpeLocalIdentifier}. + * + *

For information about why you'd provide this value, see [If Your CPE Is Behind a NAT + * Device](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + * + *

Example IP address: {@code 10.0.3.3} + * + *

Example hostname: {@code cpe.example.com} + * + * @param cpeLocalIdentifier the value to set + * @return this builder + */ + public Builder cpeLocalIdentifier(String cpeLocalIdentifier) { + this.cpeLocalIdentifier = cpeLocalIdentifier; + this.__explicitlySet__.add("cpeLocalIdentifier"); + return this; + } + /** + * The type of identifier for your CPE device. The value you provide here must correspond to + * the value for {@code cpeLocalIdentifier}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeLocalIdentifierType") + private CpeLocalIdentifierType cpeLocalIdentifierType; + + /** + * The type of identifier for your CPE device. The value you provide here must correspond to + * the value for {@code cpeLocalIdentifier}. + * + * @param cpeLocalIdentifierType the value to set + * @return this builder + */ + public Builder cpeLocalIdentifierType(CpeLocalIdentifierType cpeLocalIdentifierType) { + this.cpeLocalIdentifierType = cpeLocalIdentifierType; + this.__explicitlySet__.add("cpeLocalIdentifierType"); + return this; + } /** * Static routes to the CPE. A static route's CIDR must not be a multicast address or class * E address. * - *

+ *

Used for routing a given IPSec tunnel's traffic only if the tunnel is using static + * routing. If you configure at least one tunnel to use static routing, then you must + * provide at least one valid static route. If you configure both tunnels to use BGP dynamic + * routing, you can provide an empty list for the static routes. For more information, see + * the important note in {@link IPSecConnection}. + * + *

The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial + * and government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code 10.0.1.0/24} + * + *

Example: {@code 2001:db8::/32} */ @com.fasterxml.jackson.annotation.JsonProperty("staticRoutes") private java.util.List staticRoutes; @@ -182,10 +261,20 @@ public Builder freeformTags(java.util.Map freeformTags) { * Static routes to the CPE. A static route's CIDR must not be a multicast address or class * E address. * - *

+ *

Used for routing a given IPSec tunnel's traffic only if the tunnel is using static + * routing. If you configure at least one tunnel to use static routing, then you must + * provide at least one valid static route. If you configure both tunnels to use BGP dynamic + * routing, you can provide an empty list for the static routes. For more information, see + * the important note in {@link IPSecConnection}. + * + *

The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial + * and government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code 10.0.1.0/24} * + *

Example: {@code 2001:db8::/32} + * * @param staticRoutes the value to set * @return this builder */ @@ -194,6 +283,28 @@ public Builder staticRoutes(java.util.List staticRoutes) { this.__explicitlySet__.add("staticRoutes"); return this; } + /** + * Information for creating the individual tunnels in the IPSec connection. You can provide + * a maximum of 2 {@code tunnelConfiguration} objects in the array (one for each of the two + * tunnels). + */ + @com.fasterxml.jackson.annotation.JsonProperty("tunnelConfiguration") + private java.util.List tunnelConfiguration; + + /** + * Information for creating the individual tunnels in the IPSec connection. You can provide + * a maximum of 2 {@code tunnelConfiguration} objects in the array (one for each of the two + * tunnels). + * + * @param tunnelConfiguration the value to set + * @return this builder + */ + public Builder tunnelConfiguration( + java.util.List tunnelConfiguration) { + this.tunnelConfiguration = tunnelConfiguration; + this.__explicitlySet__.add("tunnelConfiguration"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -207,7 +318,10 @@ public CreateIPSecConnectionDetails build() { this.displayName, this.drgId, this.freeformTags, - this.staticRoutes); + this.cpeLocalIdentifier, + this.cpeLocalIdentifierType, + this.staticRoutes, + this.tunnelConfiguration); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -234,9 +348,18 @@ public Builder copy(CreateIPSecConnectionDetails model) { if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } + if (model.wasPropertyExplicitlySet("cpeLocalIdentifier")) { + this.cpeLocalIdentifier(model.getCpeLocalIdentifier()); + } + if (model.wasPropertyExplicitlySet("cpeLocalIdentifierType")) { + this.cpeLocalIdentifierType(model.getCpeLocalIdentifierType()); + } if (model.wasPropertyExplicitlySet("staticRoutes")) { this.staticRoutes(model.getStaticRoutes()); } + if (model.wasPropertyExplicitlySet("tunnelConfiguration")) { + this.tunnelConfiguration(model.getTunnelConfiguration()); + } return this; } } @@ -352,13 +475,115 @@ public java.util.Map getFreeformTags() { return freeformTags; } + /** + * Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, + * the fully qualified domain name (FQDN)). The type of identifier you provide here must + * correspond to the value for {@code cpeLocalIdentifierType}. + * + *

If you don't provide a value, the {@code ipAddress} attribute for the {@link Cpe} object + * specified by {@code cpeId} is used as the {@code cpeLocalIdentifier}. + * + *

For information about why you'd provide this value, see [If Your CPE Is Behind a NAT + * Device](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + * + *

Example IP address: {@code 10.0.3.3} + * + *

Example hostname: {@code cpe.example.com} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeLocalIdentifier") + private final String cpeLocalIdentifier; + + /** + * Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, + * the fully qualified domain name (FQDN)). The type of identifier you provide here must + * correspond to the value for {@code cpeLocalIdentifierType}. + * + *

If you don't provide a value, the {@code ipAddress} attribute for the {@link Cpe} object + * specified by {@code cpeId} is used as the {@code cpeLocalIdentifier}. + * + *

For information about why you'd provide this value, see [If Your CPE Is Behind a NAT + * Device](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + * + *

Example IP address: {@code 10.0.3.3} + * + *

Example hostname: {@code cpe.example.com} + * + * @return the value + */ + public String getCpeLocalIdentifier() { + return cpeLocalIdentifier; + } + + /** + * The type of identifier for your CPE device. The value you provide here must correspond to the + * value for {@code cpeLocalIdentifier}. + */ + public enum CpeLocalIdentifierType implements com.oracle.bmc.http.internal.BmcEnum { + IpAddress("IP_ADDRESS"), + Hostname("HOSTNAME"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (CpeLocalIdentifierType v : CpeLocalIdentifierType.values()) { + map.put(v.getValue(), v); + } + } + + CpeLocalIdentifierType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static CpeLocalIdentifierType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid CpeLocalIdentifierType: " + key); + } + }; + /** + * The type of identifier for your CPE device. The value you provide here must correspond to the + * value for {@code cpeLocalIdentifier}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeLocalIdentifierType") + private final CpeLocalIdentifierType cpeLocalIdentifierType; + + /** + * The type of identifier for your CPE device. The value you provide here must correspond to the + * value for {@code cpeLocalIdentifier}. + * + * @return the value + */ + public CpeLocalIdentifierType getCpeLocalIdentifierType() { + return cpeLocalIdentifierType; + } + /** * Static routes to the CPE. A static route's CIDR must not be a multicast address or class E * address. * - *

+ *

Used for routing a given IPSec tunnel's traffic only if the tunnel is using static + * routing. If you configure at least one tunnel to use static routing, then you must provide at + * least one valid static route. If you configure both tunnels to use BGP dynamic routing, you + * can provide an empty list for the static routes. For more information, see the important note + * in {@link IPSecConnection}. + * + *

The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and + * government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code 10.0.1.0/24} + * + *

Example: {@code 2001:db8::/32} */ @com.fasterxml.jackson.annotation.JsonProperty("staticRoutes") private final java.util.List staticRoutes; @@ -367,16 +592,45 @@ public java.util.Map getFreeformTags() { * Static routes to the CPE. A static route's CIDR must not be a multicast address or class E * address. * - *

+ *

Used for routing a given IPSec tunnel's traffic only if the tunnel is using static + * routing. If you configure at least one tunnel to use static routing, then you must provide at + * least one valid static route. If you configure both tunnels to use BGP dynamic routing, you + * can provide an empty list for the static routes. For more information, see the important note + * in {@link IPSecConnection}. + * + *

The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and + * government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code 10.0.1.0/24} * + *

Example: {@code 2001:db8::/32} + * * @return the value */ public java.util.List getStaticRoutes() { return staticRoutes; } + /** + * Information for creating the individual tunnels in the IPSec connection. You can provide a + * maximum of 2 {@code tunnelConfiguration} objects in the array (one for each of the two + * tunnels). + */ + @com.fasterxml.jackson.annotation.JsonProperty("tunnelConfiguration") + private final java.util.List tunnelConfiguration; + + /** + * Information for creating the individual tunnels in the IPSec connection. You can provide a + * maximum of 2 {@code tunnelConfiguration} objects in the array (one for each of the two + * tunnels). + * + * @return the value + */ + public java.util.List getTunnelConfiguration() { + return tunnelConfiguration; + } + @Override public String toString() { return this.toString(true); @@ -398,7 +652,10 @@ public String toString(boolean includeByteArrayContents) { sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", drgId=").append(String.valueOf(this.drgId)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", cpeLocalIdentifier=").append(String.valueOf(this.cpeLocalIdentifier)); + sb.append(", cpeLocalIdentifierType=").append(String.valueOf(this.cpeLocalIdentifierType)); sb.append(", staticRoutes=").append(String.valueOf(this.staticRoutes)); + sb.append(", tunnelConfiguration=").append(String.valueOf(this.tunnelConfiguration)); sb.append(")"); return sb.toString(); } @@ -419,7 +676,11 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.drgId, other.drgId) && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.cpeLocalIdentifier, other.cpeLocalIdentifier) + && java.util.Objects.equals( + this.cpeLocalIdentifierType, other.cpeLocalIdentifierType) && java.util.Objects.equals(this.staticRoutes, other.staticRoutes) + && java.util.Objects.equals(this.tunnelConfiguration, other.tunnelConfiguration) && super.equals(other); } @@ -435,7 +696,22 @@ public int hashCode() { result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.drgId == null ? 43 : this.drgId.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = + (result * PRIME) + + (this.cpeLocalIdentifier == null + ? 43 + : this.cpeLocalIdentifier.hashCode()); + result = + (result * PRIME) + + (this.cpeLocalIdentifierType == null + ? 43 + : this.cpeLocalIdentifierType.hashCode()); result = (result * PRIME) + (this.staticRoutes == null ? 43 : this.staticRoutes.hashCode()); + result = + (result * PRIME) + + (this.tunnelConfiguration == null + ? 43 + : this.tunnelConfiguration.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecConnectionTunnelDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecConnectionTunnelDetails.java new file mode 100644 index 00000000000..0595250cf68 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecConnectionTunnelDetails.java @@ -0,0 +1,712 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateIPSecConnectionTunnelDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateIPSecConnectionTunnelDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "displayName", + "routing", + "ikeVersion", + "sharedSecret", + "bgpSessionConfig", + "oracleInitiation", + "natTranslationEnabled", + "phaseOneConfig", + "phaseTwoConfig", + "dpdConfig", + "encryptionDomainConfig" + }) + public CreateIPSecConnectionTunnelDetails( + String displayName, + Routing routing, + IkeVersion ikeVersion, + String sharedSecret, + CreateIPSecTunnelBgpSessionDetails bgpSessionConfig, + OracleInitiation oracleInitiation, + NatTranslationEnabled natTranslationEnabled, + PhaseOneConfigDetails phaseOneConfig, + PhaseTwoConfigDetails phaseTwoConfig, + DpdConfig dpdConfig, + CreateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig) { + super(); + this.displayName = displayName; + this.routing = routing; + this.ikeVersion = ikeVersion; + this.sharedSecret = sharedSecret; + this.bgpSessionConfig = bgpSessionConfig; + this.oracleInitiation = oracleInitiation; + this.natTranslationEnabled = natTranslationEnabled; + this.phaseOneConfig = phaseOneConfig; + this.phaseTwoConfig = phaseTwoConfig; + this.dpdConfig = dpdConfig; + this.encryptionDomainConfig = encryptionDomainConfig; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * The type of routing to use for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routing") + private Routing routing; + + /** + * The type of routing to use for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + * + * @param routing the value to set + * @return this builder + */ + public Builder routing(Routing routing) { + this.routing = routing; + this.__explicitlySet__.add("routing"); + return this; + } + /** Internet Key Exchange protocol version. */ + @com.fasterxml.jackson.annotation.JsonProperty("ikeVersion") + private IkeVersion ikeVersion; + + /** + * Internet Key Exchange protocol version. + * + * @param ikeVersion the value to set + * @return this builder + */ + public Builder ikeVersion(IkeVersion ikeVersion) { + this.ikeVersion = ikeVersion; + this.__explicitlySet__.add("ikeVersion"); + return this; + } + /** + * The shared secret (pre-shared key) to use for the IPSec tunnel. Only numbers, letters, + * and spaces are allowed. If you don't provide a value, Oracle generates a value for you. + * You can specify your own shared secret later if you like with {@link + * #updateIPSecConnectionTunnelSharedSecret(UpdateIPSecConnectionTunnelSharedSecretRequest) + * updateIPSecConnectionTunnelSharedSecret}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sharedSecret") + private String sharedSecret; + + /** + * The shared secret (pre-shared key) to use for the IPSec tunnel. Only numbers, letters, + * and spaces are allowed. If you don't provide a value, Oracle generates a value for you. + * You can specify your own shared secret later if you like with {@link + * #updateIPSecConnectionTunnelSharedSecret(UpdateIPSecConnectionTunnelSharedSecretRequest) + * updateIPSecConnectionTunnelSharedSecret}. + * + * @param sharedSecret the value to set + * @return this builder + */ + public Builder sharedSecret(String sharedSecret) { + this.sharedSecret = sharedSecret; + this.__explicitlySet__.add("sharedSecret"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("bgpSessionConfig") + private CreateIPSecTunnelBgpSessionDetails bgpSessionConfig; + + public Builder bgpSessionConfig(CreateIPSecTunnelBgpSessionDetails bgpSessionConfig) { + this.bgpSessionConfig = bgpSessionConfig; + this.__explicitlySet__.add("bgpSessionConfig"); + return this; + } + /** + * Indicates whether the Oracle end of the IPSec connection is able to initiate starting up + * the IPSec tunnel. + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInitiation") + private OracleInitiation oracleInitiation; + + /** + * Indicates whether the Oracle end of the IPSec connection is able to initiate starting up + * the IPSec tunnel. + * + * @param oracleInitiation the value to set + * @return this builder + */ + public Builder oracleInitiation(OracleInitiation oracleInitiation) { + this.oracleInitiation = oracleInitiation; + this.__explicitlySet__.add("oracleInitiation"); + return this; + } + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination + * port set to 500, and when it detects that the port used to forward packets has changed + * (most likely because a NAT device is between the CPE device and the Oracle VPN headend) + * it will try to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even + * if it senses there may be a NAT device in use. + */ + @com.fasterxml.jackson.annotation.JsonProperty("natTranslationEnabled") + private NatTranslationEnabled natTranslationEnabled; + + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination + * port set to 500, and when it detects that the port used to forward packets has changed + * (most likely because a NAT device is between the CPE device and the Oracle VPN headend) + * it will try to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even + * if it senses there may be a NAT device in use. + * + * @param natTranslationEnabled the value to set + * @return this builder + */ + public Builder natTranslationEnabled(NatTranslationEnabled natTranslationEnabled) { + this.natTranslationEnabled = natTranslationEnabled; + this.__explicitlySet__.add("natTranslationEnabled"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("phaseOneConfig") + private PhaseOneConfigDetails phaseOneConfig; + + public Builder phaseOneConfig(PhaseOneConfigDetails phaseOneConfig) { + this.phaseOneConfig = phaseOneConfig; + this.__explicitlySet__.add("phaseOneConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("phaseTwoConfig") + private PhaseTwoConfigDetails phaseTwoConfig; + + public Builder phaseTwoConfig(PhaseTwoConfigDetails phaseTwoConfig) { + this.phaseTwoConfig = phaseTwoConfig; + this.__explicitlySet__.add("phaseTwoConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dpdConfig") + private DpdConfig dpdConfig; + + public Builder dpdConfig(DpdConfig dpdConfig) { + this.dpdConfig = dpdConfig; + this.__explicitlySet__.add("dpdConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("encryptionDomainConfig") + private CreateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig; + + public Builder encryptionDomainConfig( + CreateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig) { + this.encryptionDomainConfig = encryptionDomainConfig; + this.__explicitlySet__.add("encryptionDomainConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateIPSecConnectionTunnelDetails build() { + CreateIPSecConnectionTunnelDetails model = + new CreateIPSecConnectionTunnelDetails( + this.displayName, + this.routing, + this.ikeVersion, + this.sharedSecret, + this.bgpSessionConfig, + this.oracleInitiation, + this.natTranslationEnabled, + this.phaseOneConfig, + this.phaseTwoConfig, + this.dpdConfig, + this.encryptionDomainConfig); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateIPSecConnectionTunnelDetails model) { + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("routing")) { + this.routing(model.getRouting()); + } + if (model.wasPropertyExplicitlySet("ikeVersion")) { + this.ikeVersion(model.getIkeVersion()); + } + if (model.wasPropertyExplicitlySet("sharedSecret")) { + this.sharedSecret(model.getSharedSecret()); + } + if (model.wasPropertyExplicitlySet("bgpSessionConfig")) { + this.bgpSessionConfig(model.getBgpSessionConfig()); + } + if (model.wasPropertyExplicitlySet("oracleInitiation")) { + this.oracleInitiation(model.getOracleInitiation()); + } + if (model.wasPropertyExplicitlySet("natTranslationEnabled")) { + this.natTranslationEnabled(model.getNatTranslationEnabled()); + } + if (model.wasPropertyExplicitlySet("phaseOneConfig")) { + this.phaseOneConfig(model.getPhaseOneConfig()); + } + if (model.wasPropertyExplicitlySet("phaseTwoConfig")) { + this.phaseTwoConfig(model.getPhaseTwoConfig()); + } + if (model.wasPropertyExplicitlySet("dpdConfig")) { + this.dpdConfig(model.getDpdConfig()); + } + if (model.wasPropertyExplicitlySet("encryptionDomainConfig")) { + this.encryptionDomainConfig(model.getEncryptionDomainConfig()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * The type of routing to use for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + */ + public enum Routing implements com.oracle.bmc.http.internal.BmcEnum { + Bgp("BGP"), + Static("STATIC"), + Policy("POLICY"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Routing v : Routing.values()) { + map.put(v.getValue(), v); + } + } + + Routing(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Routing create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid Routing: " + key); + } + }; + /** + * The type of routing to use for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routing") + private final Routing routing; + + /** + * The type of routing to use for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + * + * @return the value + */ + public Routing getRouting() { + return routing; + } + + /** Internet Key Exchange protocol version. */ + public enum IkeVersion implements com.oracle.bmc.http.internal.BmcEnum { + V1("V1"), + V2("V2"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (IkeVersion v : IkeVersion.values()) { + map.put(v.getValue(), v); + } + } + + IkeVersion(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static IkeVersion create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid IkeVersion: " + key); + } + }; + /** Internet Key Exchange protocol version. */ + @com.fasterxml.jackson.annotation.JsonProperty("ikeVersion") + private final IkeVersion ikeVersion; + + /** + * Internet Key Exchange protocol version. + * + * @return the value + */ + public IkeVersion getIkeVersion() { + return ikeVersion; + } + + /** + * The shared secret (pre-shared key) to use for the IPSec tunnel. Only numbers, letters, and + * spaces are allowed. If you don't provide a value, Oracle generates a value for you. You can + * specify your own shared secret later if you like with {@link + * #updateIPSecConnectionTunnelSharedSecret(UpdateIPSecConnectionTunnelSharedSecretRequest) + * updateIPSecConnectionTunnelSharedSecret}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sharedSecret") + private final String sharedSecret; + + /** + * The shared secret (pre-shared key) to use for the IPSec tunnel. Only numbers, letters, and + * spaces are allowed. If you don't provide a value, Oracle generates a value for you. You can + * specify your own shared secret later if you like with {@link + * #updateIPSecConnectionTunnelSharedSecret(UpdateIPSecConnectionTunnelSharedSecretRequest) + * updateIPSecConnectionTunnelSharedSecret}. + * + * @return the value + */ + public String getSharedSecret() { + return sharedSecret; + } + + @com.fasterxml.jackson.annotation.JsonProperty("bgpSessionConfig") + private final CreateIPSecTunnelBgpSessionDetails bgpSessionConfig; + + public CreateIPSecTunnelBgpSessionDetails getBgpSessionConfig() { + return bgpSessionConfig; + } + + /** + * Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the + * IPSec tunnel. + */ + public enum OracleInitiation implements com.oracle.bmc.http.internal.BmcEnum { + InitiatorOrResponder("INITIATOR_OR_RESPONDER"), + ResponderOnly("RESPONDER_ONLY"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (OracleInitiation v : OracleInitiation.values()) { + map.put(v.getValue(), v); + } + } + + OracleInitiation(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static OracleInitiation create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid OracleInitiation: " + key); + } + }; + /** + * Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the + * IPSec tunnel. + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInitiation") + private final OracleInitiation oracleInitiation; + + /** + * Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the + * IPSec tunnel. + * + * @return the value + */ + public OracleInitiation getOracleInitiation() { + return oracleInitiation; + } + + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination port + * set to 500, and when it detects that the port used to forward packets has changed (most + * likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try + * to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even if it + * senses there may be a NAT device in use. + */ + public enum NatTranslationEnabled implements com.oracle.bmc.http.internal.BmcEnum { + Enabled("ENABLED"), + Disabled("DISABLED"), + Auto("AUTO"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (NatTranslationEnabled v : NatTranslationEnabled.values()) { + map.put(v.getValue(), v); + } + } + + NatTranslationEnabled(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static NatTranslationEnabled create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid NatTranslationEnabled: " + key); + } + }; + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination port + * set to 500, and when it detects that the port used to forward packets has changed (most + * likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try + * to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even if it + * senses there may be a NAT device in use. + */ + @com.fasterxml.jackson.annotation.JsonProperty("natTranslationEnabled") + private final NatTranslationEnabled natTranslationEnabled; + + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination port + * set to 500, and when it detects that the port used to forward packets has changed (most + * likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try + * to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even if it + * senses there may be a NAT device in use. + * + * @return the value + */ + public NatTranslationEnabled getNatTranslationEnabled() { + return natTranslationEnabled; + } + + @com.fasterxml.jackson.annotation.JsonProperty("phaseOneConfig") + private final PhaseOneConfigDetails phaseOneConfig; + + public PhaseOneConfigDetails getPhaseOneConfig() { + return phaseOneConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("phaseTwoConfig") + private final PhaseTwoConfigDetails phaseTwoConfig; + + public PhaseTwoConfigDetails getPhaseTwoConfig() { + return phaseTwoConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dpdConfig") + private final DpdConfig dpdConfig; + + public DpdConfig getDpdConfig() { + return dpdConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("encryptionDomainConfig") + private final CreateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig; + + public CreateIPSecTunnelEncryptionDomainDetails getEncryptionDomainConfig() { + return encryptionDomainConfig; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CreateIPSecConnectionTunnelDetails("); + sb.append("super=").append(super.toString()); + sb.append("displayName=").append(String.valueOf(this.displayName)); + sb.append(", routing=").append(String.valueOf(this.routing)); + sb.append(", ikeVersion=").append(String.valueOf(this.ikeVersion)); + sb.append(", sharedSecret=").append(String.valueOf(this.sharedSecret)); + sb.append(", bgpSessionConfig=").append(String.valueOf(this.bgpSessionConfig)); + sb.append(", oracleInitiation=").append(String.valueOf(this.oracleInitiation)); + sb.append(", natTranslationEnabled=").append(String.valueOf(this.natTranslationEnabled)); + sb.append(", phaseOneConfig=").append(String.valueOf(this.phaseOneConfig)); + sb.append(", phaseTwoConfig=").append(String.valueOf(this.phaseTwoConfig)); + sb.append(", dpdConfig=").append(String.valueOf(this.dpdConfig)); + sb.append(", encryptionDomainConfig=").append(String.valueOf(this.encryptionDomainConfig)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateIPSecConnectionTunnelDetails)) { + return false; + } + + CreateIPSecConnectionTunnelDetails other = (CreateIPSecConnectionTunnelDetails) o; + return java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.routing, other.routing) + && java.util.Objects.equals(this.ikeVersion, other.ikeVersion) + && java.util.Objects.equals(this.sharedSecret, other.sharedSecret) + && java.util.Objects.equals(this.bgpSessionConfig, other.bgpSessionConfig) + && java.util.Objects.equals(this.oracleInitiation, other.oracleInitiation) + && java.util.Objects.equals(this.natTranslationEnabled, other.natTranslationEnabled) + && java.util.Objects.equals(this.phaseOneConfig, other.phaseOneConfig) + && java.util.Objects.equals(this.phaseTwoConfig, other.phaseTwoConfig) + && java.util.Objects.equals(this.dpdConfig, other.dpdConfig) + && java.util.Objects.equals( + this.encryptionDomainConfig, other.encryptionDomainConfig) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.routing == null ? 43 : this.routing.hashCode()); + result = (result * PRIME) + (this.ikeVersion == null ? 43 : this.ikeVersion.hashCode()); + result = (result * PRIME) + (this.sharedSecret == null ? 43 : this.sharedSecret.hashCode()); + result = + (result * PRIME) + + (this.bgpSessionConfig == null ? 43 : this.bgpSessionConfig.hashCode()); + result = + (result * PRIME) + + (this.oracleInitiation == null ? 43 : this.oracleInitiation.hashCode()); + result = + (result * PRIME) + + (this.natTranslationEnabled == null + ? 43 + : this.natTranslationEnabled.hashCode()); + result = + (result * PRIME) + + (this.phaseOneConfig == null ? 43 : this.phaseOneConfig.hashCode()); + result = + (result * PRIME) + + (this.phaseTwoConfig == null ? 43 : this.phaseTwoConfig.hashCode()); + result = (result * PRIME) + (this.dpdConfig == null ? 43 : this.dpdConfig.hashCode()); + result = + (result * PRIME) + + (this.encryptionDomainConfig == null + ? 43 + : this.encryptionDomainConfig.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecTunnelBgpSessionDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecTunnelBgpSessionDetails.java new file mode 100644 index 00000000000..04322857640 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecTunnelBgpSessionDetails.java @@ -0,0 +1,529 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateIPSecTunnelBgpSessionDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateIPSecTunnelBgpSessionDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "oracleInterfaceIp", + "customerInterfaceIp", + "oracleInterfaceIpv6", + "customerInterfaceIpv6", + "customerBgpAsn" + }) + public CreateIPSecTunnelBgpSessionDetails( + String oracleInterfaceIp, + String customerInterfaceIp, + String oracleInterfaceIpv6, + String customerInterfaceIpv6, + String customerBgpAsn) { + super(); + this.oracleInterfaceIp = oracleInterfaceIp; + this.customerInterfaceIp = customerInterfaceIp; + this.oracleInterfaceIpv6 = oracleInterfaceIpv6; + this.customerInterfaceIpv6 = customerInterfaceIpv6; + this.customerBgpAsn = customerBgpAsn; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The IP address for the Oracle end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP + * session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You + * can set this IP address to troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.4/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInterfaceIp") + private String oracleInterfaceIp; + + /** + * The IP address for the Oracle end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP + * session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You + * can set this IP address to troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.4/31} + * + * @param oracleInterfaceIp the value to set + * @return this builder + */ + public Builder oracleInterfaceIp(String oracleInterfaceIp) { + this.oracleInterfaceIp = oracleInterfaceIp; + this.__explicitlySet__.add("oracleInterfaceIp"); + return this; + } + /** + * The IP address for the CPE end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP + * session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You + * can set this IP address to troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.5/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerInterfaceIp") + private String customerInterfaceIp; + + /** + * The IP address for the CPE end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP + * session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You + * can set this IP address to troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.5/31} + * + * @param customerInterfaceIp the value to set + * @return this builder + */ + public Builder customerInterfaceIp(String customerInterfaceIp) { + this.customerInterfaceIp = customerInterfaceIp; + this.__explicitlySet__.add("customerInterfaceIp"); + return this; + } + /** + * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInterfaceIpv6") + private String oracleInterfaceIpv6; + + /** + * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + * + * @param oracleInterfaceIpv6 the value to set + * @return this builder + */ + public Builder oracleInterfaceIpv6(String oracleInterfaceIpv6) { + this.oracleInterfaceIpv6 = oracleInterfaceIpv6; + this.__explicitlySet__.add("oracleInterfaceIpv6"); + return this; + } + /** + * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerInterfaceIpv6") + private String customerInterfaceIpv6; + + /** + * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + * + * @param customerInterfaceIpv6 the value to set + * @return this builder + */ + public Builder customerInterfaceIpv6(String customerInterfaceIpv6) { + this.customerInterfaceIpv6 = customerInterfaceIpv6; + this.__explicitlySet__.add("customerInterfaceIpv6"); + return this; + } + /** + * If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this ASN is required and used for the tunnel's BGP session. This + * is the ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte + * ASN. Uses "asplain" format. + * + *

If the tunnel's {@code routing} attribute is set to {@code STATIC}, the {@code + * customerBgpAsn} must be null. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") + private String customerBgpAsn; + + /** + * If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this ASN is required and used for the tunnel's BGP session. This + * is the ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte + * ASN. Uses "asplain" format. + * + *

If the tunnel's {@code routing} attribute is set to {@code STATIC}, the {@code + * customerBgpAsn} must be null. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + * + * @param customerBgpAsn the value to set + * @return this builder + */ + public Builder customerBgpAsn(String customerBgpAsn) { + this.customerBgpAsn = customerBgpAsn; + this.__explicitlySet__.add("customerBgpAsn"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateIPSecTunnelBgpSessionDetails build() { + CreateIPSecTunnelBgpSessionDetails model = + new CreateIPSecTunnelBgpSessionDetails( + this.oracleInterfaceIp, + this.customerInterfaceIp, + this.oracleInterfaceIpv6, + this.customerInterfaceIpv6, + this.customerBgpAsn); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateIPSecTunnelBgpSessionDetails model) { + if (model.wasPropertyExplicitlySet("oracleInterfaceIp")) { + this.oracleInterfaceIp(model.getOracleInterfaceIp()); + } + if (model.wasPropertyExplicitlySet("customerInterfaceIp")) { + this.customerInterfaceIp(model.getCustomerInterfaceIp()); + } + if (model.wasPropertyExplicitlySet("oracleInterfaceIpv6")) { + this.oracleInterfaceIpv6(model.getOracleInterfaceIpv6()); + } + if (model.wasPropertyExplicitlySet("customerInterfaceIpv6")) { + this.customerInterfaceIpv6(model.getCustomerInterfaceIpv6()); + } + if (model.wasPropertyExplicitlySet("customerBgpAsn")) { + this.customerBgpAsn(model.getCustomerBgpAsn()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The IP address for the Oracle end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can + * set this IP address to troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.4/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInterfaceIp") + private final String oracleInterfaceIp; + + /** + * The IP address for the Oracle end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can + * set this IP address to troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.4/31} + * + * @return the value + */ + public String getOracleInterfaceIp() { + return oracleInterfaceIp; + } + + /** + * The IP address for the CPE end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can + * set this IP address to troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.5/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerInterfaceIp") + private final String customerInterfaceIp; + + /** + * The IP address for the CPE end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is required and used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can + * set this IP address to troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

Example: {@code 10.0.0.5/31} + * + * @return the value + */ + public String getCustomerInterfaceIp() { + return customerInterfaceIp; + } + + /** + * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInterfaceIpv6") + private final String oracleInterfaceIpv6; + + /** + * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + * + * @return the value + */ + public String getOracleInterfaceIpv6() { + return oracleInterfaceIpv6; + } + + /** + * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerInterfaceIpv6") + private final String customerInterfaceIpv6; + + /** + * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + * + * @return the value + */ + public String getCustomerInterfaceIpv6() { + return customerInterfaceIpv6; + } + + /** + * If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this ASN is required and used for the tunnel's BGP session. This is + * the ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. Uses + * "asplain" format. + * + *

If the tunnel's {@code routing} attribute is set to {@code STATIC}, the {@code + * customerBgpAsn} must be null. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") + private final String customerBgpAsn; + + /** + * If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this ASN is required and used for the tunnel's BGP session. This is + * the ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. Uses + * "asplain" format. + * + *

If the tunnel's {@code routing} attribute is set to {@code STATIC}, the {@code + * customerBgpAsn} must be null. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + * + * @return the value + */ + public String getCustomerBgpAsn() { + return customerBgpAsn; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CreateIPSecTunnelBgpSessionDetails("); + sb.append("super=").append(super.toString()); + sb.append("oracleInterfaceIp=").append(String.valueOf(this.oracleInterfaceIp)); + sb.append(", customerInterfaceIp=").append(String.valueOf(this.customerInterfaceIp)); + sb.append(", oracleInterfaceIpv6=").append(String.valueOf(this.oracleInterfaceIpv6)); + sb.append(", customerInterfaceIpv6=").append(String.valueOf(this.customerInterfaceIpv6)); + sb.append(", customerBgpAsn=").append(String.valueOf(this.customerBgpAsn)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateIPSecTunnelBgpSessionDetails)) { + return false; + } + + CreateIPSecTunnelBgpSessionDetails other = (CreateIPSecTunnelBgpSessionDetails) o; + return java.util.Objects.equals(this.oracleInterfaceIp, other.oracleInterfaceIp) + && java.util.Objects.equals(this.customerInterfaceIp, other.customerInterfaceIp) + && java.util.Objects.equals(this.oracleInterfaceIpv6, other.oracleInterfaceIpv6) + && java.util.Objects.equals(this.customerInterfaceIpv6, other.customerInterfaceIpv6) + && java.util.Objects.equals(this.customerBgpAsn, other.customerBgpAsn) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.oracleInterfaceIp == null ? 43 : this.oracleInterfaceIp.hashCode()); + result = + (result * PRIME) + + (this.customerInterfaceIp == null + ? 43 + : this.customerInterfaceIp.hashCode()); + result = + (result * PRIME) + + (this.oracleInterfaceIpv6 == null + ? 43 + : this.oracleInterfaceIpv6.hashCode()); + result = + (result * PRIME) + + (this.customerInterfaceIpv6 == null + ? 43 + : this.customerInterfaceIpv6.hashCode()); + result = + (result * PRIME) + + (this.customerBgpAsn == null ? 43 : this.customerBgpAsn.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecTunnelEncryptionDomainDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecTunnelEncryptionDomainDetails.java new file mode 100644 index 00000000000..178724600d9 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIPSecTunnelEncryptionDomainDetails.java @@ -0,0 +1,185 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Request to enable a multi-encryption domain policy on the IPSec tunnel. There can't be more than + * 50 security associations in use at one time. See [Encryption domain for policy-based + * tunnels](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/ipsecencryptiondomains.htm#spi_policy_based_tunnel) + * for more.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateIPSecTunnelEncryptionDomainDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateIPSecTunnelEncryptionDomainDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"oracleTrafficSelector", "cpeTrafficSelector"}) + public CreateIPSecTunnelEncryptionDomainDetails( + java.util.List oracleTrafficSelector, + java.util.List cpeTrafficSelector) { + super(); + this.oracleTrafficSelector = oracleTrafficSelector; + this.cpeTrafficSelector = cpeTrafficSelector; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleTrafficSelector") + private java.util.List oracleTrafficSelector; + + /** + * Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. + * + * @param oracleTrafficSelector the value to set + * @return this builder + */ + public Builder oracleTrafficSelector(java.util.List oracleTrafficSelector) { + this.oracleTrafficSelector = oracleTrafficSelector; + this.__explicitlySet__.add("oracleTrafficSelector"); + return this; + } + /** Lists IPv4 or IPv6-enabled subnets in your on-premises network. */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeTrafficSelector") + private java.util.List cpeTrafficSelector; + + /** + * Lists IPv4 or IPv6-enabled subnets in your on-premises network. + * + * @param cpeTrafficSelector the value to set + * @return this builder + */ + public Builder cpeTrafficSelector(java.util.List cpeTrafficSelector) { + this.cpeTrafficSelector = cpeTrafficSelector; + this.__explicitlySet__.add("cpeTrafficSelector"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateIPSecTunnelEncryptionDomainDetails build() { + CreateIPSecTunnelEncryptionDomainDetails model = + new CreateIPSecTunnelEncryptionDomainDetails( + this.oracleTrafficSelector, this.cpeTrafficSelector); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateIPSecTunnelEncryptionDomainDetails model) { + if (model.wasPropertyExplicitlySet("oracleTrafficSelector")) { + this.oracleTrafficSelector(model.getOracleTrafficSelector()); + } + if (model.wasPropertyExplicitlySet("cpeTrafficSelector")) { + this.cpeTrafficSelector(model.getCpeTrafficSelector()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleTrafficSelector") + private final java.util.List oracleTrafficSelector; + + /** + * Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. + * + * @return the value + */ + public java.util.List getOracleTrafficSelector() { + return oracleTrafficSelector; + } + + /** Lists IPv4 or IPv6-enabled subnets in your on-premises network. */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeTrafficSelector") + private final java.util.List cpeTrafficSelector; + + /** + * Lists IPv4 or IPv6-enabled subnets in your on-premises network. + * + * @return the value + */ + public java.util.List getCpeTrafficSelector() { + return cpeTrafficSelector; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CreateIPSecTunnelEncryptionDomainDetails("); + sb.append("super=").append(super.toString()); + sb.append("oracleTrafficSelector=").append(String.valueOf(this.oracleTrafficSelector)); + sb.append(", cpeTrafficSelector=").append(String.valueOf(this.cpeTrafficSelector)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateIPSecTunnelEncryptionDomainDetails)) { + return false; + } + + CreateIPSecTunnelEncryptionDomainDetails other = + (CreateIPSecTunnelEncryptionDomainDetails) o; + return java.util.Objects.equals(this.oracleTrafficSelector, other.oracleTrafficSelector) + && java.util.Objects.equals(this.cpeTrafficSelector, other.cpeTrafficSelector) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.oracleTrafficSelector == null + ? 43 + : this.oracleTrafficSelector.hashCode()); + result = + (result * PRIME) + + (this.cpeTrafficSelector == null + ? 43 + : this.cpeTrafficSelector.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateInternetGatewayDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateInternetGatewayDetails.java index 0e9c5e12bfe..5c8e3c21706 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateInternetGatewayDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateInternetGatewayDetails.java @@ -29,7 +29,8 @@ public final class CreateInternetGatewayDetails "displayName", "freeformTags", "isEnabled", - "vcnId" + "vcnId", + "routeTableId" }) public CreateInternetGatewayDetails( String compartmentId, @@ -37,7 +38,8 @@ public CreateInternetGatewayDetails( String displayName, java.util.Map freeformTags, Boolean isEnabled, - String vcnId) { + String vcnId, + String routeTableId) { super(); this.compartmentId = compartmentId; this.definedTags = definedTags; @@ -45,6 +47,7 @@ public CreateInternetGatewayDetails( this.freeformTags = freeformTags; this.isEnabled = isEnabled; this.vcnId = vcnId; + this.routeTableId = routeTableId; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -160,6 +163,25 @@ public Builder vcnId(String vcnId) { this.__explicitlySet__.add("vcnId"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the Internet Gateway is using. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the Internet Gateway is using. + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -172,7 +194,8 @@ public CreateInternetGatewayDetails build() { this.displayName, this.freeformTags, this.isEnabled, - this.vcnId); + this.vcnId, + this.routeTableId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -199,6 +222,9 @@ public Builder copy(CreateInternetGatewayDetails model) { if (model.wasPropertyExplicitlySet("vcnId")) { this.vcnId(model.getVcnId()); } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } return this; } } @@ -310,6 +336,23 @@ public String getVcnId() { return vcnId; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the Internet Gateway is using. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the Internet Gateway is using. + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + @Override public String toString() { return this.toString(true); @@ -331,6 +374,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", isEnabled=").append(String.valueOf(this.isEnabled)); sb.append(", vcnId=").append(String.valueOf(this.vcnId)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(")"); return sb.toString(); } @@ -351,6 +395,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.isEnabled, other.isEnabled) && java.util.Objects.equals(this.vcnId, other.vcnId) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) && super.equals(other); } @@ -366,6 +411,7 @@ public int hashCode() { result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.isEnabled == null ? 43 : this.isEnabled.hashCode()); result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIpv6Details.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIpv6Details.java index 0da3e9b9d13..2e79e6a0adb 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIpv6Details.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateIpv6Details.java @@ -28,23 +28,23 @@ public final class CreateIpv6Details "displayName", "freeformTags", "ipAddress", - "isInternetAccessAllowed", - "vnicId" + "vnicId", + "ipv6SubnetCidr" }) public CreateIpv6Details( java.util.Map> definedTags, String displayName, java.util.Map freeformTags, String ipAddress, - Boolean isInternetAccessAllowed, - String vnicId) { + String vnicId, + String ipv6SubnetCidr) { super(); this.definedTags = definedTags; this.displayName = displayName; this.freeformTags = freeformTags; this.ipAddress = ipAddress; - this.isInternetAccessAllowed = isInternetAccessAllowed; this.vnicId = vnicId; + this.ipv6SubnetCidr = ipv6SubnetCidr; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -132,37 +132,6 @@ public Builder ipAddress(String ipAddress) { this.__explicitlySet__.add("ipAddress"); return this; } - /** - * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 - * in a public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code - * true}, the IPv6 uses its public IP address for internet communication. - * - *

If {@code isInternetAccessAllowed} is set to {@code false}, the resulting {@code - * publicIpAddress} attribute for the {@code Ipv6} is null. - * - *

Example: {@code true} - */ - @com.fasterxml.jackson.annotation.JsonProperty("isInternetAccessAllowed") - private Boolean isInternetAccessAllowed; - - /** - * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 - * in a public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code - * true}, the IPv6 uses its public IP address for internet communication. - * - *

If {@code isInternetAccessAllowed} is set to {@code false}, the resulting {@code - * publicIpAddress} attribute for the {@code Ipv6} is null. - * - *

Example: {@code true} - * - * @param isInternetAccessAllowed the value to set - * @return this builder - */ - public Builder isInternetAccessAllowed(Boolean isInternetAccessAllowed) { - this.isInternetAccessAllowed = isInternetAccessAllowed; - this.__explicitlySet__.add("isInternetAccessAllowed"); - return this; - } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet. @@ -182,6 +151,25 @@ public Builder vnicId(String vnicId) { this.__explicitlySet__.add("vnicId"); return this; } + /** + * The IPv6 CIDR allocated to the subnet. This is required if more than one IPv6 CIDR exists + * on the subnet. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6SubnetCidr") + private String ipv6SubnetCidr; + + /** + * The IPv6 CIDR allocated to the subnet. This is required if more than one IPv6 CIDR exists + * on the subnet. + * + * @param ipv6SubnetCidr the value to set + * @return this builder + */ + public Builder ipv6SubnetCidr(String ipv6SubnetCidr) { + this.ipv6SubnetCidr = ipv6SubnetCidr; + this.__explicitlySet__.add("ipv6SubnetCidr"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -193,8 +181,8 @@ public CreateIpv6Details build() { this.displayName, this.freeformTags, this.ipAddress, - this.isInternetAccessAllowed, - this.vnicId); + this.vnicId, + this.ipv6SubnetCidr); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -215,12 +203,12 @@ public Builder copy(CreateIpv6Details model) { if (model.wasPropertyExplicitlySet("ipAddress")) { this.ipAddress(model.getIpAddress()); } - if (model.wasPropertyExplicitlySet("isInternetAccessAllowed")) { - this.isInternetAccessAllowed(model.getIsInternetAccessAllowed()); - } if (model.wasPropertyExplicitlySet("vnicId")) { this.vnicId(model.getVnicId()); } + if (model.wasPropertyExplicitlySet("ipv6SubnetCidr")) { + this.ipv6SubnetCidr(model.getIpv6SubnetCidr()); + } return this; } } @@ -309,49 +297,37 @@ public String getIpAddress() { } /** - * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in a - * public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code true}, - * the IPv6 uses its public IP address for internet communication. - * - *

If {@code isInternetAccessAllowed} is set to {@code false}, the resulting {@code - * publicIpAddress} attribute for the {@code Ipv6} is null. - * - *

Example: {@code true} + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet. */ - @com.fasterxml.jackson.annotation.JsonProperty("isInternetAccessAllowed") - private final Boolean isInternetAccessAllowed; + @com.fasterxml.jackson.annotation.JsonProperty("vnicId") + private final String vnicId; /** - * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in a - * public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code true}, - * the IPv6 uses its public IP address for internet communication. - * - *

If {@code isInternetAccessAllowed} is set to {@code false}, the resulting {@code - * publicIpAddress} attribute for the {@code Ipv6} is null. - * - *

Example: {@code true} + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet. * * @return the value */ - public Boolean getIsInternetAccessAllowed() { - return isInternetAccessAllowed; + public String getVnicId() { + return vnicId; } /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet. + * The IPv6 CIDR allocated to the subnet. This is required if more than one IPv6 CIDR exists on + * the subnet. */ - @com.fasterxml.jackson.annotation.JsonProperty("vnicId") - private final String vnicId; + @com.fasterxml.jackson.annotation.JsonProperty("ipv6SubnetCidr") + private final String ipv6SubnetCidr; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the VNIC to assign the IPv6 to. The IPv6 will be in the VNIC's subnet. + * The IPv6 CIDR allocated to the subnet. This is required if more than one IPv6 CIDR exists on + * the subnet. * * @return the value */ - public String getVnicId() { - return vnicId; + public String getIpv6SubnetCidr() { + return ipv6SubnetCidr; } @Override @@ -373,9 +349,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", ipAddress=").append(String.valueOf(this.ipAddress)); - sb.append(", isInternetAccessAllowed=") - .append(String.valueOf(this.isInternetAccessAllowed)); sb.append(", vnicId=").append(String.valueOf(this.vnicId)); + sb.append(", ipv6SubnetCidr=").append(String.valueOf(this.ipv6SubnetCidr)); sb.append(")"); return sb.toString(); } @@ -394,9 +369,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.ipAddress, other.ipAddress) - && java.util.Objects.equals( - this.isInternetAccessAllowed, other.isInternetAccessAllowed) && java.util.Objects.equals(this.vnicId, other.vnicId) + && java.util.Objects.equals(this.ipv6SubnetCidr, other.ipv6SubnetCidr) && super.equals(other); } @@ -408,12 +382,10 @@ public int hashCode() { result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.ipAddress == null ? 43 : this.ipAddress.hashCode()); + result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode()); result = (result * PRIME) - + (this.isInternetAccessAllowed == null - ? 43 - : this.isInternetAccessAllowed.hashCode()); - result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode()); + + (this.ipv6SubnetCidr == null ? 43 : this.ipv6SubnetCidr.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateLocalPeeringGatewayDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateLocalPeeringGatewayDetails.java index 15b29d24e00..d1786a01cef 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateLocalPeeringGatewayDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateLocalPeeringGatewayDetails.java @@ -28,6 +28,7 @@ public final class CreateLocalPeeringGatewayDetails "definedTags", "displayName", "freeformTags", + "routeTableId", "vcnId" }) public CreateLocalPeeringGatewayDetails( @@ -35,12 +36,14 @@ public CreateLocalPeeringGatewayDetails( java.util.Map> definedTags, String displayName, java.util.Map freeformTags, + String routeTableId, String vcnId) { super(); this.compartmentId = compartmentId; this.definedTags = definedTags; this.displayName = displayName; this.freeformTags = freeformTags; + this.routeTableId = routeTableId; this.vcnId = vcnId; } @@ -123,6 +126,41 @@ public Builder freeformTags(java.util.Map freeformTags) { this.__explicitlySet__.add("freeformTags"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the LPG will use. + * + *

If you don't specify a route table here, the LPG is created without an associated + * route table. The Networking service does NOT automatically associate the attached VCN's + * default route table with the LPG. + * + *

For information about why you would associate a route table with an LPG, see [Transit + * Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the LPG will use. + * + *

If you don't specify a route table here, the LPG is created without an associated + * route table. The Networking service does NOT automatically associate the attached VCN's + * default route table with the LPG. + * + *

For information about why you would associate a route table with an LPG, see [Transit + * Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the VCN the LPG belongs to. @@ -153,6 +191,7 @@ public CreateLocalPeeringGatewayDetails build() { this.definedTags, this.displayName, this.freeformTags, + this.routeTableId, this.vcnId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -174,6 +213,9 @@ public Builder copy(CreateLocalPeeringGatewayDetails model) { if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } if (model.wasPropertyExplicitlySet("vcnId")) { this.vcnId(model.getVcnId()); } @@ -258,6 +300,39 @@ public java.util.Map getFreeformTags() { return freeformTags; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the LPG will use. + * + *

If you don't specify a route table here, the LPG is created without an associated route + * table. The Networking service does NOT automatically associate the attached VCN's default + * route table with the LPG. + * + *

For information about why you would associate a route table with an LPG, see [Transit + * Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the LPG will use. + * + *

If you don't specify a route table here, the LPG is created without an associated route + * table. The Networking service does NOT automatically associate the attached VCN's default + * route table with the LPG. + * + *

For information about why you would associate a route table with an LPG, see [Transit + * Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the VCN the LPG belongs to. @@ -294,6 +369,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(", vcnId=").append(String.valueOf(this.vcnId)); sb.append(")"); return sb.toString(); @@ -313,6 +389,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) && java.util.Objects.equals(this.vcnId, other.vcnId) && super.equals(other); } @@ -327,6 +404,7 @@ public int hashCode() { result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateMacsecKey.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateMacsecKey.java new file mode 100644 index 00000000000..048a7ac568c --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateMacsecKey.java @@ -0,0 +1,231 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Defines the secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s held in + * Vault that represent the MACsec key.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = CreateMacsecKey.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateMacsecKey + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "connectivityAssociationNameSecretId", + "connectivityAssociationKeySecretId" + }) + public CreateMacsecKey( + String connectivityAssociationNameSecretId, String connectivityAssociationKeySecretId) { + super(); + this.connectivityAssociationNameSecretId = connectivityAssociationNameSecretId; + this.connectivityAssociationKeySecretId = connectivityAssociationKeySecretId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity association Key Name (CKN) of this MACsec key. + * + *

NOTE: Only the latest secret version will be used. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationNameSecretId") + private String connectivityAssociationNameSecretId; + + /** + * Secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity association Key Name (CKN) of this MACsec key. + * + *

NOTE: Only the latest secret version will be used. + * + * @param connectivityAssociationNameSecretId the value to set + * @return this builder + */ + public Builder connectivityAssociationNameSecretId( + String connectivityAssociationNameSecretId) { + this.connectivityAssociationNameSecretId = connectivityAssociationNameSecretId; + this.__explicitlySet__.add("connectivityAssociationNameSecretId"); + return this; + } + /** + * Secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key (CAK) of this MACsec key. + * + *

NOTE: Only the latest secret version will be used. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationKeySecretId") + private String connectivityAssociationKeySecretId; + + /** + * Secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key (CAK) of this MACsec key. + * + *

NOTE: Only the latest secret version will be used. + * + * @param connectivityAssociationKeySecretId the value to set + * @return this builder + */ + public Builder connectivityAssociationKeySecretId( + String connectivityAssociationKeySecretId) { + this.connectivityAssociationKeySecretId = connectivityAssociationKeySecretId; + this.__explicitlySet__.add("connectivityAssociationKeySecretId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateMacsecKey build() { + CreateMacsecKey model = + new CreateMacsecKey( + this.connectivityAssociationNameSecretId, + this.connectivityAssociationKeySecretId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateMacsecKey model) { + if (model.wasPropertyExplicitlySet("connectivityAssociationNameSecretId")) { + this.connectivityAssociationNameSecretId( + model.getConnectivityAssociationNameSecretId()); + } + if (model.wasPropertyExplicitlySet("connectivityAssociationKeySecretId")) { + this.connectivityAssociationKeySecretId( + model.getConnectivityAssociationKeySecretId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity association Key Name (CKN) of this MACsec key. + * + *

NOTE: Only the latest secret version will be used. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationNameSecretId") + private final String connectivityAssociationNameSecretId; + + /** + * Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity association Key Name (CKN) of this MACsec key. + * + *

NOTE: Only the latest secret version will be used. + * + * @return the value + */ + public String getConnectivityAssociationNameSecretId() { + return connectivityAssociationNameSecretId; + } + + /** + * Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key (CAK) of this MACsec key. + * + *

NOTE: Only the latest secret version will be used. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationKeySecretId") + private final String connectivityAssociationKeySecretId; + + /** + * Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key (CAK) of this MACsec key. + * + *

NOTE: Only the latest secret version will be used. + * + * @return the value + */ + public String getConnectivityAssociationKeySecretId() { + return connectivityAssociationKeySecretId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CreateMacsecKey("); + sb.append("super=").append(super.toString()); + sb.append("connectivityAssociationNameSecretId=") + .append(String.valueOf(this.connectivityAssociationNameSecretId)); + sb.append(", connectivityAssociationKeySecretId=") + .append(String.valueOf(this.connectivityAssociationKeySecretId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateMacsecKey)) { + return false; + } + + CreateMacsecKey other = (CreateMacsecKey) o; + return java.util.Objects.equals( + this.connectivityAssociationNameSecretId, + other.connectivityAssociationNameSecretId) + && java.util.Objects.equals( + this.connectivityAssociationKeySecretId, + other.connectivityAssociationKeySecretId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.connectivityAssociationNameSecretId == null + ? 43 + : this.connectivityAssociationNameSecretId.hashCode()); + result = + (result * PRIME) + + (this.connectivityAssociationKeySecretId == null + ? 43 + : this.connectivityAssociationKeySecretId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateMacsecProperties.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateMacsecProperties.java new file mode 100644 index 00000000000..d363f8701ad --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateMacsecProperties.java @@ -0,0 +1,198 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Properties used to configure MACsec (if capable).
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateMacsecProperties.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateMacsecProperties + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"state", "primaryKey", "encryptionCipher"}) + public CreateMacsecProperties( + MacsecState state, + CreateMacsecKey primaryKey, + MacsecEncryptionCipher encryptionCipher) { + super(); + this.state = state; + this.primaryKey = primaryKey; + this.encryptionCipher = encryptionCipher; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Indicates whether or not MACsec is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("state") + private MacsecState state; + + /** + * Indicates whether or not MACsec is enabled. + * + * @param state the value to set + * @return this builder + */ + public Builder state(MacsecState state) { + this.state = state; + this.__explicitlySet__.add("state"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("primaryKey") + private CreateMacsecKey primaryKey; + + public Builder primaryKey(CreateMacsecKey primaryKey) { + this.primaryKey = primaryKey; + this.__explicitlySet__.add("primaryKey"); + return this; + } + /** Type of encryption cipher suite to use for the MACsec connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionCipher") + private MacsecEncryptionCipher encryptionCipher; + + /** + * Type of encryption cipher suite to use for the MACsec connection. + * + * @param encryptionCipher the value to set + * @return this builder + */ + public Builder encryptionCipher(MacsecEncryptionCipher encryptionCipher) { + this.encryptionCipher = encryptionCipher; + this.__explicitlySet__.add("encryptionCipher"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateMacsecProperties build() { + CreateMacsecProperties model = + new CreateMacsecProperties(this.state, this.primaryKey, this.encryptionCipher); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateMacsecProperties model) { + if (model.wasPropertyExplicitlySet("state")) { + this.state(model.getState()); + } + if (model.wasPropertyExplicitlySet("primaryKey")) { + this.primaryKey(model.getPrimaryKey()); + } + if (model.wasPropertyExplicitlySet("encryptionCipher")) { + this.encryptionCipher(model.getEncryptionCipher()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Indicates whether or not MACsec is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("state") + private final MacsecState state; + + /** + * Indicates whether or not MACsec is enabled. + * + * @return the value + */ + public MacsecState getState() { + return state; + } + + @com.fasterxml.jackson.annotation.JsonProperty("primaryKey") + private final CreateMacsecKey primaryKey; + + public CreateMacsecKey getPrimaryKey() { + return primaryKey; + } + + /** Type of encryption cipher suite to use for the MACsec connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionCipher") + private final MacsecEncryptionCipher encryptionCipher; + + /** + * Type of encryption cipher suite to use for the MACsec connection. + * + * @return the value + */ + public MacsecEncryptionCipher getEncryptionCipher() { + return encryptionCipher; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CreateMacsecProperties("); + sb.append("super=").append(super.toString()); + sb.append("state=").append(String.valueOf(this.state)); + sb.append(", primaryKey=").append(String.valueOf(this.primaryKey)); + sb.append(", encryptionCipher=").append(String.valueOf(this.encryptionCipher)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateMacsecProperties)) { + return false; + } + + CreateMacsecProperties other = (CreateMacsecProperties) o; + return java.util.Objects.equals(this.state, other.state) + && java.util.Objects.equals(this.primaryKey, other.primaryKey) + && java.util.Objects.equals(this.encryptionCipher, other.encryptionCipher) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.state == null ? 43 : this.state.hashCode()); + result = (result * PRIME) + (this.primaryKey == null ? 43 : this.primaryKey.hashCode()); + result = + (result * PRIME) + + (this.encryptionCipher == null ? 43 : this.encryptionCipher.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateNatGatewayDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateNatGatewayDetails.java new file mode 100644 index 00000000000..6494959f62f --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateNatGatewayDetails.java @@ -0,0 +1,492 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateNatGatewayDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateNatGatewayDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "blockTraffic", + "vcnId", + "publicIpId", + "routeTableId" + }) + public CreateNatGatewayDetails( + String compartmentId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + Boolean blockTraffic, + String vcnId, + String publicIpId, + String routeTableId) { + super(); + this.compartmentId = compartmentId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.blockTraffic = blockTraffic; + this.vcnId = vcnId; + this.publicIpId = publicIpId; + this.routeTableId = routeTableId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to contain the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to contain the NAT gateway. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * Whether the NAT gateway blocks traffic through it. The default is {@code false}. + * + *

Example: {@code true} + */ + @com.fasterxml.jackson.annotation.JsonProperty("blockTraffic") + private Boolean blockTraffic; + + /** + * Whether the NAT gateway blocks traffic through it. The default is {@code false}. + * + *

Example: {@code true} + * + * @param blockTraffic the value to set + * @return this builder + */ + public Builder blockTraffic(Boolean blockTraffic) { + this.blockTraffic = blockTraffic; + this.__explicitlySet__.add("blockTraffic"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN the gateway belongs to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN the gateway belongs to. + * + * @param vcnId the value to set + * @return this builder + */ + public Builder vcnId(String vcnId) { + this.vcnId = vcnId; + this.__explicitlySet__.add("vcnId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the public IP address associated with the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("publicIpId") + private String publicIpId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the public IP address associated with the NAT gateway. + * + * @param publicIpId the value to set + * @return this builder + */ + public Builder publicIpId(String publicIpId) { + this.publicIpId = publicIpId; + this.__explicitlySet__.add("publicIpId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table used by the NAT gateway. + * + *

If you don't specify a route table here, the NAT gateway is created without an + * associated route table. The Networking service does NOT automatically associate the + * attached VCN's default route table with the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table used by the NAT gateway. + * + *

If you don't specify a route table here, the NAT gateway is created without an + * associated route table. The Networking service does NOT automatically associate the + * attached VCN's default route table with the NAT gateway. + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateNatGatewayDetails build() { + CreateNatGatewayDetails model = + new CreateNatGatewayDetails( + this.compartmentId, + this.definedTags, + this.displayName, + this.freeformTags, + this.blockTraffic, + this.vcnId, + this.publicIpId, + this.routeTableId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateNatGatewayDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("blockTraffic")) { + this.blockTraffic(model.getBlockTraffic()); + } + if (model.wasPropertyExplicitlySet("vcnId")) { + this.vcnId(model.getVcnId()); + } + if (model.wasPropertyExplicitlySet("publicIpId")) { + this.publicIpId(model.getPublicIpId()); + } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to contain the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to contain the NAT gateway. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * Whether the NAT gateway blocks traffic through it. The default is {@code false}. + * + *

Example: {@code true} + */ + @com.fasterxml.jackson.annotation.JsonProperty("blockTraffic") + private final Boolean blockTraffic; + + /** + * Whether the NAT gateway blocks traffic through it. The default is {@code false}. + * + *

Example: {@code true} + * + * @return the value + */ + public Boolean getBlockTraffic() { + return blockTraffic; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN the gateway belongs to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private final String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN the gateway belongs to. + * + * @return the value + */ + public String getVcnId() { + return vcnId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the public IP address associated with the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("publicIpId") + private final String publicIpId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the public IP address associated with the NAT gateway. + * + * @return the value + */ + public String getPublicIpId() { + return publicIpId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table used by the NAT gateway. + * + *

If you don't specify a route table here, the NAT gateway is created without an associated + * route table. The Networking service does NOT automatically associate the attached VCN's + * default route table with the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table used by the NAT gateway. + * + *

If you don't specify a route table here, the NAT gateway is created without an associated + * route table. The Networking service does NOT automatically associate the attached VCN's + * default route table with the NAT gateway. + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CreateNatGatewayDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", blockTraffic=").append(String.valueOf(this.blockTraffic)); + sb.append(", vcnId=").append(String.valueOf(this.vcnId)); + sb.append(", publicIpId=").append(String.valueOf(this.publicIpId)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateNatGatewayDetails)) { + return false; + } + + CreateNatGatewayDetails other = (CreateNatGatewayDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.blockTraffic, other.blockTraffic) + && java.util.Objects.equals(this.vcnId, other.vcnId) + && java.util.Objects.equals(this.publicIpId, other.publicIpId) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.blockTraffic == null ? 43 : this.blockTraffic.hashCode()); + result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); + result = (result * PRIME) + (this.publicIpId == null ? 43 : this.publicIpId.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreatePrivateIpDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreatePrivateIpDetails.java index ae3e7d950db..8d96d39a7ec 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreatePrivateIpDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreatePrivateIpDetails.java @@ -29,7 +29,8 @@ public final class CreatePrivateIpDetails "freeformTags", "hostnameLabel", "ipAddress", - "vnicId" + "vnicId", + "vlanId" }) public CreatePrivateIpDetails( java.util.Map> definedTags, @@ -37,7 +38,8 @@ public CreatePrivateIpDetails( java.util.Map freeformTags, String hostnameLabel, String ipAddress, - String vnicId) { + String vnicId, + String vlanId) { super(); this.definedTags = definedTags; this.displayName = displayName; @@ -45,6 +47,7 @@ public CreatePrivateIpDetails( this.hostnameLabel = hostnameLabel; this.ipAddress = ipAddress; this.vnicId = vnicId; + this.vlanId = vlanId; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -109,30 +112,30 @@ public Builder freeformTags(java.util.Map freeformTags) { } /** * The hostname for the private IP. Used for DNS. The value is the hostname portion of the - * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance-1} in - * FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs - * in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC + * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance1} in FQDN + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the + * subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} */ @com.fasterxml.jackson.annotation.JsonProperty("hostnameLabel") private String hostnameLabel; /** * The hostname for the private IP. Used for DNS. The value is the hostname portion of the - * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance-1} in - * FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs - * in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC + * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance1} in FQDN + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the + * subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} * * @param hostnameLabel the value to set * @return this builder @@ -188,6 +191,33 @@ public Builder vnicId(String vnicId) { this.__explicitlySet__.add("vnicId"); return this; } + /** + * Use this attribute only with the Oracle Cloud VMware Solution. + * + *

The + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VLAN from which the private IP is to be drawn. The IP address, *if supplied*, must be + * valid for the given VLAN. See {@link Vlan}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlanId") + private String vlanId; + + /** + * Use this attribute only with the Oracle Cloud VMware Solution. + * + *

The + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VLAN from which the private IP is to be drawn. The IP address, *if supplied*, must be + * valid for the given VLAN. See {@link Vlan}. + * + * @param vlanId the value to set + * @return this builder + */ + public Builder vlanId(String vlanId) { + this.vlanId = vlanId; + this.__explicitlySet__.add("vlanId"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -200,7 +230,8 @@ public CreatePrivateIpDetails build() { this.freeformTags, this.hostnameLabel, this.ipAddress, - this.vnicId); + this.vnicId, + this.vlanId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -227,6 +258,9 @@ public Builder copy(CreatePrivateIpDetails model) { if (model.wasPropertyExplicitlySet("vnicId")) { this.vnicId(model.getVnicId()); } + if (model.wasPropertyExplicitlySet("vlanId")) { + this.vlanId(model.getVlanId()); + } return this; } } @@ -293,30 +327,30 @@ public java.util.Map getFreeformTags() { /** * The hostname for the private IP. Used for DNS. The value is the hostname portion of the - * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance-1} in FQDN - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the + * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance1} in FQDN + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the * subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} */ @com.fasterxml.jackson.annotation.JsonProperty("hostnameLabel") private final String hostnameLabel; /** * The hostname for the private IP. Used for DNS. The value is the hostname portion of the - * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance-1} in FQDN - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the + * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance1} in FQDN + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the * subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} * * @return the value */ @@ -364,6 +398,29 @@ public String getVnicId() { return vnicId; } + /** + * Use this attribute only with the Oracle Cloud VMware Solution. + * + *

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VLAN from which the private IP is to be drawn. The IP address, *if supplied*, must be + * valid for the given VLAN. See {@link Vlan}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlanId") + private final String vlanId; + + /** + * Use this attribute only with the Oracle Cloud VMware Solution. + * + *

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VLAN from which the private IP is to be drawn. The IP address, *if supplied*, must be + * valid for the given VLAN. See {@link Vlan}. + * + * @return the value + */ + public String getVlanId() { + return vlanId; + } + @Override public String toString() { return this.toString(true); @@ -385,6 +442,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", hostnameLabel=").append(String.valueOf(this.hostnameLabel)); sb.append(", ipAddress=").append(String.valueOf(this.ipAddress)); sb.append(", vnicId=").append(String.valueOf(this.vnicId)); + sb.append(", vlanId=").append(String.valueOf(this.vlanId)); sb.append(")"); return sb.toString(); } @@ -405,6 +463,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.hostnameLabel, other.hostnameLabel) && java.util.Objects.equals(this.ipAddress, other.ipAddress) && java.util.Objects.equals(this.vnicId, other.vnicId) + && java.util.Objects.equals(this.vlanId, other.vlanId) && super.equals(other); } @@ -420,6 +479,7 @@ public int hashCode() { + (this.hostnameLabel == null ? 43 : this.hostnameLabel.hashCode()); result = (result * PRIME) + (this.ipAddress == null ? 43 : this.ipAddress.hashCode()); result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode()); + result = (result * PRIME) + (this.vlanId == null ? 43 : this.vlanId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreatePublicIpDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreatePublicIpDetails.java index ab0d5d334d5..3a239c7c5de 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreatePublicIpDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreatePublicIpDetails.java @@ -29,7 +29,8 @@ public final class CreatePublicIpDetails "displayName", "freeformTags", "lifetime", - "privateIpId" + "privateIpId", + "publicIpPoolId" }) public CreatePublicIpDetails( String compartmentId, @@ -37,7 +38,8 @@ public CreatePublicIpDetails( String displayName, java.util.Map freeformTags, Lifetime lifetime, - String privateIpId) { + String privateIpId, + String publicIpPoolId) { super(); this.compartmentId = compartmentId; this.definedTags = definedTags; @@ -45,6 +47,7 @@ public CreatePublicIpDetails( this.freeformTags = freeformTags; this.lifetime = lifetime; this.privateIpId = privateIpId; + this.publicIpPoolId = publicIpPoolId; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -184,6 +187,25 @@ public Builder privateIpId(String privateIpId) { this.__explicitlySet__.add("privateIpId"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the public IP pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("publicIpPoolId") + private String publicIpPoolId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the public IP pool. + * + * @param publicIpPoolId the value to set + * @return this builder + */ + public Builder publicIpPoolId(String publicIpPoolId) { + this.publicIpPoolId = publicIpPoolId; + this.__explicitlySet__.add("publicIpPoolId"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -196,7 +218,8 @@ public CreatePublicIpDetails build() { this.displayName, this.freeformTags, this.lifetime, - this.privateIpId); + this.privateIpId, + this.publicIpPoolId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -223,6 +246,9 @@ public Builder copy(CreatePublicIpDetails model) { if (model.wasPropertyExplicitlySet("privateIpId")) { this.privateIpId(model.getPrivateIpId()); } + if (model.wasPropertyExplicitlySet("publicIpPoolId")) { + this.publicIpPoolId(model.getPublicIpPoolId()); + } return this; } } @@ -395,6 +421,23 @@ public String getPrivateIpId() { return privateIpId; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the public IP pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("publicIpPoolId") + private final String publicIpPoolId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the public IP pool. + * + * @return the value + */ + public String getPublicIpPoolId() { + return publicIpPoolId; + } + @Override public String toString() { return this.toString(true); @@ -416,6 +459,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", lifetime=").append(String.valueOf(this.lifetime)); sb.append(", privateIpId=").append(String.valueOf(this.privateIpId)); + sb.append(", publicIpPoolId=").append(String.valueOf(this.publicIpPoolId)); sb.append(")"); return sb.toString(); } @@ -436,6 +480,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.lifetime, other.lifetime) && java.util.Objects.equals(this.privateIpId, other.privateIpId) + && java.util.Objects.equals(this.publicIpPoolId, other.publicIpPoolId) && super.equals(other); } @@ -451,6 +496,9 @@ public int hashCode() { result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.lifetime == null ? 43 : this.lifetime.hashCode()); result = (result * PRIME) + (this.privateIpId == null ? 43 : this.privateIpId.hashCode()); + result = + (result * PRIME) + + (this.publicIpPoolId == null ? 43 : this.publicIpPoolId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreatePublicIpPoolDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreatePublicIpPoolDetails.java new file mode 100644 index 00000000000..14fa6c46329 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreatePublicIpPoolDetails.java @@ -0,0 +1,288 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The information used to create a public IP pool.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreatePublicIpPoolDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreatePublicIpPoolDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "compartmentId", + "definedTags", + "displayName", + "freeformTags" + }) + public CreatePublicIpPoolDetails( + String compartmentId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags) { + super(); + this.compartmentId = compartmentId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the public IP pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the public IP pool. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreatePublicIpPoolDetails build() { + CreatePublicIpPoolDetails model = + new CreatePublicIpPoolDetails( + this.compartmentId, + this.definedTags, + this.displayName, + this.freeformTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreatePublicIpPoolDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the public IP pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the public IP pool. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CreatePublicIpPoolDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreatePublicIpPoolDetails)) { + return false; + } + + CreatePublicIpPoolDetails other = (CreatePublicIpPoolDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateRemotePeeringConnectionDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateRemotePeeringConnectionDetails.java index e16f8719f87..3507a1c7ab1 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateRemotePeeringConnectionDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateRemotePeeringConnectionDetails.java @@ -23,13 +23,25 @@ public final class CreateRemotePeeringConnectionDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"compartmentId", "displayName", "drgId"}) + @java.beans.ConstructorProperties({ + "compartmentId", + "definedTags", + "displayName", + "drgId", + "freeformTags" + }) public CreateRemotePeeringConnectionDetails( - String compartmentId, String displayName, String drgId) { + String compartmentId, + java.util.Map> definedTags, + String displayName, + String drgId, + java.util.Map freeformTags) { super(); this.compartmentId = compartmentId; + this.definedTags = definedTags; this.displayName = displayName; this.drgId = drgId; + this.freeformTags = freeformTags; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -53,6 +65,26 @@ public Builder compartmentId(String compartmentId) { this.__explicitlySet__.add("compartmentId"); return this; } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -91,6 +123,25 @@ public Builder drgId(String drgId) { this.__explicitlySet__.add("drgId"); return this; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -98,7 +149,11 @@ public Builder drgId(String drgId) { public CreateRemotePeeringConnectionDetails build() { CreateRemotePeeringConnectionDetails model = new CreateRemotePeeringConnectionDetails( - this.compartmentId, this.displayName, this.drgId); + this.compartmentId, + this.definedTags, + this.displayName, + this.drgId, + this.freeformTags); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -110,12 +165,18 @@ public Builder copy(CreateRemotePeeringConnectionDetails model) { if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } if (model.wasPropertyExplicitlySet("drgId")) { this.drgId(model.getDrgId()); } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } return this; } } @@ -146,6 +207,23 @@ public String getCompartmentId() { return compartmentId; } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -180,6 +258,23 @@ public String getDrgId() { return drgId; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + @Override public String toString() { return this.toString(true); @@ -196,8 +291,10 @@ public String toString(boolean includeByteArrayContents) { sb.append("CreateRemotePeeringConnectionDetails("); sb.append("super=").append(super.toString()); sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", drgId=").append(String.valueOf(this.drgId)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(")"); return sb.toString(); } @@ -213,8 +310,10 @@ public boolean equals(Object o) { CreateRemotePeeringConnectionDetails other = (CreateRemotePeeringConnectionDetails) o; return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.drgId, other.drgId) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) && super.equals(other); } @@ -225,8 +324,10 @@ public int hashCode() { result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.drgId == null ? 43 : this.drgId.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateServiceGatewayDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateServiceGatewayDetails.java index f1782112e43..a0bf96d25ba 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateServiceGatewayDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateServiceGatewayDetails.java @@ -28,6 +28,7 @@ public final class CreateServiceGatewayDetails "definedTags", "displayName", "freeformTags", + "routeTableId", "services", "vcnId" }) @@ -36,6 +37,7 @@ public CreateServiceGatewayDetails( java.util.Map> definedTags, String displayName, java.util.Map freeformTags, + String routeTableId, java.util.List services, String vcnId) { super(); @@ -43,6 +45,7 @@ public CreateServiceGatewayDetails( this.definedTags = definedTags; this.displayName = displayName; this.freeformTags = freeformTags; + this.routeTableId = routeTableId; this.services = services; this.vcnId = vcnId; } @@ -126,6 +129,41 @@ public Builder freeformTags(java.util.Map freeformTags) { this.__explicitlySet__.add("freeformTags"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the service gateway will use. + * + *

If you don't specify a route table here, the service gateway is created without an + * associated route table. The Networking service does NOT automatically associate the + * attached VCN's default route table with the service gateway. + * + *

For information about why you would associate a route table with a service gateway, + * see [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the service gateway will use. + * + *

If you don't specify a route table here, the service gateway is created without an + * associated route table. The Networking service does NOT automatically associate the + * attached VCN's default route table with the service gateway. + * + *

For information about why you would associate a route table with a service gateway, + * see [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } /** * List of the OCIDs of the {@link Service} objects to enable for the service gateway. This * list can be empty if you don't want to enable any {@code Service} objects when you create @@ -189,6 +227,7 @@ public CreateServiceGatewayDetails build() { this.definedTags, this.displayName, this.freeformTags, + this.routeTableId, this.services, this.vcnId); for (String explicitlySetProperty : this.__explicitlySet__) { @@ -211,6 +250,9 @@ public Builder copy(CreateServiceGatewayDetails model) { if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } if (model.wasPropertyExplicitlySet("services")) { this.services(model.getServices()); } @@ -298,6 +340,39 @@ public java.util.Map getFreeformTags() { return freeformTags; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the service gateway will use. + * + *

If you don't specify a route table here, the service gateway is created without an + * associated route table. The Networking service does NOT automatically associate the attached + * VCN's default route table with the service gateway. + * + *

For information about why you would associate a route table with a service gateway, see + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the service gateway will use. + * + *

If you don't specify a route table here, the service gateway is created without an + * associated route table. The Networking service does NOT automatically associate the attached + * VCN's default route table with the service gateway. + * + *

For information about why you would associate a route table with a service gateway, see + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + /** * List of the OCIDs of the {@link Service} objects to enable for the service gateway. This list * can be empty if you don't want to enable any {@code Service} objects when you create the @@ -365,6 +440,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(", services=").append(String.valueOf(this.services)); sb.append(", vcnId=").append(String.valueOf(this.vcnId)); sb.append(")"); @@ -385,6 +461,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) && java.util.Objects.equals(this.services, other.services) && java.util.Objects.equals(this.vcnId, other.vcnId) && super.equals(other); @@ -400,6 +477,7 @@ public int hashCode() { result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); result = (result * PRIME) + (this.services == null ? 43 : this.services.hashCode()); result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); result = (result * PRIME) + super.hashCode(); diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateSubnetDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateSubnetDetails.java index b6fe5db9ff0..aa5d0d55f23 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateSubnetDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateSubnetDetails.java @@ -33,6 +33,8 @@ public final class CreateSubnetDetails "dnsLabel", "freeformTags", "ipv6CidrBlock", + "ipv6CidrBlocks", + "prohibitInternetIngress", "prohibitPublicIpOnVnic", "routeTableId", "securityListIds", @@ -48,6 +50,8 @@ public CreateSubnetDetails( String dnsLabel, java.util.Map freeformTags, String ipv6CidrBlock, + java.util.List ipv6CidrBlocks, + Boolean prohibitInternetIngress, Boolean prohibitPublicIpOnVnic, String routeTableId, java.util.List securityListIds, @@ -62,6 +66,8 @@ public CreateSubnetDetails( this.dnsLabel = dnsLabel; this.freeformTags = freeformTags; this.ipv6CidrBlock = ipv6CidrBlock; + this.ipv6CidrBlocks = ipv6CidrBlocks; + this.prohibitInternetIngress = prohibitInternetIngress; this.prohibitPublicIpOnVnic = prohibitPublicIpOnVnic; this.routeTableId = routeTableId; this.securityListIds = securityListIds; @@ -71,7 +77,18 @@ public CreateSubnetDetails( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The availability domain to contain the subnet. + * Controls whether the subnet is regional or specific to an availability domain. Oracle + * recommends creating regional subnets because they're more flexible and make it easier to + * implement failover across availability domains. Originally, AD-specific subnets were the + * only kind available to use. + * + *

To create a regional subnet, omit this attribute. Then any resources later created in + * this subnet (such as a Compute instance) can be created in any availability domain in the + * region. + * + *

To instead create an AD-specific subnet, set this attribute to the availability domain + * you want this subnet to be in. Then any resources later created in this subnet can only + * be created in that availability domain. * *

Example: {@code Uocm:PHX-AD-1} */ @@ -79,7 +96,18 @@ public static class Builder { private String availabilityDomain; /** - * The availability domain to contain the subnet. + * Controls whether the subnet is regional or specific to an availability domain. Oracle + * recommends creating regional subnets because they're more flexible and make it easier to + * implement failover across availability domains. Originally, AD-specific subnets were the + * only kind available to use. + * + *

To create a regional subnet, omit this attribute. Then any resources later created in + * this subnet (such as a Compute instance) can be created in any availability domain in the + * region. + * + *

To instead create an AD-specific subnet, set this attribute to the availability domain + * you want this subnet to be in. Then any resources later created in this subnet can only + * be created in that availability domain. * *

Example: {@code Uocm:PHX-AD-1} * @@ -200,7 +228,7 @@ public Builder displayName(String displayName) { /** * A DNS label for the subnet, used in conjunction with the VNIC's hostname and VCN's DNS * label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for - * example, {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric + * example, {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric * string that begins with a letter and is unique within the VCN. The value cannot be * changed. * @@ -219,7 +247,7 @@ public Builder displayName(String displayName) { /** * A DNS label for the subnet, used in conjunction with the VNIC's hostname and VCN's DNS * label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for - * example, {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric + * example, {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric * string that begins with a letter and is unique within the VCN. The value cannot be * changed. * @@ -292,6 +320,70 @@ public Builder ipv6CidrBlock(String ipv6CidrBlock) { this.__explicitlySet__.add("ipv6CidrBlock"); return this; } + /** + * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR + * blocks, BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: - The CIDR + * blocks must be valid. - Multiple CIDR blocks must not overlap each other or the + * on-premises network CIDR block. - The number of CIDR blocks must not exceed the limit of + * IPv6 CIDR blocks allowed to a subnet. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlocks") + private java.util.List ipv6CidrBlocks; + + /** + * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR + * blocks, BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: - The CIDR + * blocks must be valid. - Multiple CIDR blocks must not overlap each other or the + * on-premises network CIDR block. - The number of CIDR blocks must not exceed the limit of + * IPv6 CIDR blocks allowed to a subnet. + * + * @param ipv6CidrBlocks the value to set + * @return this builder + */ + public Builder ipv6CidrBlocks(java.util.List ipv6CidrBlocks) { + this.ipv6CidrBlocks = ipv6CidrBlocks; + this.__explicitlySet__.add("ipv6CidrBlocks"); + return this; + } + /** + * Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to + * false. + * + *

For IPv6, if {@code prohibitInternetIngress} is set to {@code true}, internet access + * is not allowed for any IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet + * traffic is allowed by default. + * + *

{@code prohibitPublicIpOnVnic} will be set to the value of {@code + * prohibitInternetIngress} to dictate IPv4 behavior in this subnet. Only one or the other + * flag should be specified. + * + *

Example: {@code true} + */ + @com.fasterxml.jackson.annotation.JsonProperty("prohibitInternetIngress") + private Boolean prohibitInternetIngress; + + /** + * Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to + * false. + * + *

For IPv6, if {@code prohibitInternetIngress} is set to {@code true}, internet access + * is not allowed for any IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet + * traffic is allowed by default. + * + *

{@code prohibitPublicIpOnVnic} will be set to the value of {@code + * prohibitInternetIngress} to dictate IPv4 behavior in this subnet. Only one or the other + * flag should be specified. + * + *

Example: {@code true} + * + * @param prohibitInternetIngress the value to set + * @return this builder + */ + public Builder prohibitInternetIngress(Boolean prohibitInternetIngress) { + this.prohibitInternetIngress = prohibitInternetIngress; + this.__explicitlySet__.add("prohibitInternetIngress"); + return this; + } /** * Whether VNICs within this subnet can have public IP addresses. Defaults to false, which * means VNICs created in this subnet will automatically be assigned public IP addresses @@ -300,8 +392,8 @@ public Builder ipv6CidrBlock(String ipv6CidrBlock) { * set to true, VNICs created in this subnet cannot have public IP addresses (that is, it's * a private subnet). * - *

For IPv6, if {@code prohibitPublicIpOnVnic} is set to {@code true}, internet access is - * not allowed for any IPv6s assigned to VNICs in the subnet. + *

If you intend to use an IPv6 CIDR block, you should use the flag {@code + * prohibitInternetIngress} to specify ingress internet traffic behavior of the subnet. * *

Example: {@code true} */ @@ -316,8 +408,8 @@ public Builder ipv6CidrBlock(String ipv6CidrBlock) { * set to true, VNICs created in this subnet cannot have public IP addresses (that is, it's * a private subnet). * - *

For IPv6, if {@code prohibitPublicIpOnVnic} is set to {@code true}, internet access is - * not allowed for any IPv6s assigned to VNICs in the subnet. + *

If you intend to use an IPv6 CIDR block, you should use the flag {@code + * prohibitInternetIngress} to specify ingress internet traffic behavior of the subnet. * *

Example: {@code true} * @@ -408,6 +500,8 @@ public CreateSubnetDetails build() { this.dnsLabel, this.freeformTags, this.ipv6CidrBlock, + this.ipv6CidrBlocks, + this.prohibitInternetIngress, this.prohibitPublicIpOnVnic, this.routeTableId, this.securityListIds, @@ -447,6 +541,12 @@ public Builder copy(CreateSubnetDetails model) { if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { this.ipv6CidrBlock(model.getIpv6CidrBlock()); } + if (model.wasPropertyExplicitlySet("ipv6CidrBlocks")) { + this.ipv6CidrBlocks(model.getIpv6CidrBlocks()); + } + if (model.wasPropertyExplicitlySet("prohibitInternetIngress")) { + this.prohibitInternetIngress(model.getProhibitInternetIngress()); + } if (model.wasPropertyExplicitlySet("prohibitPublicIpOnVnic")) { this.prohibitPublicIpOnVnic(model.getProhibitPublicIpOnVnic()); } @@ -473,7 +573,17 @@ public Builder toBuilder() { } /** - * The availability domain to contain the subnet. + * Controls whether the subnet is regional or specific to an availability domain. Oracle + * recommends creating regional subnets because they're more flexible and make it easier to + * implement failover across availability domains. Originally, AD-specific subnets were the only + * kind available to use. + * + *

To create a regional subnet, omit this attribute. Then any resources later created in this + * subnet (such as a Compute instance) can be created in any availability domain in the region. + * + *

To instead create an AD-specific subnet, set this attribute to the availability domain you + * want this subnet to be in. Then any resources later created in this subnet can only be + * created in that availability domain. * *

Example: {@code Uocm:PHX-AD-1} */ @@ -481,7 +591,17 @@ public Builder toBuilder() { private final String availabilityDomain; /** - * The availability domain to contain the subnet. + * Controls whether the subnet is regional or specific to an availability domain. Oracle + * recommends creating regional subnets because they're more flexible and make it easier to + * implement failover across availability domains. Originally, AD-specific subnets were the only + * kind available to use. + * + *

To create a regional subnet, omit this attribute. Then any resources later created in this + * subnet (such as a Compute instance) can be created in any availability domain in the region. + * + *

To instead create an AD-specific subnet, set this attribute to the availability domain you + * want this subnet to be in. Then any resources later created in this subnet can only be + * created in that availability domain. * *

Example: {@code Uocm:PHX-AD-1} * @@ -589,8 +709,8 @@ public String getDisplayName() { /** * A DNS label for the subnet, used in conjunction with the VNIC's hostname and VCN's DNS label * to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric string that - * begins with a letter and is unique within the VCN. The value cannot be changed. + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric string that begins + * with a letter and is unique within the VCN. The value cannot be changed. * *

This value must be set if you want to use the Internet and VCN Resolver to resolve the * hostnames of instances in the subnet. It can only be set if the VCN itself was created with a @@ -607,8 +727,8 @@ public String getDisplayName() { /** * A DNS label for the subnet, used in conjunction with the VNIC's hostname and VCN's DNS label * to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric string that - * begins with a letter and is unique within the VCN. The value cannot be changed. + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric string that begins + * with a letter and is unique within the VCN. The value cannot be changed. * *

This value must be set if you want to use the Internet and VCN Resolver to resolve the * hostnames of instances in the subnet. It can only be set if the VCN itself was created with a @@ -673,6 +793,62 @@ public String getIpv6CidrBlock() { return ipv6CidrBlock; } + /** + * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, + * BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: - The CIDR blocks must + * be valid. - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR + * block. - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a + * subnet. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlocks") + private final java.util.List ipv6CidrBlocks; + + /** + * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, + * BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: - The CIDR blocks must + * be valid. - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR + * block. - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a + * subnet. + * + * @return the value + */ + public java.util.List getIpv6CidrBlocks() { + return ipv6CidrBlocks; + } + + /** + * Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to false. + * + *

For IPv6, if {@code prohibitInternetIngress} is set to {@code true}, internet access is + * not allowed for any IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet + * traffic is allowed by default. + * + *

{@code prohibitPublicIpOnVnic} will be set to the value of {@code prohibitInternetIngress} + * to dictate IPv4 behavior in this subnet. Only one or the other flag should be specified. + * + *

Example: {@code true} + */ + @com.fasterxml.jackson.annotation.JsonProperty("prohibitInternetIngress") + private final Boolean prohibitInternetIngress; + + /** + * Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to false. + * + *

For IPv6, if {@code prohibitInternetIngress} is set to {@code true}, internet access is + * not allowed for any IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet + * traffic is allowed by default. + * + *

{@code prohibitPublicIpOnVnic} will be set to the value of {@code prohibitInternetIngress} + * to dictate IPv4 behavior in this subnet. Only one or the other flag should be specified. + * + *

Example: {@code true} + * + * @return the value + */ + public Boolean getProhibitInternetIngress() { + return prohibitInternetIngress; + } + /** * Whether VNICs within this subnet can have public IP addresses. Defaults to false, which means * VNICs created in this subnet will automatically be assigned public IP addresses unless @@ -680,8 +856,8 @@ public String getIpv6CidrBlock() { * flag in {@link CreateVnicDetails}). If {@code prohibitPublicIpOnVnic} is set to true, VNICs * created in this subnet cannot have public IP addresses (that is, it's a private subnet). * - *

For IPv6, if {@code prohibitPublicIpOnVnic} is set to {@code true}, internet access is not - * allowed for any IPv6s assigned to VNICs in the subnet. + *

If you intend to use an IPv6 CIDR block, you should use the flag {@code + * prohibitInternetIngress} to specify ingress internet traffic behavior of the subnet. * *

Example: {@code true} */ @@ -695,8 +871,8 @@ public String getIpv6CidrBlock() { * flag in {@link CreateVnicDetails}). If {@code prohibitPublicIpOnVnic} is set to true, VNICs * created in this subnet cannot have public IP addresses (that is, it's a private subnet). * - *

For IPv6, if {@code prohibitPublicIpOnVnic} is set to {@code true}, internet access is not - * allowed for any IPv6s assigned to VNICs in the subnet. + *

If you intend to use an IPv6 CIDR block, you should use the flag {@code + * prohibitInternetIngress} to specify ingress internet traffic behavior of the subnet. * *

Example: {@code true} * @@ -785,6 +961,9 @@ public String toString(boolean includeByteArrayContents) { sb.append(", dnsLabel=").append(String.valueOf(this.dnsLabel)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); + sb.append(", ipv6CidrBlocks=").append(String.valueOf(this.ipv6CidrBlocks)); + sb.append(", prohibitInternetIngress=") + .append(String.valueOf(this.prohibitInternetIngress)); sb.append(", prohibitPublicIpOnVnic=").append(String.valueOf(this.prohibitPublicIpOnVnic)); sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(", securityListIds=").append(String.valueOf(this.securityListIds)); @@ -812,6 +991,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.dnsLabel, other.dnsLabel) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) + && java.util.Objects.equals(this.ipv6CidrBlocks, other.ipv6CidrBlocks) + && java.util.Objects.equals( + this.prohibitInternetIngress, other.prohibitInternetIngress) && java.util.Objects.equals( this.prohibitPublicIpOnVnic, other.prohibitPublicIpOnVnic) && java.util.Objects.equals(this.routeTableId, other.routeTableId) @@ -843,6 +1025,14 @@ public int hashCode() { result = (result * PRIME) + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); + result = + (result * PRIME) + + (this.ipv6CidrBlocks == null ? 43 : this.ipv6CidrBlocks.hashCode()); + result = + (result * PRIME) + + (this.prohibitInternetIngress == null + ? 43 + : this.prohibitInternetIngress.hashCode()); result = (result * PRIME) + (this.prohibitPublicIpOnVnic == null diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVcnDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVcnDetails.java index 9973fd70a3a..891a962c493 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVcnDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVcnDetails.java @@ -24,8 +24,11 @@ public final class CreateVcnDetails @Deprecated @java.beans.ConstructorProperties({ "cidrBlock", + "cidrBlocks", "compartmentId", - "ipv6CidrBlock", + "ipv6PrivateCidrBlocks", + "isOracleGuaAllocationEnabled", + "byoipv6CidrDetails", "definedTags", "displayName", "dnsLabel", @@ -34,8 +37,11 @@ public final class CreateVcnDetails }) public CreateVcnDetails( String cidrBlock, + java.util.List cidrBlocks, String compartmentId, - String ipv6CidrBlock, + java.util.List ipv6PrivateCidrBlocks, + Boolean isOracleGuaAllocationEnabled, + java.util.List byoipv6CidrDetails, java.util.Map> definedTags, String displayName, String dnsLabel, @@ -43,8 +49,11 @@ public CreateVcnDetails( Boolean isIpv6Enabled) { super(); this.cidrBlock = cidrBlock; + this.cidrBlocks = cidrBlocks; this.compartmentId = compartmentId; - this.ipv6CidrBlock = ipv6CidrBlock; + this.ipv6PrivateCidrBlocks = ipv6PrivateCidrBlocks; + this.isOracleGuaAllocationEnabled = isOracleGuaAllocationEnabled; + this.byoipv6CidrDetails = byoipv6CidrDetails; this.definedTags = definedTags; this.displayName = displayName; this.dnsLabel = dnsLabel; @@ -54,12 +63,16 @@ public CreateVcnDetails( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { - /** The CIDR IP address block of the VCN. Example: {@code 10.0.0.0/16} */ + /** + * **Deprecated.** Do *not* set this value. Use {@code cidrBlocks} instead. Example: {@code + * 10.0.0.0/16} + */ @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") private String cidrBlock; /** - * The CIDR IP address block of the VCN. Example: {@code 10.0.0.0/16} + * **Deprecated.** Do *not* set this value. Use {@code cidrBlocks} instead. Example: {@code + * 10.0.0.0/16} * * @param cidrBlock the value to set * @return this builder @@ -69,6 +82,35 @@ public Builder cidrBlock(String cidrBlock) { this.__explicitlySet__.add("cidrBlock"); return this; } + /** + * The list of one or more IPv4 CIDR blocks for the VCN that meet the following criteria: - + * The CIDR blocks must be valid. - They must not overlap with each other or with the + * on-premises network CIDR block. - The number of CIDR blocks must not exceed the limit of + * CIDR blocks allowed per VCN. + * + *

*Important:** Do *not* specify a value for {@code cidrBlock}. Use this parameter + * instead. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlocks") + private java.util.List cidrBlocks; + + /** + * The list of one or more IPv4 CIDR blocks for the VCN that meet the following criteria: - + * The CIDR blocks must be valid. - They must not overlap with each other or with the + * on-premises network CIDR block. - The number of CIDR blocks must not exceed the limit of + * CIDR blocks allowed per VCN. + * + *

*Important:** Do *not* specify a value for {@code cidrBlock}. Use this parameter + * instead. + * + * @param cidrBlocks the value to set + * @return this builder + */ + public Builder cidrBlocks(java.util.List cidrBlocks) { + this.cidrBlocks = cidrBlocks; + this.__explicitlySet__.add("cidrBlocks"); + return this; + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the compartment to contain the VCN. @@ -89,64 +131,70 @@ public Builder compartmentId(String compartmentId) { return this; } /** - * If you enable IPv6 for the VCN (see {@code isIpv6Enabled}), you may optionally provide an - * IPv6 /56 CIDR block from the supported ranges (see [IPv6 - * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). The - * addresses in this block will be considered private and cannot be accessed from the - * internet. The documentation refers to this as a *custom CIDR* for the VCN. - * - *

If you don't provide a custom CIDR for the VCN, Oracle assigns the VCN's IPv6 /56 CIDR - * block. - * - *

Regardless of whether you or Oracle assigns the {@code ipv6CidrBlock}, Oracle *also* - * assigns the VCN an IPv6 CIDR block for the VCN's public IP address space (see the {@code - * ipv6PublicCidrBlock} of the {@link Vcn} object). If you do not assign a custom CIDR, - * Oracle uses the *same* Oracle-assigned CIDR for both the private IP address space ({@code - * ipv6CidrBlock} in the {@code Vcn} object) and the public IP addreses space ({@code - * ipv6PublicCidrBlock} in the {@code Vcn} object). This means that a given VNIC might use - * the same IPv6 IP address for both private and public (internet) communication. You - * control whether an IPv6 address can be used for internet communication by using the - * {@code isInternetAccessAllowed} attribute in the {@link Ipv6} object. + * The list of one or more ULA or Private IPv6 CIDR blocks for the vcn that meets the + * following criteria: - The CIDR blocks must be valid. - Multiple CIDR blocks must not + * overlap each other or the on-premises network CIDR block. - The number of CIDR blocks + * must not exceed the limit of IPv6 CIDR blocks allowed to a vcn. * - *

For important details about IPv6 addressing in a VCN, see [IPv6 - * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). - * - *

Example: {@code 2001:0db8:0123::/48} + *

*Important:** Do *not* specify a value for {@code ipv6CidrBlock}. Use this parameter + * instead. */ - @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") - private String ipv6CidrBlock; + @com.fasterxml.jackson.annotation.JsonProperty("ipv6PrivateCidrBlocks") + private java.util.List ipv6PrivateCidrBlocks; /** - * If you enable IPv6 for the VCN (see {@code isIpv6Enabled}), you may optionally provide an - * IPv6 /56 CIDR block from the supported ranges (see [IPv6 - * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). The - * addresses in this block will be considered private and cannot be accessed from the - * internet. The documentation refers to this as a *custom CIDR* for the VCN. - * - *

If you don't provide a custom CIDR for the VCN, Oracle assigns the VCN's IPv6 /56 CIDR - * block. + * The list of one or more ULA or Private IPv6 CIDR blocks for the vcn that meets the + * following criteria: - The CIDR blocks must be valid. - Multiple CIDR blocks must not + * overlap each other or the on-premises network CIDR block. - The number of CIDR blocks + * must not exceed the limit of IPv6 CIDR blocks allowed to a vcn. * - *

Regardless of whether you or Oracle assigns the {@code ipv6CidrBlock}, Oracle *also* - * assigns the VCN an IPv6 CIDR block for the VCN's public IP address space (see the {@code - * ipv6PublicCidrBlock} of the {@link Vcn} object). If you do not assign a custom CIDR, - * Oracle uses the *same* Oracle-assigned CIDR for both the private IP address space ({@code - * ipv6CidrBlock} in the {@code Vcn} object) and the public IP addreses space ({@code - * ipv6PublicCidrBlock} in the {@code Vcn} object). This means that a given VNIC might use - * the same IPv6 IP address for both private and public (internet) communication. You - * control whether an IPv6 address can be used for internet communication by using the - * {@code isInternetAccessAllowed} attribute in the {@link Ipv6} object. + *

*Important:** Do *not* specify a value for {@code ipv6CidrBlock}. Use this parameter + * instead. * - *

For important details about IPv6 addressing in a VCN, see [IPv6 - * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * @param ipv6PrivateCidrBlocks the value to set + * @return this builder + */ + public Builder ipv6PrivateCidrBlocks(java.util.List ipv6PrivateCidrBlocks) { + this.ipv6PrivateCidrBlocks = ipv6PrivateCidrBlocks; + this.__explicitlySet__.add("ipv6PrivateCidrBlocks"); + return this; + } + /** + * Specifies whether to skip Oracle allocated IPv6 GUA. By default, Oracle will allocate one + * GUA of /56 size for an IPv6 enabled VCN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOracleGuaAllocationEnabled") + private Boolean isOracleGuaAllocationEnabled; + + /** + * Specifies whether to skip Oracle allocated IPv6 GUA. By default, Oracle will allocate one + * GUA of /56 size for an IPv6 enabled VCN. * - *

Example: {@code 2001:0db8:0123::/48} + * @param isOracleGuaAllocationEnabled the value to set + * @return this builder + */ + public Builder isOracleGuaAllocationEnabled(Boolean isOracleGuaAllocationEnabled) { + this.isOracleGuaAllocationEnabled = isOracleGuaAllocationEnabled; + this.__explicitlySet__.add("isOracleGuaAllocationEnabled"); + return this; + } + /** + * The list of BYOIPv6 OCIDs and BYOIPv6 CIDR blocks required to create a VCN that uses + * BYOIPv6 ranges. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipv6CidrDetails") + private java.util.List byoipv6CidrDetails; + + /** + * The list of BYOIPv6 OCIDs and BYOIPv6 CIDR blocks required to create a VCN that uses + * BYOIPv6 ranges. * - * @param ipv6CidrBlock the value to set + * @param byoipv6CidrDetails the value to set * @return this builder */ - public Builder ipv6CidrBlock(String ipv6CidrBlock) { - this.ipv6CidrBlock = ipv6CidrBlock; - this.__explicitlySet__.add("ipv6CidrBlock"); + public Builder byoipv6CidrDetails(java.util.List byoipv6CidrDetails) { + this.byoipv6CidrDetails = byoipv6CidrDetails; + this.__explicitlySet__.add("byoipv6CidrDetails"); return this; } /** @@ -191,7 +239,7 @@ public Builder displayName(String displayName) { /** * A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS * label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for - * example, {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Not required to be unique, + * example, {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Not required to be unique, * but it's a best practice to set unique DNS labels for VCNs in your tenancy. Must be an * alphanumeric string that begins with a letter. The value cannot be changed. * @@ -209,7 +257,7 @@ public Builder displayName(String displayName) { /** * A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS * label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for - * example, {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Not required to be unique, + * example, {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Not required to be unique, * but it's a best practice to set unique DNS labels for VCNs in your tenancy. Must be an * alphanumeric string that begins with a letter. The value cannot be changed. * @@ -250,8 +298,9 @@ public Builder freeformTags(java.util.Map freeformTags) { } /** * Whether IPv6 is enabled for the VCN. Default is {@code false}. If enabled, Oracle will - * assign the VCN a IPv6 /56 CIDR block. For important details about IPv6 addressing in a - * VCN, see [IPv6 + * assign the VCN a IPv6 /56 CIDR block. You may skip having Oracle allocate the VCN a IPv6 + * /56 CIDR block by setting isOracleGuaAllocationEnabled to {@code false}. For important + * details about IPv6 addressing in a VCN, see [IPv6 * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code true} @@ -261,8 +310,9 @@ public Builder freeformTags(java.util.Map freeformTags) { /** * Whether IPv6 is enabled for the VCN. Default is {@code false}. If enabled, Oracle will - * assign the VCN a IPv6 /56 CIDR block. For important details about IPv6 addressing in a - * VCN, see [IPv6 + * assign the VCN a IPv6 /56 CIDR block. You may skip having Oracle allocate the VCN a IPv6 + * /56 CIDR block by setting isOracleGuaAllocationEnabled to {@code false}. For important + * details about IPv6 addressing in a VCN, see [IPv6 * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code true} @@ -283,8 +333,11 @@ public CreateVcnDetails build() { CreateVcnDetails model = new CreateVcnDetails( this.cidrBlock, + this.cidrBlocks, this.compartmentId, - this.ipv6CidrBlock, + this.ipv6PrivateCidrBlocks, + this.isOracleGuaAllocationEnabled, + this.byoipv6CidrDetails, this.definedTags, this.displayName, this.dnsLabel, @@ -301,11 +354,20 @@ public Builder copy(CreateVcnDetails model) { if (model.wasPropertyExplicitlySet("cidrBlock")) { this.cidrBlock(model.getCidrBlock()); } + if (model.wasPropertyExplicitlySet("cidrBlocks")) { + this.cidrBlocks(model.getCidrBlocks()); + } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } - if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { - this.ipv6CidrBlock(model.getIpv6CidrBlock()); + if (model.wasPropertyExplicitlySet("ipv6PrivateCidrBlocks")) { + this.ipv6PrivateCidrBlocks(model.getIpv6PrivateCidrBlocks()); + } + if (model.wasPropertyExplicitlySet("isOracleGuaAllocationEnabled")) { + this.isOracleGuaAllocationEnabled(model.getIsOracleGuaAllocationEnabled()); + } + if (model.wasPropertyExplicitlySet("byoipv6CidrDetails")) { + this.byoipv6CidrDetails(model.getByoipv6CidrDetails()); } if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); @@ -335,12 +397,16 @@ public Builder toBuilder() { return new Builder().copy(this); } - /** The CIDR IP address block of the VCN. Example: {@code 10.0.0.0/16} */ + /** + * **Deprecated.** Do *not* set this value. Use {@code cidrBlocks} instead. Example: {@code + * 10.0.0.0/16} + */ @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") private final String cidrBlock; /** - * The CIDR IP address block of the VCN. Example: {@code 10.0.0.0/16} + * **Deprecated.** Do *not* set this value. Use {@code cidrBlocks} instead. Example: {@code + * 10.0.0.0/16} * * @return the value */ @@ -348,6 +414,31 @@ public String getCidrBlock() { return cidrBlock; } + /** + * The list of one or more IPv4 CIDR blocks for the VCN that meet the following criteria: - The + * CIDR blocks must be valid. - They must not overlap with each other or with the on-premises + * network CIDR block. - The number of CIDR blocks must not exceed the limit of CIDR blocks + * allowed per VCN. + * + *

*Important:** Do *not* specify a value for {@code cidrBlock}. Use this parameter instead. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlocks") + private final java.util.List cidrBlocks; + + /** + * The list of one or more IPv4 CIDR blocks for the VCN that meet the following criteria: - The + * CIDR blocks must be valid. - They must not overlap with each other or with the on-premises + * network CIDR block. - The number of CIDR blocks must not exceed the limit of CIDR blocks + * allowed per VCN. + * + *

*Important:** Do *not* specify a value for {@code cidrBlock}. Use this parameter instead. + * + * @return the value + */ + public java.util.List getCidrBlocks() { + return cidrBlocks; + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the compartment to contain the VCN. @@ -366,62 +457,64 @@ public String getCompartmentId() { } /** - * If you enable IPv6 for the VCN (see {@code isIpv6Enabled}), you may optionally provide an - * IPv6 /56 CIDR block from the supported ranges (see [IPv6 - * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). The - * addresses in this block will be considered private and cannot be accessed from the internet. - * The documentation refers to this as a *custom CIDR* for the VCN. - * - *

If you don't provide a custom CIDR for the VCN, Oracle assigns the VCN's IPv6 /56 CIDR - * block. - * - *

Regardless of whether you or Oracle assigns the {@code ipv6CidrBlock}, Oracle *also* - * assigns the VCN an IPv6 CIDR block for the VCN's public IP address space (see the {@code - * ipv6PublicCidrBlock} of the {@link Vcn} object). If you do not assign a custom CIDR, Oracle - * uses the *same* Oracle-assigned CIDR for both the private IP address space ({@code - * ipv6CidrBlock} in the {@code Vcn} object) and the public IP addreses space ({@code - * ipv6PublicCidrBlock} in the {@code Vcn} object). This means that a given VNIC might use the - * same IPv6 IP address for both private and public (internet) communication. You control - * whether an IPv6 address can be used for internet communication by using the {@code - * isInternetAccessAllowed} attribute in the {@link Ipv6} object. - * - *

For important details about IPv6 addressing in a VCN, see [IPv6 - * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * The list of one or more ULA or Private IPv6 CIDR blocks for the vcn that meets the following + * criteria: - The CIDR blocks must be valid. - Multiple CIDR blocks must not overlap each other + * or the on-premises network CIDR block. - The number of CIDR blocks must not exceed the limit + * of IPv6 CIDR blocks allowed to a vcn. * - *

Example: {@code 2001:0db8:0123::/48} + *

*Important:** Do *not* specify a value for {@code ipv6CidrBlock}. Use this parameter + * instead. */ - @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") - private final String ipv6CidrBlock; + @com.fasterxml.jackson.annotation.JsonProperty("ipv6PrivateCidrBlocks") + private final java.util.List ipv6PrivateCidrBlocks; /** - * If you enable IPv6 for the VCN (see {@code isIpv6Enabled}), you may optionally provide an - * IPv6 /56 CIDR block from the supported ranges (see [IPv6 - * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). The - * addresses in this block will be considered private and cannot be accessed from the internet. - * The documentation refers to this as a *custom CIDR* for the VCN. + * The list of one or more ULA or Private IPv6 CIDR blocks for the vcn that meets the following + * criteria: - The CIDR blocks must be valid. - Multiple CIDR blocks must not overlap each other + * or the on-premises network CIDR block. - The number of CIDR blocks must not exceed the limit + * of IPv6 CIDR blocks allowed to a vcn. * - *

If you don't provide a custom CIDR for the VCN, Oracle assigns the VCN's IPv6 /56 CIDR - * block. + *

*Important:** Do *not* specify a value for {@code ipv6CidrBlock}. Use this parameter + * instead. * - *

Regardless of whether you or Oracle assigns the {@code ipv6CidrBlock}, Oracle *also* - * assigns the VCN an IPv6 CIDR block for the VCN's public IP address space (see the {@code - * ipv6PublicCidrBlock} of the {@link Vcn} object). If you do not assign a custom CIDR, Oracle - * uses the *same* Oracle-assigned CIDR for both the private IP address space ({@code - * ipv6CidrBlock} in the {@code Vcn} object) and the public IP addreses space ({@code - * ipv6PublicCidrBlock} in the {@code Vcn} object). This means that a given VNIC might use the - * same IPv6 IP address for both private and public (internet) communication. You control - * whether an IPv6 address can be used for internet communication by using the {@code - * isInternetAccessAllowed} attribute in the {@link Ipv6} object. - * - *

For important details about IPv6 addressing in a VCN, see [IPv6 - * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * @return the value + */ + public java.util.List getIpv6PrivateCidrBlocks() { + return ipv6PrivateCidrBlocks; + } + + /** + * Specifies whether to skip Oracle allocated IPv6 GUA. By default, Oracle will allocate one GUA + * of /56 size for an IPv6 enabled VCN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isOracleGuaAllocationEnabled") + private final Boolean isOracleGuaAllocationEnabled; + + /** + * Specifies whether to skip Oracle allocated IPv6 GUA. By default, Oracle will allocate one GUA + * of /56 size for an IPv6 enabled VCN. * - *

Example: {@code 2001:0db8:0123::/48} + * @return the value + */ + public Boolean getIsOracleGuaAllocationEnabled() { + return isOracleGuaAllocationEnabled; + } + + /** + * The list of BYOIPv6 OCIDs and BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 + * ranges. + */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipv6CidrDetails") + private final java.util.List byoipv6CidrDetails; + + /** + * The list of BYOIPv6 OCIDs and BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 + * ranges. * * @return the value */ - public String getIpv6CidrBlock() { - return ipv6CidrBlock; + public java.util.List getByoipv6CidrDetails() { + return byoipv6CidrDetails; } /** @@ -461,9 +554,9 @@ public String getDisplayName() { /** * A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label * to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Not required to be unique, but it's a - * best practice to set unique DNS labels for VCNs in your tenancy. Must be an alphanumeric - * string that begins with a letter. The value cannot be changed. + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Not required to be unique, but it's a best + * practice to set unique DNS labels for VCNs in your tenancy. Must be an alphanumeric string + * that begins with a letter. The value cannot be changed. * *

You must set this value if you want instances to be able to use hostnames to resolve other * instances in the VCN. Otherwise the Internet and VCN Resolver will not work. @@ -479,9 +572,9 @@ public String getDisplayName() { /** * A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label * to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Not required to be unique, but it's a - * best practice to set unique DNS labels for VCNs in your tenancy. Must be an alphanumeric - * string that begins with a letter. The value cannot be changed. + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Not required to be unique, but it's a best + * practice to set unique DNS labels for VCNs in your tenancy. Must be an alphanumeric string + * that begins with a letter. The value cannot be changed. * *

You must set this value if you want instances to be able to use hostnames to resolve other * instances in the VCN. Otherwise the Internet and VCN Resolver will not work. @@ -516,8 +609,10 @@ public java.util.Map getFreeformTags() { /** * Whether IPv6 is enabled for the VCN. Default is {@code false}. If enabled, Oracle will assign - * the VCN a IPv6 /56 CIDR block. For important details about IPv6 addressing in a VCN, see - * [IPv6 Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * the VCN a IPv6 /56 CIDR block. You may skip having Oracle allocate the VCN a IPv6 /56 CIDR + * block by setting isOracleGuaAllocationEnabled to {@code false}. For important details about + * IPv6 addressing in a VCN, see [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code true} */ @@ -526,8 +621,10 @@ public java.util.Map getFreeformTags() { /** * Whether IPv6 is enabled for the VCN. Default is {@code false}. If enabled, Oracle will assign - * the VCN a IPv6 /56 CIDR block. For important details about IPv6 addressing in a VCN, see - * [IPv6 Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * the VCN a IPv6 /56 CIDR block. You may skip having Oracle allocate the VCN a IPv6 /56 CIDR + * block by setting isOracleGuaAllocationEnabled to {@code false}. For important details about + * IPv6 addressing in a VCN, see [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code true} * @@ -553,8 +650,12 @@ public String toString(boolean includeByteArrayContents) { sb.append("CreateVcnDetails("); sb.append("super=").append(super.toString()); sb.append("cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(", cidrBlocks=").append(String.valueOf(this.cidrBlocks)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); - sb.append(", ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); + sb.append(", ipv6PrivateCidrBlocks=").append(String.valueOf(this.ipv6PrivateCidrBlocks)); + sb.append(", isOracleGuaAllocationEnabled=") + .append(String.valueOf(this.isOracleGuaAllocationEnabled)); + sb.append(", byoipv6CidrDetails=").append(String.valueOf(this.byoipv6CidrDetails)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", dnsLabel=").append(String.valueOf(this.dnsLabel)); @@ -575,8 +676,12 @@ public boolean equals(Object o) { CreateVcnDetails other = (CreateVcnDetails) o; return java.util.Objects.equals(this.cidrBlock, other.cidrBlock) + && java.util.Objects.equals(this.cidrBlocks, other.cidrBlocks) && java.util.Objects.equals(this.compartmentId, other.compartmentId) - && java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) + && java.util.Objects.equals(this.ipv6PrivateCidrBlocks, other.ipv6PrivateCidrBlocks) + && java.util.Objects.equals( + this.isOracleGuaAllocationEnabled, other.isOracleGuaAllocationEnabled) + && java.util.Objects.equals(this.byoipv6CidrDetails, other.byoipv6CidrDetails) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.dnsLabel, other.dnsLabel) @@ -590,12 +695,25 @@ public int hashCode() { final int PRIME = 59; int result = 1; result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = (result * PRIME) + (this.cidrBlocks == null ? 43 : this.cidrBlocks.hashCode()); result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); result = (result * PRIME) - + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); + + (this.ipv6PrivateCidrBlocks == null + ? 43 + : this.ipv6PrivateCidrBlocks.hashCode()); + result = + (result * PRIME) + + (this.isOracleGuaAllocationEnabled == null + ? 43 + : this.isOracleGuaAllocationEnabled.hashCode()); + result = + (result * PRIME) + + (this.byoipv6CidrDetails == null + ? 43 + : this.byoipv6CidrDetails.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.dnsLabel == null ? 43 : this.dnsLabel.hashCode()); diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVirtualCircuitDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVirtualCircuitDetails.java index 8cf20658bc7..2d0bfe8c393 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVirtualCircuitDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVirtualCircuitDetails.java @@ -27,42 +27,66 @@ public final class CreateVirtualCircuitDetails "bandwidthShapeName", "compartmentId", "crossConnectMappings", + "routingPolicy", + "bgpAdminState", + "isBfdEnabled", "customerBgpAsn", + "customerAsn", + "definedTags", "displayName", + "freeformTags", "gatewayId", "providerName", "providerServiceId", + "providerServiceKeyName", "providerServiceName", "publicPrefixes", "region", - "type" + "type", + "ipMtu" }) public CreateVirtualCircuitDetails( String bandwidthShapeName, String compartmentId, java.util.List crossConnectMappings, + java.util.List routingPolicy, + BgpAdminState bgpAdminState, + Boolean isBfdEnabled, Integer customerBgpAsn, + Long customerAsn, + java.util.Map> definedTags, String displayName, + java.util.Map freeformTags, String gatewayId, String providerName, String providerServiceId, + String providerServiceKeyName, String providerServiceName, java.util.List publicPrefixes, String region, - Type type) { + Type type, + VirtualCircuitIpMtu ipMtu) { super(); this.bandwidthShapeName = bandwidthShapeName; this.compartmentId = compartmentId; this.crossConnectMappings = crossConnectMappings; + this.routingPolicy = routingPolicy; + this.bgpAdminState = bgpAdminState; + this.isBfdEnabled = isBfdEnabled; this.customerBgpAsn = customerBgpAsn; + this.customerAsn = customerAsn; + this.definedTags = definedTags; this.displayName = displayName; + this.freeformTags = freeformTags; this.gatewayId = gatewayId; this.providerName = providerName; this.providerServiceId = providerServiceId; + this.providerServiceKeyName = providerServiceKeyName; this.providerServiceName = providerServiceName; this.publicPrefixes = publicPrefixes; this.region = region; this.type = type; + this.ipMtu = ipMtu; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -134,15 +158,78 @@ public Builder crossConnectMappings( return this; } /** - * Your BGP ASN (either public or private). Provide this value only if there's a BGP session - * that goes from your edge router to Oracle. Otherwise, leave this empty or null. + * The routing policy sets how routing information about the Oracle cloud is shared over a + * public virtual circuit. Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code + * REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. See [Route + * Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) + * for details. By default, routing information is shared for all routes in the same market. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routingPolicy") + private java.util.List routingPolicy; + + /** + * The routing policy sets how routing information about the Oracle cloud is shared over a + * public virtual circuit. Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code + * REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. See [Route + * Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) + * for details. By default, routing information is shared for all routes in the same market. + * + * @param routingPolicy the value to set + * @return this builder + */ + public Builder routingPolicy(java.util.List routingPolicy) { + this.routingPolicy = routingPolicy; + this.__explicitlySet__.add("routingPolicy"); + return this; + } + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, + * set to {@code DISABLED} to deactivate the virtual circuit. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpAdminState") + private BgpAdminState bgpAdminState; + + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, + * set to {@code DISABLED} to deactivate the virtual circuit. + * + * @param bgpAdminState the value to set + * @return this builder + */ + public Builder bgpAdminState(BgpAdminState bgpAdminState) { + this.bgpAdminState = bgpAdminState; + this.__explicitlySet__.add("bgpAdminState"); + return this; + } + /** + * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to + * disable BFD. If this is not set, the default is {@code false}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isBfdEnabled") + private Boolean isBfdEnabled; + + /** + * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to + * disable BFD. If this is not set, the default is {@code false}. + * + * @param isBfdEnabled the value to set + * @return this builder + */ + public Builder isBfdEnabled(Boolean isBfdEnabled) { + this.isBfdEnabled = isBfdEnabled; + this.__explicitlySet__.add("isBfdEnabled"); + return this; + } + /** + * Deprecated. Instead use {@code customerAsn}. If you specify values for both, the request + * will be rejected. */ @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") private Integer customerBgpAsn; /** - * Your BGP ASN (either public or private). Provide this value only if there's a BGP session - * that goes from your edge router to Oracle. Otherwise, leave this empty or null. + * Deprecated. Instead use {@code customerAsn}. If you specify values for both, the request + * will be rejected. * * @param customerBgpAsn the value to set * @return this builder @@ -152,6 +239,51 @@ public Builder customerBgpAsn(Integer customerBgpAsn) { this.__explicitlySet__.add("customerBgpAsn"); return this; } + /** + * Your BGP ASN (either public or private). Provide this value only if there's a BGP session + * that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a + * 2-byte or 4-byte ASN. Uses "asplain" format. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerAsn") + private Long customerAsn; + + /** + * Your BGP ASN (either public or private). Provide this value only if there's a BGP session + * that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a + * 2-byte or 4-byte ASN. Uses "asplain" format. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + * + * @param customerAsn the value to set + * @return this builder + */ + public Builder customerAsn(Long customerAsn) { + this.customerAsn = customerAsn; + this.__explicitlySet__.add("customerAsn"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -171,6 +303,25 @@ public Builder displayName(String displayName) { this.__explicitlySet__.add("displayName"); return this; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } /** * For private virtual circuits only. The * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of @@ -238,6 +389,25 @@ public Builder providerServiceId(String providerServiceId) { this.__explicitlySet__.add("providerServiceId"); return this; } + /** + * The service key name offered by the provider (if the customer is connecting via a + * provider). + */ + @com.fasterxml.jackson.annotation.JsonProperty("providerServiceKeyName") + private String providerServiceKeyName; + + /** + * The service key name offered by the provider (if the customer is connecting via a + * provider). + * + * @param providerServiceKeyName the value to set + * @return this builder + */ + public Builder providerServiceKeyName(String providerServiceKeyName) { + this.providerServiceKeyName = providerServiceKeyName; + this.__explicitlySet__.add("providerServiceKeyName"); + return this; + } /** * Deprecated. Instead use {@code providerServiceId}. To get a list of the provider names, * see {@link #listFastConnectProviderServices(ListFastConnectProviderServicesRequest) @@ -319,6 +489,21 @@ public Builder type(Type type) { this.__explicitlySet__.add("type"); return this; } + /** The layer 3 IP MTU to use with this virtual circuit. */ + @com.fasterxml.jackson.annotation.JsonProperty("ipMtu") + private VirtualCircuitIpMtu ipMtu; + + /** + * The layer 3 IP MTU to use with this virtual circuit. + * + * @param ipMtu the value to set + * @return this builder + */ + public Builder ipMtu(VirtualCircuitIpMtu ipMtu) { + this.ipMtu = ipMtu; + this.__explicitlySet__.add("ipMtu"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -329,15 +514,23 @@ public CreateVirtualCircuitDetails build() { this.bandwidthShapeName, this.compartmentId, this.crossConnectMappings, + this.routingPolicy, + this.bgpAdminState, + this.isBfdEnabled, this.customerBgpAsn, + this.customerAsn, + this.definedTags, this.displayName, + this.freeformTags, this.gatewayId, this.providerName, this.providerServiceId, + this.providerServiceKeyName, this.providerServiceName, this.publicPrefixes, this.region, - this.type); + this.type, + this.ipMtu); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -355,12 +548,30 @@ public Builder copy(CreateVirtualCircuitDetails model) { if (model.wasPropertyExplicitlySet("crossConnectMappings")) { this.crossConnectMappings(model.getCrossConnectMappings()); } + if (model.wasPropertyExplicitlySet("routingPolicy")) { + this.routingPolicy(model.getRoutingPolicy()); + } + if (model.wasPropertyExplicitlySet("bgpAdminState")) { + this.bgpAdminState(model.getBgpAdminState()); + } + if (model.wasPropertyExplicitlySet("isBfdEnabled")) { + this.isBfdEnabled(model.getIsBfdEnabled()); + } if (model.wasPropertyExplicitlySet("customerBgpAsn")) { this.customerBgpAsn(model.getCustomerBgpAsn()); } + if (model.wasPropertyExplicitlySet("customerAsn")) { + this.customerAsn(model.getCustomerAsn()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } if (model.wasPropertyExplicitlySet("gatewayId")) { this.gatewayId(model.getGatewayId()); } @@ -370,6 +581,9 @@ public Builder copy(CreateVirtualCircuitDetails model) { if (model.wasPropertyExplicitlySet("providerServiceId")) { this.providerServiceId(model.getProviderServiceId()); } + if (model.wasPropertyExplicitlySet("providerServiceKeyName")) { + this.providerServiceKeyName(model.getProviderServiceKeyName()); + } if (model.wasPropertyExplicitlySet("providerServiceName")) { this.providerServiceName(model.getProviderServiceName()); } @@ -382,6 +596,9 @@ public Builder copy(CreateVirtualCircuitDetails model) { if (model.wasPropertyExplicitlySet("type")) { this.type(model.getType()); } + if (model.wasPropertyExplicitlySet("ipMtu")) { + this.ipMtu(model.getIpMtu()); + } return this; } } @@ -454,16 +671,144 @@ public java.util.List getCrossConnectMappings() { return crossConnectMappings; } + /** */ + public enum RoutingPolicy implements com.oracle.bmc.http.internal.BmcEnum { + OracleServiceNetwork("ORACLE_SERVICE_NETWORK"), + Regional("REGIONAL"), + MarketLevel("MARKET_LEVEL"), + Global("GLOBAL"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (RoutingPolicy v : RoutingPolicy.values()) { + map.put(v.getValue(), v); + } + } + + RoutingPolicy(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static RoutingPolicy create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid RoutingPolicy: " + key); + } + }; /** - * Your BGP ASN (either public or private). Provide this value only if there's a BGP session - * that goes from your edge router to Oracle. Otherwise, leave this empty or null. + * The routing policy sets how routing information about the Oracle cloud is shared over a + * public virtual circuit. Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code + * REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. See [Route + * Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) + * for details. By default, routing information is shared for all routes in the same market. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routingPolicy") + private final java.util.List routingPolicy; + + /** + * The routing policy sets how routing information about the Oracle cloud is shared over a + * public virtual circuit. Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code + * REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. See [Route + * Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) + * for details. By default, routing information is shared for all routes in the same market. + * + * @return the value + */ + public java.util.List getRoutingPolicy() { + return routingPolicy; + } + + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set + * to {@code DISABLED} to deactivate the virtual circuit. + */ + public enum BgpAdminState implements com.oracle.bmc.http.internal.BmcEnum { + Enabled("ENABLED"), + Disabled("DISABLED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (BgpAdminState v : BgpAdminState.values()) { + map.put(v.getValue(), v); + } + } + + BgpAdminState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static BgpAdminState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid BgpAdminState: " + key); + } + }; + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set + * to {@code DISABLED} to deactivate the virtual circuit. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpAdminState") + private final BgpAdminState bgpAdminState; + + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set + * to {@code DISABLED} to deactivate the virtual circuit. + * + * @return the value + */ + public BgpAdminState getBgpAdminState() { + return bgpAdminState; + } + + /** + * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to disable + * BFD. If this is not set, the default is {@code false}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isBfdEnabled") + private final Boolean isBfdEnabled; + + /** + * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to disable + * BFD. If this is not set, the default is {@code false}. + * + * @return the value + */ + public Boolean getIsBfdEnabled() { + return isBfdEnabled; + } + + /** + * Deprecated. Instead use {@code customerAsn}. If you specify values for both, the request will + * be rejected. */ @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") private final Integer customerBgpAsn; /** - * Your BGP ASN (either public or private). Provide this value only if there's a BGP session - * that goes from your edge router to Oracle. Otherwise, leave this empty or null. + * Deprecated. Instead use {@code customerAsn}. If you specify values for both, the request will + * be rejected. * * @return the value */ @@ -471,6 +816,46 @@ public Integer getCustomerBgpAsn() { return customerBgpAsn; } + /** + * Your BGP ASN (either public or private). Provide this value only if there's a BGP session + * that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a + * 2-byte or 4-byte ASN. Uses "asplain" format. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerAsn") + private final Long customerAsn; + + /** + * Your BGP ASN (either public or private). Provide this value only if there's a BGP session + * that goes from your edge router to Oracle. Otherwise, leave this empty or null. Can be a + * 2-byte or 4-byte ASN. Uses "asplain" format. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + * + * @return the value + */ + public Long getCustomerAsn() { + return customerAsn; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -488,6 +873,23 @@ public String getDisplayName() { return displayName; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + /** * For private virtual circuits only. The * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the @@ -549,6 +951,21 @@ public String getProviderServiceId() { return providerServiceId; } + /** + * The service key name offered by the provider (if the customer is connecting via a provider). + */ + @com.fasterxml.jackson.annotation.JsonProperty("providerServiceKeyName") + private final String providerServiceKeyName; + + /** + * The service key name offered by the provider (if the customer is connecting via a provider). + * + * @return the value + */ + public String getProviderServiceKeyName() { + return providerServiceKeyName; + } + /** * Deprecated. Instead use {@code providerServiceId}. To get a list of the provider names, see * {@link #listFastConnectProviderServices(ListFastConnectProviderServicesRequest) @@ -655,6 +1072,19 @@ public Type getType() { return type; } + /** The layer 3 IP MTU to use with this virtual circuit. */ + @com.fasterxml.jackson.annotation.JsonProperty("ipMtu") + private final VirtualCircuitIpMtu ipMtu; + + /** + * The layer 3 IP MTU to use with this virtual circuit. + * + * @return the value + */ + public VirtualCircuitIpMtu getIpMtu() { + return ipMtu; + } + @Override public String toString() { return this.toString(true); @@ -673,15 +1103,23 @@ public String toString(boolean includeByteArrayContents) { sb.append("bandwidthShapeName=").append(String.valueOf(this.bandwidthShapeName)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", crossConnectMappings=").append(String.valueOf(this.crossConnectMappings)); + sb.append(", routingPolicy=").append(String.valueOf(this.routingPolicy)); + sb.append(", bgpAdminState=").append(String.valueOf(this.bgpAdminState)); + sb.append(", isBfdEnabled=").append(String.valueOf(this.isBfdEnabled)); sb.append(", customerBgpAsn=").append(String.valueOf(this.customerBgpAsn)); + sb.append(", customerAsn=").append(String.valueOf(this.customerAsn)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", gatewayId=").append(String.valueOf(this.gatewayId)); sb.append(", providerName=").append(String.valueOf(this.providerName)); sb.append(", providerServiceId=").append(String.valueOf(this.providerServiceId)); + sb.append(", providerServiceKeyName=").append(String.valueOf(this.providerServiceKeyName)); sb.append(", providerServiceName=").append(String.valueOf(this.providerServiceName)); sb.append(", publicPrefixes=").append(String.valueOf(this.publicPrefixes)); sb.append(", region=").append(String.valueOf(this.region)); sb.append(", type=").append(String.valueOf(this.type)); + sb.append(", ipMtu=").append(String.valueOf(this.ipMtu)); sb.append(")"); return sb.toString(); } @@ -699,15 +1137,24 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.bandwidthShapeName, other.bandwidthShapeName) && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.crossConnectMappings, other.crossConnectMappings) + && java.util.Objects.equals(this.routingPolicy, other.routingPolicy) + && java.util.Objects.equals(this.bgpAdminState, other.bgpAdminState) + && java.util.Objects.equals(this.isBfdEnabled, other.isBfdEnabled) && java.util.Objects.equals(this.customerBgpAsn, other.customerBgpAsn) + && java.util.Objects.equals(this.customerAsn, other.customerAsn) + && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.gatewayId, other.gatewayId) && java.util.Objects.equals(this.providerName, other.providerName) && java.util.Objects.equals(this.providerServiceId, other.providerServiceId) + && java.util.Objects.equals( + this.providerServiceKeyName, other.providerServiceKeyName) && java.util.Objects.equals(this.providerServiceName, other.providerServiceName) && java.util.Objects.equals(this.publicPrefixes, other.publicPrefixes) && java.util.Objects.equals(this.region, other.region) && java.util.Objects.equals(this.type, other.type) + && java.util.Objects.equals(this.ipMtu, other.ipMtu) && super.equals(other); } @@ -728,15 +1175,30 @@ public int hashCode() { + (this.crossConnectMappings == null ? 43 : this.crossConnectMappings.hashCode()); + result = + (result * PRIME) + + (this.routingPolicy == null ? 43 : this.routingPolicy.hashCode()); + result = + (result * PRIME) + + (this.bgpAdminState == null ? 43 : this.bgpAdminState.hashCode()); + result = (result * PRIME) + (this.isBfdEnabled == null ? 43 : this.isBfdEnabled.hashCode()); result = (result * PRIME) + (this.customerBgpAsn == null ? 43 : this.customerBgpAsn.hashCode()); + result = (result * PRIME) + (this.customerAsn == null ? 43 : this.customerAsn.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.gatewayId == null ? 43 : this.gatewayId.hashCode()); result = (result * PRIME) + (this.providerName == null ? 43 : this.providerName.hashCode()); result = (result * PRIME) + (this.providerServiceId == null ? 43 : this.providerServiceId.hashCode()); + result = + (result * PRIME) + + (this.providerServiceKeyName == null + ? 43 + : this.providerServiceKeyName.hashCode()); result = (result * PRIME) + (this.providerServiceName == null @@ -747,6 +1209,7 @@ public int hashCode() { + (this.publicPrefixes == null ? 43 : this.publicPrefixes.hashCode()); result = (result * PRIME) + (this.region == null ? 43 : this.region.hashCode()); result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + (this.ipMtu == null ? 43 : this.ipMtu.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVlanDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVlanDetails.java new file mode 100644 index 00000000000..43634aab268 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVlanDetails.java @@ -0,0 +1,634 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateVlanDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateVlanDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "availabilityDomain", + "cidrBlock", + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "nsgIds", + "routeTableId", + "vcnId", + "vlanTag" + }) + public CreateVlanDetails( + String availabilityDomain, + String cidrBlock, + String compartmentId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + java.util.List nsgIds, + String routeTableId, + String vcnId, + Integer vlanTag) { + super(); + this.availabilityDomain = availabilityDomain; + this.cidrBlock = cidrBlock; + this.compartmentId = compartmentId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.nsgIds = nsgIds; + this.routeTableId = routeTableId; + this.vcnId = vcnId; + this.vlanTag = vlanTag; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Controls whether the VLAN is regional or specific to an availability domain. A regional + * VLAN has the flexibility to implement failover across availability domains. Previously, + * all VLANs were AD-specific. + * + *

To create a regional VLAN, omit this attribute. Resources created subsequently in this + * VLAN (such as a Compute instance) can be created in any availability domain in the + * region. + * + *

To create an AD-specific VLAN, use this attribute to specify the availability domain. + * Resources created in this VLAN must be in that availability domain. + * + *

Example: {@code Uocm:PHX-AD-1} + */ + @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain") + private String availabilityDomain; + + /** + * Controls whether the VLAN is regional or specific to an availability domain. A regional + * VLAN has the flexibility to implement failover across availability domains. Previously, + * all VLANs were AD-specific. + * + *

To create a regional VLAN, omit this attribute. Resources created subsequently in this + * VLAN (such as a Compute instance) can be created in any availability domain in the + * region. + * + *

To create an AD-specific VLAN, use this attribute to specify the availability domain. + * Resources created in this VLAN must be in that availability domain. + * + *

Example: {@code Uocm:PHX-AD-1} + * + * @param availabilityDomain the value to set + * @return this builder + */ + public Builder availabilityDomain(String availabilityDomain) { + this.availabilityDomain = availabilityDomain; + this.__explicitlySet__.add("availabilityDomain"); + return this; + } + /** + * The range of IPv4 addresses that will be used for layer 3 communication with hosts + * outside the VLAN. The CIDR must maintain the following rules - + * + *

1. The CIDR block is valid and correctly formatted. 2. The new range is within one of + * the parent VCN ranges. + * + *

Example: {@code 192.0.2.0/24} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private String cidrBlock; + + /** + * The range of IPv4 addresses that will be used for layer 3 communication with hosts + * outside the VLAN. The CIDR must maintain the following rules - + * + *

1. The CIDR block is valid and correctly formatted. 2. The new range is within one of + * the parent VCN ranges. + * + *

Example: {@code 192.0.2.0/24} + * + * @param cidrBlock the value to set + * @return this builder + */ + public Builder cidrBlock(String cidrBlock) { + this.cidrBlock = cidrBlock; + this.__explicitlySet__.add("cidrBlock"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to contain the VLAN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment to contain the VLAN. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * A list of the OCIDs of the network security groups (NSGs) to add all VNICs in the VLAN + * to. For more information about NSGs, see {@link NetworkSecurityGroup}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") + private java.util.List nsgIds; + + /** + * A list of the OCIDs of the network security groups (NSGs) to add all VNICs in the VLAN + * to. For more information about NSGs, see {@link NetworkSecurityGroup}. + * + * @param nsgIds the value to set + * @return this builder + */ + public Builder nsgIds(java.util.List nsgIds) { + this.nsgIds = nsgIds; + this.__explicitlySet__.add("nsgIds"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the VLAN will use. If you don't provide a value, the VLAN uses the + * VCN's default route table. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the VLAN will use. If you don't provide a value, the VLAN uses the + * VCN's default route table. + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN to contain the VLAN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN to contain the VLAN. + * + * @param vcnId the value to set + * @return this builder + */ + public Builder vcnId(String vcnId) { + this.vcnId = vcnId; + this.__explicitlySet__.add("vcnId"); + return this; + } + /** + * The IEEE 802.1Q VLAN tag for this VLAN. The value must be unique across all VLANs in the + * VCN. If you don't provide a value, Oracle assigns one. You cannot change the value later. + * VLAN tag 0 is reserved for use by Oracle. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlanTag") + private Integer vlanTag; + + /** + * The IEEE 802.1Q VLAN tag for this VLAN. The value must be unique across all VLANs in the + * VCN. If you don't provide a value, Oracle assigns one. You cannot change the value later. + * VLAN tag 0 is reserved for use by Oracle. + * + * @param vlanTag the value to set + * @return this builder + */ + public Builder vlanTag(Integer vlanTag) { + this.vlanTag = vlanTag; + this.__explicitlySet__.add("vlanTag"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateVlanDetails build() { + CreateVlanDetails model = + new CreateVlanDetails( + this.availabilityDomain, + this.cidrBlock, + this.compartmentId, + this.definedTags, + this.displayName, + this.freeformTags, + this.nsgIds, + this.routeTableId, + this.vcnId, + this.vlanTag); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateVlanDetails model) { + if (model.wasPropertyExplicitlySet("availabilityDomain")) { + this.availabilityDomain(model.getAvailabilityDomain()); + } + if (model.wasPropertyExplicitlySet("cidrBlock")) { + this.cidrBlock(model.getCidrBlock()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("nsgIds")) { + this.nsgIds(model.getNsgIds()); + } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } + if (model.wasPropertyExplicitlySet("vcnId")) { + this.vcnId(model.getVcnId()); + } + if (model.wasPropertyExplicitlySet("vlanTag")) { + this.vlanTag(model.getVlanTag()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Controls whether the VLAN is regional or specific to an availability domain. A regional VLAN + * has the flexibility to implement failover across availability domains. Previously, all VLANs + * were AD-specific. + * + *

To create a regional VLAN, omit this attribute. Resources created subsequently in this + * VLAN (such as a Compute instance) can be created in any availability domain in the region. + * + *

To create an AD-specific VLAN, use this attribute to specify the availability domain. + * Resources created in this VLAN must be in that availability domain. + * + *

Example: {@code Uocm:PHX-AD-1} + */ + @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain") + private final String availabilityDomain; + + /** + * Controls whether the VLAN is regional or specific to an availability domain. A regional VLAN + * has the flexibility to implement failover across availability domains. Previously, all VLANs + * were AD-specific. + * + *

To create a regional VLAN, omit this attribute. Resources created subsequently in this + * VLAN (such as a Compute instance) can be created in any availability domain in the region. + * + *

To create an AD-specific VLAN, use this attribute to specify the availability domain. + * Resources created in this VLAN must be in that availability domain. + * + *

Example: {@code Uocm:PHX-AD-1} + * + * @return the value + */ + public String getAvailabilityDomain() { + return availabilityDomain; + } + + /** + * The range of IPv4 addresses that will be used for layer 3 communication with hosts outside + * the VLAN. The CIDR must maintain the following rules - + * + *

1. The CIDR block is valid and correctly formatted. 2. The new range is within one of the + * parent VCN ranges. + * + *

Example: {@code 192.0.2.0/24} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private final String cidrBlock; + + /** + * The range of IPv4 addresses that will be used for layer 3 communication with hosts outside + * the VLAN. The CIDR must maintain the following rules - + * + *

1. The CIDR block is valid and correctly formatted. 2. The new range is within one of the + * parent VCN ranges. + * + *

Example: {@code 192.0.2.0/24} + * + * @return the value + */ + public String getCidrBlock() { + return cidrBlock; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to contain the VLAN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment to contain the VLAN. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * A list of the OCIDs of the network security groups (NSGs) to add all VNICs in the VLAN to. + * For more information about NSGs, see {@link NetworkSecurityGroup}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") + private final java.util.List nsgIds; + + /** + * A list of the OCIDs of the network security groups (NSGs) to add all VNICs in the VLAN to. + * For more information about NSGs, see {@link NetworkSecurityGroup}. + * + * @return the value + */ + public java.util.List getNsgIds() { + return nsgIds; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the VLAN will use. If you don't provide a value, the VLAN uses the VCN's + * default route table. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the VLAN will use. If you don't provide a value, the VLAN uses the VCN's + * default route table. + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN to contain the VLAN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private final String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN to contain the VLAN. + * + * @return the value + */ + public String getVcnId() { + return vcnId; + } + + /** + * The IEEE 802.1Q VLAN tag for this VLAN. The value must be unique across all VLANs in the VCN. + * If you don't provide a value, Oracle assigns one. You cannot change the value later. VLAN tag + * 0 is reserved for use by Oracle. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlanTag") + private final Integer vlanTag; + + /** + * The IEEE 802.1Q VLAN tag for this VLAN. The value must be unique across all VLANs in the VCN. + * If you don't provide a value, Oracle assigns one. You cannot change the value later. VLAN tag + * 0 is reserved for use by Oracle. + * + * @return the value + */ + public Integer getVlanTag() { + return vlanTag; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CreateVlanDetails("); + sb.append("super=").append(super.toString()); + sb.append("availabilityDomain=").append(String.valueOf(this.availabilityDomain)); + sb.append(", cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", nsgIds=").append(String.valueOf(this.nsgIds)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); + sb.append(", vcnId=").append(String.valueOf(this.vcnId)); + sb.append(", vlanTag=").append(String.valueOf(this.vlanTag)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateVlanDetails)) { + return false; + } + + CreateVlanDetails other = (CreateVlanDetails) o; + return java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain) + && java.util.Objects.equals(this.cidrBlock, other.cidrBlock) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.nsgIds, other.nsgIds) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) + && java.util.Objects.equals(this.vcnId, other.vcnId) + && java.util.Objects.equals(this.vlanTag, other.vlanTag) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.availabilityDomain == null + ? 43 + : this.availabilityDomain.hashCode()); + result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.nsgIds == null ? 43 : this.nsgIds.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); + result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); + result = (result * PRIME) + (this.vlanTag == null ? 43 : this.vlanTag.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVnicDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVnicDetails.java index 2eb6348c496..087dbe4fc65 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVnicDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVnicDetails.java @@ -28,6 +28,7 @@ public final class CreateVnicDetails @Deprecated @java.beans.ConstructorProperties({ "assignPublicIp", + "assignPrivateDnsRecord", "definedTags", "displayName", "freeformTags", @@ -35,10 +36,12 @@ public final class CreateVnicDetails "nsgIds", "privateIp", "skipSourceDestCheck", - "subnetId" + "subnetId", + "vlanId" }) public CreateVnicDetails( Boolean assignPublicIp, + Boolean assignPrivateDnsRecord, java.util.Map> definedTags, String displayName, java.util.Map freeformTags, @@ -46,9 +49,11 @@ public CreateVnicDetails( java.util.List nsgIds, String privateIp, Boolean skipSourceDestCheck, - String subnetId) { + String subnetId, + String vlanId) { super(); this.assignPublicIp = assignPublicIp; + this.assignPrivateDnsRecord = assignPrivateDnsRecord; this.definedTags = definedTags; this.displayName = displayName; this.freeformTags = freeformTags; @@ -57,6 +62,7 @@ public CreateVnicDetails( this.privateIp = privateIp; this.skipSourceDestCheck = skipSourceDestCheck; this.subnetId = subnetId; + this.vlanId = vlanId; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -80,6 +86,9 @@ public static class Builder { * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). * *

Example: {@code false} + * + *

If you specify a {@code vlanId}, then {@code assignPublicIp} must be set to false. See + * {@link Vlan}. */ @com.fasterxml.jackson.annotation.JsonProperty("assignPublicIp") private Boolean assignPublicIp; @@ -104,6 +113,9 @@ public static class Builder { * *

Example: {@code false} * + *

If you specify a {@code vlanId}, then {@code assignPublicIp} must be set to false. See + * {@link Vlan}. + * * @param assignPublicIp the value to set * @return this builder */ @@ -112,6 +124,33 @@ public Builder assignPublicIp(Boolean assignPublicIp) { this.__explicitlySet__.add("assignPublicIp"); return this; } + /** + * Whether the VNIC should be assigned a DNS record. If set to false, there will be no DNS + * record registration for the VNIC. If set to true, the DNS record will be registered. The + * default value is true. + * + *

If you specify a {@code hostnameLabel}, then {@code assignPrivateDnsRecord} must be + * set to true. + */ + @com.fasterxml.jackson.annotation.JsonProperty("assignPrivateDnsRecord") + private Boolean assignPrivateDnsRecord; + + /** + * Whether the VNIC should be assigned a DNS record. If set to false, there will be no DNS + * record registration for the VNIC. If set to true, the DNS record will be registered. The + * default value is true. + * + *

If you specify a {@code hostnameLabel}, then {@code assignPrivateDnsRecord} must be + * set to true. + * + * @param assignPrivateDnsRecord the value to set + * @return this builder + */ + public Builder assignPrivateDnsRecord(Boolean assignPrivateDnsRecord) { + this.assignPrivateDnsRecord = assignPrivateDnsRecord; + this.__explicitlySet__.add("assignPrivateDnsRecord"); + return this; + } /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {"foo-namespace": {"bar-key": "value"}}} @@ -173,7 +212,7 @@ public Builder freeformTags(java.util.Map freeformTags) { /** * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname * portion of the primary private IP's fully qualified domain name (FQDN) (for example, - * {@code bminstance-1} in FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be + * {@code bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be * unique across all VNICs in the subnet and comply with [RFC * 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object @@ -188,7 +227,10 @@ public Builder freeformTags(java.util.Map freeformTags) { * {@code hostnameLabel} in {@link #launchInstanceDetails(LaunchInstanceDetailsRequest) * launchInstanceDetails}. If you provide both, the values must match. * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} + * + *

If you specify a {@code vlanId}, the {@code hostnameLabel} cannot be specified. VNICs + * on a VLAN can not be assigned a hostname. See {@link Vlan}. */ @com.fasterxml.jackson.annotation.JsonProperty("hostnameLabel") private String hostnameLabel; @@ -196,7 +238,7 @@ public Builder freeformTags(java.util.Map freeformTags) { /** * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname * portion of the primary private IP's fully qualified domain name (FQDN) (for example, - * {@code bminstance-1} in FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be + * {@code bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be * unique across all VNICs in the subnet and comply with [RFC * 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object @@ -211,7 +253,10 @@ public Builder freeformTags(java.util.Map freeformTags) { * {@code hostnameLabel} in {@link #launchInstanceDetails(LaunchInstanceDetailsRequest) * launchInstanceDetails}. If you provide both, the values must match. * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} + * + *

If you specify a {@code vlanId}, the {@code hostnameLabel} cannot be specified. VNICs + * on a VLAN can not be assigned a hostname. See {@link Vlan}. * * @param hostnameLabel the value to set * @return this builder @@ -224,6 +269,11 @@ public Builder hostnameLabel(String hostnameLabel) { /** * A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more * information about NSGs, see {@link NetworkSecurityGroup}. + * + *

If a {@code vlanId} is specified, the {@code nsgIds} cannot be specified. The {@code + * vlanId} indicates that the VNIC will belong to a VLAN instead of a subnet. With VLANs, + * all VNICs in the VLAN belong to the NSGs that are associated with the VLAN. See {@link + * Vlan}. */ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") private java.util.List nsgIds; @@ -232,6 +282,11 @@ public Builder hostnameLabel(String hostnameLabel) { * A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more * information about NSGs, see {@link NetworkSecurityGroup}. * + *

If a {@code vlanId} is specified, the {@code nsgIds} cannot be specified. The {@code + * vlanId} indicates that the VNIC will belong to a VLAN instead of a subnet. With VLANs, + * all VNICs in the VLAN belong to the NSGs that are associated with the VLAN. See {@link + * Vlan}. + * * @param nsgIds the value to set * @return this builder */ @@ -248,6 +303,9 @@ public Builder nsgIds(java.util.List nsgIds) { * object returned by {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and * {@link #getPrivateIp(GetPrivateIpRequest) getPrivateIp}. * + *

If you specify a {@code vlanId}, the {@code privateIp} cannot be specified. See {@link + * Vlan}. + * *

Example: {@code 10.0.3.3} */ @com.fasterxml.jackson.annotation.JsonProperty("privateIp") @@ -261,6 +319,9 @@ public Builder nsgIds(java.util.List nsgIds) { * object returned by {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and * {@link #getPrivateIp(GetPrivateIpRequest) getPrivateIp}. * + *

If you specify a {@code vlanId}, the {@code privateIp} cannot be specified. See {@link + * Vlan}. + * *

Example: {@code 10.0.3.3} * * @param privateIp the value to set @@ -277,6 +338,10 @@ public Builder privateIp(String privateIp) { * source/destination check, see [Using a Private IP as a Route * Target](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). * + *

If you specify a {@code vlanId}, the {@code skipSourceDestCheck} cannot be specified + * because the source/destination check is always disabled for VNICs in a VLAN. See {@link + * Vlan}. + * *

Example: {@code true} */ @com.fasterxml.jackson.annotation.JsonProperty("skipSourceDestCheck") @@ -288,6 +353,10 @@ public Builder privateIp(String privateIp) { * source/destination check, see [Using a Private IP as a Route * Target](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). * + *

If you specify a {@code vlanId}, the {@code skipSourceDestCheck} cannot be specified + * because the source/destination check is always disabled for VNICs in a VLAN. See {@link + * Vlan}. + * *

Example: {@code true} * * @param skipSourceDestCheck the value to set @@ -304,6 +373,10 @@ public Builder skipSourceDestCheck(Boolean skipSourceDestCheck) { * subnetId} instead of the deprecated {@code subnetId} in {@link * #launchInstanceDetails(LaunchInstanceDetailsRequest) launchInstanceDetails}. At least one * of them is required; if you provide both, the values must match. + * + *

If you are an Oracle Cloud VMware Solution customer and creating a secondary VNIC in a + * VLAN instead of a subnet, provide a {@code vlanId} instead of a {@code subnetId}. If you + * provide both a {@code vlanId} and {@code subnetId}, the request fails. */ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") private String subnetId; @@ -315,6 +388,10 @@ public Builder skipSourceDestCheck(Boolean skipSourceDestCheck) { * #launchInstanceDetails(LaunchInstanceDetailsRequest) launchInstanceDetails}. At least one * of them is required; if you provide both, the values must match. * + *

If you are an Oracle Cloud VMware Solution customer and creating a secondary VNIC in a + * VLAN instead of a subnet, provide a {@code vlanId} instead of a {@code subnetId}. If you + * provide both a {@code vlanId} and {@code subnetId}, the request fails. + * * @param subnetId the value to set * @return this builder */ @@ -323,6 +400,35 @@ public Builder subnetId(String subnetId) { this.__explicitlySet__.add("subnetId"); return this; } + /** + * Provide this attribute only if you are an Oracle Cloud VMware Solution customer and + * creating a secondary VNIC in a VLAN. The value is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VLAN. See {@link Vlan}. + * + *

Provide a {@code vlanId} instead of a {@code subnetId}. If you provide both a {@code + * vlanId} and {@code subnetId}, the request fails. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlanId") + private String vlanId; + + /** + * Provide this attribute only if you are an Oracle Cloud VMware Solution customer and + * creating a secondary VNIC in a VLAN. The value is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VLAN. See {@link Vlan}. + * + *

Provide a {@code vlanId} instead of a {@code subnetId}. If you provide both a {@code + * vlanId} and {@code subnetId}, the request fails. + * + * @param vlanId the value to set + * @return this builder + */ + public Builder vlanId(String vlanId) { + this.vlanId = vlanId; + this.__explicitlySet__.add("vlanId"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -331,6 +437,7 @@ public CreateVnicDetails build() { CreateVnicDetails model = new CreateVnicDetails( this.assignPublicIp, + this.assignPrivateDnsRecord, this.definedTags, this.displayName, this.freeformTags, @@ -338,7 +445,8 @@ public CreateVnicDetails build() { this.nsgIds, this.privateIp, this.skipSourceDestCheck, - this.subnetId); + this.subnetId, + this.vlanId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -350,6 +458,9 @@ public Builder copy(CreateVnicDetails model) { if (model.wasPropertyExplicitlySet("assignPublicIp")) { this.assignPublicIp(model.getAssignPublicIp()); } + if (model.wasPropertyExplicitlySet("assignPrivateDnsRecord")) { + this.assignPrivateDnsRecord(model.getAssignPrivateDnsRecord()); + } if (model.wasPropertyExplicitlySet("definedTags")) { this.definedTags(model.getDefinedTags()); } @@ -374,6 +485,9 @@ public Builder copy(CreateVnicDetails model) { if (model.wasPropertyExplicitlySet("subnetId")) { this.subnetId(model.getSubnetId()); } + if (model.wasPropertyExplicitlySet("vlanId")) { + this.vlanId(model.getVlanId()); + } return this; } } @@ -406,6 +520,9 @@ public Builder toBuilder() { * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). * *

Example: {@code false} + * + *

If you specify a {@code vlanId}, then {@code assignPublicIp} must be set to false. See + * {@link Vlan}. */ @com.fasterxml.jackson.annotation.JsonProperty("assignPublicIp") private final Boolean assignPublicIp; @@ -430,12 +547,40 @@ public Builder toBuilder() { * *

Example: {@code false} * + *

If you specify a {@code vlanId}, then {@code assignPublicIp} must be set to false. See + * {@link Vlan}. + * * @return the value */ public Boolean getAssignPublicIp() { return assignPublicIp; } + /** + * Whether the VNIC should be assigned a DNS record. If set to false, there will be no DNS + * record registration for the VNIC. If set to true, the DNS record will be registered. The + * default value is true. + * + *

If you specify a {@code hostnameLabel}, then {@code assignPrivateDnsRecord} must be set to + * true. + */ + @com.fasterxml.jackson.annotation.JsonProperty("assignPrivateDnsRecord") + private final Boolean assignPrivateDnsRecord; + + /** + * Whether the VNIC should be assigned a DNS record. If set to false, there will be no DNS + * record registration for the VNIC. If set to true, the DNS record will be registered. The + * default value is true. + * + *

If you specify a {@code hostnameLabel}, then {@code assignPrivateDnsRecord} must be set to + * true. + * + * @return the value + */ + public Boolean getAssignPrivateDnsRecord() { + return assignPrivateDnsRecord; + } + /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: * {@code {"foo-namespace": {"bar-key": "value"}}} @@ -490,10 +635,10 @@ public java.util.Map getFreeformTags() { /** * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname * portion of the primary private IP's fully qualified domain name (FQDN) (for example, {@code - * bminstance-1} in FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique - * across all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) - * and [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} - * object and also the {@link PrivateIp} object returned by {@link + * bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across + * all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and + * [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object + * and also the {@link PrivateIp} object returned by {@link * #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}. * @@ -504,7 +649,10 @@ public java.util.Map getFreeformTags() { * {@code hostnameLabel} in {@link #launchInstanceDetails(LaunchInstanceDetailsRequest) * launchInstanceDetails}. If you provide both, the values must match. * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} + * + *

If you specify a {@code vlanId}, the {@code hostnameLabel} cannot be specified. VNICs on a + * VLAN can not be assigned a hostname. See {@link Vlan}. */ @com.fasterxml.jackson.annotation.JsonProperty("hostnameLabel") private final String hostnameLabel; @@ -512,10 +660,10 @@ public java.util.Map getFreeformTags() { /** * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname * portion of the primary private IP's fully qualified domain name (FQDN) (for example, {@code - * bminstance-1} in FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique - * across all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) - * and [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} - * object and also the {@link PrivateIp} object returned by {@link + * bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across + * all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and + * [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object + * and also the {@link PrivateIp} object returned by {@link * #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}. * @@ -526,7 +674,10 @@ public java.util.Map getFreeformTags() { * {@code hostnameLabel} in {@link #launchInstanceDetails(LaunchInstanceDetailsRequest) * launchInstanceDetails}. If you provide both, the values must match. * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} + * + *

If you specify a {@code vlanId}, the {@code hostnameLabel} cannot be specified. VNICs on a + * VLAN can not be assigned a hostname. See {@link Vlan}. * * @return the value */ @@ -537,6 +688,10 @@ public String getHostnameLabel() { /** * A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more * information about NSGs, see {@link NetworkSecurityGroup}. + * + *

If a {@code vlanId} is specified, the {@code nsgIds} cannot be specified. The {@code + * vlanId} indicates that the VNIC will belong to a VLAN instead of a subnet. With VLANs, all + * VNICs in the VLAN belong to the NSGs that are associated with the VLAN. See {@link Vlan}. */ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") private final java.util.List nsgIds; @@ -545,6 +700,10 @@ public String getHostnameLabel() { * A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more * information about NSGs, see {@link NetworkSecurityGroup}. * + *

If a {@code vlanId} is specified, the {@code nsgIds} cannot be specified. The {@code + * vlanId} indicates that the VNIC will belong to a VLAN instead of a subnet. With VLANs, all + * VNICs in the VLAN belong to the NSGs that are associated with the VLAN. See {@link Vlan}. + * * @return the value */ public java.util.List getNsgIds() { @@ -559,6 +718,9 @@ public java.util.List getNsgIds() { * {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}. * + *

If you specify a {@code vlanId}, the {@code privateIp} cannot be specified. See {@link + * Vlan}. + * *

Example: {@code 10.0.3.3} */ @com.fasterxml.jackson.annotation.JsonProperty("privateIp") @@ -572,6 +734,9 @@ public java.util.List getNsgIds() { * {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}. * + *

If you specify a {@code vlanId}, the {@code privateIp} cannot be specified. See {@link + * Vlan}. + * *

Example: {@code 10.0.3.3} * * @return the value @@ -586,6 +751,10 @@ public String getPrivateIp() { * source/destination check, see [Using a Private IP as a Route * Target](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). * + *

If you specify a {@code vlanId}, the {@code skipSourceDestCheck} cannot be specified + * because the source/destination check is always disabled for VNICs in a VLAN. See {@link + * Vlan}. + * *

Example: {@code true} */ @com.fasterxml.jackson.annotation.JsonProperty("skipSourceDestCheck") @@ -597,6 +766,10 @@ public String getPrivateIp() { * source/destination check, see [Using a Private IP as a Route * Target](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). * + *

If you specify a {@code vlanId}, the {@code skipSourceDestCheck} cannot be specified + * because the source/destination check is always disabled for VNICs in a VLAN. See {@link + * Vlan}. + * *

Example: {@code true} * * @return the value @@ -611,6 +784,10 @@ public Boolean getSkipSourceDestCheck() { * instead of the deprecated {@code subnetId} in {@link * #launchInstanceDetails(LaunchInstanceDetailsRequest) launchInstanceDetails}. At least one of * them is required; if you provide both, the values must match. + * + *

If you are an Oracle Cloud VMware Solution customer and creating a secondary VNIC in a + * VLAN instead of a subnet, provide a {@code vlanId} instead of a {@code subnetId}. If you + * provide both a {@code vlanId} and {@code subnetId}, the request fails. */ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") private final String subnetId; @@ -622,12 +799,43 @@ public Boolean getSkipSourceDestCheck() { * #launchInstanceDetails(LaunchInstanceDetailsRequest) launchInstanceDetails}. At least one of * them is required; if you provide both, the values must match. * + *

If you are an Oracle Cloud VMware Solution customer and creating a secondary VNIC in a + * VLAN instead of a subnet, provide a {@code vlanId} instead of a {@code subnetId}. If you + * provide both a {@code vlanId} and {@code subnetId}, the request fails. + * * @return the value */ public String getSubnetId() { return subnetId; } + /** + * Provide this attribute only if you are an Oracle Cloud VMware Solution customer and creating + * a secondary VNIC in a VLAN. The value is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * VLAN. See {@link Vlan}. + * + *

Provide a {@code vlanId} instead of a {@code subnetId}. If you provide both a {@code + * vlanId} and {@code subnetId}, the request fails. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlanId") + private final String vlanId; + + /** + * Provide this attribute only if you are an Oracle Cloud VMware Solution customer and creating + * a secondary VNIC in a VLAN. The value is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * VLAN. See {@link Vlan}. + * + *

Provide a {@code vlanId} instead of a {@code subnetId}. If you provide both a {@code + * vlanId} and {@code subnetId}, the request fails. + * + * @return the value + */ + public String getVlanId() { + return vlanId; + } + @Override public String toString() { return this.toString(true); @@ -644,6 +852,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("CreateVnicDetails("); sb.append("super=").append(super.toString()); sb.append("assignPublicIp=").append(String.valueOf(this.assignPublicIp)); + sb.append(", assignPrivateDnsRecord=").append(String.valueOf(this.assignPrivateDnsRecord)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); @@ -652,6 +861,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", privateIp=").append(String.valueOf(this.privateIp)); sb.append(", skipSourceDestCheck=").append(String.valueOf(this.skipSourceDestCheck)); sb.append(", subnetId=").append(String.valueOf(this.subnetId)); + sb.append(", vlanId=").append(String.valueOf(this.vlanId)); sb.append(")"); return sb.toString(); } @@ -667,6 +877,8 @@ public boolean equals(Object o) { CreateVnicDetails other = (CreateVnicDetails) o; return java.util.Objects.equals(this.assignPublicIp, other.assignPublicIp) + && java.util.Objects.equals( + this.assignPrivateDnsRecord, other.assignPrivateDnsRecord) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) @@ -675,6 +887,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.privateIp, other.privateIp) && java.util.Objects.equals(this.skipSourceDestCheck, other.skipSourceDestCheck) && java.util.Objects.equals(this.subnetId, other.subnetId) + && java.util.Objects.equals(this.vlanId, other.vlanId) && super.equals(other); } @@ -685,6 +898,11 @@ public int hashCode() { result = (result * PRIME) + (this.assignPublicIp == null ? 43 : this.assignPublicIp.hashCode()); + result = + (result * PRIME) + + (this.assignPrivateDnsRecord == null + ? 43 + : this.assignPrivateDnsRecord.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); @@ -699,6 +917,7 @@ public int hashCode() { ? 43 : this.skipSourceDestCheck.hashCode()); result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode()); + result = (result * PRIME) + (this.vlanId == null ? 43 : this.vlanId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVtapDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVtapDetails.java new file mode 100644 index 00000000000..babc6e8598a --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CreateVtapDetails.java @@ -0,0 +1,1058 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * These details are included in a request to create a virtual test access point (VTAP).
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CreateVtapDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CreateVtapDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "compartmentId", + "vcnId", + "definedTags", + "displayName", + "freeformTags", + "sourceId", + "targetId", + "targetIp", + "captureFilterId", + "encapsulationProtocol", + "vxlanNetworkIdentifier", + "isVtapEnabled", + "sourceType", + "trafficMode", + "maxPacketSize", + "targetType", + "sourcePrivateEndpointIp", + "sourcePrivateEndpointSubnetId" + }) + public CreateVtapDetails( + String compartmentId, + String vcnId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + String sourceId, + String targetId, + String targetIp, + String captureFilterId, + EncapsulationProtocol encapsulationProtocol, + Long vxlanNetworkIdentifier, + Boolean isVtapEnabled, + SourceType sourceType, + TrafficMode trafficMode, + Integer maxPacketSize, + TargetType targetType, + String sourcePrivateEndpointIp, + String sourcePrivateEndpointSubnetId) { + super(); + this.compartmentId = compartmentId; + this.vcnId = vcnId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.sourceId = sourceId; + this.targetId = targetId; + this.targetIp = targetIp; + this.captureFilterId = captureFilterId; + this.encapsulationProtocol = encapsulationProtocol; + this.vxlanNetworkIdentifier = vxlanNetworkIdentifier; + this.isVtapEnabled = isVtapEnabled; + this.sourceType = sourceType; + this.trafficMode = trafficMode; + this.maxPacketSize = maxPacketSize; + this.targetType = targetType; + this.sourcePrivateEndpointIp = sourcePrivateEndpointIp; + this.sourcePrivateEndpointSubnetId = sourcePrivateEndpointSubnetId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the {@code Vtap} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the {@code Vtap} resource. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN containing the {@code Vtap} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN containing the {@code Vtap} resource. + * + * @param vcnId the value to set + * @return this builder + */ + public Builder vcnId(String vcnId) { + this.vcnId = vcnId; + this.__explicitlySet__.add("vcnId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the source point where packets are captured. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceId") + private String sourceId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the source point where packets are captured. + * + * @param sourceId the value to set + * @return this builder + */ + public Builder sourceId(String sourceId) { + this.sourceId = sourceId; + this.__explicitlySet__.add("sourceId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination resource where mirrored packets are sent. + */ + @com.fasterxml.jackson.annotation.JsonProperty("targetId") + private String targetId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination resource where mirrored packets are sent. + * + * @param targetId the value to set + * @return this builder + */ + public Builder targetId(String targetId) { + this.targetId = targetId; + this.__explicitlySet__.add("targetId"); + return this; + } + /** The IP address of the destination resource where mirrored packets are sent. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetIp") + private String targetIp; + + /** + * The IP address of the destination resource where mirrored packets are sent. + * + * @param targetIp the value to set + * @return this builder + */ + public Builder targetIp(String targetIp) { + this.targetIp = targetIp; + this.__explicitlySet__.add("targetIp"); + return this; + } + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + */ + @com.fasterxml.jackson.annotation.JsonProperty("captureFilterId") + private String captureFilterId; + + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + * + * @param captureFilterId the value to set + * @return this builder + */ + public Builder captureFilterId(String captureFilterId) { + this.captureFilterId = captureFilterId; + this.__explicitlySet__.add("captureFilterId"); + return this; + } + /** Defines an encapsulation header type for the VTAP's mirrored traffic. */ + @com.fasterxml.jackson.annotation.JsonProperty("encapsulationProtocol") + private EncapsulationProtocol encapsulationProtocol; + + /** + * Defines an encapsulation header type for the VTAP's mirrored traffic. + * + * @param encapsulationProtocol the value to set + * @return this builder + */ + public Builder encapsulationProtocol(EncapsulationProtocol encapsulationProtocol) { + this.encapsulationProtocol = encapsulationProtocol; + this.__explicitlySet__.add("encapsulationProtocol"); + return this; + } + /** + * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely + * identifies the VXLAN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vxlanNetworkIdentifier") + private Long vxlanNetworkIdentifier; + + /** + * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely + * identifies the VXLAN. + * + * @param vxlanNetworkIdentifier the value to set + * @return this builder + */ + public Builder vxlanNetworkIdentifier(Long vxlanNetworkIdentifier) { + this.vxlanNetworkIdentifier = vxlanNetworkIdentifier; + this.__explicitlySet__.add("vxlanNetworkIdentifier"); + return this; + } + /** + * Used to start or stop a {@code Vtap} resource. + * + *

{@code TRUE} directs the VTAP to start mirroring traffic. * {@code FALSE} (Default) + * directs the VTAP to stop mirroring traffic. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isVtapEnabled") + private Boolean isVtapEnabled; + + /** + * Used to start or stop a {@code Vtap} resource. + * + *

{@code TRUE} directs the VTAP to start mirroring traffic. * {@code FALSE} (Default) + * directs the VTAP to stop mirroring traffic. + * + * @param isVtapEnabled the value to set + * @return this builder + */ + public Builder isVtapEnabled(Boolean isVtapEnabled) { + this.isVtapEnabled = isVtapEnabled; + this.__explicitlySet__.add("isVtapEnabled"); + return this; + } + /** The source type for the VTAP. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceType") + private SourceType sourceType; + + /** + * The source type for the VTAP. + * + * @param sourceType the value to set + * @return this builder + */ + public Builder sourceType(SourceType sourceType) { + this.sourceType = sourceType; + this.__explicitlySet__.add("sourceType"); + return this; + } + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the + * value is DEFAULT + */ + @com.fasterxml.jackson.annotation.JsonProperty("trafficMode") + private TrafficMode trafficMode; + + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the + * value is DEFAULT + * + * @param trafficMode the value to set + * @return this builder + */ + public Builder trafficMode(TrafficMode trafficMode) { + this.trafficMode = trafficMode; + this.__explicitlySet__.add("trafficMode"); + return this; + } + /** The maximum size of the packets to be included in the filter. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxPacketSize") + private Integer maxPacketSize; + + /** + * The maximum size of the packets to be included in the filter. + * + * @param maxPacketSize the value to set + * @return this builder + */ + public Builder maxPacketSize(Integer maxPacketSize) { + this.maxPacketSize = maxPacketSize; + this.__explicitlySet__.add("maxPacketSize"); + return this; + } + /** The target type for the VTAP. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetType") + private TargetType targetType; + + /** + * The target type for the VTAP. + * + * @param targetType the value to set + * @return this builder + */ + public Builder targetType(TargetType targetType) { + this.targetType = targetType; + this.__explicitlySet__.add("targetType"); + return this; + } + /** The IP Address of the source private endpoint. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePrivateEndpointIp") + private String sourcePrivateEndpointIp; + + /** + * The IP Address of the source private endpoint. + * + * @param sourcePrivateEndpointIp the value to set + * @return this builder + */ + public Builder sourcePrivateEndpointIp(String sourcePrivateEndpointIp) { + this.sourcePrivateEndpointIp = sourcePrivateEndpointIp; + this.__explicitlySet__.add("sourcePrivateEndpointIp"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the subnet that source private endpoint belongs to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePrivateEndpointSubnetId") + private String sourcePrivateEndpointSubnetId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the subnet that source private endpoint belongs to. + * + * @param sourcePrivateEndpointSubnetId the value to set + * @return this builder + */ + public Builder sourcePrivateEndpointSubnetId(String sourcePrivateEndpointSubnetId) { + this.sourcePrivateEndpointSubnetId = sourcePrivateEndpointSubnetId; + this.__explicitlySet__.add("sourcePrivateEndpointSubnetId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CreateVtapDetails build() { + CreateVtapDetails model = + new CreateVtapDetails( + this.compartmentId, + this.vcnId, + this.definedTags, + this.displayName, + this.freeformTags, + this.sourceId, + this.targetId, + this.targetIp, + this.captureFilterId, + this.encapsulationProtocol, + this.vxlanNetworkIdentifier, + this.isVtapEnabled, + this.sourceType, + this.trafficMode, + this.maxPacketSize, + this.targetType, + this.sourcePrivateEndpointIp, + this.sourcePrivateEndpointSubnetId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CreateVtapDetails model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("vcnId")) { + this.vcnId(model.getVcnId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("sourceId")) { + this.sourceId(model.getSourceId()); + } + if (model.wasPropertyExplicitlySet("targetId")) { + this.targetId(model.getTargetId()); + } + if (model.wasPropertyExplicitlySet("targetIp")) { + this.targetIp(model.getTargetIp()); + } + if (model.wasPropertyExplicitlySet("captureFilterId")) { + this.captureFilterId(model.getCaptureFilterId()); + } + if (model.wasPropertyExplicitlySet("encapsulationProtocol")) { + this.encapsulationProtocol(model.getEncapsulationProtocol()); + } + if (model.wasPropertyExplicitlySet("vxlanNetworkIdentifier")) { + this.vxlanNetworkIdentifier(model.getVxlanNetworkIdentifier()); + } + if (model.wasPropertyExplicitlySet("isVtapEnabled")) { + this.isVtapEnabled(model.getIsVtapEnabled()); + } + if (model.wasPropertyExplicitlySet("sourceType")) { + this.sourceType(model.getSourceType()); + } + if (model.wasPropertyExplicitlySet("trafficMode")) { + this.trafficMode(model.getTrafficMode()); + } + if (model.wasPropertyExplicitlySet("maxPacketSize")) { + this.maxPacketSize(model.getMaxPacketSize()); + } + if (model.wasPropertyExplicitlySet("targetType")) { + this.targetType(model.getTargetType()); + } + if (model.wasPropertyExplicitlySet("sourcePrivateEndpointIp")) { + this.sourcePrivateEndpointIp(model.getSourcePrivateEndpointIp()); + } + if (model.wasPropertyExplicitlySet("sourcePrivateEndpointSubnetId")) { + this.sourcePrivateEndpointSubnetId(model.getSourcePrivateEndpointSubnetId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the {@code Vtap} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the {@code Vtap} resource. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN containing the {@code Vtap} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private final String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN containing the {@code Vtap} resource. + * + * @return the value + */ + public String getVcnId() { + return vcnId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the source point where packets are captured. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceId") + private final String sourceId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the source point where packets are captured. + * + * @return the value + */ + public String getSourceId() { + return sourceId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination resource where mirrored packets are sent. + */ + @com.fasterxml.jackson.annotation.JsonProperty("targetId") + private final String targetId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination resource where mirrored packets are sent. + * + * @return the value + */ + public String getTargetId() { + return targetId; + } + + /** The IP address of the destination resource where mirrored packets are sent. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetIp") + private final String targetIp; + + /** + * The IP address of the destination resource where mirrored packets are sent. + * + * @return the value + */ + public String getTargetIp() { + return targetIp; + } + + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + */ + @com.fasterxml.jackson.annotation.JsonProperty("captureFilterId") + private final String captureFilterId; + + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + * + * @return the value + */ + public String getCaptureFilterId() { + return captureFilterId; + } + + /** Defines an encapsulation header type for the VTAP's mirrored traffic. */ + public enum EncapsulationProtocol implements com.oracle.bmc.http.internal.BmcEnum { + Vxlan("VXLAN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (EncapsulationProtocol v : EncapsulationProtocol.values()) { + map.put(v.getValue(), v); + } + } + + EncapsulationProtocol(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static EncapsulationProtocol create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid EncapsulationProtocol: " + key); + } + }; + /** Defines an encapsulation header type for the VTAP's mirrored traffic. */ + @com.fasterxml.jackson.annotation.JsonProperty("encapsulationProtocol") + private final EncapsulationProtocol encapsulationProtocol; + + /** + * Defines an encapsulation header type for the VTAP's mirrored traffic. + * + * @return the value + */ + public EncapsulationProtocol getEncapsulationProtocol() { + return encapsulationProtocol; + } + + /** + * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely + * identifies the VXLAN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vxlanNetworkIdentifier") + private final Long vxlanNetworkIdentifier; + + /** + * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely + * identifies the VXLAN. + * + * @return the value + */ + public Long getVxlanNetworkIdentifier() { + return vxlanNetworkIdentifier; + } + + /** + * Used to start or stop a {@code Vtap} resource. + * + *

{@code TRUE} directs the VTAP to start mirroring traffic. * {@code FALSE} (Default) + * directs the VTAP to stop mirroring traffic. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isVtapEnabled") + private final Boolean isVtapEnabled; + + /** + * Used to start or stop a {@code Vtap} resource. + * + *

{@code TRUE} directs the VTAP to start mirroring traffic. * {@code FALSE} (Default) + * directs the VTAP to stop mirroring traffic. + * + * @return the value + */ + public Boolean getIsVtapEnabled() { + return isVtapEnabled; + } + + /** The source type for the VTAP. */ + public enum SourceType implements com.oracle.bmc.http.internal.BmcEnum { + Vnic("VNIC"), + Subnet("SUBNET"), + LoadBalancer("LOAD_BALANCER"), + DbSystem("DB_SYSTEM"), + ExadataVmCluster("EXADATA_VM_CLUSTER"), + AutonomousDataWarehouse("AUTONOMOUS_DATA_WAREHOUSE"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SourceType v : SourceType.values()) { + map.put(v.getValue(), v); + } + } + + SourceType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SourceType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid SourceType: " + key); + } + }; + /** The source type for the VTAP. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceType") + private final SourceType sourceType; + + /** + * The source type for the VTAP. + * + * @return the value + */ + public SourceType getSourceType() { + return sourceType; + } + + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the value + * is DEFAULT + */ + public enum TrafficMode implements com.oracle.bmc.http.internal.BmcEnum { + Default("DEFAULT"), + Priority("PRIORITY"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (TrafficMode v : TrafficMode.values()) { + map.put(v.getValue(), v); + } + } + + TrafficMode(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static TrafficMode create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid TrafficMode: " + key); + } + }; + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the value + * is DEFAULT + */ + @com.fasterxml.jackson.annotation.JsonProperty("trafficMode") + private final TrafficMode trafficMode; + + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the value + * is DEFAULT + * + * @return the value + */ + public TrafficMode getTrafficMode() { + return trafficMode; + } + + /** The maximum size of the packets to be included in the filter. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxPacketSize") + private final Integer maxPacketSize; + + /** + * The maximum size of the packets to be included in the filter. + * + * @return the value + */ + public Integer getMaxPacketSize() { + return maxPacketSize; + } + + /** The target type for the VTAP. */ + public enum TargetType implements com.oracle.bmc.http.internal.BmcEnum { + Vnic("VNIC"), + NetworkLoadBalancer("NETWORK_LOAD_BALANCER"), + IpAddress("IP_ADDRESS"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (TargetType v : TargetType.values()) { + map.put(v.getValue(), v); + } + } + + TargetType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static TargetType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid TargetType: " + key); + } + }; + /** The target type for the VTAP. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetType") + private final TargetType targetType; + + /** + * The target type for the VTAP. + * + * @return the value + */ + public TargetType getTargetType() { + return targetType; + } + + /** The IP Address of the source private endpoint. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePrivateEndpointIp") + private final String sourcePrivateEndpointIp; + + /** + * The IP Address of the source private endpoint. + * + * @return the value + */ + public String getSourcePrivateEndpointIp() { + return sourcePrivateEndpointIp; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the subnet that source private endpoint belongs to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePrivateEndpointSubnetId") + private final String sourcePrivateEndpointSubnetId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the subnet that source private endpoint belongs to. + * + * @return the value + */ + public String getSourcePrivateEndpointSubnetId() { + return sourcePrivateEndpointSubnetId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CreateVtapDetails("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", vcnId=").append(String.valueOf(this.vcnId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", sourceId=").append(String.valueOf(this.sourceId)); + sb.append(", targetId=").append(String.valueOf(this.targetId)); + sb.append(", targetIp=").append(String.valueOf(this.targetIp)); + sb.append(", captureFilterId=").append(String.valueOf(this.captureFilterId)); + sb.append(", encapsulationProtocol=").append(String.valueOf(this.encapsulationProtocol)); + sb.append(", vxlanNetworkIdentifier=").append(String.valueOf(this.vxlanNetworkIdentifier)); + sb.append(", isVtapEnabled=").append(String.valueOf(this.isVtapEnabled)); + sb.append(", sourceType=").append(String.valueOf(this.sourceType)); + sb.append(", trafficMode=").append(String.valueOf(this.trafficMode)); + sb.append(", maxPacketSize=").append(String.valueOf(this.maxPacketSize)); + sb.append(", targetType=").append(String.valueOf(this.targetType)); + sb.append(", sourcePrivateEndpointIp=") + .append(String.valueOf(this.sourcePrivateEndpointIp)); + sb.append(", sourcePrivateEndpointSubnetId=") + .append(String.valueOf(this.sourcePrivateEndpointSubnetId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateVtapDetails)) { + return false; + } + + CreateVtapDetails other = (CreateVtapDetails) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.vcnId, other.vcnId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.sourceId, other.sourceId) + && java.util.Objects.equals(this.targetId, other.targetId) + && java.util.Objects.equals(this.targetIp, other.targetIp) + && java.util.Objects.equals(this.captureFilterId, other.captureFilterId) + && java.util.Objects.equals(this.encapsulationProtocol, other.encapsulationProtocol) + && java.util.Objects.equals( + this.vxlanNetworkIdentifier, other.vxlanNetworkIdentifier) + && java.util.Objects.equals(this.isVtapEnabled, other.isVtapEnabled) + && java.util.Objects.equals(this.sourceType, other.sourceType) + && java.util.Objects.equals(this.trafficMode, other.trafficMode) + && java.util.Objects.equals(this.maxPacketSize, other.maxPacketSize) + && java.util.Objects.equals(this.targetType, other.targetType) + && java.util.Objects.equals( + this.sourcePrivateEndpointIp, other.sourcePrivateEndpointIp) + && java.util.Objects.equals( + this.sourcePrivateEndpointSubnetId, other.sourcePrivateEndpointSubnetId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.sourceId == null ? 43 : this.sourceId.hashCode()); + result = (result * PRIME) + (this.targetId == null ? 43 : this.targetId.hashCode()); + result = (result * PRIME) + (this.targetIp == null ? 43 : this.targetIp.hashCode()); + result = + (result * PRIME) + + (this.captureFilterId == null ? 43 : this.captureFilterId.hashCode()); + result = + (result * PRIME) + + (this.encapsulationProtocol == null + ? 43 + : this.encapsulationProtocol.hashCode()); + result = + (result * PRIME) + + (this.vxlanNetworkIdentifier == null + ? 43 + : this.vxlanNetworkIdentifier.hashCode()); + result = + (result * PRIME) + + (this.isVtapEnabled == null ? 43 : this.isVtapEnabled.hashCode()); + result = (result * PRIME) + (this.sourceType == null ? 43 : this.sourceType.hashCode()); + result = (result * PRIME) + (this.trafficMode == null ? 43 : this.trafficMode.hashCode()); + result = + (result * PRIME) + + (this.maxPacketSize == null ? 43 : this.maxPacketSize.hashCode()); + result = (result * PRIME) + (this.targetType == null ? 43 : this.targetType.hashCode()); + result = + (result * PRIME) + + (this.sourcePrivateEndpointIp == null + ? 43 + : this.sourcePrivateEndpointIp.hashCode()); + result = + (result * PRIME) + + (this.sourcePrivateEndpointSubnetId == null + ? 43 + : this.sourcePrivateEndpointSubnetId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnect.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnect.java index e57de0317ff..9e6fb2a8487 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnect.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnect.java @@ -41,34 +41,52 @@ public final class CrossConnect extends com.oracle.bmc.http.client.internal.Expl @java.beans.ConstructorProperties({ "compartmentId", "crossConnectGroupId", + "definedTags", "displayName", + "freeformTags", "id", "lifecycleState", "locationName", "portName", "portSpeedShapeName", - "timeCreated" + "customerReferenceName", + "timeCreated", + "macsecProperties", + "ociPhysicalDeviceName", + "ociLogicalDeviceName" }) public CrossConnect( String compartmentId, String crossConnectGroupId, + java.util.Map> definedTags, String displayName, + java.util.Map freeformTags, String id, LifecycleState lifecycleState, String locationName, String portName, String portSpeedShapeName, - java.util.Date timeCreated) { + String customerReferenceName, + java.util.Date timeCreated, + MacsecProperties macsecProperties, + String ociPhysicalDeviceName, + String ociLogicalDeviceName) { super(); this.compartmentId = compartmentId; this.crossConnectGroupId = crossConnectGroupId; + this.definedTags = definedTags; this.displayName = displayName; + this.freeformTags = freeformTags; this.id = id; this.lifecycleState = lifecycleState; this.locationName = locationName; this.portName = portName; this.portSpeedShapeName = portSpeedShapeName; + this.customerReferenceName = customerReferenceName; this.timeCreated = timeCreated; + this.macsecProperties = macsecProperties; + this.ociPhysicalDeviceName = ociPhysicalDeviceName; + this.ociLogicalDeviceName = ociLogicalDeviceName; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -111,6 +129,26 @@ public Builder crossConnectGroupId(String crossConnectGroupId) { this.__explicitlySet__.add("crossConnectGroupId"); return this; } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -130,6 +168,25 @@ public Builder displayName(String displayName) { this.__explicitlySet__.add("displayName"); return this; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } /** The cross-connect's Oracle ID (OCID). */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; @@ -211,6 +268,25 @@ public Builder portSpeedShapeName(String portSpeedShapeName) { this.__explicitlySet__.add("portSpeedShapeName"); return this; } + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerReferenceName") + private String customerReferenceName; + + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * uses. + * + * @param customerReferenceName the value to set + * @return this builder + */ + public Builder customerReferenceName(String customerReferenceName) { + this.customerReferenceName = customerReferenceName; + this.__explicitlySet__.add("customerReferenceName"); + return this; + } /** * The date and time the cross-connect was created, in the format defined by * [RFC3339](https://tools.ietf.org/html/rfc3339). @@ -235,6 +311,49 @@ public Builder timeCreated(java.util.Date timeCreated) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("macsecProperties") + private MacsecProperties macsecProperties; + + public Builder macsecProperties(MacsecProperties macsecProperties) { + this.macsecProperties = macsecProperties; + this.__explicitlySet__.add("macsecProperties"); + return this; + } + /** The FastConnect device that terminates the physical connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("ociPhysicalDeviceName") + private String ociPhysicalDeviceName; + + /** + * The FastConnect device that terminates the physical connection. + * + * @param ociPhysicalDeviceName the value to set + * @return this builder + */ + public Builder ociPhysicalDeviceName(String ociPhysicalDeviceName) { + this.ociPhysicalDeviceName = ociPhysicalDeviceName; + this.__explicitlySet__.add("ociPhysicalDeviceName"); + return this; + } + /** + * The FastConnect device that terminates the logical connection. This device might be + * different than the device that terminates the physical connection. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ociLogicalDeviceName") + private String ociLogicalDeviceName; + + /** + * The FastConnect device that terminates the logical connection. This device might be + * different than the device that terminates the physical connection. + * + * @param ociLogicalDeviceName the value to set + * @return this builder + */ + public Builder ociLogicalDeviceName(String ociLogicalDeviceName) { + this.ociLogicalDeviceName = ociLogicalDeviceName; + this.__explicitlySet__.add("ociLogicalDeviceName"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -243,13 +362,19 @@ public CrossConnect build() { new CrossConnect( this.compartmentId, this.crossConnectGroupId, + this.definedTags, this.displayName, + this.freeformTags, this.id, this.lifecycleState, this.locationName, this.portName, this.portSpeedShapeName, - this.timeCreated); + this.customerReferenceName, + this.timeCreated, + this.macsecProperties, + this.ociPhysicalDeviceName, + this.ociLogicalDeviceName); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -264,9 +389,15 @@ public Builder copy(CrossConnect model) { if (model.wasPropertyExplicitlySet("crossConnectGroupId")) { this.crossConnectGroupId(model.getCrossConnectGroupId()); } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } if (model.wasPropertyExplicitlySet("id")) { this.id(model.getId()); } @@ -282,9 +413,21 @@ public Builder copy(CrossConnect model) { if (model.wasPropertyExplicitlySet("portSpeedShapeName")) { this.portSpeedShapeName(model.getPortSpeedShapeName()); } + if (model.wasPropertyExplicitlySet("customerReferenceName")) { + this.customerReferenceName(model.getCustomerReferenceName()); + } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } + if (model.wasPropertyExplicitlySet("macsecProperties")) { + this.macsecProperties(model.getMacsecProperties()); + } + if (model.wasPropertyExplicitlySet("ociPhysicalDeviceName")) { + this.ociPhysicalDeviceName(model.getOciPhysicalDeviceName()); + } + if (model.wasPropertyExplicitlySet("ociLogicalDeviceName")) { + this.ociLogicalDeviceName(model.getOciLogicalDeviceName()); + } return this; } } @@ -332,6 +475,23 @@ public String getCrossConnectGroupId() { return crossConnectGroupId; } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -349,6 +509,23 @@ public String getDisplayName() { return displayName; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + /** The cross-connect's Oracle ID (OCID). */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; @@ -457,6 +634,23 @@ public String getPortSpeedShapeName() { return portSpeedShapeName; } + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerReferenceName") + private final String customerReferenceName; + + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * uses. + * + * @return the value + */ + public String getCustomerReferenceName() { + return customerReferenceName; + } + /** * The date and time the cross-connect was created, in the format defined by * [RFC3339](https://tools.ietf.org/html/rfc3339). @@ -478,6 +672,43 @@ public java.util.Date getTimeCreated() { return timeCreated; } + @com.fasterxml.jackson.annotation.JsonProperty("macsecProperties") + private final MacsecProperties macsecProperties; + + public MacsecProperties getMacsecProperties() { + return macsecProperties; + } + + /** The FastConnect device that terminates the physical connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("ociPhysicalDeviceName") + private final String ociPhysicalDeviceName; + + /** + * The FastConnect device that terminates the physical connection. + * + * @return the value + */ + public String getOciPhysicalDeviceName() { + return ociPhysicalDeviceName; + } + + /** + * The FastConnect device that terminates the logical connection. This device might be different + * than the device that terminates the physical connection. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ociLogicalDeviceName") + private final String ociLogicalDeviceName; + + /** + * The FastConnect device that terminates the logical connection. This device might be different + * than the device that terminates the physical connection. + * + * @return the value + */ + public String getOciLogicalDeviceName() { + return ociLogicalDeviceName; + } + @Override public String toString() { return this.toString(true); @@ -495,13 +726,19 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", crossConnectGroupId=").append(String.valueOf(this.crossConnectGroupId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", id=").append(String.valueOf(this.id)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", locationName=").append(String.valueOf(this.locationName)); sb.append(", portName=").append(String.valueOf(this.portName)); sb.append(", portSpeedShapeName=").append(String.valueOf(this.portSpeedShapeName)); + sb.append(", customerReferenceName=").append(String.valueOf(this.customerReferenceName)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", macsecProperties=").append(String.valueOf(this.macsecProperties)); + sb.append(", ociPhysicalDeviceName=").append(String.valueOf(this.ociPhysicalDeviceName)); + sb.append(", ociLogicalDeviceName=").append(String.valueOf(this.ociLogicalDeviceName)); sb.append(")"); return sb.toString(); } @@ -518,13 +755,19 @@ public boolean equals(Object o) { CrossConnect other = (CrossConnect) o; return java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.crossConnectGroupId, other.crossConnectGroupId) + && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.locationName, other.locationName) && java.util.Objects.equals(this.portName, other.portName) && java.util.Objects.equals(this.portSpeedShapeName, other.portSpeedShapeName) + && java.util.Objects.equals(this.customerReferenceName, other.customerReferenceName) && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals(this.macsecProperties, other.macsecProperties) + && java.util.Objects.equals(this.ociPhysicalDeviceName, other.ociPhysicalDeviceName) + && java.util.Objects.equals(this.ociLogicalDeviceName, other.ociLogicalDeviceName) && super.equals(other); } @@ -540,7 +783,9 @@ public int hashCode() { + (this.crossConnectGroupId == null ? 43 : this.crossConnectGroupId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); result = (result * PRIME) @@ -552,7 +797,25 @@ public int hashCode() { + (this.portSpeedShapeName == null ? 43 : this.portSpeedShapeName.hashCode()); + result = + (result * PRIME) + + (this.customerReferenceName == null + ? 43 + : this.customerReferenceName.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = + (result * PRIME) + + (this.macsecProperties == null ? 43 : this.macsecProperties.hashCode()); + result = + (result * PRIME) + + (this.ociPhysicalDeviceName == null + ? 43 + : this.ociPhysicalDeviceName.hashCode()); + result = + (result * PRIME) + + (this.ociLogicalDeviceName == null + ? 43 + : this.ociLogicalDeviceName.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectGroup.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectGroup.java index d6731b95f4e..8d533c5709e 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectGroup.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectGroup.java @@ -40,23 +40,41 @@ public final class CrossConnectGroup @Deprecated @java.beans.ConstructorProperties({ "compartmentId", + "definedTags", "displayName", + "freeformTags", "id", "lifecycleState", - "timeCreated" + "customerReferenceName", + "timeCreated", + "macsecProperties", + "ociPhysicalDeviceName", + "ociLogicalDeviceName" }) public CrossConnectGroup( String compartmentId, + java.util.Map> definedTags, String displayName, + java.util.Map freeformTags, String id, LifecycleState lifecycleState, - java.util.Date timeCreated) { + String customerReferenceName, + java.util.Date timeCreated, + MacsecProperties macsecProperties, + String ociPhysicalDeviceName, + String ociLogicalDeviceName) { super(); this.compartmentId = compartmentId; + this.definedTags = definedTags; this.displayName = displayName; + this.freeformTags = freeformTags; this.id = id; this.lifecycleState = lifecycleState; + this.customerReferenceName = customerReferenceName; this.timeCreated = timeCreated; + this.macsecProperties = macsecProperties; + this.ociPhysicalDeviceName = ociPhysicalDeviceName; + this.ociLogicalDeviceName = ociLogicalDeviceName; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -80,6 +98,26 @@ public Builder compartmentId(String compartmentId) { this.__explicitlySet__.add("compartmentId"); return this; } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -99,6 +137,25 @@ public Builder displayName(String displayName) { this.__explicitlySet__.add("displayName"); return this; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } /** The cross-connect group's Oracle ID (OCID). */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; @@ -129,6 +186,25 @@ public Builder lifecycleState(LifecycleState lifecycleState) { this.__explicitlySet__.add("lifecycleState"); return this; } + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * group uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerReferenceName") + private String customerReferenceName; + + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * group uses. + * + * @param customerReferenceName the value to set + * @return this builder + */ + public Builder customerReferenceName(String customerReferenceName) { + this.customerReferenceName = customerReferenceName; + this.__explicitlySet__.add("customerReferenceName"); + return this; + } /** * The date and time the cross-connect group was created, in the format defined by * [RFC3339](https://tools.ietf.org/html/rfc3339). @@ -153,6 +229,49 @@ public Builder timeCreated(java.util.Date timeCreated) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty("macsecProperties") + private MacsecProperties macsecProperties; + + public Builder macsecProperties(MacsecProperties macsecProperties) { + this.macsecProperties = macsecProperties; + this.__explicitlySet__.add("macsecProperties"); + return this; + } + /** The FastConnect device that terminates the physical connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("ociPhysicalDeviceName") + private String ociPhysicalDeviceName; + + /** + * The FastConnect device that terminates the physical connection. + * + * @param ociPhysicalDeviceName the value to set + * @return this builder + */ + public Builder ociPhysicalDeviceName(String ociPhysicalDeviceName) { + this.ociPhysicalDeviceName = ociPhysicalDeviceName; + this.__explicitlySet__.add("ociPhysicalDeviceName"); + return this; + } + /** + * The FastConnect device that terminates the logical connection. This device might be + * different than the device that terminates the physical connection. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ociLogicalDeviceName") + private String ociLogicalDeviceName; + + /** + * The FastConnect device that terminates the logical connection. This device might be + * different than the device that terminates the physical connection. + * + * @param ociLogicalDeviceName the value to set + * @return this builder + */ + public Builder ociLogicalDeviceName(String ociLogicalDeviceName) { + this.ociLogicalDeviceName = ociLogicalDeviceName; + this.__explicitlySet__.add("ociLogicalDeviceName"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -160,10 +279,16 @@ public CrossConnectGroup build() { CrossConnectGroup model = new CrossConnectGroup( this.compartmentId, + this.definedTags, this.displayName, + this.freeformTags, this.id, this.lifecycleState, - this.timeCreated); + this.customerReferenceName, + this.timeCreated, + this.macsecProperties, + this.ociPhysicalDeviceName, + this.ociLogicalDeviceName); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -175,18 +300,36 @@ public Builder copy(CrossConnectGroup model) { if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } if (model.wasPropertyExplicitlySet("id")) { this.id(model.getId()); } if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); } + if (model.wasPropertyExplicitlySet("customerReferenceName")) { + this.customerReferenceName(model.getCustomerReferenceName()); + } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } + if (model.wasPropertyExplicitlySet("macsecProperties")) { + this.macsecProperties(model.getMacsecProperties()); + } + if (model.wasPropertyExplicitlySet("ociPhysicalDeviceName")) { + this.ociPhysicalDeviceName(model.getOciPhysicalDeviceName()); + } + if (model.wasPropertyExplicitlySet("ociLogicalDeviceName")) { + this.ociLogicalDeviceName(model.getOciLogicalDeviceName()); + } return this; } } @@ -217,6 +360,23 @@ public String getCompartmentId() { return compartmentId; } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -234,6 +394,23 @@ public String getDisplayName() { return displayName; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + /** The cross-connect group's Oracle ID (OCID). */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; @@ -296,6 +473,23 @@ public LifecycleState getLifecycleState() { return lifecycleState; } + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * group uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerReferenceName") + private final String customerReferenceName; + + /** + * A reference name or identifier for the physical fiber connection that this cross-connect + * group uses. + * + * @return the value + */ + public String getCustomerReferenceName() { + return customerReferenceName; + } + /** * The date and time the cross-connect group was created, in the format defined by * [RFC3339](https://tools.ietf.org/html/rfc3339). @@ -317,6 +511,43 @@ public java.util.Date getTimeCreated() { return timeCreated; } + @com.fasterxml.jackson.annotation.JsonProperty("macsecProperties") + private final MacsecProperties macsecProperties; + + public MacsecProperties getMacsecProperties() { + return macsecProperties; + } + + /** The FastConnect device that terminates the physical connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("ociPhysicalDeviceName") + private final String ociPhysicalDeviceName; + + /** + * The FastConnect device that terminates the physical connection. + * + * @return the value + */ + public String getOciPhysicalDeviceName() { + return ociPhysicalDeviceName; + } + + /** + * The FastConnect device that terminates the logical connection. This device might be different + * than the device that terminates the physical connection. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ociLogicalDeviceName") + private final String ociLogicalDeviceName; + + /** + * The FastConnect device that terminates the logical connection. This device might be different + * than the device that terminates the physical connection. + * + * @return the value + */ + public String getOciLogicalDeviceName() { + return ociLogicalDeviceName; + } + @Override public String toString() { return this.toString(true); @@ -333,10 +564,16 @@ public String toString(boolean includeByteArrayContents) { sb.append("CrossConnectGroup("); sb.append("super=").append(super.toString()); sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", id=").append(String.valueOf(this.id)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", customerReferenceName=").append(String.valueOf(this.customerReferenceName)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", macsecProperties=").append(String.valueOf(this.macsecProperties)); + sb.append(", ociPhysicalDeviceName=").append(String.valueOf(this.ociPhysicalDeviceName)); + sb.append(", ociLogicalDeviceName=").append(String.valueOf(this.ociLogicalDeviceName)); sb.append(")"); return sb.toString(); } @@ -352,10 +589,16 @@ public boolean equals(Object o) { CrossConnectGroup other = (CrossConnectGroup) o; return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.customerReferenceName, other.customerReferenceName) && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals(this.macsecProperties, other.macsecProperties) + && java.util.Objects.equals(this.ociPhysicalDeviceName, other.ociPhysicalDeviceName) + && java.util.Objects.equals(this.ociLogicalDeviceName, other.ociLogicalDeviceName) && super.equals(other); } @@ -366,12 +609,32 @@ public int hashCode() { result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = + (result * PRIME) + + (this.customerReferenceName == null + ? 43 + : this.customerReferenceName.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = + (result * PRIME) + + (this.macsecProperties == null ? 43 : this.macsecProperties.hashCode()); + result = + (result * PRIME) + + (this.ociPhysicalDeviceName == null + ? 43 + : this.ociPhysicalDeviceName.hashCode()); + result = + (result * PRIME) + + (this.ociLogicalDeviceName == null + ? 43 + : this.ociLogicalDeviceName.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectMapping.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectMapping.java index 50741c01b44..926e071daa9 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectMapping.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectMapping.java @@ -25,7 +25,11 @@ * the BGP session goes from Oracle to the provider's edge router, then the provider also specifies * the BGP peering information. If the BGP session instead goes from Oracle to the customer's edge * router, then the customer specifies the BGP peering information. There's one exception: for a - * public virtual circuit, Oracle specifies the BGP IPv4 addresses.
+ * public virtual circuit, Oracle specifies the BGP IPv4 addresses. + * + *

Every {@code CrossConnectMapping} must have BGP IPv4 peering addresses. BGP IPv6 peering + * addresses are optional. If BGP IPv6 addresses are provided, the customer can exchange IPv6 routes + * with Oracle.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -48,6 +52,8 @@ public final class CrossConnectMapping "crossConnectOrCrossConnectGroupId", "customerBgpPeeringIp", "oracleBgpPeeringIp", + "customerBgpPeeringIpv6", + "oracleBgpPeeringIpv6", "vlan" }) public CrossConnectMapping( @@ -55,12 +61,16 @@ public CrossConnectMapping( String crossConnectOrCrossConnectGroupId, String customerBgpPeeringIp, String oracleBgpPeeringIp, + String customerBgpPeeringIpv6, + String oracleBgpPeeringIpv6, Integer vlan) { super(); this.bgpMd5AuthKey = bgpMd5AuthKey; this.crossConnectOrCrossConnectGroupId = crossConnectOrCrossConnectGroupId; this.customerBgpPeeringIp = customerBgpPeeringIp; this.oracleBgpPeeringIp = oracleBgpPeeringIp; + this.customerBgpPeeringIpv6 = customerBgpPeeringIpv6; + this.oracleBgpPeeringIpv6 = oracleBgpPeeringIpv6; this.vlan = vlan; } @@ -115,7 +125,7 @@ public Builder crossConnectOrCrossConnectGroupId(String crossConnectOrCrossConne * Specified by the owner of that router. If the session goes from Oracle to a customer, * this is the BGP IPv4 address of the customer's edge router. If the session goes from * Oracle to a provider, this is the BGP IPv4 address of the provider's edge router. Must - * use a /30 or /31 subnet mask. + * use a subnet mask from /28 to /31. * *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 * addresses. @@ -130,7 +140,7 @@ public Builder crossConnectOrCrossConnectGroupId(String crossConnectOrCrossConne * Specified by the owner of that router. If the session goes from Oracle to a customer, * this is the BGP IPv4 address of the customer's edge router. If the session goes from * Oracle to a provider, this is the BGP IPv4 address of the provider's edge router. Must - * use a /30 or /31 subnet mask. + * use a subnet mask from /28 to /31. * *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 * addresses. @@ -146,10 +156,10 @@ public Builder customerBgpPeeringIp(String customerBgpPeeringIp) { return this; } /** - * The IPv4 address for Oracle's end of the BGP session. Must use a /30 or /31 subnet mask. - * If the session goes from Oracle to a customer's edge router, the customer specifies this - * information. If the session goes from Oracle to a provider's edge router, the provider - * specifies this. + * The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to + * /31. If the session goes from Oracle to a customer's edge router, the customer specifies + * this information. If the session goes from Oracle to a provider's edge router, the + * provider specifies this. * *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 * addresses. @@ -160,10 +170,10 @@ public Builder customerBgpPeeringIp(String customerBgpPeeringIp) { private String oracleBgpPeeringIp; /** - * The IPv4 address for Oracle's end of the BGP session. Must use a /30 or /31 subnet mask. - * If the session goes from Oracle to a customer's edge router, the customer specifies this - * information. If the session goes from Oracle to a provider's edge router, the provider - * specifies this. + * The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to + * /31. If the session goes from Oracle to a customer's edge router, the customer specifies + * this information. If the session goes from Oracle to a provider's edge router, the + * provider specifies this. * *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 * addresses. @@ -178,6 +188,86 @@ public Builder oracleBgpPeeringIp(String oracleBgpPeeringIp) { this.__explicitlySet__.add("oracleBgpPeeringIp"); return this; } + /** + * The BGP IPv6 address for the router on the other end of the BGP session from Oracle. + * Specified by the owner of that router. If the session goes from Oracle to a customer, + * this is the BGP IPv6 address of the customer's edge router. If the session goes from + * Oracle to a provider, this is the BGP IPv6 address of the provider's edge router. Only + * subnet masks from /64 up to /127 are allowed. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

IPv6 addressing is supported for all commercial and government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpPeeringIpv6") + private String customerBgpPeeringIpv6; + + /** + * The BGP IPv6 address for the router on the other end of the BGP session from Oracle. + * Specified by the owner of that router. If the session goes from Oracle to a customer, + * this is the BGP IPv6 address of the customer's edge router. If the session goes from + * Oracle to a provider, this is the BGP IPv6 address of the provider's edge router. Only + * subnet masks from /64 up to /127 are allowed. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

IPv6 addressing is supported for all commercial and government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:db8::1/64} + * + * @param customerBgpPeeringIpv6 the value to set + * @return this builder + */ + public Builder customerBgpPeeringIpv6(String customerBgpPeeringIpv6) { + this.customerBgpPeeringIpv6 = customerBgpPeeringIpv6; + this.__explicitlySet__.add("customerBgpPeeringIpv6"); + return this; + } + /** + * The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to + * /127 are allowed. If the session goes from Oracle to a customer's edge router, the + * customer specifies this information. If the session goes from Oracle to a provider's edge + * router, the provider specifies this. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

Note that IPv6 addressing is currently supported only in certain regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:db8::2/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleBgpPeeringIpv6") + private String oracleBgpPeeringIpv6; + + /** + * The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to + * /127 are allowed. If the session goes from Oracle to a customer's edge router, the + * customer specifies this information. If the session goes from Oracle to a provider's edge + * router, the provider specifies this. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

Note that IPv6 addressing is currently supported only in certain regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:db8::2/64} + * + * @param oracleBgpPeeringIpv6 the value to set + * @return this builder + */ + public Builder oracleBgpPeeringIpv6(String oracleBgpPeeringIpv6) { + this.oracleBgpPeeringIpv6 = oracleBgpPeeringIpv6; + this.__explicitlySet__.add("oracleBgpPeeringIpv6"); + return this; + } /** * The number of the specific VLAN (on the cross-connect or cross-connect group) that is * assigned to this virtual circuit. Specified by the owner of the cross-connect or @@ -216,6 +306,8 @@ public CrossConnectMapping build() { this.crossConnectOrCrossConnectGroupId, this.customerBgpPeeringIp, this.oracleBgpPeeringIp, + this.customerBgpPeeringIpv6, + this.oracleBgpPeeringIpv6, this.vlan); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -238,6 +330,12 @@ public Builder copy(CrossConnectMapping model) { if (model.wasPropertyExplicitlySet("oracleBgpPeeringIp")) { this.oracleBgpPeeringIp(model.getOracleBgpPeeringIp()); } + if (model.wasPropertyExplicitlySet("customerBgpPeeringIpv6")) { + this.customerBgpPeeringIpv6(model.getCustomerBgpPeeringIpv6()); + } + if (model.wasPropertyExplicitlySet("oracleBgpPeeringIpv6")) { + this.oracleBgpPeeringIpv6(model.getOracleBgpPeeringIpv6()); + } if (model.wasPropertyExplicitlySet("vlan")) { this.vlan(model.getVlan()); } @@ -296,8 +394,8 @@ public String getCrossConnectOrCrossConnectGroupId() { * The BGP IPv4 address for the router on the other end of the BGP session from Oracle. * Specified by the owner of that router. If the session goes from Oracle to a customer, this is * the BGP IPv4 address of the customer's edge router. If the session goes from Oracle to a - * provider, this is the BGP IPv4 address of the provider's edge router. Must use a /30 or /31 - * subnet mask. + * provider, this is the BGP IPv4 address of the provider's edge router. Must use a subnet mask + * from /28 to /31. * *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 * addresses. @@ -311,8 +409,8 @@ public String getCrossConnectOrCrossConnectGroupId() { * The BGP IPv4 address for the router on the other end of the BGP session from Oracle. * Specified by the owner of that router. If the session goes from Oracle to a customer, this is * the BGP IPv4 address of the customer's edge router. If the session goes from Oracle to a - * provider, this is the BGP IPv4 address of the provider's edge router. Must use a /30 or /31 - * subnet mask. + * provider, this is the BGP IPv4 address of the provider's edge router. Must use a subnet mask + * from /28 to /31. * *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 * addresses. @@ -326,8 +424,8 @@ public String getCustomerBgpPeeringIp() { } /** - * The IPv4 address for Oracle's end of the BGP session. Must use a /30 or /31 subnet mask. If - * the session goes from Oracle to a customer's edge router, the customer specifies this + * The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. + * If the session goes from Oracle to a customer's edge router, the customer specifies this * information. If the session goes from Oracle to a provider's edge router, the provider * specifies this. * @@ -340,8 +438,8 @@ public String getCustomerBgpPeeringIp() { private final String oracleBgpPeeringIp; /** - * The IPv4 address for Oracle's end of the BGP session. Must use a /30 or /31 subnet mask. If - * the session goes from Oracle to a customer's edge router, the customer specifies this + * The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. + * If the session goes from Oracle to a customer's edge router, the customer specifies this * information. If the session goes from Oracle to a provider's edge router, the provider * specifies this. * @@ -356,6 +454,82 @@ public String getOracleBgpPeeringIp() { return oracleBgpPeeringIp; } + /** + * The BGP IPv6 address for the router on the other end of the BGP session from Oracle. + * Specified by the owner of that router. If the session goes from Oracle to a customer, this is + * the BGP IPv6 address of the customer's edge router. If the session goes from Oracle to a + * provider, this is the BGP IPv6 address of the provider's edge router. Only subnet masks from + * /64 up to /127 are allowed. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

IPv6 addressing is supported for all commercial and government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpPeeringIpv6") + private final String customerBgpPeeringIpv6; + + /** + * The BGP IPv6 address for the router on the other end of the BGP session from Oracle. + * Specified by the owner of that router. If the session goes from Oracle to a customer, this is + * the BGP IPv6 address of the customer's edge router. If the session goes from Oracle to a + * provider, this is the BGP IPv6 address of the provider's edge router. Only subnet masks from + * /64 up to /127 are allowed. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

IPv6 addressing is supported for all commercial and government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:db8::1/64} + * + * @return the value + */ + public String getCustomerBgpPeeringIpv6() { + return customerBgpPeeringIpv6; + } + + /** + * The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 + * are allowed. If the session goes from Oracle to a customer's edge router, the customer + * specifies this information. If the session goes from Oracle to a provider's edge router, the + * provider specifies this. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

Note that IPv6 addressing is currently supported only in certain regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:db8::2/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleBgpPeeringIpv6") + private final String oracleBgpPeeringIpv6; + + /** + * The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 + * are allowed. If the session goes from Oracle to a customer's edge router, the customer + * specifies this information. If the session goes from Oracle to a provider's edge router, the + * provider specifies this. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

Note that IPv6 addressing is currently supported only in certain regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:db8::2/64} + * + * @return the value + */ + public String getOracleBgpPeeringIpv6() { + return oracleBgpPeeringIpv6; + } + /** * The number of the specific VLAN (on the cross-connect or cross-connect group) that is * assigned to this virtual circuit. Specified by the owner of the cross-connect or @@ -401,6 +575,8 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.crossConnectOrCrossConnectGroupId)); sb.append(", customerBgpPeeringIp=").append(String.valueOf(this.customerBgpPeeringIp)); sb.append(", oracleBgpPeeringIp=").append(String.valueOf(this.oracleBgpPeeringIp)); + sb.append(", customerBgpPeeringIpv6=").append(String.valueOf(this.customerBgpPeeringIpv6)); + sb.append(", oracleBgpPeeringIpv6=").append(String.valueOf(this.oracleBgpPeeringIpv6)); sb.append(", vlan=").append(String.valueOf(this.vlan)); sb.append(")"); return sb.toString(); @@ -422,6 +598,9 @@ public boolean equals(Object o) { other.crossConnectOrCrossConnectGroupId) && java.util.Objects.equals(this.customerBgpPeeringIp, other.customerBgpPeeringIp) && java.util.Objects.equals(this.oracleBgpPeeringIp, other.oracleBgpPeeringIp) + && java.util.Objects.equals( + this.customerBgpPeeringIpv6, other.customerBgpPeeringIpv6) + && java.util.Objects.equals(this.oracleBgpPeeringIpv6, other.oracleBgpPeeringIpv6) && java.util.Objects.equals(this.vlan, other.vlan) && super.equals(other); } @@ -448,6 +627,16 @@ public int hashCode() { + (this.oracleBgpPeeringIp == null ? 43 : this.oracleBgpPeeringIp.hashCode()); + result = + (result * PRIME) + + (this.customerBgpPeeringIpv6 == null + ? 43 + : this.customerBgpPeeringIpv6.hashCode()); + result = + (result * PRIME) + + (this.oracleBgpPeeringIpv6 == null + ? 43 + : this.oracleBgpPeeringIpv6.hashCode()); result = (result * PRIME) + (this.vlan == null ? 43 : this.vlan.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectMappingDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectMappingDetails.java new file mode 100644 index 00000000000..b9e005a13d5 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectMappingDetails.java @@ -0,0 +1,790 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * For use with Oracle Cloud Infrastructure FastConnect. Each {@link VirtualCircuit} runs on one or + * more cross-connects or cross-connect groups. A {@code CrossConnectMappingDetails} contains the + * properties for an individual cross-connect or cross-connect group associated with a given virtual + * circuit. + * + *

The details includes information about the cross-connect or cross-connect group, the VLAN, and + * the BGP peering session.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CrossConnectMappingDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CrossConnectMappingDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "bgpMd5AuthKey", + "crossConnectOrCrossConnectGroupId", + "customerBgpPeeringIp", + "oracleBgpPeeringIp", + "customerBgpPeeringIpv6", + "oracleBgpPeeringIpv6", + "vlan", + "ipv4BgpStatus", + "ipv6BgpStatus", + "ociLogicalDeviceName" + }) + public CrossConnectMappingDetails( + String bgpMd5AuthKey, + String crossConnectOrCrossConnectGroupId, + String customerBgpPeeringIp, + String oracleBgpPeeringIp, + String customerBgpPeeringIpv6, + String oracleBgpPeeringIpv6, + Integer vlan, + Ipv4BgpStatus ipv4BgpStatus, + Ipv6BgpStatus ipv6BgpStatus, + String ociLogicalDeviceName) { + super(); + this.bgpMd5AuthKey = bgpMd5AuthKey; + this.crossConnectOrCrossConnectGroupId = crossConnectOrCrossConnectGroupId; + this.customerBgpPeeringIp = customerBgpPeeringIp; + this.oracleBgpPeeringIp = oracleBgpPeeringIp; + this.customerBgpPeeringIpv6 = customerBgpPeeringIpv6; + this.oracleBgpPeeringIpv6 = oracleBgpPeeringIpv6; + this.vlan = vlan; + this.ipv4BgpStatus = ipv4BgpStatus; + this.ipv6BgpStatus = ipv6BgpStatus; + this.ociLogicalDeviceName = ociLogicalDeviceName; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The key for BGP MD5 authentication. Only applicable if your system requires MD5 + * authentication. If empty or not set (null), that means you don't use BGP MD5 + * authentication. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpMd5AuthKey") + private String bgpMd5AuthKey; + + /** + * The key for BGP MD5 authentication. Only applicable if your system requires MD5 + * authentication. If empty or not set (null), that means you don't use BGP MD5 + * authentication. + * + * @param bgpMd5AuthKey the value to set + * @return this builder + */ + public Builder bgpMd5AuthKey(String bgpMd5AuthKey) { + this.bgpMd5AuthKey = bgpMd5AuthKey; + this.__explicitlySet__.add("bgpMd5AuthKey"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the cross-connect or cross-connect group for this mapping. Specified by the owner of + * the cross-connect or cross-connect group (the customer if the customer is colocated with + * Oracle, or the provider if the customer is connecting via provider). + */ + @com.fasterxml.jackson.annotation.JsonProperty("crossConnectOrCrossConnectGroupId") + private String crossConnectOrCrossConnectGroupId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the cross-connect or cross-connect group for this mapping. Specified by the owner of + * the cross-connect or cross-connect group (the customer if the customer is colocated with + * Oracle, or the provider if the customer is connecting via provider). + * + * @param crossConnectOrCrossConnectGroupId the value to set + * @return this builder + */ + public Builder crossConnectOrCrossConnectGroupId(String crossConnectOrCrossConnectGroupId) { + this.crossConnectOrCrossConnectGroupId = crossConnectOrCrossConnectGroupId; + this.__explicitlySet__.add("crossConnectOrCrossConnectGroupId"); + return this; + } + /** + * The BGP IPv4 address for the router on the other end of the BGP session from Oracle. + * Specified by the owner of that router. If the session goes from Oracle to a customer, + * this is the BGP IPv4 address of the customer's edge router. If the session goes from + * Oracle to a provider, this is the BGP IPv4 address of the provider's edge router. Must + * use a subnet mask from /28 to /31. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 + * addresses. + * + *

Example: {@code 10.0.0.18/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpPeeringIp") + private String customerBgpPeeringIp; + + /** + * The BGP IPv4 address for the router on the other end of the BGP session from Oracle. + * Specified by the owner of that router. If the session goes from Oracle to a customer, + * this is the BGP IPv4 address of the customer's edge router. If the session goes from + * Oracle to a provider, this is the BGP IPv4 address of the provider's edge router. Must + * use a subnet mask from /28 to /31. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 + * addresses. + * + *

Example: {@code 10.0.0.18/31} + * + * @param customerBgpPeeringIp the value to set + * @return this builder + */ + public Builder customerBgpPeeringIp(String customerBgpPeeringIp) { + this.customerBgpPeeringIp = customerBgpPeeringIp; + this.__explicitlySet__.add("customerBgpPeeringIp"); + return this; + } + /** + * The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to + * /31. If the session goes from Oracle to a customer's edge router, the customer specifies + * this information. If the session goes from Oracle to a provider's edge router, the + * provider specifies this. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 + * addresses. + * + *

Example: {@code 10.0.0.19/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleBgpPeeringIp") + private String oracleBgpPeeringIp; + + /** + * The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to + * /31. If the session goes from Oracle to a customer's edge router, the customer specifies + * this information. If the session goes from Oracle to a provider's edge router, the + * provider specifies this. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 + * addresses. + * + *

Example: {@code 10.0.0.19/31} + * + * @param oracleBgpPeeringIp the value to set + * @return this builder + */ + public Builder oracleBgpPeeringIp(String oracleBgpPeeringIp) { + this.oracleBgpPeeringIp = oracleBgpPeeringIp; + this.__explicitlySet__.add("oracleBgpPeeringIp"); + return this; + } + /** + * The BGP IPv6 address for the router on the other end of the BGP session from Oracle. + * Specified by the owner of that router. If the session goes from Oracle to a customer, + * this is the BGP IPv6 address of the customer's edge router. If the session goes from + * Oracle to a provider, this is the BGP IPv6 address of the provider's edge router. Only + * subnet masks from /64 up to /127 are allowed. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpPeeringIpv6") + private String customerBgpPeeringIpv6; + + /** + * The BGP IPv6 address for the router on the other end of the BGP session from Oracle. + * Specified by the owner of that router. If the session goes from Oracle to a customer, + * this is the BGP IPv6 address of the customer's edge router. If the session goes from + * Oracle to a provider, this is the BGP IPv6 address of the provider's edge router. Only + * subnet masks from /64 up to /127 are allowed. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

Example: {@code 2001:db8::1/64} + * + * @param customerBgpPeeringIpv6 the value to set + * @return this builder + */ + public Builder customerBgpPeeringIpv6(String customerBgpPeeringIpv6) { + this.customerBgpPeeringIpv6 = customerBgpPeeringIpv6; + this.__explicitlySet__.add("customerBgpPeeringIpv6"); + return this; + } + /** + * The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to + * /127 are allowed. If the session goes from Oracle to a customer's edge router, the + * customer specifies this information. If the session goes from Oracle to a provider's edge + * router, the provider specifies this. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

Example: {@code 2001:db8::2/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleBgpPeeringIpv6") + private String oracleBgpPeeringIpv6; + + /** + * The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to + * /127 are allowed. If the session goes from Oracle to a customer's edge router, the + * customer specifies this information. If the session goes from Oracle to a provider's edge + * router, the provider specifies this. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

Example: {@code 2001:db8::2/64} + * + * @param oracleBgpPeeringIpv6 the value to set + * @return this builder + */ + public Builder oracleBgpPeeringIpv6(String oracleBgpPeeringIpv6) { + this.oracleBgpPeeringIpv6 = oracleBgpPeeringIpv6; + this.__explicitlySet__.add("oracleBgpPeeringIpv6"); + return this; + } + /** + * The number of the specific VLAN (on the cross-connect or cross-connect group) that is + * assigned to this virtual circuit. Specified by the owner of the cross-connect or + * cross-connect group (the customer if the customer is colocated with Oracle, or the + * provider if the customer is connecting via provider). + * + *

Example: {@code 200} + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlan") + private Integer vlan; + + /** + * The number of the specific VLAN (on the cross-connect or cross-connect group) that is + * assigned to this virtual circuit. Specified by the owner of the cross-connect or + * cross-connect group (the customer if the customer is colocated with Oracle, or the + * provider if the customer is connecting via provider). + * + *

Example: {@code 200} + * + * @param vlan the value to set + * @return this builder + */ + public Builder vlan(Integer vlan) { + this.vlan = vlan; + this.__explicitlySet__.add("vlan"); + return this; + } + /** The state of the Ipv4 BGP session. */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv4BgpStatus") + private Ipv4BgpStatus ipv4BgpStatus; + + /** + * The state of the Ipv4 BGP session. + * + * @param ipv4BgpStatus the value to set + * @return this builder + */ + public Builder ipv4BgpStatus(Ipv4BgpStatus ipv4BgpStatus) { + this.ipv4BgpStatus = ipv4BgpStatus; + this.__explicitlySet__.add("ipv4BgpStatus"); + return this; + } + /** The state of the Ipv6 BGP session. */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6BgpStatus") + private Ipv6BgpStatus ipv6BgpStatus; + + /** + * The state of the Ipv6 BGP session. + * + * @param ipv6BgpStatus the value to set + * @return this builder + */ + public Builder ipv6BgpStatus(Ipv6BgpStatus ipv6BgpStatus) { + this.ipv6BgpStatus = ipv6BgpStatus; + this.__explicitlySet__.add("ipv6BgpStatus"); + return this; + } + /** The FastConnect device that terminates the logical connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("ociLogicalDeviceName") + private String ociLogicalDeviceName; + + /** + * The FastConnect device that terminates the logical connection. + * + * @param ociLogicalDeviceName the value to set + * @return this builder + */ + public Builder ociLogicalDeviceName(String ociLogicalDeviceName) { + this.ociLogicalDeviceName = ociLogicalDeviceName; + this.__explicitlySet__.add("ociLogicalDeviceName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CrossConnectMappingDetails build() { + CrossConnectMappingDetails model = + new CrossConnectMappingDetails( + this.bgpMd5AuthKey, + this.crossConnectOrCrossConnectGroupId, + this.customerBgpPeeringIp, + this.oracleBgpPeeringIp, + this.customerBgpPeeringIpv6, + this.oracleBgpPeeringIpv6, + this.vlan, + this.ipv4BgpStatus, + this.ipv6BgpStatus, + this.ociLogicalDeviceName); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CrossConnectMappingDetails model) { + if (model.wasPropertyExplicitlySet("bgpMd5AuthKey")) { + this.bgpMd5AuthKey(model.getBgpMd5AuthKey()); + } + if (model.wasPropertyExplicitlySet("crossConnectOrCrossConnectGroupId")) { + this.crossConnectOrCrossConnectGroupId( + model.getCrossConnectOrCrossConnectGroupId()); + } + if (model.wasPropertyExplicitlySet("customerBgpPeeringIp")) { + this.customerBgpPeeringIp(model.getCustomerBgpPeeringIp()); + } + if (model.wasPropertyExplicitlySet("oracleBgpPeeringIp")) { + this.oracleBgpPeeringIp(model.getOracleBgpPeeringIp()); + } + if (model.wasPropertyExplicitlySet("customerBgpPeeringIpv6")) { + this.customerBgpPeeringIpv6(model.getCustomerBgpPeeringIpv6()); + } + if (model.wasPropertyExplicitlySet("oracleBgpPeeringIpv6")) { + this.oracleBgpPeeringIpv6(model.getOracleBgpPeeringIpv6()); + } + if (model.wasPropertyExplicitlySet("vlan")) { + this.vlan(model.getVlan()); + } + if (model.wasPropertyExplicitlySet("ipv4BgpStatus")) { + this.ipv4BgpStatus(model.getIpv4BgpStatus()); + } + if (model.wasPropertyExplicitlySet("ipv6BgpStatus")) { + this.ipv6BgpStatus(model.getIpv6BgpStatus()); + } + if (model.wasPropertyExplicitlySet("ociLogicalDeviceName")) { + this.ociLogicalDeviceName(model.getOciLogicalDeviceName()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The key for BGP MD5 authentication. Only applicable if your system requires MD5 + * authentication. If empty or not set (null), that means you don't use BGP MD5 authentication. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpMd5AuthKey") + private final String bgpMd5AuthKey; + + /** + * The key for BGP MD5 authentication. Only applicable if your system requires MD5 + * authentication. If empty or not set (null), that means you don't use BGP MD5 authentication. + * + * @return the value + */ + public String getBgpMd5AuthKey() { + return bgpMd5AuthKey; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the cross-connect or cross-connect group for this mapping. Specified by the owner of the + * cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, + * or the provider if the customer is connecting via provider). + */ + @com.fasterxml.jackson.annotation.JsonProperty("crossConnectOrCrossConnectGroupId") + private final String crossConnectOrCrossConnectGroupId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the cross-connect or cross-connect group for this mapping. Specified by the owner of the + * cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, + * or the provider if the customer is connecting via provider). + * + * @return the value + */ + public String getCrossConnectOrCrossConnectGroupId() { + return crossConnectOrCrossConnectGroupId; + } + + /** + * The BGP IPv4 address for the router on the other end of the BGP session from Oracle. + * Specified by the owner of that router. If the session goes from Oracle to a customer, this is + * the BGP IPv4 address of the customer's edge router. If the session goes from Oracle to a + * provider, this is the BGP IPv4 address of the provider's edge router. Must use a subnet mask + * from /28 to /31. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 + * addresses. + * + *

Example: {@code 10.0.0.18/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpPeeringIp") + private final String customerBgpPeeringIp; + + /** + * The BGP IPv4 address for the router on the other end of the BGP session from Oracle. + * Specified by the owner of that router. If the session goes from Oracle to a customer, this is + * the BGP IPv4 address of the customer's edge router. If the session goes from Oracle to a + * provider, this is the BGP IPv4 address of the provider's edge router. Must use a subnet mask + * from /28 to /31. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 + * addresses. + * + *

Example: {@code 10.0.0.18/31} + * + * @return the value + */ + public String getCustomerBgpPeeringIp() { + return customerBgpPeeringIp; + } + + /** + * The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. + * If the session goes from Oracle to a customer's edge router, the customer specifies this + * information. If the session goes from Oracle to a provider's edge router, the provider + * specifies this. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 + * addresses. + * + *

Example: {@code 10.0.0.19/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleBgpPeeringIp") + private final String oracleBgpPeeringIp; + + /** + * The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. + * If the session goes from Oracle to a customer's edge router, the customer specifies this + * information. If the session goes from Oracle to a provider's edge router, the provider + * specifies this. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 + * addresses. + * + *

Example: {@code 10.0.0.19/31} + * + * @return the value + */ + public String getOracleBgpPeeringIp() { + return oracleBgpPeeringIp; + } + + /** + * The BGP IPv6 address for the router on the other end of the BGP session from Oracle. + * Specified by the owner of that router. If the session goes from Oracle to a customer, this is + * the BGP IPv6 address of the customer's edge router. If the session goes from Oracle to a + * provider, this is the BGP IPv6 address of the provider's edge router. Only subnet masks from + * /64 up to /127 are allowed. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpPeeringIpv6") + private final String customerBgpPeeringIpv6; + + /** + * The BGP IPv6 address for the router on the other end of the BGP session from Oracle. + * Specified by the owner of that router. If the session goes from Oracle to a customer, this is + * the BGP IPv6 address of the customer's edge router. If the session goes from Oracle to a + * provider, this is the BGP IPv6 address of the provider's edge router. Only subnet masks from + * /64 up to /127 are allowed. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

Example: {@code 2001:db8::1/64} + * + * @return the value + */ + public String getCustomerBgpPeeringIpv6() { + return customerBgpPeeringIpv6; + } + + /** + * The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 + * are allowed. If the session goes from Oracle to a customer's edge router, the customer + * specifies this information. If the session goes from Oracle to a provider's edge router, the + * provider specifies this. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

Example: {@code 2001:db8::2/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleBgpPeeringIpv6") + private final String oracleBgpPeeringIpv6; + + /** + * The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 + * are allowed. If the session goes from Oracle to a customer's edge router, the customer + * specifies this information. If the session goes from Oracle to a provider's edge router, the + * provider specifies this. + * + *

There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 + * addresses. + * + *

Example: {@code 2001:db8::2/64} + * + * @return the value + */ + public String getOracleBgpPeeringIpv6() { + return oracleBgpPeeringIpv6; + } + + /** + * The number of the specific VLAN (on the cross-connect or cross-connect group) that is + * assigned to this virtual circuit. Specified by the owner of the cross-connect or + * cross-connect group (the customer if the customer is colocated with Oracle, or the provider + * if the customer is connecting via provider). + * + *

Example: {@code 200} + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlan") + private final Integer vlan; + + /** + * The number of the specific VLAN (on the cross-connect or cross-connect group) that is + * assigned to this virtual circuit. Specified by the owner of the cross-connect or + * cross-connect group (the customer if the customer is colocated with Oracle, or the provider + * if the customer is connecting via provider). + * + *

Example: {@code 200} + * + * @return the value + */ + public Integer getVlan() { + return vlan; + } + + /** The state of the Ipv4 BGP session. */ + public enum Ipv4BgpStatus implements com.oracle.bmc.http.internal.BmcEnum { + Up("UP"), + Down("DOWN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Ipv4BgpStatus v : Ipv4BgpStatus.values()) { + map.put(v.getValue(), v); + } + } + + Ipv4BgpStatus(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Ipv4BgpStatus create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid Ipv4BgpStatus: " + key); + } + }; + /** The state of the Ipv4 BGP session. */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv4BgpStatus") + private final Ipv4BgpStatus ipv4BgpStatus; + + /** + * The state of the Ipv4 BGP session. + * + * @return the value + */ + public Ipv4BgpStatus getIpv4BgpStatus() { + return ipv4BgpStatus; + } + + /** The state of the Ipv6 BGP session. */ + public enum Ipv6BgpStatus implements com.oracle.bmc.http.internal.BmcEnum { + Up("UP"), + Down("DOWN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Ipv6BgpStatus v : Ipv6BgpStatus.values()) { + map.put(v.getValue(), v); + } + } + + Ipv6BgpStatus(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Ipv6BgpStatus create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid Ipv6BgpStatus: " + key); + } + }; + /** The state of the Ipv6 BGP session. */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6BgpStatus") + private final Ipv6BgpStatus ipv6BgpStatus; + + /** + * The state of the Ipv6 BGP session. + * + * @return the value + */ + public Ipv6BgpStatus getIpv6BgpStatus() { + return ipv6BgpStatus; + } + + /** The FastConnect device that terminates the logical connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("ociLogicalDeviceName") + private final String ociLogicalDeviceName; + + /** + * The FastConnect device that terminates the logical connection. + * + * @return the value + */ + public String getOciLogicalDeviceName() { + return ociLogicalDeviceName; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CrossConnectMappingDetails("); + sb.append("super=").append(super.toString()); + sb.append("bgpMd5AuthKey=").append(String.valueOf(this.bgpMd5AuthKey)); + sb.append(", crossConnectOrCrossConnectGroupId=") + .append(String.valueOf(this.crossConnectOrCrossConnectGroupId)); + sb.append(", customerBgpPeeringIp=").append(String.valueOf(this.customerBgpPeeringIp)); + sb.append(", oracleBgpPeeringIp=").append(String.valueOf(this.oracleBgpPeeringIp)); + sb.append(", customerBgpPeeringIpv6=").append(String.valueOf(this.customerBgpPeeringIpv6)); + sb.append(", oracleBgpPeeringIpv6=").append(String.valueOf(this.oracleBgpPeeringIpv6)); + sb.append(", vlan=").append(String.valueOf(this.vlan)); + sb.append(", ipv4BgpStatus=").append(String.valueOf(this.ipv4BgpStatus)); + sb.append(", ipv6BgpStatus=").append(String.valueOf(this.ipv6BgpStatus)); + sb.append(", ociLogicalDeviceName=").append(String.valueOf(this.ociLogicalDeviceName)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CrossConnectMappingDetails)) { + return false; + } + + CrossConnectMappingDetails other = (CrossConnectMappingDetails) o; + return java.util.Objects.equals(this.bgpMd5AuthKey, other.bgpMd5AuthKey) + && java.util.Objects.equals( + this.crossConnectOrCrossConnectGroupId, + other.crossConnectOrCrossConnectGroupId) + && java.util.Objects.equals(this.customerBgpPeeringIp, other.customerBgpPeeringIp) + && java.util.Objects.equals(this.oracleBgpPeeringIp, other.oracleBgpPeeringIp) + && java.util.Objects.equals( + this.customerBgpPeeringIpv6, other.customerBgpPeeringIpv6) + && java.util.Objects.equals(this.oracleBgpPeeringIpv6, other.oracleBgpPeeringIpv6) + && java.util.Objects.equals(this.vlan, other.vlan) + && java.util.Objects.equals(this.ipv4BgpStatus, other.ipv4BgpStatus) + && java.util.Objects.equals(this.ipv6BgpStatus, other.ipv6BgpStatus) + && java.util.Objects.equals(this.ociLogicalDeviceName, other.ociLogicalDeviceName) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.bgpMd5AuthKey == null ? 43 : this.bgpMd5AuthKey.hashCode()); + result = + (result * PRIME) + + (this.crossConnectOrCrossConnectGroupId == null + ? 43 + : this.crossConnectOrCrossConnectGroupId.hashCode()); + result = + (result * PRIME) + + (this.customerBgpPeeringIp == null + ? 43 + : this.customerBgpPeeringIp.hashCode()); + result = + (result * PRIME) + + (this.oracleBgpPeeringIp == null + ? 43 + : this.oracleBgpPeeringIp.hashCode()); + result = + (result * PRIME) + + (this.customerBgpPeeringIpv6 == null + ? 43 + : this.customerBgpPeeringIpv6.hashCode()); + result = + (result * PRIME) + + (this.oracleBgpPeeringIpv6 == null + ? 43 + : this.oracleBgpPeeringIpv6.hashCode()); + result = (result * PRIME) + (this.vlan == null ? 43 : this.vlan.hashCode()); + result = + (result * PRIME) + + (this.ipv4BgpStatus == null ? 43 : this.ipv4BgpStatus.hashCode()); + result = + (result * PRIME) + + (this.ipv6BgpStatus == null ? 43 : this.ipv6BgpStatus.hashCode()); + result = + (result * PRIME) + + (this.ociLogicalDeviceName == null + ? 43 + : this.ociLogicalDeviceName.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectMappingDetailsCollection.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectMappingDetailsCollection.java new file mode 100644 index 00000000000..d72a3b3b5c2 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectMappingDetailsCollection.java @@ -0,0 +1,134 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * An array of CrossConnectMappingDetails
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = CrossConnectMappingDetailsCollection.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class CrossConnectMappingDetailsCollection + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"items"}) + public CrossConnectMappingDetailsCollection(java.util.List items) { + super(); + this.items = items; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** CrossConnectMappingDetails items */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private java.util.List items; + + /** + * CrossConnectMappingDetails items + * + * @param items the value to set + * @return this builder + */ + public Builder items(java.util.List items) { + this.items = items; + this.__explicitlySet__.add("items"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public CrossConnectMappingDetailsCollection build() { + CrossConnectMappingDetailsCollection model = + new CrossConnectMappingDetailsCollection(this.items); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(CrossConnectMappingDetailsCollection model) { + if (model.wasPropertyExplicitlySet("items")) { + this.items(model.getItems()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** CrossConnectMappingDetails items */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private final java.util.List items; + + /** + * CrossConnectMappingDetails items + * + * @return the value + */ + public java.util.List getItems() { + return items; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("CrossConnectMappingDetailsCollection("); + sb.append("super=").append(super.toString()); + sb.append("items=").append(String.valueOf(this.items)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CrossConnectMappingDetailsCollection)) { + return false; + } + + CrossConnectMappingDetailsCollection other = (CrossConnectMappingDetailsCollection) o; + return java.util.Objects.equals(this.items, other.items) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectStatus.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectStatus.java index d8ffaf817d6..92f29ac740e 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectStatus.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/CrossConnectStatus.java @@ -27,18 +27,24 @@ public final class CrossConnectStatus "crossConnectId", "interfaceState", "lightLevelIndBm", - "lightLevelIndicator" + "lightLevelIndicator", + "encryptionStatus", + "lightLevelsInDBm" }) public CrossConnectStatus( String crossConnectId, InterfaceState interfaceState, Float lightLevelIndBm, - LightLevelIndicator lightLevelIndicator) { + LightLevelIndicator lightLevelIndicator, + EncryptionStatus encryptionStatus, + java.util.List lightLevelsInDBm) { super(); this.crossConnectId = crossConnectId; this.interfaceState = interfaceState; this.lightLevelIndBm = lightLevelIndBm; this.lightLevelIndicator = lightLevelIndicator; + this.encryptionStatus = encryptionStatus; + this.lightLevelsInDBm = lightLevelsInDBm; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -123,6 +129,58 @@ public Builder lightLevelIndicator(LightLevelIndicator lightLevelIndicator) { this.__explicitlySet__.add("lightLevelIndicator"); return this; } + /** + * Encryption status of this cross connect. + * + *

Possible values: * **UP:** Traffic is encrypted over this cross-connect * **DOWN:** + * Traffic is not encrypted over this cross-connect * **CIPHER_MISMATCH:** The MACsec + * encryption cipher doesn't match the cipher on the CPE * **CKN_MISMATCH:** The MACsec + * Connectivity association Key Name (CKN) doesn't match the CKN on the CPE * + * **CAK_MISMATCH:** The MACsec Connectivity Association Key (CAK) doesn't match the CAK on + * the CPE + */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionStatus") + private EncryptionStatus encryptionStatus; + + /** + * Encryption status of this cross connect. + * + *

Possible values: * **UP:** Traffic is encrypted over this cross-connect * **DOWN:** + * Traffic is not encrypted over this cross-connect * **CIPHER_MISMATCH:** The MACsec + * encryption cipher doesn't match the cipher on the CPE * **CKN_MISMATCH:** The MACsec + * Connectivity association Key Name (CKN) doesn't match the CKN on the CPE * + * **CAK_MISMATCH:** The MACsec Connectivity Association Key (CAK) doesn't match the CAK on + * the CPE + * + * @param encryptionStatus the value to set + * @return this builder + */ + public Builder encryptionStatus(EncryptionStatus encryptionStatus) { + this.encryptionStatus = encryptionStatus; + this.__explicitlySet__.add("encryptionStatus"); + return this; + } + /** + * The light levels of the cross-connect (in dBm). + * + *

Example: {@code [14.0, -14.0, 2.1, -10.1]} + */ + @com.fasterxml.jackson.annotation.JsonProperty("lightLevelsInDBm") + private java.util.List lightLevelsInDBm; + + /** + * The light levels of the cross-connect (in dBm). + * + *

Example: {@code [14.0, -14.0, 2.1, -10.1]} + * + * @param lightLevelsInDBm the value to set + * @return this builder + */ + public Builder lightLevelsInDBm(java.util.List lightLevelsInDBm) { + this.lightLevelsInDBm = lightLevelsInDBm; + this.__explicitlySet__.add("lightLevelsInDBm"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -133,7 +191,9 @@ public CrossConnectStatus build() { this.crossConnectId, this.interfaceState, this.lightLevelIndBm, - this.lightLevelIndicator); + this.lightLevelIndicator, + this.encryptionStatus, + this.lightLevelsInDBm); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -154,6 +214,12 @@ public Builder copy(CrossConnectStatus model) { if (model.wasPropertyExplicitlySet("lightLevelIndicator")) { this.lightLevelIndicator(model.getLightLevelIndicator()); } + if (model.wasPropertyExplicitlySet("encryptionStatus")) { + this.encryptionStatus(model.getEncryptionStatus()); + } + if (model.wasPropertyExplicitlySet("lightLevelsInDBm")) { + this.lightLevelsInDBm(model.getLightLevelsInDBm()); + } return this; } } @@ -314,6 +380,96 @@ public LightLevelIndicator getLightLevelIndicator() { return lightLevelIndicator; } + /** + * Encryption status of this cross connect. + * + *

Possible values: * **UP:** Traffic is encrypted over this cross-connect * **DOWN:** + * Traffic is not encrypted over this cross-connect * **CIPHER_MISMATCH:** The MACsec encryption + * cipher doesn't match the cipher on the CPE * **CKN_MISMATCH:** The MACsec Connectivity + * association Key Name (CKN) doesn't match the CKN on the CPE * **CAK_MISMATCH:** The MACsec + * Connectivity Association Key (CAK) doesn't match the CAK on the CPE + */ + public enum EncryptionStatus implements com.oracle.bmc.http.internal.BmcEnum { + Up("UP"), + Down("DOWN"), + CipherMismatch("CIPHER_MISMATCH"), + CknMismatch("CKN_MISMATCH"), + CakMismatch("CAK_MISMATCH"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (EncryptionStatus v : EncryptionStatus.values()) { + map.put(v.getValue(), v); + } + } + + EncryptionStatus(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static EncryptionStatus create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid EncryptionStatus: " + key); + } + }; + /** + * Encryption status of this cross connect. + * + *

Possible values: * **UP:** Traffic is encrypted over this cross-connect * **DOWN:** + * Traffic is not encrypted over this cross-connect * **CIPHER_MISMATCH:** The MACsec encryption + * cipher doesn't match the cipher on the CPE * **CKN_MISMATCH:** The MACsec Connectivity + * association Key Name (CKN) doesn't match the CKN on the CPE * **CAK_MISMATCH:** The MACsec + * Connectivity Association Key (CAK) doesn't match the CAK on the CPE + */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionStatus") + private final EncryptionStatus encryptionStatus; + + /** + * Encryption status of this cross connect. + * + *

Possible values: * **UP:** Traffic is encrypted over this cross-connect * **DOWN:** + * Traffic is not encrypted over this cross-connect * **CIPHER_MISMATCH:** The MACsec encryption + * cipher doesn't match the cipher on the CPE * **CKN_MISMATCH:** The MACsec Connectivity + * association Key Name (CKN) doesn't match the CKN on the CPE * **CAK_MISMATCH:** The MACsec + * Connectivity Association Key (CAK) doesn't match the CAK on the CPE + * + * @return the value + */ + public EncryptionStatus getEncryptionStatus() { + return encryptionStatus; + } + + /** + * The light levels of the cross-connect (in dBm). + * + *

Example: {@code [14.0, -14.0, 2.1, -10.1]} + */ + @com.fasterxml.jackson.annotation.JsonProperty("lightLevelsInDBm") + private final java.util.List lightLevelsInDBm; + + /** + * The light levels of the cross-connect (in dBm). + * + *

Example: {@code [14.0, -14.0, 2.1, -10.1]} + * + * @return the value + */ + public java.util.List getLightLevelsInDBm() { + return lightLevelsInDBm; + } + @Override public String toString() { return this.toString(true); @@ -333,6 +489,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", interfaceState=").append(String.valueOf(this.interfaceState)); sb.append(", lightLevelIndBm=").append(String.valueOf(this.lightLevelIndBm)); sb.append(", lightLevelIndicator=").append(String.valueOf(this.lightLevelIndicator)); + sb.append(", encryptionStatus=").append(String.valueOf(this.encryptionStatus)); + sb.append(", lightLevelsInDBm=").append(String.valueOf(this.lightLevelsInDBm)); sb.append(")"); return sb.toString(); } @@ -351,6 +509,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.interfaceState, other.interfaceState) && java.util.Objects.equals(this.lightLevelIndBm, other.lightLevelIndBm) && java.util.Objects.equals(this.lightLevelIndicator, other.lightLevelIndicator) + && java.util.Objects.equals(this.encryptionStatus, other.encryptionStatus) + && java.util.Objects.equals(this.lightLevelsInDBm, other.lightLevelsInDBm) && super.equals(other); } @@ -372,6 +532,12 @@ public int hashCode() { + (this.lightLevelIndicator == null ? 43 : this.lightLevelIndicator.hashCode()); + result = + (result * PRIME) + + (this.encryptionStatus == null ? 43 : this.encryptionStatus.hashCode()); + result = + (result * PRIME) + + (this.lightLevelsInDBm == null ? 43 : this.lightLevelsInDBm.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DefaultPhaseOneParameters.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DefaultPhaseOneParameters.java new file mode 100644 index 00000000000..b3d4fab5dae --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DefaultPhaseOneParameters.java @@ -0,0 +1,231 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Default phase one parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = DefaultPhaseOneParameters.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class DefaultPhaseOneParameters + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "defaultEncryptionAlgorithms", + "defaultAuthenticationAlgorithms", + "defaultDhGroups" + }) + public DefaultPhaseOneParameters( + java.util.List defaultEncryptionAlgorithms, + java.util.List defaultAuthenticationAlgorithms, + java.util.List defaultDhGroups) { + super(); + this.defaultEncryptionAlgorithms = defaultEncryptionAlgorithms; + this.defaultAuthenticationAlgorithms = defaultAuthenticationAlgorithms; + this.defaultDhGroups = defaultDhGroups; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Default phase one encryption algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultEncryptionAlgorithms") + private java.util.List defaultEncryptionAlgorithms; + + /** + * Default phase one encryption algorithms. + * + * @param defaultEncryptionAlgorithms the value to set + * @return this builder + */ + public Builder defaultEncryptionAlgorithms( + java.util.List defaultEncryptionAlgorithms) { + this.defaultEncryptionAlgorithms = defaultEncryptionAlgorithms; + this.__explicitlySet__.add("defaultEncryptionAlgorithms"); + return this; + } + /** Default phase one authentication algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultAuthenticationAlgorithms") + private java.util.List defaultAuthenticationAlgorithms; + + /** + * Default phase one authentication algorithms. + * + * @param defaultAuthenticationAlgorithms the value to set + * @return this builder + */ + public Builder defaultAuthenticationAlgorithms( + java.util.List defaultAuthenticationAlgorithms) { + this.defaultAuthenticationAlgorithms = defaultAuthenticationAlgorithms; + this.__explicitlySet__.add("defaultAuthenticationAlgorithms"); + return this; + } + /** Default phase one Diffie-Hellman groups. */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultDhGroups") + private java.util.List defaultDhGroups; + + /** + * Default phase one Diffie-Hellman groups. + * + * @param defaultDhGroups the value to set + * @return this builder + */ + public Builder defaultDhGroups(java.util.List defaultDhGroups) { + this.defaultDhGroups = defaultDhGroups; + this.__explicitlySet__.add("defaultDhGroups"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public DefaultPhaseOneParameters build() { + DefaultPhaseOneParameters model = + new DefaultPhaseOneParameters( + this.defaultEncryptionAlgorithms, + this.defaultAuthenticationAlgorithms, + this.defaultDhGroups); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(DefaultPhaseOneParameters model) { + if (model.wasPropertyExplicitlySet("defaultEncryptionAlgorithms")) { + this.defaultEncryptionAlgorithms(model.getDefaultEncryptionAlgorithms()); + } + if (model.wasPropertyExplicitlySet("defaultAuthenticationAlgorithms")) { + this.defaultAuthenticationAlgorithms(model.getDefaultAuthenticationAlgorithms()); + } + if (model.wasPropertyExplicitlySet("defaultDhGroups")) { + this.defaultDhGroups(model.getDefaultDhGroups()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Default phase one encryption algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultEncryptionAlgorithms") + private final java.util.List defaultEncryptionAlgorithms; + + /** + * Default phase one encryption algorithms. + * + * @return the value + */ + public java.util.List getDefaultEncryptionAlgorithms() { + return defaultEncryptionAlgorithms; + } + + /** Default phase one authentication algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultAuthenticationAlgorithms") + private final java.util.List defaultAuthenticationAlgorithms; + + /** + * Default phase one authentication algorithms. + * + * @return the value + */ + public java.util.List getDefaultAuthenticationAlgorithms() { + return defaultAuthenticationAlgorithms; + } + + /** Default phase one Diffie-Hellman groups. */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultDhGroups") + private final java.util.List defaultDhGroups; + + /** + * Default phase one Diffie-Hellman groups. + * + * @return the value + */ + public java.util.List getDefaultDhGroups() { + return defaultDhGroups; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("DefaultPhaseOneParameters("); + sb.append("super=").append(super.toString()); + sb.append("defaultEncryptionAlgorithms=") + .append(String.valueOf(this.defaultEncryptionAlgorithms)); + sb.append(", defaultAuthenticationAlgorithms=") + .append(String.valueOf(this.defaultAuthenticationAlgorithms)); + sb.append(", defaultDhGroups=").append(String.valueOf(this.defaultDhGroups)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DefaultPhaseOneParameters)) { + return false; + } + + DefaultPhaseOneParameters other = (DefaultPhaseOneParameters) o; + return java.util.Objects.equals( + this.defaultEncryptionAlgorithms, other.defaultEncryptionAlgorithms) + && java.util.Objects.equals( + this.defaultAuthenticationAlgorithms, other.defaultAuthenticationAlgorithms) + && java.util.Objects.equals(this.defaultDhGroups, other.defaultDhGroups) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.defaultEncryptionAlgorithms == null + ? 43 + : this.defaultEncryptionAlgorithms.hashCode()); + result = + (result * PRIME) + + (this.defaultAuthenticationAlgorithms == null + ? 43 + : this.defaultAuthenticationAlgorithms.hashCode()); + result = + (result * PRIME) + + (this.defaultDhGroups == null ? 43 : this.defaultDhGroups.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DefaultPhaseTwoParameters.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DefaultPhaseTwoParameters.java new file mode 100644 index 00000000000..df2f30e95c7 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DefaultPhaseTwoParameters.java @@ -0,0 +1,231 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Default phase two parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = DefaultPhaseTwoParameters.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class DefaultPhaseTwoParameters + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "defaultEncryptionAlgorithms", + "defaultAuthenticationAlgorithms", + "defaultPfsDhGroup" + }) + public DefaultPhaseTwoParameters( + java.util.List defaultEncryptionAlgorithms, + java.util.List defaultAuthenticationAlgorithms, + String defaultPfsDhGroup) { + super(); + this.defaultEncryptionAlgorithms = defaultEncryptionAlgorithms; + this.defaultAuthenticationAlgorithms = defaultAuthenticationAlgorithms; + this.defaultPfsDhGroup = defaultPfsDhGroup; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Default phase two encryption algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultEncryptionAlgorithms") + private java.util.List defaultEncryptionAlgorithms; + + /** + * Default phase two encryption algorithms. + * + * @param defaultEncryptionAlgorithms the value to set + * @return this builder + */ + public Builder defaultEncryptionAlgorithms( + java.util.List defaultEncryptionAlgorithms) { + this.defaultEncryptionAlgorithms = defaultEncryptionAlgorithms; + this.__explicitlySet__.add("defaultEncryptionAlgorithms"); + return this; + } + /** Default phase two authentication algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultAuthenticationAlgorithms") + private java.util.List defaultAuthenticationAlgorithms; + + /** + * Default phase two authentication algorithms. + * + * @param defaultAuthenticationAlgorithms the value to set + * @return this builder + */ + public Builder defaultAuthenticationAlgorithms( + java.util.List defaultAuthenticationAlgorithms) { + this.defaultAuthenticationAlgorithms = defaultAuthenticationAlgorithms; + this.__explicitlySet__.add("defaultAuthenticationAlgorithms"); + return this; + } + /** Default perfect forward secrecy Diffie-Hellman groups. */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultPfsDhGroup") + private String defaultPfsDhGroup; + + /** + * Default perfect forward secrecy Diffie-Hellman groups. + * + * @param defaultPfsDhGroup the value to set + * @return this builder + */ + public Builder defaultPfsDhGroup(String defaultPfsDhGroup) { + this.defaultPfsDhGroup = defaultPfsDhGroup; + this.__explicitlySet__.add("defaultPfsDhGroup"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public DefaultPhaseTwoParameters build() { + DefaultPhaseTwoParameters model = + new DefaultPhaseTwoParameters( + this.defaultEncryptionAlgorithms, + this.defaultAuthenticationAlgorithms, + this.defaultPfsDhGroup); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(DefaultPhaseTwoParameters model) { + if (model.wasPropertyExplicitlySet("defaultEncryptionAlgorithms")) { + this.defaultEncryptionAlgorithms(model.getDefaultEncryptionAlgorithms()); + } + if (model.wasPropertyExplicitlySet("defaultAuthenticationAlgorithms")) { + this.defaultAuthenticationAlgorithms(model.getDefaultAuthenticationAlgorithms()); + } + if (model.wasPropertyExplicitlySet("defaultPfsDhGroup")) { + this.defaultPfsDhGroup(model.getDefaultPfsDhGroup()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Default phase two encryption algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultEncryptionAlgorithms") + private final java.util.List defaultEncryptionAlgorithms; + + /** + * Default phase two encryption algorithms. + * + * @return the value + */ + public java.util.List getDefaultEncryptionAlgorithms() { + return defaultEncryptionAlgorithms; + } + + /** Default phase two authentication algorithms. */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultAuthenticationAlgorithms") + private final java.util.List defaultAuthenticationAlgorithms; + + /** + * Default phase two authentication algorithms. + * + * @return the value + */ + public java.util.List getDefaultAuthenticationAlgorithms() { + return defaultAuthenticationAlgorithms; + } + + /** Default perfect forward secrecy Diffie-Hellman groups. */ + @com.fasterxml.jackson.annotation.JsonProperty("defaultPfsDhGroup") + private final String defaultPfsDhGroup; + + /** + * Default perfect forward secrecy Diffie-Hellman groups. + * + * @return the value + */ + public String getDefaultPfsDhGroup() { + return defaultPfsDhGroup; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("DefaultPhaseTwoParameters("); + sb.append("super=").append(super.toString()); + sb.append("defaultEncryptionAlgorithms=") + .append(String.valueOf(this.defaultEncryptionAlgorithms)); + sb.append(", defaultAuthenticationAlgorithms=") + .append(String.valueOf(this.defaultAuthenticationAlgorithms)); + sb.append(", defaultPfsDhGroup=").append(String.valueOf(this.defaultPfsDhGroup)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DefaultPhaseTwoParameters)) { + return false; + } + + DefaultPhaseTwoParameters other = (DefaultPhaseTwoParameters) o; + return java.util.Objects.equals( + this.defaultEncryptionAlgorithms, other.defaultEncryptionAlgorithms) + && java.util.Objects.equals( + this.defaultAuthenticationAlgorithms, other.defaultAuthenticationAlgorithms) + && java.util.Objects.equals(this.defaultPfsDhGroup, other.defaultPfsDhGroup) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.defaultEncryptionAlgorithms == null + ? 43 + : this.defaultEncryptionAlgorithms.hashCode()); + result = + (result * PRIME) + + (this.defaultAuthenticationAlgorithms == null + ? 43 + : this.defaultAuthenticationAlgorithms.hashCode()); + result = + (result * PRIME) + + (this.defaultPfsDhGroup == null ? 43 : this.defaultPfsDhGroup.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DhcpOptions.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DhcpOptions.java index 231367f50f5..629b6c15e52 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DhcpOptions.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DhcpOptions.java @@ -47,7 +47,8 @@ public final class DhcpOptions extends com.oracle.bmc.http.client.internal.Expli "lifecycleState", "options", "timeCreated", - "vcnId" + "vcnId", + "domainNameType" }) public DhcpOptions( String compartmentId, @@ -58,7 +59,8 @@ public DhcpOptions( LifecycleState lifecycleState, java.util.List options, java.util.Date timeCreated, - String vcnId) { + String vcnId, + DomainNameType domainNameType) { super(); this.compartmentId = compartmentId; this.definedTags = definedTags; @@ -69,6 +71,7 @@ public DhcpOptions( this.options = options; this.timeCreated = timeCreated; this.vcnId = vcnId; + this.domainNameType = domainNameType; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -243,6 +246,21 @@ public Builder vcnId(String vcnId) { this.__explicitlySet__.add("vcnId"); return this; } + /** The search domain name type of DHCP options */ + @com.fasterxml.jackson.annotation.JsonProperty("domainNameType") + private DomainNameType domainNameType; + + /** + * The search domain name type of DHCP options + * + * @param domainNameType the value to set + * @return this builder + */ + public Builder domainNameType(DomainNameType domainNameType) { + this.domainNameType = domainNameType; + this.__explicitlySet__.add("domainNameType"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -258,7 +276,8 @@ public DhcpOptions build() { this.lifecycleState, this.options, this.timeCreated, - this.vcnId); + this.vcnId, + this.domainNameType); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -294,6 +313,9 @@ public Builder copy(DhcpOptions model) { if (model.wasPropertyExplicitlySet("vcnId")) { this.vcnId(model.getVcnId()); } + if (model.wasPropertyExplicitlySet("domainNameType")) { + this.domainNameType(model.getDomainNameType()); + } return this; } } @@ -493,6 +515,53 @@ public String getVcnId() { return vcnId; } + /** The search domain name type of DHCP options */ + public enum DomainNameType implements com.oracle.bmc.http.internal.BmcEnum { + SubnetDomain("SUBNET_DOMAIN"), + VcnDomain("VCN_DOMAIN"), + CustomDomain("CUSTOM_DOMAIN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DomainNameType v : DomainNameType.values()) { + map.put(v.getValue(), v); + } + } + + DomainNameType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DomainNameType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid DomainNameType: " + key); + } + }; + /** The search domain name type of DHCP options */ + @com.fasterxml.jackson.annotation.JsonProperty("domainNameType") + private final DomainNameType domainNameType; + + /** + * The search domain name type of DHCP options + * + * @return the value + */ + public DomainNameType getDomainNameType() { + return domainNameType; + } + @Override public String toString() { return this.toString(true); @@ -517,6 +586,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", options=").append(String.valueOf(this.options)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", vcnId=").append(String.valueOf(this.vcnId)); + sb.append(", domainNameType=").append(String.valueOf(this.domainNameType)); sb.append(")"); return sb.toString(); } @@ -540,6 +610,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.options, other.options) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.vcnId, other.vcnId) + && java.util.Objects.equals(this.domainNameType, other.domainNameType) && super.equals(other); } @@ -560,6 +631,9 @@ public int hashCode() { result = (result * PRIME) + (this.options == null ? 43 : this.options.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); + result = + (result * PRIME) + + (this.domainNameType == null ? 43 : this.domainNameType.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DpdConfig.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DpdConfig.java new file mode 100644 index 00000000000..c2f96ea11cc --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DpdConfig.java @@ -0,0 +1,218 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * These configuration details are used for dead peer detection (DPD). DPD periodically checks the + * stability of the connection to the customer premises (CPE), and may be used to detect that the + * link to the CPE has gone down.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = DpdConfig.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class DpdConfig extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"dpdMode", "dpdTimeoutInSec"}) + public DpdConfig(DpdMode dpdMode, Integer dpdTimeoutInSec) { + super(); + this.dpdMode = dpdMode; + this.dpdTimeoutInSec = dpdTimeoutInSec; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * This option defines whether DPD can be initiated from the Oracle side of the connection. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dpdMode") + private DpdMode dpdMode; + + /** + * This option defines whether DPD can be initiated from the Oracle side of the connection. + * + * @param dpdMode the value to set + * @return this builder + */ + public Builder dpdMode(DpdMode dpdMode) { + this.dpdMode = dpdMode; + this.__explicitlySet__.add("dpdMode"); + return this; + } + /** + * DPD timeout in seconds. This sets the longest interval between CPE device health messages + * before the IPSec connection indicates it has lost contact with the CPE. The default is 20 + * seconds. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dpdTimeoutInSec") + private Integer dpdTimeoutInSec; + + /** + * DPD timeout in seconds. This sets the longest interval between CPE device health messages + * before the IPSec connection indicates it has lost contact with the CPE. The default is 20 + * seconds. + * + * @param dpdTimeoutInSec the value to set + * @return this builder + */ + public Builder dpdTimeoutInSec(Integer dpdTimeoutInSec) { + this.dpdTimeoutInSec = dpdTimeoutInSec; + this.__explicitlySet__.add("dpdTimeoutInSec"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public DpdConfig build() { + DpdConfig model = new DpdConfig(this.dpdMode, this.dpdTimeoutInSec); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(DpdConfig model) { + if (model.wasPropertyExplicitlySet("dpdMode")) { + this.dpdMode(model.getDpdMode()); + } + if (model.wasPropertyExplicitlySet("dpdTimeoutInSec")) { + this.dpdTimeoutInSec(model.getDpdTimeoutInSec()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** This option defines whether DPD can be initiated from the Oracle side of the connection. */ + public enum DpdMode implements com.oracle.bmc.http.internal.BmcEnum { + InitiateAndRespond("INITIATE_AND_RESPOND"), + RespondOnly("RESPOND_ONLY"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DpdMode v : DpdMode.values()) { + map.put(v.getValue(), v); + } + } + + DpdMode(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DpdMode create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid DpdMode: " + key); + } + }; + /** This option defines whether DPD can be initiated from the Oracle side of the connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("dpdMode") + private final DpdMode dpdMode; + + /** + * This option defines whether DPD can be initiated from the Oracle side of the connection. + * + * @return the value + */ + public DpdMode getDpdMode() { + return dpdMode; + } + + /** + * DPD timeout in seconds. This sets the longest interval between CPE device health messages + * before the IPSec connection indicates it has lost contact with the CPE. The default is 20 + * seconds. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dpdTimeoutInSec") + private final Integer dpdTimeoutInSec; + + /** + * DPD timeout in seconds. This sets the longest interval between CPE device health messages + * before the IPSec connection indicates it has lost contact with the CPE. The default is 20 + * seconds. + * + * @return the value + */ + public Integer getDpdTimeoutInSec() { + return dpdTimeoutInSec; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("DpdConfig("); + sb.append("super=").append(super.toString()); + sb.append("dpdMode=").append(String.valueOf(this.dpdMode)); + sb.append(", dpdTimeoutInSec=").append(String.valueOf(this.dpdTimeoutInSec)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DpdConfig)) { + return false; + } + + DpdConfig other = (DpdConfig) o; + return java.util.Objects.equals(this.dpdMode, other.dpdMode) + && java.util.Objects.equals(this.dpdTimeoutInSec, other.dpdTimeoutInSec) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.dpdMode == null ? 43 : this.dpdMode.hashCode()); + result = + (result * PRIME) + + (this.dpdTimeoutInSec == null ? 43 : this.dpdTimeoutInSec.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgAttachment.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgAttachment.java index 74b01dc2104..3b22658271a 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgAttachment.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgAttachment.java @@ -36,6 +36,7 @@ public final class DrgAttachment extends com.oracle.bmc.http.client.internal.Exp "networkDetails", "definedTags", "freeformTags", + "routeTableId", "vcnId", "exportDrgRouteDistributionId", "isCrossTenancy" @@ -51,6 +52,7 @@ public DrgAttachment( DrgAttachmentNetworkDetails networkDetails, java.util.Map> definedTags, java.util.Map freeformTags, + String routeTableId, String vcnId, String exportDrgRouteDistributionId, Boolean isCrossTenancy) { @@ -65,6 +67,7 @@ public DrgAttachment( this.networkDetails = networkDetails; this.definedTags = definedTags; this.freeformTags = freeformTags; + this.routeTableId = routeTableId; this.vcnId = vcnId; this.exportDrgRouteDistributionId = exportDrgRouteDistributionId; this.isCrossTenancy = isCrossTenancy; @@ -257,6 +260,49 @@ public Builder freeformTags(java.util.Map freeformTags) { this.__explicitlySet__.add("freeformTags"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the DRG attachment is using. + * + *

For information about why you would associate a route table with a DRG attachment, + * see: + * + *

[Transit Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + * + *

This field is deprecated. Instead, use the {@code networkDetails} field to view the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the attached resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the DRG attachment is using. + * + *

For information about why you would associate a route table with a DRG attachment, + * see: + * + *

[Transit Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + * + *

This field is deprecated. Instead, use the {@code networkDetails} field to view the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the attached resource. + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the VCN. This field is deprecated. Instead, use the {@code networkDetails} field to @@ -345,6 +391,7 @@ public DrgAttachment build() { this.networkDetails, this.definedTags, this.freeformTags, + this.routeTableId, this.vcnId, this.exportDrgRouteDistributionId, this.isCrossTenancy); @@ -386,6 +433,9 @@ public Builder copy(DrgAttachment model) { if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } if (model.wasPropertyExplicitlySet("vcnId")) { this.vcnId(model.getVcnId()); } @@ -607,6 +657,45 @@ public java.util.Map getFreeformTags() { return freeformTags; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the DRG attachment is using. + * + *

For information about why you would associate a route table with a DRG attachment, see: + * + *

[Transit Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + * + *

This field is deprecated. Instead, use the {@code networkDetails} field to view the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * attached resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the DRG attachment is using. + * + *

For information about why you would associate a route table with a DRG attachment, see: + * + *

[Transit Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + * + *

This field is deprecated. Instead, use the {@code networkDetails} field to view the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * attached resource. + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the VCN. This field is deprecated. Instead, use the {@code networkDetails} field to view the @@ -695,6 +784,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", networkDetails=").append(String.valueOf(this.networkDetails)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(", vcnId=").append(String.valueOf(this.vcnId)); sb.append(", exportDrgRouteDistributionId=") .append(String.valueOf(this.exportDrgRouteDistributionId)); @@ -723,6 +813,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.networkDetails, other.networkDetails) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) && java.util.Objects.equals(this.vcnId, other.vcnId) && java.util.Objects.equals( this.exportDrgRouteDistributionId, other.exportDrgRouteDistributionId) @@ -752,6 +843,7 @@ public int hashCode() { + (this.networkDetails == null ? 43 : this.networkDetails.hashCode()); result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); result = (result * PRIME) diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria.java new file mode 100644 index 00000000000..f470b3151bc --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria.java @@ -0,0 +1,103 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * All routes are imported or exported.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria.Builder.class) +@com.fasterxml.jackson.annotation.JsonTypeInfo( + use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, + include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, + property = "matchType") +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria + extends DrgRouteDistributionMatchCriteria { + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria build() { + DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria model = + new DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria(); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria model) { + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @Deprecated + public DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria() { + super(); + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria("); + sb.append("super=").append(super.toString(includeByteArrayContents)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria)) { + return false; + } + + DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria other = + (DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria) o; + return super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRedundancyStatus.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRedundancyStatus.java new file mode 100644 index 00000000000..09121b90f0f --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRedundancyStatus.java @@ -0,0 +1,218 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The redundancy status of the DRG. For more information, see [Redundancy + * Remedies](https://docs.cloud.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm). + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = DrgRedundancyStatus.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class DrgRedundancyStatus + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"id", "status"}) + public DrgRedundancyStatus(String id, Status status) { + super(); + this.id = id; + this.status = status; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the DRG. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the DRG. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** The redundancy status of the DRG. */ + @com.fasterxml.jackson.annotation.JsonProperty("status") + private Status status; + + /** + * The redundancy status of the DRG. + * + * @param status the value to set + * @return this builder + */ + public Builder status(Status status) { + this.status = status; + this.__explicitlySet__.add("status"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public DrgRedundancyStatus build() { + DrgRedundancyStatus model = new DrgRedundancyStatus(this.id, this.status); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(DrgRedundancyStatus model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("status")) { + this.status(model.getStatus()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the DRG. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the DRG. + * + * @return the value + */ + public String getId() { + return id; + } + + /** The redundancy status of the DRG. */ + public enum Status implements com.oracle.bmc.http.internal.BmcEnum { + NotAvailable("NOT_AVAILABLE"), + Redundant("REDUNDANT"), + NotRedundantSingleIpsec("NOT_REDUNDANT_SINGLE_IPSEC"), + NotRedundantSingleVirtualcircuit("NOT_REDUNDANT_SINGLE_VIRTUALCIRCUIT"), + NotRedundantMultipleIpsecs("NOT_REDUNDANT_MULTIPLE_IPSECS"), + NotRedundantMultipleVirtualcircuits("NOT_REDUNDANT_MULTIPLE_VIRTUALCIRCUITS"), + NotRedundantMixConnections("NOT_REDUNDANT_MIX_CONNECTIONS"), + NotRedundantNoConnection("NOT_REDUNDANT_NO_CONNECTION"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Status v : Status.values()) { + map.put(v.getValue(), v); + } + } + + Status(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Status create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid Status: " + key); + } + }; + /** The redundancy status of the DRG. */ + @com.fasterxml.jackson.annotation.JsonProperty("status") + private final Status status; + + /** + * The redundancy status of the DRG. + * + * @return the value + */ + public Status getStatus() { + return status; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("DrgRedundancyStatus("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", status=").append(String.valueOf(this.status)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof DrgRedundancyStatus)) { + return false; + } + + DrgRedundancyStatus other = (DrgRedundancyStatus) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.status, other.status) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.status == null ? 43 : this.status.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRouteDistribution.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRouteDistribution.java index cb2251e3c96..4b73b51c9f1 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRouteDistribution.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRouteDistribution.java @@ -16,11 +16,12 @@ * an import route distribution specify how how incoming route advertisements through a referenced * attachment or all attachments of a certain type are inserted into the route table. * - *

You can assign a route distribution as a DRG attachment's export distribution. Export route - * distribution statements specify how routes in a DRG attachment's assigned table are advertised - * out through the attachment. When a DRG attachment is created, a route distribution is created - * with a single ACCEPT statement with match criteria MATCH_ALL. Exporting routes through VCN - * attachments is unsupported, so no VCN attachments are assigned an export distribution. + *

You can assign a route distribution as a DRG attachment's export distribution unless the + * attachment has the type VCN. Exporting routes through a VCN attachment is unsupported. Export + * route distribution statements specify how routes in a DRG attachment's assigned table are + * advertised out through the attachment. When a DRG is created, a route distribution is created + * with a single ACCEPT statement with match criteria MATCH_ALL. By default, all DRG attachments + * (except for those of type VCN), are assigned this distribution. * *

The two auto-generated DRG route tables (one as the default for VCN attachments, and the other * for all other types of attachments) are each assigned an auto generated import route diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRouteDistributionMatchCriteria.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRouteDistributionMatchCriteria.java index 920147df431..2184142f18b 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRouteDistributionMatchCriteria.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRouteDistributionMatchCriteria.java @@ -28,7 +28,10 @@ name = "DRG_ATTACHMENT_ID"), @com.fasterxml.jackson.annotation.JsonSubTypes.Type( value = DrgAttachmentTypeDrgRouteDistributionMatchCriteria.class, - name = "DRG_ATTACHMENT_TYPE") + name = "DRG_ATTACHMENT_TYPE"), + @com.fasterxml.jackson.annotation.JsonSubTypes.Type( + value = DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria.class, + name = "MATCH_ALL") }) @com.fasterxml.jackson.annotation.JsonFilter( com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) @@ -84,6 +87,7 @@ public int hashCode() { public enum MatchType implements com.oracle.bmc.http.internal.BmcEnum { DrgAttachmentType("DRG_ATTACHMENT_TYPE"), DrgAttachmentId("DRG_ATTACHMENT_ID"), + MatchAll("MATCH_ALL"), ; private final String value; diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRouteRule.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRouteRule.java index 0b2bc0fe1a5..41cce8c336b 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRouteRule.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/DrgRouteRule.java @@ -89,8 +89,7 @@ public Builder destination(String destination) { return this; } /** - * The type of destination for the rule. the type is required if {@code direction} = {@code - * EGRESS}. + * The type of destination for the rule. * *

Allowed values: * @@ -103,8 +102,7 @@ public Builder destination(String destination) { private DestinationType destinationType; /** - * The type of destination for the rule. the type is required if {@code direction} = {@code - * EGRESS}. + * The type of destination for the rule. * *

Allowed values: * @@ -350,8 +348,7 @@ public String getDestination() { } /** - * The type of destination for the rule. the type is required if {@code direction} = {@code - * EGRESS}. + * The type of destination for the rule. * *

Allowed values: * @@ -406,8 +403,7 @@ public static DestinationType create(String key) { } }; /** - * The type of destination for the rule. the type is required if {@code direction} = {@code - * EGRESS}. + * The type of destination for the rule. * *

Allowed values: * @@ -420,8 +416,7 @@ public static DestinationType create(String key) { private final DestinationType destinationType; /** - * The type of destination for the rule. the type is required if {@code direction} = {@code - * EGRESS}. + * The type of destination for the rule. * *

Allowed values: * diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/EgressSecurityRule.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/EgressSecurityRule.java index 0cac53d1711..1d6ff65bf7d 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/EgressSecurityRule.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/EgressSecurityRule.java @@ -30,7 +30,8 @@ public final class EgressSecurityRule "isStateless", "protocol", "tcpOptions", - "udpOptions" + "udpOptions", + "description" }) public EgressSecurityRule( String destination, @@ -39,7 +40,8 @@ public EgressSecurityRule( Boolean isStateless, String protocol, TcpOptions tcpOptions, - UdpOptions udpOptions) { + UdpOptions udpOptions, + String description) { super(); this.destination = destination; this.destinationType = destinationType; @@ -48,6 +50,7 @@ public EgressSecurityRule( this.protocol = protocol; this.tcpOptions = tcpOptions; this.udpOptions = udpOptions; + this.description = description; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -203,6 +206,21 @@ public Builder udpOptions(UdpOptions udpOptions) { this.__explicitlySet__.add("udpOptions"); return this; } + /** An optional description of your choice for the rule. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * An optional description of your choice for the rule. + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -216,7 +234,8 @@ public EgressSecurityRule build() { this.isStateless, this.protocol, this.tcpOptions, - this.udpOptions); + this.udpOptions, + this.description); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -246,6 +265,9 @@ public Builder copy(EgressSecurityRule model) { if (model.wasPropertyExplicitlySet("udpOptions")) { this.udpOptions(model.getUdpOptions()); } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } return this; } } @@ -451,6 +473,19 @@ public UdpOptions getUdpOptions() { return udpOptions; } + /** An optional description of your choice for the rule. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * An optional description of your choice for the rule. + * + * @return the value + */ + public String getDescription() { + return description; + } + @Override public String toString() { return this.toString(true); @@ -473,6 +508,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", protocol=").append(String.valueOf(this.protocol)); sb.append(", tcpOptions=").append(String.valueOf(this.tcpOptions)); sb.append(", udpOptions=").append(String.valueOf(this.udpOptions)); + sb.append(", description=").append(String.valueOf(this.description)); sb.append(")"); return sb.toString(); } @@ -494,6 +530,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.protocol, other.protocol) && java.util.Objects.equals(this.tcpOptions, other.tcpOptions) && java.util.Objects.equals(this.udpOptions, other.udpOptions) + && java.util.Objects.equals(this.description, other.description) && super.equals(other); } @@ -510,6 +547,7 @@ public int hashCode() { result = (result * PRIME) + (this.protocol == null ? 43 : this.protocol.hashCode()); result = (result * PRIME) + (this.tcpOptions == null ? 43 : this.tcpOptions.hashCode()); result = (result * PRIME) + (this.udpOptions == null ? 43 : this.udpOptions.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/EncryptionDomainConfig.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/EncryptionDomainConfig.java new file mode 100644 index 00000000000..d3ee2011b6c --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/EncryptionDomainConfig.java @@ -0,0 +1,180 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Configuration information used by the encryption domain policy.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = EncryptionDomainConfig.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class EncryptionDomainConfig + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"oracleTrafficSelector", "cpeTrafficSelector"}) + public EncryptionDomainConfig( + java.util.List oracleTrafficSelector, + java.util.List cpeTrafficSelector) { + super(); + this.oracleTrafficSelector = oracleTrafficSelector; + this.cpeTrafficSelector = cpeTrafficSelector; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleTrafficSelector") + private java.util.List oracleTrafficSelector; + + /** + * Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. + * + * @param oracleTrafficSelector the value to set + * @return this builder + */ + public Builder oracleTrafficSelector(java.util.List oracleTrafficSelector) { + this.oracleTrafficSelector = oracleTrafficSelector; + this.__explicitlySet__.add("oracleTrafficSelector"); + return this; + } + /** Lists IPv4 or IPv6-enabled subnets in your on-premises network. */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeTrafficSelector") + private java.util.List cpeTrafficSelector; + + /** + * Lists IPv4 or IPv6-enabled subnets in your on-premises network. + * + * @param cpeTrafficSelector the value to set + * @return this builder + */ + public Builder cpeTrafficSelector(java.util.List cpeTrafficSelector) { + this.cpeTrafficSelector = cpeTrafficSelector; + this.__explicitlySet__.add("cpeTrafficSelector"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public EncryptionDomainConfig build() { + EncryptionDomainConfig model = + new EncryptionDomainConfig(this.oracleTrafficSelector, this.cpeTrafficSelector); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(EncryptionDomainConfig model) { + if (model.wasPropertyExplicitlySet("oracleTrafficSelector")) { + this.oracleTrafficSelector(model.getOracleTrafficSelector()); + } + if (model.wasPropertyExplicitlySet("cpeTrafficSelector")) { + this.cpeTrafficSelector(model.getCpeTrafficSelector()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleTrafficSelector") + private final java.util.List oracleTrafficSelector; + + /** + * Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. + * + * @return the value + */ + public java.util.List getOracleTrafficSelector() { + return oracleTrafficSelector; + } + + /** Lists IPv4 or IPv6-enabled subnets in your on-premises network. */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeTrafficSelector") + private final java.util.List cpeTrafficSelector; + + /** + * Lists IPv4 or IPv6-enabled subnets in your on-premises network. + * + * @return the value + */ + public java.util.List getCpeTrafficSelector() { + return cpeTrafficSelector; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("EncryptionDomainConfig("); + sb.append("super=").append(super.toString()); + sb.append("oracleTrafficSelector=").append(String.valueOf(this.oracleTrafficSelector)); + sb.append(", cpeTrafficSelector=").append(String.valueOf(this.cpeTrafficSelector)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof EncryptionDomainConfig)) { + return false; + } + + EncryptionDomainConfig other = (EncryptionDomainConfig) o; + return java.util.Objects.equals(this.oracleTrafficSelector, other.oracleTrafficSelector) + && java.util.Objects.equals(this.cpeTrafficSelector, other.cpeTrafficSelector) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.oracleTrafficSelector == null + ? 43 + : this.oracleTrafficSelector.hashCode()); + result = + (result * PRIME) + + (this.cpeTrafficSelector == null + ? 43 + : this.cpeTrafficSelector.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/FastConnectProviderService.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/FastConnectProviderService.java index 0ac987de131..487bc7725f7 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/FastConnectProviderService.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/FastConnectProviderService.java @@ -32,6 +32,10 @@ public final class FastConnectProviderService "providerServiceName", "publicPeeringBgpManagement", "supportedVirtualCircuitTypes", + "customerAsnManagement", + "providerServiceKeyManagement", + "bandwithShapeManagement", + "requiredTotalCrossConnects", "type" }) public FastConnectProviderService( @@ -42,6 +46,10 @@ public FastConnectProviderService( String providerServiceName, PublicPeeringBgpManagement publicPeeringBgpManagement, java.util.List supportedVirtualCircuitTypes, + CustomerAsnManagement customerAsnManagement, + ProviderServiceKeyManagement providerServiceKeyManagement, + BandwithShapeManagement bandwithShapeManagement, + Integer requiredTotalCrossConnects, Type type) { super(); this.description = description; @@ -51,6 +59,10 @@ public FastConnectProviderService( this.providerServiceName = providerServiceName; this.publicPeeringBgpManagement = publicPeeringBgpManagement; this.supportedVirtualCircuitTypes = supportedVirtualCircuitTypes; + this.customerAsnManagement = customerAsnManagement; + this.providerServiceKeyManagement = providerServiceKeyManagement; + this.bandwithShapeManagement = bandwithShapeManagement; + this.requiredTotalCrossConnects = requiredTotalCrossConnects; this.type = type; } @@ -180,6 +192,73 @@ public Builder supportedVirtualCircuitTypes( this.__explicitlySet__.add("supportedVirtualCircuitTypes"); return this; } + /** + * Who is responsible for managing the ASN information for the network at the other end of + * the connection from Oracle. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerAsnManagement") + private CustomerAsnManagement customerAsnManagement; + + /** + * Who is responsible for managing the ASN information for the network at the other end of + * the connection from Oracle. + * + * @param customerAsnManagement the value to set + * @return this builder + */ + public Builder customerAsnManagement(CustomerAsnManagement customerAsnManagement) { + this.customerAsnManagement = customerAsnManagement; + this.__explicitlySet__.add("customerAsnManagement"); + return this; + } + /** Who is responsible for managing the provider service key. */ + @com.fasterxml.jackson.annotation.JsonProperty("providerServiceKeyManagement") + private ProviderServiceKeyManagement providerServiceKeyManagement; + + /** + * Who is responsible for managing the provider service key. + * + * @param providerServiceKeyManagement the value to set + * @return this builder + */ + public Builder providerServiceKeyManagement( + ProviderServiceKeyManagement providerServiceKeyManagement) { + this.providerServiceKeyManagement = providerServiceKeyManagement; + this.__explicitlySet__.add("providerServiceKeyManagement"); + return this; + } + /** Who is responsible for managing the virtual circuit bandwidth. */ + @com.fasterxml.jackson.annotation.JsonProperty("bandwithShapeManagement") + private BandwithShapeManagement bandwithShapeManagement; + + /** + * Who is responsible for managing the virtual circuit bandwidth. + * + * @param bandwithShapeManagement the value to set + * @return this builder + */ + public Builder bandwithShapeManagement(BandwithShapeManagement bandwithShapeManagement) { + this.bandwithShapeManagement = bandwithShapeManagement; + this.__explicitlySet__.add("bandwithShapeManagement"); + return this; + } + /** + * Total number of cross-connect or cross-connect groups required for the virtual circuit. + */ + @com.fasterxml.jackson.annotation.JsonProperty("requiredTotalCrossConnects") + private Integer requiredTotalCrossConnects; + + /** + * Total number of cross-connect or cross-connect groups required for the virtual circuit. + * + * @param requiredTotalCrossConnects the value to set + * @return this builder + */ + public Builder requiredTotalCrossConnects(Integer requiredTotalCrossConnects) { + this.requiredTotalCrossConnects = requiredTotalCrossConnects; + this.__explicitlySet__.add("requiredTotalCrossConnects"); + return this; + } /** Provider service type. */ @com.fasterxml.jackson.annotation.JsonProperty("type") private Type type; @@ -209,6 +288,10 @@ public FastConnectProviderService build() { this.providerServiceName, this.publicPeeringBgpManagement, this.supportedVirtualCircuitTypes, + this.customerAsnManagement, + this.providerServiceKeyManagement, + this.bandwithShapeManagement, + this.requiredTotalCrossConnects, this.type); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -239,6 +322,18 @@ public Builder copy(FastConnectProviderService model) { if (model.wasPropertyExplicitlySet("supportedVirtualCircuitTypes")) { this.supportedVirtualCircuitTypes(model.getSupportedVirtualCircuitTypes()); } + if (model.wasPropertyExplicitlySet("customerAsnManagement")) { + this.customerAsnManagement(model.getCustomerAsnManagement()); + } + if (model.wasPropertyExplicitlySet("providerServiceKeyManagement")) { + this.providerServiceKeyManagement(model.getProviderServiceKeyManagement()); + } + if (model.wasPropertyExplicitlySet("bandwithShapeManagement")) { + this.bandwithShapeManagement(model.getBandwithShapeManagement()); + } + if (model.wasPropertyExplicitlySet("requiredTotalCrossConnects")) { + this.requiredTotalCrossConnects(model.getRequiredTotalCrossConnects()); + } if (model.wasPropertyExplicitlySet("type")) { this.type(model.getType()); } @@ -463,6 +558,167 @@ public java.util.List getSupportedVirtualCircuitTy return supportedVirtualCircuitTypes; } + /** + * Who is responsible for managing the ASN information for the network at the other end of the + * connection from Oracle. + */ + public enum CustomerAsnManagement implements com.oracle.bmc.http.internal.BmcEnum { + CustomerManaged("CUSTOMER_MANAGED"), + ProviderManaged("PROVIDER_MANAGED"), + OracleManaged("ORACLE_MANAGED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (CustomerAsnManagement v : CustomerAsnManagement.values()) { + map.put(v.getValue(), v); + } + } + + CustomerAsnManagement(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static CustomerAsnManagement create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid CustomerAsnManagement: " + key); + } + }; + /** + * Who is responsible for managing the ASN information for the network at the other end of the + * connection from Oracle. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerAsnManagement") + private final CustomerAsnManagement customerAsnManagement; + + /** + * Who is responsible for managing the ASN information for the network at the other end of the + * connection from Oracle. + * + * @return the value + */ + public CustomerAsnManagement getCustomerAsnManagement() { + return customerAsnManagement; + } + + /** Who is responsible for managing the provider service key. */ + public enum ProviderServiceKeyManagement implements com.oracle.bmc.http.internal.BmcEnum { + CustomerManaged("CUSTOMER_MANAGED"), + ProviderManaged("PROVIDER_MANAGED"), + OracleManaged("ORACLE_MANAGED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ProviderServiceKeyManagement v : ProviderServiceKeyManagement.values()) { + map.put(v.getValue(), v); + } + } + + ProviderServiceKeyManagement(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ProviderServiceKeyManagement create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid ProviderServiceKeyManagement: " + key); + } + }; + /** Who is responsible for managing the provider service key. */ + @com.fasterxml.jackson.annotation.JsonProperty("providerServiceKeyManagement") + private final ProviderServiceKeyManagement providerServiceKeyManagement; + + /** + * Who is responsible for managing the provider service key. + * + * @return the value + */ + public ProviderServiceKeyManagement getProviderServiceKeyManagement() { + return providerServiceKeyManagement; + } + + /** Who is responsible for managing the virtual circuit bandwidth. */ + public enum BandwithShapeManagement implements com.oracle.bmc.http.internal.BmcEnum { + CustomerManaged("CUSTOMER_MANAGED"), + ProviderManaged("PROVIDER_MANAGED"), + OracleManaged("ORACLE_MANAGED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (BandwithShapeManagement v : BandwithShapeManagement.values()) { + map.put(v.getValue(), v); + } + } + + BandwithShapeManagement(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static BandwithShapeManagement create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid BandwithShapeManagement: " + key); + } + }; + /** Who is responsible for managing the virtual circuit bandwidth. */ + @com.fasterxml.jackson.annotation.JsonProperty("bandwithShapeManagement") + private final BandwithShapeManagement bandwithShapeManagement; + + /** + * Who is responsible for managing the virtual circuit bandwidth. + * + * @return the value + */ + public BandwithShapeManagement getBandwithShapeManagement() { + return bandwithShapeManagement; + } + + /** Total number of cross-connect or cross-connect groups required for the virtual circuit. */ + @com.fasterxml.jackson.annotation.JsonProperty("requiredTotalCrossConnects") + private final Integer requiredTotalCrossConnects; + + /** + * Total number of cross-connect or cross-connect groups required for the virtual circuit. + * + * @return the value + */ + public Integer getRequiredTotalCrossConnects() { + return requiredTotalCrossConnects; + } + /** Provider service type. */ public enum Type implements com.oracle.bmc.http.internal.BmcEnum { Layer2("LAYER2"), @@ -534,6 +790,13 @@ public String toString(boolean includeByteArrayContents) { .append(String.valueOf(this.publicPeeringBgpManagement)); sb.append(", supportedVirtualCircuitTypes=") .append(String.valueOf(this.supportedVirtualCircuitTypes)); + sb.append(", customerAsnManagement=").append(String.valueOf(this.customerAsnManagement)); + sb.append(", providerServiceKeyManagement=") + .append(String.valueOf(this.providerServiceKeyManagement)); + sb.append(", bandwithShapeManagement=") + .append(String.valueOf(this.bandwithShapeManagement)); + sb.append(", requiredTotalCrossConnects=") + .append(String.valueOf(this.requiredTotalCrossConnects)); sb.append(", type=").append(String.valueOf(this.type)); sb.append(")"); return sb.toString(); @@ -559,6 +822,13 @@ public boolean equals(Object o) { this.publicPeeringBgpManagement, other.publicPeeringBgpManagement) && java.util.Objects.equals( this.supportedVirtualCircuitTypes, other.supportedVirtualCircuitTypes) + && java.util.Objects.equals(this.customerAsnManagement, other.customerAsnManagement) + && java.util.Objects.equals( + this.providerServiceKeyManagement, other.providerServiceKeyManagement) + && java.util.Objects.equals( + this.bandwithShapeManagement, other.bandwithShapeManagement) + && java.util.Objects.equals( + this.requiredTotalCrossConnects, other.requiredTotalCrossConnects) && java.util.Objects.equals(this.type, other.type) && super.equals(other); } @@ -590,6 +860,26 @@ public int hashCode() { + (this.supportedVirtualCircuitTypes == null ? 43 : this.supportedVirtualCircuitTypes.hashCode()); + result = + (result * PRIME) + + (this.customerAsnManagement == null + ? 43 + : this.customerAsnManagement.hashCode()); + result = + (result * PRIME) + + (this.providerServiceKeyManagement == null + ? 43 + : this.providerServiceKeyManagement.hashCode()); + result = + (result * PRIME) + + (this.bandwithShapeManagement == null + ? 43 + : this.bandwithShapeManagement.hashCode()); + result = + (result * PRIME) + + (this.requiredTotalCrossConnects == null + ? 43 + : this.requiredTotalCrossConnects.hashCode()); result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/FastConnectProviderServiceKey.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/FastConnectProviderServiceKey.java new file mode 100644 index 00000000000..c44dfde4888 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/FastConnectProviderServiceKey.java @@ -0,0 +1,258 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * A provider service key and its details. A provider service key is an identifier for a provider's + * virtual circuit.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = FastConnectProviderServiceKey.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class FastConnectProviderServiceKey + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"name", "bandwidthShapeName", "peeringLocation"}) + public FastConnectProviderServiceKey( + String name, String bandwidthShapeName, String peeringLocation) { + super(); + this.name = name; + this.bandwidthShapeName = bandwidthShapeName; + this.peeringLocation = peeringLocation; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The service key that the provider gives you when you set up a virtual circuit connection + * from the provider to Oracle Cloud Infrastructure. Use this value as the {@code + * providerServiceKeyName} query parameter for {@link + * #getFastConnectProviderServiceKey(GetFastConnectProviderServiceKeyRequest) + * getFastConnectProviderServiceKey}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private String name; + + /** + * The service key that the provider gives you when you set up a virtual circuit connection + * from the provider to Oracle Cloud Infrastructure. Use this value as the {@code + * providerServiceKeyName} query parameter for {@link + * #getFastConnectProviderServiceKey(GetFastConnectProviderServiceKeyRequest) + * getFastConnectProviderServiceKey}. + * + * @param name the value to set + * @return this builder + */ + public Builder name(String name) { + this.name = name; + this.__explicitlySet__.add("name"); + return this; + } + /** + * The provisioned data rate of the connection. To get a list of the available bandwidth + * levels (that is, shapes), see {@link + * #listFastConnectProviderVirtualCircuitBandwidthShapes(ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) + * listFastConnectProviderVirtualCircuitBandwidthShapes}. + * + *

Example: {@code 10 Gbps} + */ + @com.fasterxml.jackson.annotation.JsonProperty("bandwidthShapeName") + private String bandwidthShapeName; + + /** + * The provisioned data rate of the connection. To get a list of the available bandwidth + * levels (that is, shapes), see {@link + * #listFastConnectProviderVirtualCircuitBandwidthShapes(ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) + * listFastConnectProviderVirtualCircuitBandwidthShapes}. + * + *

Example: {@code 10 Gbps} + * + * @param bandwidthShapeName the value to set + * @return this builder + */ + public Builder bandwidthShapeName(String bandwidthShapeName) { + this.bandwidthShapeName = bandwidthShapeName; + this.__explicitlySet__.add("bandwidthShapeName"); + return this; + } + /** The provider's peering location. */ + @com.fasterxml.jackson.annotation.JsonProperty("peeringLocation") + private String peeringLocation; + + /** + * The provider's peering location. + * + * @param peeringLocation the value to set + * @return this builder + */ + public Builder peeringLocation(String peeringLocation) { + this.peeringLocation = peeringLocation; + this.__explicitlySet__.add("peeringLocation"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public FastConnectProviderServiceKey build() { + FastConnectProviderServiceKey model = + new FastConnectProviderServiceKey( + this.name, this.bandwidthShapeName, this.peeringLocation); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(FastConnectProviderServiceKey model) { + if (model.wasPropertyExplicitlySet("name")) { + this.name(model.getName()); + } + if (model.wasPropertyExplicitlySet("bandwidthShapeName")) { + this.bandwidthShapeName(model.getBandwidthShapeName()); + } + if (model.wasPropertyExplicitlySet("peeringLocation")) { + this.peeringLocation(model.getPeeringLocation()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The service key that the provider gives you when you set up a virtual circuit connection from + * the provider to Oracle Cloud Infrastructure. Use this value as the {@code + * providerServiceKeyName} query parameter for {@link + * #getFastConnectProviderServiceKey(GetFastConnectProviderServiceKeyRequest) + * getFastConnectProviderServiceKey}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("name") + private final String name; + + /** + * The service key that the provider gives you when you set up a virtual circuit connection from + * the provider to Oracle Cloud Infrastructure. Use this value as the {@code + * providerServiceKeyName} query parameter for {@link + * #getFastConnectProviderServiceKey(GetFastConnectProviderServiceKeyRequest) + * getFastConnectProviderServiceKey}. + * + * @return the value + */ + public String getName() { + return name; + } + + /** + * The provisioned data rate of the connection. To get a list of the available bandwidth levels + * (that is, shapes), see {@link + * #listFastConnectProviderVirtualCircuitBandwidthShapes(ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) + * listFastConnectProviderVirtualCircuitBandwidthShapes}. + * + *

Example: {@code 10 Gbps} + */ + @com.fasterxml.jackson.annotation.JsonProperty("bandwidthShapeName") + private final String bandwidthShapeName; + + /** + * The provisioned data rate of the connection. To get a list of the available bandwidth levels + * (that is, shapes), see {@link + * #listFastConnectProviderVirtualCircuitBandwidthShapes(ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) + * listFastConnectProviderVirtualCircuitBandwidthShapes}. + * + *

Example: {@code 10 Gbps} + * + * @return the value + */ + public String getBandwidthShapeName() { + return bandwidthShapeName; + } + + /** The provider's peering location. */ + @com.fasterxml.jackson.annotation.JsonProperty("peeringLocation") + private final String peeringLocation; + + /** + * The provider's peering location. + * + * @return the value + */ + public String getPeeringLocation() { + return peeringLocation; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("FastConnectProviderServiceKey("); + sb.append("super=").append(super.toString()); + sb.append("name=").append(String.valueOf(this.name)); + sb.append(", bandwidthShapeName=").append(String.valueOf(this.bandwidthShapeName)); + sb.append(", peeringLocation=").append(String.valueOf(this.peeringLocation)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof FastConnectProviderServiceKey)) { + return false; + } + + FastConnectProviderServiceKey other = (FastConnectProviderServiceKey) o; + return java.util.Objects.equals(this.name, other.name) + && java.util.Objects.equals(this.bandwidthShapeName, other.bandwidthShapeName) + && java.util.Objects.equals(this.peeringLocation, other.peeringLocation) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); + result = + (result * PRIME) + + (this.bandwidthShapeName == null + ? 43 + : this.bandwidthShapeName.hashCode()); + result = + (result * PRIME) + + (this.peeringLocation == null ? 43 : this.peeringLocation.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnection.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnection.java index 4f4626b0e66..1fc11de63a0 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnection.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnection.java @@ -6,9 +6,21 @@ /** * A connection between a DRG and CPE. This connection consists of multiple IPSec tunnels. Creating - * this connection is one of the steps required when setting up a Site-to-Site VPN. For more - * information, see [Site-to-Site VPN - * Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). + * this connection is one of the steps required when setting up a Site-to-Site VPN. + * + *

*Important:** Each tunnel in an IPSec connection can use either static routing or BGP dynamic + * routing (see the {@link IPSecConnectionTunnel} object's {@code routing} attribute). Originally + * only static routing was supported and every IPSec connection was required to have at least one + * static route configured. To maintain backward compatibility in the API when support for BPG + * dynamic routing was introduced, the API accepts an empty list of static routes if you configure + * both of the IPSec tunnels to use BGP dynamic routing. If you switch a tunnel's routing from + * {@code BGP} to {@code STATIC}, you must first ensure that the IPSec connection is configured with + * at least one valid CIDR block static route. Oracle uses the IPSec connection's static routes when + * routing a tunnel's traffic *only* if that tunnel's {@code routing} attribute = {@code STATIC}. + * Otherwise the static routes are ignored. + * + *

For more information about the workflow for setting up an IPSec connection, see [Site-to-Site + * VPN Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). * *

To use any of the API operations, you must be authorized in an IAM policy. If you're not * authorized, talk to an administrator. If you're an administrator who needs to write policies to @@ -40,6 +52,8 @@ public final class IPSecConnection "freeformTags", "id", "lifecycleState", + "cpeLocalIdentifier", + "cpeLocalIdentifierType", "staticRoutes", "timeCreated" }) @@ -52,6 +66,8 @@ public IPSecConnection( java.util.Map freeformTags, String id, LifecycleState lifecycleState, + String cpeLocalIdentifier, + CpeLocalIdentifierType cpeLocalIdentifierType, java.util.List staticRoutes, java.util.Date timeCreated) { super(); @@ -63,6 +79,8 @@ public IPSecConnection( this.freeformTags = freeformTags; this.id = id; this.lifecycleState = lifecycleState; + this.cpeLocalIdentifier = cpeLocalIdentifier; + this.cpeLocalIdentifierType = cpeLocalIdentifierType; this.staticRoutes = staticRoutes; this.timeCreated = timeCreated; } @@ -218,12 +236,83 @@ public Builder lifecycleState(LifecycleState lifecycleState) { this.__explicitlySet__.add("lifecycleState"); return this; } + /** + * Your identifier for your CPE device. Can be either an IP address or a hostname + * (specifically, the fully qualified domain name (FQDN)). The type of identifier here must + * correspond to the value for {@code cpeLocalIdentifierType}. + * + *

If you don't provide a value when creating the IPSec connection, the {@code ipAddress} + * attribute for the {@link Cpe} object specified by {@code cpeId} is used as the {@code + * cpeLocalIdentifier}. + * + *

For information about why you'd provide this value, see [If Your CPE Is Behind a NAT + * Device](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + * + *

Example IP address: {@code 10.0.3.3} + * + *

Example hostname: {@code cpe.example.com} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeLocalIdentifier") + private String cpeLocalIdentifier; + + /** + * Your identifier for your CPE device. Can be either an IP address or a hostname + * (specifically, the fully qualified domain name (FQDN)). The type of identifier here must + * correspond to the value for {@code cpeLocalIdentifierType}. + * + *

If you don't provide a value when creating the IPSec connection, the {@code ipAddress} + * attribute for the {@link Cpe} object specified by {@code cpeId} is used as the {@code + * cpeLocalIdentifier}. + * + *

For information about why you'd provide this value, see [If Your CPE Is Behind a NAT + * Device](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + * + *

Example IP address: {@code 10.0.3.3} + * + *

Example hostname: {@code cpe.example.com} + * + * @param cpeLocalIdentifier the value to set + * @return this builder + */ + public Builder cpeLocalIdentifier(String cpeLocalIdentifier) { + this.cpeLocalIdentifier = cpeLocalIdentifier; + this.__explicitlySet__.add("cpeLocalIdentifier"); + return this; + } + /** + * The type of identifier for your CPE device. The value here must correspond to the value + * for {@code cpeLocalIdentifier}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeLocalIdentifierType") + private CpeLocalIdentifierType cpeLocalIdentifierType; + + /** + * The type of identifier for your CPE device. The value here must correspond to the value + * for {@code cpeLocalIdentifier}. + * + * @param cpeLocalIdentifierType the value to set + * @return this builder + */ + public Builder cpeLocalIdentifierType(CpeLocalIdentifierType cpeLocalIdentifierType) { + this.cpeLocalIdentifierType = cpeLocalIdentifierType; + this.__explicitlySet__.add("cpeLocalIdentifierType"); + return this; + } /** * Static routes to the CPE. The CIDR must not be a multicast address or class E address. * - *

+ *

Used for routing a given IPSec tunnel's traffic only if the tunnel is using static + * routing. If you configure at least one tunnel to use static routing, then you must + * provide at least one valid static route. If you configure both tunnels to use BGP dynamic + * routing, you can provide an empty list for the static routes. + * + *

The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial + * and government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code 10.0.1.0/24} + * + *

Example: {@code 2001:db8::/32} */ @com.fasterxml.jackson.annotation.JsonProperty("staticRoutes") private java.util.List staticRoutes; @@ -231,10 +320,19 @@ public Builder lifecycleState(LifecycleState lifecycleState) { /** * Static routes to the CPE. The CIDR must not be a multicast address or class E address. * - *

+ *

Used for routing a given IPSec tunnel's traffic only if the tunnel is using static + * routing. If you configure at least one tunnel to use static routing, then you must + * provide at least one valid static route. If you configure both tunnels to use BGP dynamic + * routing, you can provide an empty list for the static routes. + * + *

The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial + * and government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code 10.0.1.0/24} * + *

Example: {@code 2001:db8::/32} + * * @param staticRoutes the value to set * @return this builder */ @@ -281,6 +379,8 @@ public IPSecConnection build() { this.freeformTags, this.id, this.lifecycleState, + this.cpeLocalIdentifier, + this.cpeLocalIdentifierType, this.staticRoutes, this.timeCreated); for (String explicitlySetProperty : this.__explicitlySet__) { @@ -315,6 +415,12 @@ public Builder copy(IPSecConnection model) { if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); } + if (model.wasPropertyExplicitlySet("cpeLocalIdentifier")) { + this.cpeLocalIdentifier(model.getCpeLocalIdentifier()); + } + if (model.wasPropertyExplicitlySet("cpeLocalIdentifierType")) { + this.cpeLocalIdentifierType(model.getCpeLocalIdentifierType()); + } if (model.wasPropertyExplicitlySet("staticRoutes")) { this.staticRoutes(model.getStaticRoutes()); } @@ -501,12 +607,115 @@ public LifecycleState getLifecycleState() { return lifecycleState; } + /** + * Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, + * the fully qualified domain name (FQDN)). The type of identifier here must correspond to the + * value for {@code cpeLocalIdentifierType}. + * + *

If you don't provide a value when creating the IPSec connection, the {@code ipAddress} + * attribute for the {@link Cpe} object specified by {@code cpeId} is used as the {@code + * cpeLocalIdentifier}. + * + *

For information about why you'd provide this value, see [If Your CPE Is Behind a NAT + * Device](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + * + *

Example IP address: {@code 10.0.3.3} + * + *

Example hostname: {@code cpe.example.com} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeLocalIdentifier") + private final String cpeLocalIdentifier; + + /** + * Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, + * the fully qualified domain name (FQDN)). The type of identifier here must correspond to the + * value for {@code cpeLocalIdentifierType}. + * + *

If you don't provide a value when creating the IPSec connection, the {@code ipAddress} + * attribute for the {@link Cpe} object specified by {@code cpeId} is used as the {@code + * cpeLocalIdentifier}. + * + *

For information about why you'd provide this value, see [If Your CPE Is Behind a NAT + * Device](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + * + *

Example IP address: {@code 10.0.3.3} + * + *

Example hostname: {@code cpe.example.com} + * + * @return the value + */ + public String getCpeLocalIdentifier() { + return cpeLocalIdentifier; + } + + /** + * The type of identifier for your CPE device. The value here must correspond to the value for + * {@code cpeLocalIdentifier}. + */ + public enum CpeLocalIdentifierType implements com.oracle.bmc.http.internal.BmcEnum { + IpAddress("IP_ADDRESS"), + Hostname("HOSTNAME"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (CpeLocalIdentifierType v : CpeLocalIdentifierType.values()) { + map.put(v.getValue(), v); + } + } + + CpeLocalIdentifierType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static CpeLocalIdentifierType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid CpeLocalIdentifierType: " + key); + } + }; + /** + * The type of identifier for your CPE device. The value here must correspond to the value for + * {@code cpeLocalIdentifier}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeLocalIdentifierType") + private final CpeLocalIdentifierType cpeLocalIdentifierType; + + /** + * The type of identifier for your CPE device. The value here must correspond to the value for + * {@code cpeLocalIdentifier}. + * + * @return the value + */ + public CpeLocalIdentifierType getCpeLocalIdentifierType() { + return cpeLocalIdentifierType; + } + /** * Static routes to the CPE. The CIDR must not be a multicast address or class E address. * - *

+ *

Used for routing a given IPSec tunnel's traffic only if the tunnel is using static + * routing. If you configure at least one tunnel to use static routing, then you must provide at + * least one valid static route. If you configure both tunnels to use BGP dynamic routing, you + * can provide an empty list for the static routes. + * + *

The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and + * government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code 10.0.1.0/24} + * + *

Example: {@code 2001:db8::/32} */ @com.fasterxml.jackson.annotation.JsonProperty("staticRoutes") private final java.util.List staticRoutes; @@ -514,10 +723,19 @@ public LifecycleState getLifecycleState() { /** * Static routes to the CPE. The CIDR must not be a multicast address or class E address. * - *

+ *

Used for routing a given IPSec tunnel's traffic only if the tunnel is using static + * routing. If you configure at least one tunnel to use static routing, then you must provide at + * least one valid static route. If you configure both tunnels to use BGP dynamic routing, you + * can provide an empty list for the static routes. + * + *

The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and + * government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code 10.0.1.0/24} * + *

Example: {@code 2001:db8::/32} + * * @return the value */ public java.util.List getStaticRoutes() { @@ -568,6 +786,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", id=").append(String.valueOf(this.id)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", cpeLocalIdentifier=").append(String.valueOf(this.cpeLocalIdentifier)); + sb.append(", cpeLocalIdentifierType=").append(String.valueOf(this.cpeLocalIdentifierType)); sb.append(", staticRoutes=").append(String.valueOf(this.staticRoutes)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(")"); @@ -592,6 +812,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.cpeLocalIdentifier, other.cpeLocalIdentifier) + && java.util.Objects.equals( + this.cpeLocalIdentifierType, other.cpeLocalIdentifierType) && java.util.Objects.equals(this.staticRoutes, other.staticRoutes) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && super.equals(other); @@ -613,6 +836,16 @@ public int hashCode() { result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = + (result * PRIME) + + (this.cpeLocalIdentifier == null + ? 43 + : this.cpeLocalIdentifier.hashCode()); + result = + (result * PRIME) + + (this.cpeLocalIdentifierType == null + ? 43 + : this.cpeLocalIdentifierType.hashCode()); result = (result * PRIME) + (this.staticRoutes == null ? 43 : this.staticRoutes.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + super.hashCode(); diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionDeviceConfig.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionDeviceConfig.java index ff145be7d15..8532cd6c395 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionDeviceConfig.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionDeviceConfig.java @@ -5,7 +5,9 @@ package com.oracle.bmc.vnmonitoring.model; /** - * Information about the IPSecConnection device configuration.
+ * Deprecated. For tunnel information, instead see: + * + *

{@link IPSecConnectionTunnel} * {@link IPSecConnectionTunnelSharedSecret}
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionDeviceStatus.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionDeviceStatus.java index 12bdf8a10f4..b441cc081d4 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionDeviceStatus.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionDeviceStatus.java @@ -5,7 +5,7 @@ package com.oracle.bmc.vnmonitoring.model; /** - * Status of the IPSec connection.
+ * Deprecated. For tunnel information, instead see {@link IPSecConnectionTunnel}.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionTunnel.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionTunnel.java new file mode 100644 index 00000000000..aadc482ef9d --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionTunnel.java @@ -0,0 +1,1218 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Information about a single IPSec tunnel in an IPSec connection. This object does not include the + * tunnel's shared secret (pre-shared key), which is found in the {@link + * IPSecConnectionTunnelSharedSecret} object.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = IPSecConnectionTunnel.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class IPSecConnectionTunnel + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "compartmentId", + "id", + "vpnIp", + "cpeIp", + "status", + "ikeVersion", + "lifecycleState", + "displayName", + "bgpSessionInfo", + "encryptionDomainConfig", + "routing", + "timeCreated", + "timeStatusUpdated", + "oracleCanInitiate", + "natTranslationEnabled", + "dpdMode", + "dpdTimeoutInSec", + "phaseOneDetails", + "phaseTwoDetails" + }) + public IPSecConnectionTunnel( + String compartmentId, + String id, + String vpnIp, + String cpeIp, + Status status, + IkeVersion ikeVersion, + LifecycleState lifecycleState, + String displayName, + BgpSessionInfo bgpSessionInfo, + EncryptionDomainConfig encryptionDomainConfig, + Routing routing, + java.util.Date timeCreated, + java.util.Date timeStatusUpdated, + OracleCanInitiate oracleCanInitiate, + NatTranslationEnabled natTranslationEnabled, + DpdMode dpdMode, + Integer dpdTimeoutInSec, + TunnelPhaseOneDetails phaseOneDetails, + TunnelPhaseTwoDetails phaseTwoDetails) { + super(); + this.compartmentId = compartmentId; + this.id = id; + this.vpnIp = vpnIp; + this.cpeIp = cpeIp; + this.status = status; + this.ikeVersion = ikeVersion; + this.lifecycleState = lifecycleState; + this.displayName = displayName; + this.bgpSessionInfo = bgpSessionInfo; + this.encryptionDomainConfig = encryptionDomainConfig; + this.routing = routing; + this.timeCreated = timeCreated; + this.timeStatusUpdated = timeStatusUpdated; + this.oracleCanInitiate = oracleCanInitiate; + this.natTranslationEnabled = natTranslationEnabled; + this.dpdMode = dpdMode; + this.dpdTimeoutInSec = dpdTimeoutInSec; + this.phaseOneDetails = phaseOneDetails; + this.phaseTwoDetails = phaseTwoDetails; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the tunnel. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the tunnel. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the tunnel. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the tunnel. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * The IP address of the Oracle VPN headend for the connection. + * + *

Example: {@code 203.0.113.21} + */ + @com.fasterxml.jackson.annotation.JsonProperty("vpnIp") + private String vpnIp; + + /** + * The IP address of the Oracle VPN headend for the connection. + * + *

Example: {@code 203.0.113.21} + * + * @param vpnIp the value to set + * @return this builder + */ + public Builder vpnIp(String vpnIp) { + this.vpnIp = vpnIp; + this.__explicitlySet__.add("vpnIp"); + return this; + } + /** + * The IP address of the CPE device's VPN headend. + * + *

Example: {@code 203.0.113.22} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeIp") + private String cpeIp; + + /** + * The IP address of the CPE device's VPN headend. + * + *

Example: {@code 203.0.113.22} + * + * @param cpeIp the value to set + * @return this builder + */ + public Builder cpeIp(String cpeIp) { + this.cpeIp = cpeIp; + this.__explicitlySet__.add("cpeIp"); + return this; + } + /** The status of the tunnel based on IPSec protocol characteristics. */ + @com.fasterxml.jackson.annotation.JsonProperty("status") + private Status status; + + /** + * The status of the tunnel based on IPSec protocol characteristics. + * + * @param status the value to set + * @return this builder + */ + public Builder status(Status status) { + this.status = status; + this.__explicitlySet__.add("status"); + return this; + } + /** Internet Key Exchange protocol version. */ + @com.fasterxml.jackson.annotation.JsonProperty("ikeVersion") + private IkeVersion ikeVersion; + + /** + * Internet Key Exchange protocol version. + * + * @param ikeVersion the value to set + * @return this builder + */ + public Builder ikeVersion(IkeVersion ikeVersion) { + this.ikeVersion = ikeVersion; + this.__explicitlySet__.add("ikeVersion"); + return this; + } + /** The tunnel's lifecycle state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private LifecycleState lifecycleState; + + /** + * The tunnel's lifecycle state. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("bgpSessionInfo") + private BgpSessionInfo bgpSessionInfo; + + public Builder bgpSessionInfo(BgpSessionInfo bgpSessionInfo) { + this.bgpSessionInfo = bgpSessionInfo; + this.__explicitlySet__.add("bgpSessionInfo"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("encryptionDomainConfig") + private EncryptionDomainConfig encryptionDomainConfig; + + public Builder encryptionDomainConfig(EncryptionDomainConfig encryptionDomainConfig) { + this.encryptionDomainConfig = encryptionDomainConfig; + this.__explicitlySet__.add("encryptionDomainConfig"); + return this; + } + /** + * The type of routing used for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routing") + private Routing routing; + + /** + * The type of routing used for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + * + * @param routing the value to set + * @return this builder + */ + public Builder routing(Routing routing) { + this.routing = routing; + this.__explicitlySet__.add("routing"); + return this; + } + /** + * The date and time the IPSec tunnel was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the IPSec tunnel was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param timeCreated the value to set + * @return this builder + */ + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + /** + * When the status of the IPSec tunnel last changed, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeStatusUpdated") + private java.util.Date timeStatusUpdated; + + /** + * When the status of the IPSec tunnel last changed, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param timeStatusUpdated the value to set + * @return this builder + */ + public Builder timeStatusUpdated(java.util.Date timeStatusUpdated) { + this.timeStatusUpdated = timeStatusUpdated; + this.__explicitlySet__.add("timeStatusUpdated"); + return this; + } + /** + * Indicates whether Oracle can only respond to a request to start an IPSec tunnel from the + * CPE device, or both respond to and initiate requests. + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleCanInitiate") + private OracleCanInitiate oracleCanInitiate; + + /** + * Indicates whether Oracle can only respond to a request to start an IPSec tunnel from the + * CPE device, or both respond to and initiate requests. + * + * @param oracleCanInitiate the value to set + * @return this builder + */ + public Builder oracleCanInitiate(OracleCanInitiate oracleCanInitiate) { + this.oracleCanInitiate = oracleCanInitiate; + this.__explicitlySet__.add("oracleCanInitiate"); + return this; + } + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination + * port set to 500, and when it detects that the port used to forward packets has changed + * (most likely because a NAT device is between the CPE device and the Oracle VPN headend) + * it will try to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even + * if it senses there may be a NAT device in use. + * + *

. + */ + @com.fasterxml.jackson.annotation.JsonProperty("natTranslationEnabled") + private NatTranslationEnabled natTranslationEnabled; + + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination + * port set to 500, and when it detects that the port used to forward packets has changed + * (most likely because a NAT device is between the CPE device and the Oracle VPN headend) + * it will try to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even + * if it senses there may be a NAT device in use. + * + *

. + * + * @param natTranslationEnabled the value to set + * @return this builder + */ + public Builder natTranslationEnabled(NatTranslationEnabled natTranslationEnabled) { + this.natTranslationEnabled = natTranslationEnabled; + this.__explicitlySet__.add("natTranslationEnabled"); + return this; + } + /** + * Dead peer detection (DPD) mode set on the Oracle side of the connection. This mode sets + * whether Oracle can only respond to a request from the CPE device to start DPD, or both + * respond to and initiate requests. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dpdMode") + private DpdMode dpdMode; + + /** + * Dead peer detection (DPD) mode set on the Oracle side of the connection. This mode sets + * whether Oracle can only respond to a request from the CPE device to start DPD, or both + * respond to and initiate requests. + * + * @param dpdMode the value to set + * @return this builder + */ + public Builder dpdMode(DpdMode dpdMode) { + this.dpdMode = dpdMode; + this.__explicitlySet__.add("dpdMode"); + return this; + } + /** DPD timeout in seconds. */ + @com.fasterxml.jackson.annotation.JsonProperty("dpdTimeoutInSec") + private Integer dpdTimeoutInSec; + + /** + * DPD timeout in seconds. + * + * @param dpdTimeoutInSec the value to set + * @return this builder + */ + public Builder dpdTimeoutInSec(Integer dpdTimeoutInSec) { + this.dpdTimeoutInSec = dpdTimeoutInSec; + this.__explicitlySet__.add("dpdTimeoutInSec"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("phaseOneDetails") + private TunnelPhaseOneDetails phaseOneDetails; + + public Builder phaseOneDetails(TunnelPhaseOneDetails phaseOneDetails) { + this.phaseOneDetails = phaseOneDetails; + this.__explicitlySet__.add("phaseOneDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("phaseTwoDetails") + private TunnelPhaseTwoDetails phaseTwoDetails; + + public Builder phaseTwoDetails(TunnelPhaseTwoDetails phaseTwoDetails) { + this.phaseTwoDetails = phaseTwoDetails; + this.__explicitlySet__.add("phaseTwoDetails"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public IPSecConnectionTunnel build() { + IPSecConnectionTunnel model = + new IPSecConnectionTunnel( + this.compartmentId, + this.id, + this.vpnIp, + this.cpeIp, + this.status, + this.ikeVersion, + this.lifecycleState, + this.displayName, + this.bgpSessionInfo, + this.encryptionDomainConfig, + this.routing, + this.timeCreated, + this.timeStatusUpdated, + this.oracleCanInitiate, + this.natTranslationEnabled, + this.dpdMode, + this.dpdTimeoutInSec, + this.phaseOneDetails, + this.phaseTwoDetails); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(IPSecConnectionTunnel model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("vpnIp")) { + this.vpnIp(model.getVpnIp()); + } + if (model.wasPropertyExplicitlySet("cpeIp")) { + this.cpeIp(model.getCpeIp()); + } + if (model.wasPropertyExplicitlySet("status")) { + this.status(model.getStatus()); + } + if (model.wasPropertyExplicitlySet("ikeVersion")) { + this.ikeVersion(model.getIkeVersion()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("bgpSessionInfo")) { + this.bgpSessionInfo(model.getBgpSessionInfo()); + } + if (model.wasPropertyExplicitlySet("encryptionDomainConfig")) { + this.encryptionDomainConfig(model.getEncryptionDomainConfig()); + } + if (model.wasPropertyExplicitlySet("routing")) { + this.routing(model.getRouting()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("timeStatusUpdated")) { + this.timeStatusUpdated(model.getTimeStatusUpdated()); + } + if (model.wasPropertyExplicitlySet("oracleCanInitiate")) { + this.oracleCanInitiate(model.getOracleCanInitiate()); + } + if (model.wasPropertyExplicitlySet("natTranslationEnabled")) { + this.natTranslationEnabled(model.getNatTranslationEnabled()); + } + if (model.wasPropertyExplicitlySet("dpdMode")) { + this.dpdMode(model.getDpdMode()); + } + if (model.wasPropertyExplicitlySet("dpdTimeoutInSec")) { + this.dpdTimeoutInSec(model.getDpdTimeoutInSec()); + } + if (model.wasPropertyExplicitlySet("phaseOneDetails")) { + this.phaseOneDetails(model.getPhaseOneDetails()); + } + if (model.wasPropertyExplicitlySet("phaseTwoDetails")) { + this.phaseTwoDetails(model.getPhaseTwoDetails()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the tunnel. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the tunnel. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the tunnel. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the tunnel. + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * The IP address of the Oracle VPN headend for the connection. + * + *

Example: {@code 203.0.113.21} + */ + @com.fasterxml.jackson.annotation.JsonProperty("vpnIp") + private final String vpnIp; + + /** + * The IP address of the Oracle VPN headend for the connection. + * + *

Example: {@code 203.0.113.21} + * + * @return the value + */ + public String getVpnIp() { + return vpnIp; + } + + /** + * The IP address of the CPE device's VPN headend. + * + *

Example: {@code 203.0.113.22} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeIp") + private final String cpeIp; + + /** + * The IP address of the CPE device's VPN headend. + * + *

Example: {@code 203.0.113.22} + * + * @return the value + */ + public String getCpeIp() { + return cpeIp; + } + + /** The status of the tunnel based on IPSec protocol characteristics. */ + public enum Status implements com.oracle.bmc.http.internal.BmcEnum { + Up("UP"), + Down("DOWN"), + DownForMaintenance("DOWN_FOR_MAINTENANCE"), + PartialUp("PARTIAL_UP"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Status v : Status.values()) { + map.put(v.getValue(), v); + } + } + + Status(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Status create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid Status: " + key); + } + }; + /** The status of the tunnel based on IPSec protocol characteristics. */ + @com.fasterxml.jackson.annotation.JsonProperty("status") + private final Status status; + + /** + * The status of the tunnel based on IPSec protocol characteristics. + * + * @return the value + */ + public Status getStatus() { + return status; + } + + /** Internet Key Exchange protocol version. */ + public enum IkeVersion implements com.oracle.bmc.http.internal.BmcEnum { + V1("V1"), + V2("V2"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (IkeVersion v : IkeVersion.values()) { + map.put(v.getValue(), v); + } + } + + IkeVersion(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static IkeVersion create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid IkeVersion: " + key); + } + }; + /** Internet Key Exchange protocol version. */ + @com.fasterxml.jackson.annotation.JsonProperty("ikeVersion") + private final IkeVersion ikeVersion; + + /** + * Internet Key Exchange protocol version. + * + * @return the value + */ + public IkeVersion getIkeVersion() { + return ikeVersion; + } + + /** The tunnel's lifecycle state. */ + public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { + Provisioning("PROVISIONING"), + Available("AVAILABLE"), + Terminating("TERMINATING"), + Terminated("TERMINATED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (LifecycleState v : LifecycleState.values()) { + map.put(v.getValue(), v); + } + } + + LifecycleState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static LifecycleState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid LifecycleState: " + key); + } + }; + /** The tunnel's lifecycle state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final LifecycleState lifecycleState; + + /** + * The tunnel's lifecycle state. + * + * @return the value + */ + public LifecycleState getLifecycleState() { + return lifecycleState; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("bgpSessionInfo") + private final BgpSessionInfo bgpSessionInfo; + + public BgpSessionInfo getBgpSessionInfo() { + return bgpSessionInfo; + } + + @com.fasterxml.jackson.annotation.JsonProperty("encryptionDomainConfig") + private final EncryptionDomainConfig encryptionDomainConfig; + + public EncryptionDomainConfig getEncryptionDomainConfig() { + return encryptionDomainConfig; + } + + /** + * The type of routing used for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + */ + public enum Routing implements com.oracle.bmc.http.internal.BmcEnum { + Bgp("BGP"), + Static("STATIC"), + Policy("POLICY"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Routing v : Routing.values()) { + map.put(v.getValue(), v); + } + } + + Routing(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Routing create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid Routing: " + key); + } + }; + /** + * The type of routing used for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routing") + private final Routing routing; + + /** + * The type of routing used for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + * + * @return the value + */ + public Routing getRouting() { + return routing; + } + + /** + * The date and time the IPSec tunnel was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the IPSec tunnel was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + /** + * When the status of the IPSec tunnel last changed, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeStatusUpdated") + private final java.util.Date timeStatusUpdated; + + /** + * When the status of the IPSec tunnel last changed, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeStatusUpdated() { + return timeStatusUpdated; + } + + /** + * Indicates whether Oracle can only respond to a request to start an IPSec tunnel from the CPE + * device, or both respond to and initiate requests. + */ + public enum OracleCanInitiate implements com.oracle.bmc.http.internal.BmcEnum { + InitiatorOrResponder("INITIATOR_OR_RESPONDER"), + ResponderOnly("RESPONDER_ONLY"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (OracleCanInitiate v : OracleCanInitiate.values()) { + map.put(v.getValue(), v); + } + } + + OracleCanInitiate(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static OracleCanInitiate create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid OracleCanInitiate: " + key); + } + }; + /** + * Indicates whether Oracle can only respond to a request to start an IPSec tunnel from the CPE + * device, or both respond to and initiate requests. + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleCanInitiate") + private final OracleCanInitiate oracleCanInitiate; + + /** + * Indicates whether Oracle can only respond to a request to start an IPSec tunnel from the CPE + * device, or both respond to and initiate requests. + * + * @return the value + */ + public OracleCanInitiate getOracleCanInitiate() { + return oracleCanInitiate; + } + + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination port + * set to 500, and when it detects that the port used to forward packets has changed (most + * likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try + * to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even if it + * senses there may be a NAT device in use. + * + *

. + */ + public enum NatTranslationEnabled implements com.oracle.bmc.http.internal.BmcEnum { + Enabled("ENABLED"), + Disabled("DISABLED"), + Auto("AUTO"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (NatTranslationEnabled v : NatTranslationEnabled.values()) { + map.put(v.getValue(), v); + } + } + + NatTranslationEnabled(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static NatTranslationEnabled create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid NatTranslationEnabled: " + key); + } + }; + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination port + * set to 500, and when it detects that the port used to forward packets has changed (most + * likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try + * to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even if it + * senses there may be a NAT device in use. + * + *

. + */ + @com.fasterxml.jackson.annotation.JsonProperty("natTranslationEnabled") + private final NatTranslationEnabled natTranslationEnabled; + + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination port + * set to 500, and when it detects that the port used to forward packets has changed (most + * likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try + * to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even if it + * senses there may be a NAT device in use. + * + *

. + * + * @return the value + */ + public NatTranslationEnabled getNatTranslationEnabled() { + return natTranslationEnabled; + } + + /** + * Dead peer detection (DPD) mode set on the Oracle side of the connection. This mode sets + * whether Oracle can only respond to a request from the CPE device to start DPD, or both + * respond to and initiate requests. + */ + public enum DpdMode implements com.oracle.bmc.http.internal.BmcEnum { + InitiateAndRespond("INITIATE_AND_RESPOND"), + RespondOnly("RESPOND_ONLY"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DpdMode v : DpdMode.values()) { + map.put(v.getValue(), v); + } + } + + DpdMode(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DpdMode create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid DpdMode: " + key); + } + }; + /** + * Dead peer detection (DPD) mode set on the Oracle side of the connection. This mode sets + * whether Oracle can only respond to a request from the CPE device to start DPD, or both + * respond to and initiate requests. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dpdMode") + private final DpdMode dpdMode; + + /** + * Dead peer detection (DPD) mode set on the Oracle side of the connection. This mode sets + * whether Oracle can only respond to a request from the CPE device to start DPD, or both + * respond to and initiate requests. + * + * @return the value + */ + public DpdMode getDpdMode() { + return dpdMode; + } + + /** DPD timeout in seconds. */ + @com.fasterxml.jackson.annotation.JsonProperty("dpdTimeoutInSec") + private final Integer dpdTimeoutInSec; + + /** + * DPD timeout in seconds. + * + * @return the value + */ + public Integer getDpdTimeoutInSec() { + return dpdTimeoutInSec; + } + + @com.fasterxml.jackson.annotation.JsonProperty("phaseOneDetails") + private final TunnelPhaseOneDetails phaseOneDetails; + + public TunnelPhaseOneDetails getPhaseOneDetails() { + return phaseOneDetails; + } + + @com.fasterxml.jackson.annotation.JsonProperty("phaseTwoDetails") + private final TunnelPhaseTwoDetails phaseTwoDetails; + + public TunnelPhaseTwoDetails getPhaseTwoDetails() { + return phaseTwoDetails; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("IPSecConnectionTunnel("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", id=").append(String.valueOf(this.id)); + sb.append(", vpnIp=").append(String.valueOf(this.vpnIp)); + sb.append(", cpeIp=").append(String.valueOf(this.cpeIp)); + sb.append(", status=").append(String.valueOf(this.status)); + sb.append(", ikeVersion=").append(String.valueOf(this.ikeVersion)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", bgpSessionInfo=").append(String.valueOf(this.bgpSessionInfo)); + sb.append(", encryptionDomainConfig=").append(String.valueOf(this.encryptionDomainConfig)); + sb.append(", routing=").append(String.valueOf(this.routing)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", timeStatusUpdated=").append(String.valueOf(this.timeStatusUpdated)); + sb.append(", oracleCanInitiate=").append(String.valueOf(this.oracleCanInitiate)); + sb.append(", natTranslationEnabled=").append(String.valueOf(this.natTranslationEnabled)); + sb.append(", dpdMode=").append(String.valueOf(this.dpdMode)); + sb.append(", dpdTimeoutInSec=").append(String.valueOf(this.dpdTimeoutInSec)); + sb.append(", phaseOneDetails=").append(String.valueOf(this.phaseOneDetails)); + sb.append(", phaseTwoDetails=").append(String.valueOf(this.phaseTwoDetails)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IPSecConnectionTunnel)) { + return false; + } + + IPSecConnectionTunnel other = (IPSecConnectionTunnel) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.vpnIp, other.vpnIp) + && java.util.Objects.equals(this.cpeIp, other.cpeIp) + && java.util.Objects.equals(this.status, other.status) + && java.util.Objects.equals(this.ikeVersion, other.ikeVersion) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.bgpSessionInfo, other.bgpSessionInfo) + && java.util.Objects.equals( + this.encryptionDomainConfig, other.encryptionDomainConfig) + && java.util.Objects.equals(this.routing, other.routing) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals(this.timeStatusUpdated, other.timeStatusUpdated) + && java.util.Objects.equals(this.oracleCanInitiate, other.oracleCanInitiate) + && java.util.Objects.equals(this.natTranslationEnabled, other.natTranslationEnabled) + && java.util.Objects.equals(this.dpdMode, other.dpdMode) + && java.util.Objects.equals(this.dpdTimeoutInSec, other.dpdTimeoutInSec) + && java.util.Objects.equals(this.phaseOneDetails, other.phaseOneDetails) + && java.util.Objects.equals(this.phaseTwoDetails, other.phaseTwoDetails) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.vpnIp == null ? 43 : this.vpnIp.hashCode()); + result = (result * PRIME) + (this.cpeIp == null ? 43 : this.cpeIp.hashCode()); + result = (result * PRIME) + (this.status == null ? 43 : this.status.hashCode()); + result = (result * PRIME) + (this.ikeVersion == null ? 43 : this.ikeVersion.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = + (result * PRIME) + + (this.bgpSessionInfo == null ? 43 : this.bgpSessionInfo.hashCode()); + result = + (result * PRIME) + + (this.encryptionDomainConfig == null + ? 43 + : this.encryptionDomainConfig.hashCode()); + result = (result * PRIME) + (this.routing == null ? 43 : this.routing.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = + (result * PRIME) + + (this.timeStatusUpdated == null ? 43 : this.timeStatusUpdated.hashCode()); + result = + (result * PRIME) + + (this.oracleCanInitiate == null ? 43 : this.oracleCanInitiate.hashCode()); + result = + (result * PRIME) + + (this.natTranslationEnabled == null + ? 43 + : this.natTranslationEnabled.hashCode()); + result = (result * PRIME) + (this.dpdMode == null ? 43 : this.dpdMode.hashCode()); + result = + (result * PRIME) + + (this.dpdTimeoutInSec == null ? 43 : this.dpdTimeoutInSec.hashCode()); + result = + (result * PRIME) + + (this.phaseOneDetails == null ? 43 : this.phaseOneDetails.hashCode()); + result = + (result * PRIME) + + (this.phaseTwoDetails == null ? 43 : this.phaseTwoDetails.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionTunnelErrorDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionTunnelErrorDetails.java new file mode 100644 index 00000000000..bbe7244a406 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionTunnelErrorDetails.java @@ -0,0 +1,333 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Details for an error on an IPSec tunnel.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = IPSecConnectionTunnelErrorDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class IPSecConnectionTunnelErrorDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "id", + "errorCode", + "errorDescription", + "solution", + "ociResourcesLink", + "timestamp" + }) + public IPSecConnectionTunnelErrorDetails( + String id, + String errorCode, + String errorDescription, + String solution, + String ociResourcesLink, + java.util.Date timestamp) { + super(); + this.id = id; + this.errorCode = errorCode; + this.errorDescription = errorDescription; + this.solution = solution; + this.ociResourcesLink = ociResourcesLink; + this.timestamp = timestamp; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Unique ID generated for each error report. */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * Unique ID generated for each error report. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** Unique code describes the error type. */ + @com.fasterxml.jackson.annotation.JsonProperty("errorCode") + private String errorCode; + + /** + * Unique code describes the error type. + * + * @param errorCode the value to set + * @return this builder + */ + public Builder errorCode(String errorCode) { + this.errorCode = errorCode; + this.__explicitlySet__.add("errorCode"); + return this; + } + /** A detailed description of the error. */ + @com.fasterxml.jackson.annotation.JsonProperty("errorDescription") + private String errorDescription; + + /** + * A detailed description of the error. + * + * @param errorDescription the value to set + * @return this builder + */ + public Builder errorDescription(String errorDescription) { + this.errorDescription = errorDescription; + this.__explicitlySet__.add("errorDescription"); + return this; + } + /** Resolution for the error. */ + @com.fasterxml.jackson.annotation.JsonProperty("solution") + private String solution; + + /** + * Resolution for the error. + * + * @param solution the value to set + * @return this builder + */ + public Builder solution(String solution) { + this.solution = solution; + this.__explicitlySet__.add("solution"); + return this; + } + /** Link to more Oracle resources or relevant documentation. */ + @com.fasterxml.jackson.annotation.JsonProperty("ociResourcesLink") + private String ociResourcesLink; + + /** + * Link to more Oracle resources or relevant documentation. + * + * @param ociResourcesLink the value to set + * @return this builder + */ + public Builder ociResourcesLink(String ociResourcesLink) { + this.ociResourcesLink = ociResourcesLink; + this.__explicitlySet__.add("ociResourcesLink"); + return this; + } + /** Timestamp when the error occurred. */ + @com.fasterxml.jackson.annotation.JsonProperty("timestamp") + private java.util.Date timestamp; + + /** + * Timestamp when the error occurred. + * + * @param timestamp the value to set + * @return this builder + */ + public Builder timestamp(java.util.Date timestamp) { + this.timestamp = timestamp; + this.__explicitlySet__.add("timestamp"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public IPSecConnectionTunnelErrorDetails build() { + IPSecConnectionTunnelErrorDetails model = + new IPSecConnectionTunnelErrorDetails( + this.id, + this.errorCode, + this.errorDescription, + this.solution, + this.ociResourcesLink, + this.timestamp); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(IPSecConnectionTunnelErrorDetails model) { + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("errorCode")) { + this.errorCode(model.getErrorCode()); + } + if (model.wasPropertyExplicitlySet("errorDescription")) { + this.errorDescription(model.getErrorDescription()); + } + if (model.wasPropertyExplicitlySet("solution")) { + this.solution(model.getSolution()); + } + if (model.wasPropertyExplicitlySet("ociResourcesLink")) { + this.ociResourcesLink(model.getOciResourcesLink()); + } + if (model.wasPropertyExplicitlySet("timestamp")) { + this.timestamp(model.getTimestamp()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Unique ID generated for each error report. */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * Unique ID generated for each error report. + * + * @return the value + */ + public String getId() { + return id; + } + + /** Unique code describes the error type. */ + @com.fasterxml.jackson.annotation.JsonProperty("errorCode") + private final String errorCode; + + /** + * Unique code describes the error type. + * + * @return the value + */ + public String getErrorCode() { + return errorCode; + } + + /** A detailed description of the error. */ + @com.fasterxml.jackson.annotation.JsonProperty("errorDescription") + private final String errorDescription; + + /** + * A detailed description of the error. + * + * @return the value + */ + public String getErrorDescription() { + return errorDescription; + } + + /** Resolution for the error. */ + @com.fasterxml.jackson.annotation.JsonProperty("solution") + private final String solution; + + /** + * Resolution for the error. + * + * @return the value + */ + public String getSolution() { + return solution; + } + + /** Link to more Oracle resources or relevant documentation. */ + @com.fasterxml.jackson.annotation.JsonProperty("ociResourcesLink") + private final String ociResourcesLink; + + /** + * Link to more Oracle resources or relevant documentation. + * + * @return the value + */ + public String getOciResourcesLink() { + return ociResourcesLink; + } + + /** Timestamp when the error occurred. */ + @com.fasterxml.jackson.annotation.JsonProperty("timestamp") + private final java.util.Date timestamp; + + /** + * Timestamp when the error occurred. + * + * @return the value + */ + public java.util.Date getTimestamp() { + return timestamp; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("IPSecConnectionTunnelErrorDetails("); + sb.append("super=").append(super.toString()); + sb.append("id=").append(String.valueOf(this.id)); + sb.append(", errorCode=").append(String.valueOf(this.errorCode)); + sb.append(", errorDescription=").append(String.valueOf(this.errorDescription)); + sb.append(", solution=").append(String.valueOf(this.solution)); + sb.append(", ociResourcesLink=").append(String.valueOf(this.ociResourcesLink)); + sb.append(", timestamp=").append(String.valueOf(this.timestamp)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IPSecConnectionTunnelErrorDetails)) { + return false; + } + + IPSecConnectionTunnelErrorDetails other = (IPSecConnectionTunnelErrorDetails) o; + return java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.errorCode, other.errorCode) + && java.util.Objects.equals(this.errorDescription, other.errorDescription) + && java.util.Objects.equals(this.solution, other.solution) + && java.util.Objects.equals(this.ociResourcesLink, other.ociResourcesLink) + && java.util.Objects.equals(this.timestamp, other.timestamp) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.errorCode == null ? 43 : this.errorCode.hashCode()); + result = + (result * PRIME) + + (this.errorDescription == null ? 43 : this.errorDescription.hashCode()); + result = (result * PRIME) + (this.solution == null ? 43 : this.solution.hashCode()); + result = + (result * PRIME) + + (this.ociResourcesLink == null ? 43 : this.ociResourcesLink.hashCode()); + result = (result * PRIME) + (this.timestamp == null ? 43 : this.timestamp.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionTunnelSharedSecret.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionTunnelSharedSecret.java new file mode 100644 index 00000000000..db3e2962b69 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IPSecConnectionTunnelSharedSecret.java @@ -0,0 +1,135 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The tunnel's shared secret (pre-shared key).
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = IPSecConnectionTunnelSharedSecret.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class IPSecConnectionTunnelSharedSecret + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"sharedSecret"}) + public IPSecConnectionTunnelSharedSecret(String sharedSecret) { + super(); + this.sharedSecret = sharedSecret; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The tunnel's shared secret (pre-shared key). */ + @com.fasterxml.jackson.annotation.JsonProperty("sharedSecret") + private String sharedSecret; + + /** + * The tunnel's shared secret (pre-shared key). + * + * @param sharedSecret the value to set + * @return this builder + */ + public Builder sharedSecret(String sharedSecret) { + this.sharedSecret = sharedSecret; + this.__explicitlySet__.add("sharedSecret"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public IPSecConnectionTunnelSharedSecret build() { + IPSecConnectionTunnelSharedSecret model = + new IPSecConnectionTunnelSharedSecret(this.sharedSecret); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(IPSecConnectionTunnelSharedSecret model) { + if (model.wasPropertyExplicitlySet("sharedSecret")) { + this.sharedSecret(model.getSharedSecret()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The tunnel's shared secret (pre-shared key). */ + @com.fasterxml.jackson.annotation.JsonProperty("sharedSecret") + private final String sharedSecret; + + /** + * The tunnel's shared secret (pre-shared key). + * + * @return the value + */ + public String getSharedSecret() { + return sharedSecret; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("IPSecConnectionTunnelSharedSecret("); + sb.append("super=").append(super.toString()); + sb.append("sharedSecret=").append(String.valueOf(this.sharedSecret)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof IPSecConnectionTunnelSharedSecret)) { + return false; + } + + IPSecConnectionTunnelSharedSecret other = (IPSecConnectionTunnelSharedSecret) o; + return java.util.Objects.equals(this.sharedSecret, other.sharedSecret) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.sharedSecret == null ? 43 : this.sharedSecret.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IngressSecurityRule.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IngressSecurityRule.java index 5677e260895..a23a3699557 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IngressSecurityRule.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/IngressSecurityRule.java @@ -30,7 +30,8 @@ public final class IngressSecurityRule "source", "sourceType", "tcpOptions", - "udpOptions" + "udpOptions", + "description" }) public IngressSecurityRule( IcmpOptions icmpOptions, @@ -39,7 +40,8 @@ public IngressSecurityRule( String source, SourceType sourceType, TcpOptions tcpOptions, - UdpOptions udpOptions) { + UdpOptions udpOptions, + String description) { super(); this.icmpOptions = icmpOptions; this.isStateless = isStateless; @@ -48,6 +50,7 @@ public IngressSecurityRule( this.sourceType = sourceType; this.tcpOptions = tcpOptions; this.udpOptions = udpOptions; + this.description = description; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -199,6 +202,21 @@ public Builder udpOptions(UdpOptions udpOptions) { this.__explicitlySet__.add("udpOptions"); return this; } + /** An optional description of your choice for the rule. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * An optional description of your choice for the rule. + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -212,7 +230,8 @@ public IngressSecurityRule build() { this.source, this.sourceType, this.tcpOptions, - this.udpOptions); + this.udpOptions, + this.description); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -242,6 +261,9 @@ public Builder copy(IngressSecurityRule model) { if (model.wasPropertyExplicitlySet("udpOptions")) { this.udpOptions(model.getUdpOptions()); } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } return this; } } @@ -438,6 +460,19 @@ public UdpOptions getUdpOptions() { return udpOptions; } + /** An optional description of your choice for the rule. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * An optional description of your choice for the rule. + * + * @return the value + */ + public String getDescription() { + return description; + } + @Override public String toString() { return this.toString(true); @@ -460,6 +495,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", sourceType=").append(String.valueOf(this.sourceType)); sb.append(", tcpOptions=").append(String.valueOf(this.tcpOptions)); sb.append(", udpOptions=").append(String.valueOf(this.udpOptions)); + sb.append(", description=").append(String.valueOf(this.description)); sb.append(")"); return sb.toString(); } @@ -481,6 +517,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.sourceType, other.sourceType) && java.util.Objects.equals(this.tcpOptions, other.tcpOptions) && java.util.Objects.equals(this.udpOptions, other.udpOptions) + && java.util.Objects.equals(this.description, other.description) && super.equals(other); } @@ -495,6 +532,7 @@ public int hashCode() { result = (result * PRIME) + (this.sourceType == null ? 43 : this.sourceType.hashCode()); result = (result * PRIME) + (this.tcpOptions == null ? 43 : this.tcpOptions.hashCode()); result = (result * PRIME) + (this.udpOptions == null ? 43 : this.udpOptions.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/InternetGateway.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/InternetGateway.java index 839b81e1f4a..8f70c7e5429 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/InternetGateway.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/InternetGateway.java @@ -39,7 +39,8 @@ public final class InternetGateway "isEnabled", "lifecycleState", "timeCreated", - "vcnId" + "vcnId", + "routeTableId" }) public InternetGateway( String compartmentId, @@ -50,7 +51,8 @@ public InternetGateway( Boolean isEnabled, LifecycleState lifecycleState, java.util.Date timeCreated, - String vcnId) { + String vcnId, + String routeTableId) { super(); this.compartmentId = compartmentId; this.definedTags = definedTags; @@ -61,6 +63,7 @@ public InternetGateway( this.lifecycleState = lifecycleState; this.timeCreated = timeCreated; this.vcnId = vcnId; + this.routeTableId = routeTableId; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -237,6 +240,25 @@ public Builder vcnId(String vcnId) { this.__explicitlySet__.add("vcnId"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the Internet Gateway is using. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the Internet Gateway is using. + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -252,7 +274,8 @@ public InternetGateway build() { this.isEnabled, this.lifecycleState, this.timeCreated, - this.vcnId); + this.vcnId, + this.routeTableId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -288,6 +311,9 @@ public Builder copy(InternetGateway model) { if (model.wasPropertyExplicitlySet("vcnId")) { this.vcnId(model.getVcnId()); } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } return this; } } @@ -489,6 +515,23 @@ public String getVcnId() { return vcnId; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the Internet Gateway is using. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the Internet Gateway is using. + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + @Override public String toString() { return this.toString(true); @@ -513,6 +556,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", vcnId=").append(String.valueOf(this.vcnId)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(")"); return sb.toString(); } @@ -536,6 +580,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.vcnId, other.vcnId) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) && super.equals(other); } @@ -556,6 +601,7 @@ public int hashCode() { + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Ipv6.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Ipv6.java index 296e8e32084..b71450ed170 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Ipv6.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Ipv6.java @@ -36,9 +36,7 @@ public final class Ipv6 extends com.oracle.bmc.http.client.internal.ExplicitlySe "freeformTags", "id", "ipAddress", - "isInternetAccessAllowed", "lifecycleState", - "publicIpAddress", "subnetId", "timeCreated", "vnicId" @@ -50,9 +48,7 @@ public Ipv6( java.util.Map freeformTags, String id, String ipAddress, - Boolean isInternetAccessAllowed, LifecycleState lifecycleState, - String publicIpAddress, String subnetId, java.util.Date timeCreated, String vnicId) { @@ -63,9 +59,7 @@ public Ipv6( this.freeformTags = freeformTags; this.id = id; this.ipAddress = ipAddress; - this.isInternetAccessAllowed = isInternetAccessAllowed; this.lifecycleState = lifecycleState; - this.publicIpAddress = publicIpAddress; this.subnetId = subnetId; this.timeCreated = timeCreated; this.vnicId = vnicId; @@ -192,31 +186,6 @@ public Builder ipAddress(String ipAddress) { this.__explicitlySet__.add("ipAddress"); return this; } - /** - * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 - * in a public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code - * true}, the IPv6 uses its public IP address for internet communication. - * - *

Example: {@code true} - */ - @com.fasterxml.jackson.annotation.JsonProperty("isInternetAccessAllowed") - private Boolean isInternetAccessAllowed; - - /** - * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 - * in a public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code - * true}, the IPv6 uses its public IP address for internet communication. - * - *

Example: {@code true} - * - * @param isInternetAccessAllowed the value to set - * @return this builder - */ - public Builder isInternetAccessAllowed(Boolean isInternetAccessAllowed) { - this.isInternetAccessAllowed = isInternetAccessAllowed; - this.__explicitlySet__.add("isInternetAccessAllowed"); - return this; - } /** The IPv6's current state. */ @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") private LifecycleState lifecycleState; @@ -232,55 +201,6 @@ public Builder lifecycleState(LifecycleState lifecycleState) { this.__explicitlySet__.add("lifecycleState"); return this; } - /** - * The IPv6 address to be used for internet communication. The address is within the IPv6 - * CIDR block of the VNIC's subnet (see the {@code ipv6PublicCidrBlock} attribute for the - * {@link Subnet} object). - * - *

If your organization did NOT assign a custom IPv6 CIDR to the VCN for the private - * address space, Oracle provides the IPv6 CIDR and uses that same CIDR for the private and - * public address space. Therefore the {@code publicIpAddress} would be the same as the - * {@code ipAddress}. - * - *

If your organization assigned a custom IPv6 CIDR to the VCN for the address space, the - * right 80 bits of the IPv6 IP (the subnet and address bits) are the same as for the {@code - * ipAddress}. But the left 48 bits are from the IPv6 CIDR that Oracle assigned to the VCN. - * - *

This is null if the IPv6 is created with {@code isInternetAccessAllowed} set to {@code - * false}. - * - *

Example: {@code 2001:0db8:0123:1111:abcd:ef01:2345:6789} - */ - @com.fasterxml.jackson.annotation.JsonProperty("publicIpAddress") - private String publicIpAddress; - - /** - * The IPv6 address to be used for internet communication. The address is within the IPv6 - * CIDR block of the VNIC's subnet (see the {@code ipv6PublicCidrBlock} attribute for the - * {@link Subnet} object). - * - *

If your organization did NOT assign a custom IPv6 CIDR to the VCN for the private - * address space, Oracle provides the IPv6 CIDR and uses that same CIDR for the private and - * public address space. Therefore the {@code publicIpAddress} would be the same as the - * {@code ipAddress}. - * - *

If your organization assigned a custom IPv6 CIDR to the VCN for the address space, the - * right 80 bits of the IPv6 IP (the subnet and address bits) are the same as for the {@code - * ipAddress}. But the left 48 bits are from the IPv6 CIDR that Oracle assigned to the VCN. - * - *

This is null if the IPv6 is created with {@code isInternetAccessAllowed} set to {@code - * false}. - * - *

Example: {@code 2001:0db8:0123:1111:abcd:ef01:2345:6789} - * - * @param publicIpAddress the value to set - * @return this builder - */ - public Builder publicIpAddress(String publicIpAddress) { - this.publicIpAddress = publicIpAddress; - this.__explicitlySet__.add("publicIpAddress"); - return this; - } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the subnet the VNIC is in. @@ -355,9 +275,7 @@ public Ipv6 build() { this.freeformTags, this.id, this.ipAddress, - this.isInternetAccessAllowed, this.lifecycleState, - this.publicIpAddress, this.subnetId, this.timeCreated, this.vnicId); @@ -387,15 +305,9 @@ public Builder copy(Ipv6 model) { if (model.wasPropertyExplicitlySet("ipAddress")) { this.ipAddress(model.getIpAddress()); } - if (model.wasPropertyExplicitlySet("isInternetAccessAllowed")) { - this.isInternetAccessAllowed(model.getIsInternetAccessAllowed()); - } if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); } - if (model.wasPropertyExplicitlySet("publicIpAddress")) { - this.publicIpAddress(model.getPublicIpAddress()); - } if (model.wasPropertyExplicitlySet("subnetId")) { this.subnetId(model.getSubnetId()); } @@ -524,29 +436,6 @@ public String getIpAddress() { return ipAddress; } - /** - * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in a - * public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code true}, - * the IPv6 uses its public IP address for internet communication. - * - *

Example: {@code true} - */ - @com.fasterxml.jackson.annotation.JsonProperty("isInternetAccessAllowed") - private final Boolean isInternetAccessAllowed; - - /** - * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in a - * public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code true}, - * the IPv6 uses its public IP address for internet communication. - * - *

Example: {@code true} - * - * @return the value - */ - public Boolean getIsInternetAccessAllowed() { - return isInternetAccessAllowed; - } - /** The IPv6's current state. */ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { Provisioning("PROVISIONING"), @@ -595,53 +484,6 @@ public LifecycleState getLifecycleState() { return lifecycleState; } - /** - * The IPv6 address to be used for internet communication. The address is within the IPv6 CIDR - * block of the VNIC's subnet (see the {@code ipv6PublicCidrBlock} attribute for the {@link - * Subnet} object). - * - *

If your organization did NOT assign a custom IPv6 CIDR to the VCN for the private address - * space, Oracle provides the IPv6 CIDR and uses that same CIDR for the private and public - * address space. Therefore the {@code publicIpAddress} would be the same as the {@code - * ipAddress}. - * - *

If your organization assigned a custom IPv6 CIDR to the VCN for the address space, the - * right 80 bits of the IPv6 IP (the subnet and address bits) are the same as for the {@code - * ipAddress}. But the left 48 bits are from the IPv6 CIDR that Oracle assigned to the VCN. - * - *

This is null if the IPv6 is created with {@code isInternetAccessAllowed} set to {@code - * false}. - * - *

Example: {@code 2001:0db8:0123:1111:abcd:ef01:2345:6789} - */ - @com.fasterxml.jackson.annotation.JsonProperty("publicIpAddress") - private final String publicIpAddress; - - /** - * The IPv6 address to be used for internet communication. The address is within the IPv6 CIDR - * block of the VNIC's subnet (see the {@code ipv6PublicCidrBlock} attribute for the {@link - * Subnet} object). - * - *

If your organization did NOT assign a custom IPv6 CIDR to the VCN for the private address - * space, Oracle provides the IPv6 CIDR and uses that same CIDR for the private and public - * address space. Therefore the {@code publicIpAddress} would be the same as the {@code - * ipAddress}. - * - *

If your organization assigned a custom IPv6 CIDR to the VCN for the address space, the - * right 80 bits of the IPv6 IP (the subnet and address bits) are the same as for the {@code - * ipAddress}. But the left 48 bits are from the IPv6 CIDR that Oracle assigned to the VCN. - * - *

This is null if the IPv6 is created with {@code isInternetAccessAllowed} set to {@code - * false}. - * - *

Example: {@code 2001:0db8:0123:1111:abcd:ef01:2345:6789} - * - * @return the value - */ - public String getPublicIpAddress() { - return publicIpAddress; - } - /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the subnet the VNIC is in. @@ -718,10 +560,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", id=").append(String.valueOf(this.id)); sb.append(", ipAddress=").append(String.valueOf(this.ipAddress)); - sb.append(", isInternetAccessAllowed=") - .append(String.valueOf(this.isInternetAccessAllowed)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); - sb.append(", publicIpAddress=").append(String.valueOf(this.publicIpAddress)); sb.append(", subnetId=").append(String.valueOf(this.subnetId)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", vnicId=").append(String.valueOf(this.vnicId)); @@ -745,10 +584,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.ipAddress, other.ipAddress) - && java.util.Objects.equals( - this.isInternetAccessAllowed, other.isInternetAccessAllowed) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) - && java.util.Objects.equals(this.publicIpAddress, other.publicIpAddress) && java.util.Objects.equals(this.subnetId, other.subnetId) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.vnicId, other.vnicId) @@ -767,17 +603,9 @@ public int hashCode() { result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); result = (result * PRIME) + (this.ipAddress == null ? 43 : this.ipAddress.hashCode()); - result = - (result * PRIME) - + (this.isInternetAccessAllowed == null - ? 43 - : this.isInternetAccessAllowed.hashCode()); result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); - result = - (result * PRIME) - + (this.publicIpAddress == null ? 43 : this.publicIpAddress.hashCode()); result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode()); diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/LocalPeeringGateway.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/LocalPeeringGateway.java index 6d211a18f7d..5725c003ef6 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/LocalPeeringGateway.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/LocalPeeringGateway.java @@ -42,8 +42,11 @@ public final class LocalPeeringGateway "isCrossTenancyPeering", "lifecycleState", "peerAdvertisedCidr", + "peerAdvertisedCidrDetails", "peeringStatus", "peeringStatusDetails", + "peerId", + "routeTableId", "timeCreated", "vcnId" }) @@ -56,8 +59,11 @@ public LocalPeeringGateway( Boolean isCrossTenancyPeering, LifecycleState lifecycleState, String peerAdvertisedCidr, + java.util.List peerAdvertisedCidrDetails, PeeringStatus peeringStatus, String peeringStatusDetails, + String peerId, + String routeTableId, java.util.Date timeCreated, String vcnId) { super(); @@ -69,8 +75,11 @@ public LocalPeeringGateway( this.isCrossTenancyPeering = isCrossTenancyPeering; this.lifecycleState = lifecycleState; this.peerAdvertisedCidr = peerAdvertisedCidr; + this.peerAdvertisedCidrDetails = peerAdvertisedCidrDetails; this.peeringStatus = peeringStatus; this.peeringStatusDetails = peeringStatusDetails; + this.peerId = peerId; + this.routeTableId = routeTableId; this.timeCreated = timeCreated; this.vcnId = vcnId; } @@ -210,21 +219,23 @@ public Builder lifecycleState(LifecycleState lifecycleState) { return this; } /** - * The range of IP addresses available on the VCN at the other end of the peering from this - * LPG. The value is {@code null} if the LPG is not peered. You can use this as the - * destination CIDR for a route rule to route a subnet's traffic to this LPG. + * The smallest aggregate CIDR that contains all the CIDR routes advertised by the VCN at + * the other end of the peering from this LPG. See {@code peerAdvertisedCidrDetails} for the + * individual CIDRs. The value is {@code null} if the LPG is not peered. * - *

Example: {@code 192.168.0.0/16} + *

Example: {@code 192.168.0.0/16}, or if aggregated with {@code 172.16.0.0/24} then + * {@code 128.0.0.0/1} */ @com.fasterxml.jackson.annotation.JsonProperty("peerAdvertisedCidr") private String peerAdvertisedCidr; /** - * The range of IP addresses available on the VCN at the other end of the peering from this - * LPG. The value is {@code null} if the LPG is not peered. You can use this as the - * destination CIDR for a route rule to route a subnet's traffic to this LPG. + * The smallest aggregate CIDR that contains all the CIDR routes advertised by the VCN at + * the other end of the peering from this LPG. See {@code peerAdvertisedCidrDetails} for the + * individual CIDRs. The value is {@code null} if the LPG is not peered. * - *

Example: {@code 192.168.0.0/16} + *

Example: {@code 192.168.0.0/16}, or if aggregated with {@code 172.16.0.0/24} then + * {@code 128.0.0.0/1} * * @param peerAdvertisedCidr the value to set * @return this builder @@ -234,6 +245,31 @@ public Builder peerAdvertisedCidr(String peerAdvertisedCidr) { this.__explicitlySet__.add("peerAdvertisedCidr"); return this; } + /** + * The specific ranges of IP addresses available on or via the VCN at the other end of the + * peering from this LPG. The value is {@code null} if the LPG is not peered. You can use + * these as destination CIDRs for route rules to route a subnet's traffic to this LPG. + * + *

Example: [{@code 192.168.0.0/16}, {@code 172.16.0.0/24}] + */ + @com.fasterxml.jackson.annotation.JsonProperty("peerAdvertisedCidrDetails") + private java.util.List peerAdvertisedCidrDetails; + + /** + * The specific ranges of IP addresses available on or via the VCN at the other end of the + * peering from this LPG. The value is {@code null} if the LPG is not peered. You can use + * these as destination CIDRs for route rules to route a subnet's traffic to this LPG. + * + *

Example: [{@code 192.168.0.0/16}, {@code 172.16.0.0/24}] + * + * @param peerAdvertisedCidrDetails the value to set + * @return this builder + */ + public Builder peerAdvertisedCidrDetails(java.util.List peerAdvertisedCidrDetails) { + this.peerAdvertisedCidrDetails = peerAdvertisedCidrDetails; + this.__explicitlySet__.add("peerAdvertisedCidrDetails"); + return this; + } /** * Whether the LPG is peered with another LPG. {@code NEW} means the LPG has not yet been * peered. {@code PENDING} means the peering is being established. {@code REVOKED} means the @@ -270,6 +306,52 @@ public Builder peeringStatusDetails(String peeringStatusDetails) { this.__explicitlySet__.add("peeringStatusDetails"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the peered LPG. + */ + @com.fasterxml.jackson.annotation.JsonProperty("peerId") + private String peerId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the peered LPG. + * + * @param peerId the value to set + * @return this builder + */ + public Builder peerId(String peerId) { + this.peerId = peerId; + this.__explicitlySet__.add("peerId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the LPG is using. + * + *

For information about why you would associate a route table with an LPG, see [Transit + * Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the LPG is using. + * + *

For information about why you would associate a route table with an LPG, see [Transit + * Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } /** * The date and time the LPG was created, in the format defined by * [RFC3339](https://tools.ietf.org/html/rfc3339). @@ -327,8 +409,11 @@ public LocalPeeringGateway build() { this.isCrossTenancyPeering, this.lifecycleState, this.peerAdvertisedCidr, + this.peerAdvertisedCidrDetails, this.peeringStatus, this.peeringStatusDetails, + this.peerId, + this.routeTableId, this.timeCreated, this.vcnId); for (String explicitlySetProperty : this.__explicitlySet__) { @@ -363,12 +448,21 @@ public Builder copy(LocalPeeringGateway model) { if (model.wasPropertyExplicitlySet("peerAdvertisedCidr")) { this.peerAdvertisedCidr(model.getPeerAdvertisedCidr()); } + if (model.wasPropertyExplicitlySet("peerAdvertisedCidrDetails")) { + this.peerAdvertisedCidrDetails(model.getPeerAdvertisedCidrDetails()); + } if (model.wasPropertyExplicitlySet("peeringStatus")) { this.peeringStatus(model.getPeeringStatus()); } if (model.wasPropertyExplicitlySet("peeringStatusDetails")) { this.peeringStatusDetails(model.getPeeringStatusDetails()); } + if (model.wasPropertyExplicitlySet("peerId")) { + this.peerId(model.getPeerId()); + } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } @@ -541,21 +635,23 @@ public LifecycleState getLifecycleState() { } /** - * The range of IP addresses available on the VCN at the other end of the peering from this LPG. - * The value is {@code null} if the LPG is not peered. You can use this as the destination CIDR - * for a route rule to route a subnet's traffic to this LPG. + * The smallest aggregate CIDR that contains all the CIDR routes advertised by the VCN at the + * other end of the peering from this LPG. See {@code peerAdvertisedCidrDetails} for the + * individual CIDRs. The value is {@code null} if the LPG is not peered. * - *

Example: {@code 192.168.0.0/16} + *

Example: {@code 192.168.0.0/16}, or if aggregated with {@code 172.16.0.0/24} then {@code + * 128.0.0.0/1} */ @com.fasterxml.jackson.annotation.JsonProperty("peerAdvertisedCidr") private final String peerAdvertisedCidr; /** - * The range of IP addresses available on the VCN at the other end of the peering from this LPG. - * The value is {@code null} if the LPG is not peered. You can use this as the destination CIDR - * for a route rule to route a subnet's traffic to this LPG. + * The smallest aggregate CIDR that contains all the CIDR routes advertised by the VCN at the + * other end of the peering from this LPG. See {@code peerAdvertisedCidrDetails} for the + * individual CIDRs. The value is {@code null} if the LPG is not peered. * - *

Example: {@code 192.168.0.0/16} + *

Example: {@code 192.168.0.0/16}, or if aggregated with {@code 172.16.0.0/24} then {@code + * 128.0.0.0/1} * * @return the value */ @@ -563,6 +659,29 @@ public String getPeerAdvertisedCidr() { return peerAdvertisedCidr; } + /** + * The specific ranges of IP addresses available on or via the VCN at the other end of the + * peering from this LPG. The value is {@code null} if the LPG is not peered. You can use these + * as destination CIDRs for route rules to route a subnet's traffic to this LPG. + * + *

Example: [{@code 192.168.0.0/16}, {@code 172.16.0.0/24}] + */ + @com.fasterxml.jackson.annotation.JsonProperty("peerAdvertisedCidrDetails") + private final java.util.List peerAdvertisedCidrDetails; + + /** + * The specific ranges of IP addresses available on or via the VCN at the other end of the + * peering from this LPG. The value is {@code null} if the LPG is not peered. You can use these + * as destination CIDRs for route rules to route a subnet's traffic to this LPG. + * + *

Example: [{@code 192.168.0.0/16}, {@code 172.16.0.0/24}] + * + * @return the value + */ + public java.util.List getPeerAdvertisedCidrDetails() { + return peerAdvertisedCidrDetails; + } + /** * Whether the LPG is peered with another LPG. {@code NEW} means the LPG has not yet been * peered. {@code PENDING} means the peering is being established. {@code REVOKED} means the LPG @@ -635,6 +754,48 @@ public String getPeeringStatusDetails() { return peeringStatusDetails; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the peered LPG. + */ + @com.fasterxml.jackson.annotation.JsonProperty("peerId") + private final String peerId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the peered LPG. + * + * @return the value + */ + public String getPeerId() { + return peerId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the LPG is using. + * + *

For information about why you would associate a route table with an LPG, see [Transit + * Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the LPG is using. + * + *

For information about why you would associate a route table with an LPG, see [Transit + * Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + /** * The date and time the LPG was created, in the format defined by * [RFC3339](https://tools.ietf.org/html/rfc3339). @@ -696,8 +857,12 @@ public String toString(boolean includeByteArrayContents) { sb.append(", isCrossTenancyPeering=").append(String.valueOf(this.isCrossTenancyPeering)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", peerAdvertisedCidr=").append(String.valueOf(this.peerAdvertisedCidr)); + sb.append(", peerAdvertisedCidrDetails=") + .append(String.valueOf(this.peerAdvertisedCidrDetails)); sb.append(", peeringStatus=").append(String.valueOf(this.peeringStatus)); sb.append(", peeringStatusDetails=").append(String.valueOf(this.peeringStatusDetails)); + sb.append(", peerId=").append(String.valueOf(this.peerId)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", vcnId=").append(String.valueOf(this.vcnId)); sb.append(")"); @@ -722,8 +887,12 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.isCrossTenancyPeering, other.isCrossTenancyPeering) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.peerAdvertisedCidr, other.peerAdvertisedCidr) + && java.util.Objects.equals( + this.peerAdvertisedCidrDetails, other.peerAdvertisedCidrDetails) && java.util.Objects.equals(this.peeringStatus, other.peeringStatus) && java.util.Objects.equals(this.peeringStatusDetails, other.peeringStatusDetails) + && java.util.Objects.equals(this.peerId, other.peerId) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.vcnId, other.vcnId) && super.equals(other); @@ -753,6 +922,11 @@ public int hashCode() { + (this.peerAdvertisedCidr == null ? 43 : this.peerAdvertisedCidr.hashCode()); + result = + (result * PRIME) + + (this.peerAdvertisedCidrDetails == null + ? 43 + : this.peerAdvertisedCidrDetails.hashCode()); result = (result * PRIME) + (this.peeringStatus == null ? 43 : this.peeringStatus.hashCode()); @@ -761,6 +935,8 @@ public int hashCode() { + (this.peeringStatusDetails == null ? 43 : this.peeringStatusDetails.hashCode()); + result = (result * PRIME) + (this.peerId == null ? 43 : this.peerId.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); result = (result * PRIME) + super.hashCode(); diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecEncryptionCipher.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecEncryptionCipher.java new file mode 100644 index 00000000000..a7370455d60 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecEncryptionCipher.java @@ -0,0 +1,42 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** Type of encryption cipher suite to use for the MACsec connection. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public enum MacsecEncryptionCipher implements com.oracle.bmc.http.internal.BmcEnum { + Aes128Gcm("AES128_GCM"), + Aes128GcmXpn("AES128_GCM_XPN"), + Aes256Gcm("AES256_GCM"), + Aes256GcmXpn("AES256_GCM_XPN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (MacsecEncryptionCipher v : MacsecEncryptionCipher.values()) { + map.put(v.getValue(), v); + } + } + + MacsecEncryptionCipher(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static MacsecEncryptionCipher create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid MacsecEncryptionCipher: " + key); + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecKey.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecKey.java new file mode 100644 index 00000000000..5549ed7694a --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecKey.java @@ -0,0 +1,308 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * An object defining the Secrets-in-Vault OCIDs representing the MACsec key.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = MacsecKey.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MacsecKey extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "connectivityAssociationNameSecretId", + "connectivityAssociationNameSecretVersion", + "connectivityAssociationKeySecretId", + "connectivityAssociationKeySecretVersion" + }) + public MacsecKey( + String connectivityAssociationNameSecretId, + Long connectivityAssociationNameSecretVersion, + String connectivityAssociationKeySecretId, + Long connectivityAssociationKeySecretVersion) { + super(); + this.connectivityAssociationNameSecretId = connectivityAssociationNameSecretId; + this.connectivityAssociationNameSecretVersion = connectivityAssociationNameSecretVersion; + this.connectivityAssociationKeySecretId = connectivityAssociationKeySecretId; + this.connectivityAssociationKeySecretVersion = connectivityAssociationKeySecretVersion; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity association Key Name (CKN) of this MACsec key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationNameSecretId") + private String connectivityAssociationNameSecretId; + + /** + * Secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity association Key Name (CKN) of this MACsec key. + * + * @param connectivityAssociationNameSecretId the value to set + * @return this builder + */ + public Builder connectivityAssociationNameSecretId( + String connectivityAssociationNameSecretId) { + this.connectivityAssociationNameSecretId = connectivityAssociationNameSecretId; + this.__explicitlySet__.add("connectivityAssociationNameSecretId"); + return this; + } + /** The secret version of the connectivity association name secret in Vault. */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationNameSecretVersion") + private Long connectivityAssociationNameSecretVersion; + + /** + * The secret version of the connectivity association name secret in Vault. + * + * @param connectivityAssociationNameSecretVersion the value to set + * @return this builder + */ + public Builder connectivityAssociationNameSecretVersion( + Long connectivityAssociationNameSecretVersion) { + this.connectivityAssociationNameSecretVersion = + connectivityAssociationNameSecretVersion; + this.__explicitlySet__.add("connectivityAssociationNameSecretVersion"); + return this; + } + /** + * Secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key (CAK) of this MACsec key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationKeySecretId") + private String connectivityAssociationKeySecretId; + + /** + * Secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key (CAK) of this MACsec key. + * + * @param connectivityAssociationKeySecretId the value to set + * @return this builder + */ + public Builder connectivityAssociationKeySecretId( + String connectivityAssociationKeySecretId) { + this.connectivityAssociationKeySecretId = connectivityAssociationKeySecretId; + this.__explicitlySet__.add("connectivityAssociationKeySecretId"); + return this; + } + /** The secret version of the {@code connectivityAssociationKey} secret in Vault. */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationKeySecretVersion") + private Long connectivityAssociationKeySecretVersion; + + /** + * The secret version of the {@code connectivityAssociationKey} secret in Vault. + * + * @param connectivityAssociationKeySecretVersion the value to set + * @return this builder + */ + public Builder connectivityAssociationKeySecretVersion( + Long connectivityAssociationKeySecretVersion) { + this.connectivityAssociationKeySecretVersion = connectivityAssociationKeySecretVersion; + this.__explicitlySet__.add("connectivityAssociationKeySecretVersion"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MacsecKey build() { + MacsecKey model = + new MacsecKey( + this.connectivityAssociationNameSecretId, + this.connectivityAssociationNameSecretVersion, + this.connectivityAssociationKeySecretId, + this.connectivityAssociationKeySecretVersion); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MacsecKey model) { + if (model.wasPropertyExplicitlySet("connectivityAssociationNameSecretId")) { + this.connectivityAssociationNameSecretId( + model.getConnectivityAssociationNameSecretId()); + } + if (model.wasPropertyExplicitlySet("connectivityAssociationNameSecretVersion")) { + this.connectivityAssociationNameSecretVersion( + model.getConnectivityAssociationNameSecretVersion()); + } + if (model.wasPropertyExplicitlySet("connectivityAssociationKeySecretId")) { + this.connectivityAssociationKeySecretId( + model.getConnectivityAssociationKeySecretId()); + } + if (model.wasPropertyExplicitlySet("connectivityAssociationKeySecretVersion")) { + this.connectivityAssociationKeySecretVersion( + model.getConnectivityAssociationKeySecretVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity association Key Name (CKN) of this MACsec key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationNameSecretId") + private final String connectivityAssociationNameSecretId; + + /** + * Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity association Key Name (CKN) of this MACsec key. + * + * @return the value + */ + public String getConnectivityAssociationNameSecretId() { + return connectivityAssociationNameSecretId; + } + + /** The secret version of the connectivity association name secret in Vault. */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationNameSecretVersion") + private final Long connectivityAssociationNameSecretVersion; + + /** + * The secret version of the connectivity association name secret in Vault. + * + * @return the value + */ + public Long getConnectivityAssociationNameSecretVersion() { + return connectivityAssociationNameSecretVersion; + } + + /** + * Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key (CAK) of this MACsec key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationKeySecretId") + private final String connectivityAssociationKeySecretId; + + /** + * Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key (CAK) of this MACsec key. + * + * @return the value + */ + public String getConnectivityAssociationKeySecretId() { + return connectivityAssociationKeySecretId; + } + + /** The secret version of the {@code connectivityAssociationKey} secret in Vault. */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationKeySecretVersion") + private final Long connectivityAssociationKeySecretVersion; + + /** + * The secret version of the {@code connectivityAssociationKey} secret in Vault. + * + * @return the value + */ + public Long getConnectivityAssociationKeySecretVersion() { + return connectivityAssociationKeySecretVersion; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MacsecKey("); + sb.append("super=").append(super.toString()); + sb.append("connectivityAssociationNameSecretId=") + .append(String.valueOf(this.connectivityAssociationNameSecretId)); + sb.append(", connectivityAssociationNameSecretVersion=") + .append(String.valueOf(this.connectivityAssociationNameSecretVersion)); + sb.append(", connectivityAssociationKeySecretId=") + .append(String.valueOf(this.connectivityAssociationKeySecretId)); + sb.append(", connectivityAssociationKeySecretVersion=") + .append(String.valueOf(this.connectivityAssociationKeySecretVersion)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MacsecKey)) { + return false; + } + + MacsecKey other = (MacsecKey) o; + return java.util.Objects.equals( + this.connectivityAssociationNameSecretId, + other.connectivityAssociationNameSecretId) + && java.util.Objects.equals( + this.connectivityAssociationNameSecretVersion, + other.connectivityAssociationNameSecretVersion) + && java.util.Objects.equals( + this.connectivityAssociationKeySecretId, + other.connectivityAssociationKeySecretId) + && java.util.Objects.equals( + this.connectivityAssociationKeySecretVersion, + other.connectivityAssociationKeySecretVersion) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.connectivityAssociationNameSecretId == null + ? 43 + : this.connectivityAssociationNameSecretId.hashCode()); + result = + (result * PRIME) + + (this.connectivityAssociationNameSecretVersion == null + ? 43 + : this.connectivityAssociationNameSecretVersion.hashCode()); + result = + (result * PRIME) + + (this.connectivityAssociationKeySecretId == null + ? 43 + : this.connectivityAssociationKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.connectivityAssociationKeySecretVersion == null + ? 43 + : this.connectivityAssociationKeySecretVersion.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecProperties.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecProperties.java new file mode 100644 index 00000000000..e00e9fe7e80 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecProperties.java @@ -0,0 +1,195 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Properties used for MACsec (if capable).
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = MacsecProperties.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class MacsecProperties + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"state", "primaryKey", "encryptionCipher"}) + public MacsecProperties( + MacsecState state, MacsecKey primaryKey, MacsecEncryptionCipher encryptionCipher) { + super(); + this.state = state; + this.primaryKey = primaryKey; + this.encryptionCipher = encryptionCipher; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Indicates whether or not MACsec is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("state") + private MacsecState state; + + /** + * Indicates whether or not MACsec is enabled. + * + * @param state the value to set + * @return this builder + */ + public Builder state(MacsecState state) { + this.state = state; + this.__explicitlySet__.add("state"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("primaryKey") + private MacsecKey primaryKey; + + public Builder primaryKey(MacsecKey primaryKey) { + this.primaryKey = primaryKey; + this.__explicitlySet__.add("primaryKey"); + return this; + } + /** Type of encryption cipher suite to use for the MACsec connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionCipher") + private MacsecEncryptionCipher encryptionCipher; + + /** + * Type of encryption cipher suite to use for the MACsec connection. + * + * @param encryptionCipher the value to set + * @return this builder + */ + public Builder encryptionCipher(MacsecEncryptionCipher encryptionCipher) { + this.encryptionCipher = encryptionCipher; + this.__explicitlySet__.add("encryptionCipher"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public MacsecProperties build() { + MacsecProperties model = + new MacsecProperties(this.state, this.primaryKey, this.encryptionCipher); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(MacsecProperties model) { + if (model.wasPropertyExplicitlySet("state")) { + this.state(model.getState()); + } + if (model.wasPropertyExplicitlySet("primaryKey")) { + this.primaryKey(model.getPrimaryKey()); + } + if (model.wasPropertyExplicitlySet("encryptionCipher")) { + this.encryptionCipher(model.getEncryptionCipher()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Indicates whether or not MACsec is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("state") + private final MacsecState state; + + /** + * Indicates whether or not MACsec is enabled. + * + * @return the value + */ + public MacsecState getState() { + return state; + } + + @com.fasterxml.jackson.annotation.JsonProperty("primaryKey") + private final MacsecKey primaryKey; + + public MacsecKey getPrimaryKey() { + return primaryKey; + } + + /** Type of encryption cipher suite to use for the MACsec connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionCipher") + private final MacsecEncryptionCipher encryptionCipher; + + /** + * Type of encryption cipher suite to use for the MACsec connection. + * + * @return the value + */ + public MacsecEncryptionCipher getEncryptionCipher() { + return encryptionCipher; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("MacsecProperties("); + sb.append("super=").append(super.toString()); + sb.append("state=").append(String.valueOf(this.state)); + sb.append(", primaryKey=").append(String.valueOf(this.primaryKey)); + sb.append(", encryptionCipher=").append(String.valueOf(this.encryptionCipher)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof MacsecProperties)) { + return false; + } + + MacsecProperties other = (MacsecProperties) o; + return java.util.Objects.equals(this.state, other.state) + && java.util.Objects.equals(this.primaryKey, other.primaryKey) + && java.util.Objects.equals(this.encryptionCipher, other.encryptionCipher) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.state == null ? 43 : this.state.hashCode()); + result = (result * PRIME) + (this.primaryKey == null ? 43 : this.primaryKey.hashCode()); + result = + (result * PRIME) + + (this.encryptionCipher == null ? 43 : this.encryptionCipher.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecState.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecState.java new file mode 100644 index 00000000000..5a8a0f5817e --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/MacsecState.java @@ -0,0 +1,40 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** Indicates whether or not MACsec is enabled. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public enum MacsecState implements com.oracle.bmc.http.internal.BmcEnum { + Enabled("ENABLED"), + Disabled("DISABLED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (MacsecState v : MacsecState.values()) { + map.put(v.getValue(), v); + } + } + + MacsecState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static MacsecState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid MacsecState: " + key); + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ModifyVcnCidrDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ModifyVcnCidrDetails.java new file mode 100644 index 00000000000..96d05841338 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ModifyVcnCidrDetails.java @@ -0,0 +1,172 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Details for updating a CIDR block.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = ModifyVcnCidrDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ModifyVcnCidrDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"originalCidrBlock", "newCidrBlock"}) + public ModifyVcnCidrDetails(String originalCidrBlock, String newCidrBlock) { + super(); + this.originalCidrBlock = originalCidrBlock; + this.newCidrBlock = newCidrBlock; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The CIDR IP address to update. */ + @com.fasterxml.jackson.annotation.JsonProperty("originalCidrBlock") + private String originalCidrBlock; + + /** + * The CIDR IP address to update. + * + * @param originalCidrBlock the value to set + * @return this builder + */ + public Builder originalCidrBlock(String originalCidrBlock) { + this.originalCidrBlock = originalCidrBlock; + this.__explicitlySet__.add("originalCidrBlock"); + return this; + } + /** The new CIDR IP address. */ + @com.fasterxml.jackson.annotation.JsonProperty("newCidrBlock") + private String newCidrBlock; + + /** + * The new CIDR IP address. + * + * @param newCidrBlock the value to set + * @return this builder + */ + public Builder newCidrBlock(String newCidrBlock) { + this.newCidrBlock = newCidrBlock; + this.__explicitlySet__.add("newCidrBlock"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ModifyVcnCidrDetails build() { + ModifyVcnCidrDetails model = + new ModifyVcnCidrDetails(this.originalCidrBlock, this.newCidrBlock); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ModifyVcnCidrDetails model) { + if (model.wasPropertyExplicitlySet("originalCidrBlock")) { + this.originalCidrBlock(model.getOriginalCidrBlock()); + } + if (model.wasPropertyExplicitlySet("newCidrBlock")) { + this.newCidrBlock(model.getNewCidrBlock()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The CIDR IP address to update. */ + @com.fasterxml.jackson.annotation.JsonProperty("originalCidrBlock") + private final String originalCidrBlock; + + /** + * The CIDR IP address to update. + * + * @return the value + */ + public String getOriginalCidrBlock() { + return originalCidrBlock; + } + + /** The new CIDR IP address. */ + @com.fasterxml.jackson.annotation.JsonProperty("newCidrBlock") + private final String newCidrBlock; + + /** + * The new CIDR IP address. + * + * @return the value + */ + public String getNewCidrBlock() { + return newCidrBlock; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("ModifyVcnCidrDetails("); + sb.append("super=").append(super.toString()); + sb.append("originalCidrBlock=").append(String.valueOf(this.originalCidrBlock)); + sb.append(", newCidrBlock=").append(String.valueOf(this.newCidrBlock)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ModifyVcnCidrDetails)) { + return false; + } + + ModifyVcnCidrDetails other = (ModifyVcnCidrDetails) o; + return java.util.Objects.equals(this.originalCidrBlock, other.originalCidrBlock) + && java.util.Objects.equals(this.newCidrBlock, other.newCidrBlock) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.originalCidrBlock == null ? 43 : this.originalCidrBlock.hashCode()); + result = (result * PRIME) + (this.newCidrBlock == null ? 43 : this.newCidrBlock.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/NatGateway.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/NatGateway.java new file mode 100644 index 00000000000..34d0d9b4c10 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/NatGateway.java @@ -0,0 +1,712 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * A NAT (Network Address Translation) gateway, which represents a router that lets instances + * without public IPs contact the public internet without exposing the instance to inbound internet + * traffic. For more information, see [NAT + * Gateway](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/NATgateway.htm). + * + *

To use any of the API operations, you must be authorized in an IAM policy. If you are not + * authorized, talk to an administrator. If you are an administrator who needs to write policies to + * give users access, see [Getting Started with + * Policies](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = NatGateway.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class NatGateway extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "id", + "blockTraffic", + "lifecycleState", + "natIp", + "timeCreated", + "vcnId", + "publicIpId", + "routeTableId" + }) + public NatGateway( + String compartmentId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + String id, + Boolean blockTraffic, + LifecycleState lifecycleState, + String natIp, + java.util.Date timeCreated, + String vcnId, + String publicIpId, + String routeTableId) { + super(); + this.compartmentId = compartmentId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.id = id; + this.blockTraffic = blockTraffic; + this.lifecycleState = lifecycleState; + this.natIp = natIp; + this.timeCreated = timeCreated; + this.vcnId = vcnId; + this.publicIpId = publicIpId; + this.routeTableId = routeTableId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment that contains the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment that contains the NAT gateway. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the NAT gateway. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * Whether the NAT gateway blocks traffic through it. The default is {@code false}. + * + *

Example: {@code true} + */ + @com.fasterxml.jackson.annotation.JsonProperty("blockTraffic") + private Boolean blockTraffic; + + /** + * Whether the NAT gateway blocks traffic through it. The default is {@code false}. + * + *

Example: {@code true} + * + * @param blockTraffic the value to set + * @return this builder + */ + public Builder blockTraffic(Boolean blockTraffic) { + this.blockTraffic = blockTraffic; + this.__explicitlySet__.add("blockTraffic"); + return this; + } + /** The NAT gateway's current state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private LifecycleState lifecycleState; + + /** + * The NAT gateway's current state. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** The IP address associated with the NAT gateway. */ + @com.fasterxml.jackson.annotation.JsonProperty("natIp") + private String natIp; + + /** + * The IP address associated with the NAT gateway. + * + * @param natIp the value to set + * @return this builder + */ + public Builder natIp(String natIp) { + this.natIp = natIp; + this.__explicitlySet__.add("natIp"); + return this; + } + /** + * The date and time the NAT gateway was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the NAT gateway was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param timeCreated the value to set + * @return this builder + */ + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN the NAT gateway belongs to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN the NAT gateway belongs to. + * + * @param vcnId the value to set + * @return this builder + */ + public Builder vcnId(String vcnId) { + this.vcnId = vcnId; + this.__explicitlySet__.add("vcnId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the public IP address associated with the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("publicIpId") + private String publicIpId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the public IP address associated with the NAT gateway. + * + * @param publicIpId the value to set + * @return this builder + */ + public Builder publicIpId(String publicIpId) { + this.publicIpId = publicIpId; + this.__explicitlySet__.add("publicIpId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table used by the NAT gateway. + * + *

If you don't specify a route table here, the NAT gateway is created without an + * associated route table. The Networking service does NOT automatically associate the + * attached VCN's default route table with the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table used by the NAT gateway. + * + *

If you don't specify a route table here, the NAT gateway is created without an + * associated route table. The Networking service does NOT automatically associate the + * attached VCN's default route table with the NAT gateway. + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public NatGateway build() { + NatGateway model = + new NatGateway( + this.compartmentId, + this.definedTags, + this.displayName, + this.freeformTags, + this.id, + this.blockTraffic, + this.lifecycleState, + this.natIp, + this.timeCreated, + this.vcnId, + this.publicIpId, + this.routeTableId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(NatGateway model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("blockTraffic")) { + this.blockTraffic(model.getBlockTraffic()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("natIp")) { + this.natIp(model.getNatIp()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("vcnId")) { + this.vcnId(model.getVcnId()); + } + if (model.wasPropertyExplicitlySet("publicIpId")) { + this.publicIpId(model.getPublicIpId()); + } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment that contains the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment that contains the NAT gateway. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the NAT gateway. + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * Whether the NAT gateway blocks traffic through it. The default is {@code false}. + * + *

Example: {@code true} + */ + @com.fasterxml.jackson.annotation.JsonProperty("blockTraffic") + private final Boolean blockTraffic; + + /** + * Whether the NAT gateway blocks traffic through it. The default is {@code false}. + * + *

Example: {@code true} + * + * @return the value + */ + public Boolean getBlockTraffic() { + return blockTraffic; + } + + /** The NAT gateway's current state. */ + public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { + Provisioning("PROVISIONING"), + Available("AVAILABLE"), + Terminating("TERMINATING"), + Terminated("TERMINATED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (LifecycleState v : LifecycleState.values()) { + map.put(v.getValue(), v); + } + } + + LifecycleState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static LifecycleState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid LifecycleState: " + key); + } + }; + /** The NAT gateway's current state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final LifecycleState lifecycleState; + + /** + * The NAT gateway's current state. + * + * @return the value + */ + public LifecycleState getLifecycleState() { + return lifecycleState; + } + + /** The IP address associated with the NAT gateway. */ + @com.fasterxml.jackson.annotation.JsonProperty("natIp") + private final String natIp; + + /** + * The IP address associated with the NAT gateway. + * + * @return the value + */ + public String getNatIp() { + return natIp; + } + + /** + * The date and time the NAT gateway was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the NAT gateway was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN the NAT gateway belongs to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private final String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN the NAT gateway belongs to. + * + * @return the value + */ + public String getVcnId() { + return vcnId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the public IP address associated with the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("publicIpId") + private final String publicIpId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the public IP address associated with the NAT gateway. + * + * @return the value + */ + public String getPublicIpId() { + return publicIpId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table used by the NAT gateway. + * + *

If you don't specify a route table here, the NAT gateway is created without an associated + * route table. The Networking service does NOT automatically associate the attached VCN's + * default route table with the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table used by the NAT gateway. + * + *

If you don't specify a route table here, the NAT gateway is created without an associated + * route table. The Networking service does NOT automatically associate the attached VCN's + * default route table with the NAT gateway. + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("NatGateway("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", id=").append(String.valueOf(this.id)); + sb.append(", blockTraffic=").append(String.valueOf(this.blockTraffic)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", natIp=").append(String.valueOf(this.natIp)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", vcnId=").append(String.valueOf(this.vcnId)); + sb.append(", publicIpId=").append(String.valueOf(this.publicIpId)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof NatGateway)) { + return false; + } + + NatGateway other = (NatGateway) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.blockTraffic, other.blockTraffic) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.natIp, other.natIp) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals(this.vcnId, other.vcnId) + && java.util.Objects.equals(this.publicIpId, other.publicIpId) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = (result * PRIME) + (this.blockTraffic == null ? 43 : this.blockTraffic.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = (result * PRIME) + (this.natIp == null ? 43 : this.natIp.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); + result = (result * PRIME) + (this.publicIpId == null ? 43 : this.publicIpId.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/NetworkingTopology.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/NetworkingTopology.java index a9f697d4f11..c34b20919d1 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/NetworkingTopology.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/NetworkingTopology.java @@ -45,6 +45,15 @@ public Builder relationships(java.util.List relation return this; } + @com.fasterxml.jackson.annotation.JsonProperty("limitedEntities") + private java.util.List limitedEntities; + + public Builder limitedEntities(java.util.List limitedEntities) { + this.limitedEntities = limitedEntities; + this.__explicitlySet__.add("limitedEntities"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private java.util.Date timeCreated; @@ -59,7 +68,11 @@ public Builder timeCreated(java.util.Date timeCreated) { public NetworkingTopology build() { NetworkingTopology model = - new NetworkingTopology(this.entities, this.relationships, this.timeCreated); + new NetworkingTopology( + this.entities, + this.relationships, + this.limitedEntities, + this.timeCreated); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -74,6 +87,9 @@ public Builder copy(NetworkingTopology model) { if (model.wasPropertyExplicitlySet("relationships")) { this.relationships(model.getRelationships()); } + if (model.wasPropertyExplicitlySet("limitedEntities")) { + this.limitedEntities(model.getLimitedEntities()); + } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } @@ -94,8 +110,9 @@ public Builder toBuilder() { public NetworkingTopology( java.util.List entities, java.util.List relationships, + java.util.List limitedEntities, java.util.Date timeCreated) { - super(entities, relationships, timeCreated); + super(entities, relationships, limitedEntities, timeCreated); } @Override diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PathTopology.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PathTopology.java index 6a49fd04640..66d974f7a62 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PathTopology.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PathTopology.java @@ -44,6 +44,15 @@ public Builder relationships(java.util.List relation return this; } + @com.fasterxml.jackson.annotation.JsonProperty("limitedEntities") + private java.util.List limitedEntities; + + public Builder limitedEntities(java.util.List limitedEntities) { + this.limitedEntities = limitedEntities; + this.__explicitlySet__.add("limitedEntities"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private java.util.Date timeCreated; @@ -58,7 +67,11 @@ public Builder timeCreated(java.util.Date timeCreated) { public PathTopology build() { PathTopology model = - new PathTopology(this.entities, this.relationships, this.timeCreated); + new PathTopology( + this.entities, + this.relationships, + this.limitedEntities, + this.timeCreated); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -73,6 +86,9 @@ public Builder copy(PathTopology model) { if (model.wasPropertyExplicitlySet("relationships")) { this.relationships(model.getRelationships()); } + if (model.wasPropertyExplicitlySet("limitedEntities")) { + this.limitedEntities(model.getLimitedEntities()); + } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } @@ -93,8 +109,9 @@ public Builder toBuilder() { public PathTopology( java.util.List entities, java.util.List relationships, + java.util.List limitedEntities, java.util.Date timeCreated) { - super(entities, relationships, timeCreated); + super(entities, relationships, limitedEntities, timeCreated); } @Override diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PhaseOneConfigDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PhaseOneConfigDetails.java new file mode 100644 index 00000000000..b218a734fa9 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PhaseOneConfigDetails.java @@ -0,0 +1,422 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Configuration details for IKE phase one (ISAKMP) configuration parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PhaseOneConfigDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PhaseOneConfigDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "isCustomPhaseOneConfig", + "authenticationAlgorithm", + "encryptionAlgorithm", + "diffieHelmanGroup", + "lifetimeInSeconds" + }) + public PhaseOneConfigDetails( + Boolean isCustomPhaseOneConfig, + AuthenticationAlgorithm authenticationAlgorithm, + EncryptionAlgorithm encryptionAlgorithm, + DiffieHelmanGroup diffieHelmanGroup, + Integer lifetimeInSeconds) { + super(); + this.isCustomPhaseOneConfig = isCustomPhaseOneConfig; + this.authenticationAlgorithm = authenticationAlgorithm; + this.encryptionAlgorithm = encryptionAlgorithm; + this.diffieHelmanGroup = diffieHelmanGroup; + this.lifetimeInSeconds = lifetimeInSeconds; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Indicates whether custom configuration is enabled for phase one options. */ + @com.fasterxml.jackson.annotation.JsonProperty("isCustomPhaseOneConfig") + private Boolean isCustomPhaseOneConfig; + + /** + * Indicates whether custom configuration is enabled for phase one options. + * + * @param isCustomPhaseOneConfig the value to set + * @return this builder + */ + public Builder isCustomPhaseOneConfig(Boolean isCustomPhaseOneConfig) { + this.isCustomPhaseOneConfig = isCustomPhaseOneConfig; + this.__explicitlySet__.add("isCustomPhaseOneConfig"); + return this; + } + /** The custom authentication algorithm proposed during phase one tunnel negotiation. */ + @com.fasterxml.jackson.annotation.JsonProperty("authenticationAlgorithm") + private AuthenticationAlgorithm authenticationAlgorithm; + + /** + * The custom authentication algorithm proposed during phase one tunnel negotiation. + * + * @param authenticationAlgorithm the value to set + * @return this builder + */ + public Builder authenticationAlgorithm(AuthenticationAlgorithm authenticationAlgorithm) { + this.authenticationAlgorithm = authenticationAlgorithm; + this.__explicitlySet__.add("authenticationAlgorithm"); + return this; + } + /** The custom encryption algorithm proposed during phase one tunnel negotiation. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionAlgorithm") + private EncryptionAlgorithm encryptionAlgorithm; + + /** + * The custom encryption algorithm proposed during phase one tunnel negotiation. + * + * @param encryptionAlgorithm the value to set + * @return this builder + */ + public Builder encryptionAlgorithm(EncryptionAlgorithm encryptionAlgorithm) { + this.encryptionAlgorithm = encryptionAlgorithm; + this.__explicitlySet__.add("encryptionAlgorithm"); + return this; + } + /** The custom Diffie-Hellman group proposed during phase one tunnel negotiation. */ + @com.fasterxml.jackson.annotation.JsonProperty("diffieHelmanGroup") + private DiffieHelmanGroup diffieHelmanGroup; + + /** + * The custom Diffie-Hellman group proposed during phase one tunnel negotiation. + * + * @param diffieHelmanGroup the value to set + * @return this builder + */ + public Builder diffieHelmanGroup(DiffieHelmanGroup diffieHelmanGroup) { + this.diffieHelmanGroup = diffieHelmanGroup; + this.__explicitlySet__.add("diffieHelmanGroup"); + return this; + } + /** + * Internet key association (IKE) session key lifetime in seconds for IPSec phase one. The + * default is 28800 which is equivalent to 8 hours. + */ + @com.fasterxml.jackson.annotation.JsonProperty("lifetimeInSeconds") + private Integer lifetimeInSeconds; + + /** + * Internet key association (IKE) session key lifetime in seconds for IPSec phase one. The + * default is 28800 which is equivalent to 8 hours. + * + * @param lifetimeInSeconds the value to set + * @return this builder + */ + public Builder lifetimeInSeconds(Integer lifetimeInSeconds) { + this.lifetimeInSeconds = lifetimeInSeconds; + this.__explicitlySet__.add("lifetimeInSeconds"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PhaseOneConfigDetails build() { + PhaseOneConfigDetails model = + new PhaseOneConfigDetails( + this.isCustomPhaseOneConfig, + this.authenticationAlgorithm, + this.encryptionAlgorithm, + this.diffieHelmanGroup, + this.lifetimeInSeconds); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PhaseOneConfigDetails model) { + if (model.wasPropertyExplicitlySet("isCustomPhaseOneConfig")) { + this.isCustomPhaseOneConfig(model.getIsCustomPhaseOneConfig()); + } + if (model.wasPropertyExplicitlySet("authenticationAlgorithm")) { + this.authenticationAlgorithm(model.getAuthenticationAlgorithm()); + } + if (model.wasPropertyExplicitlySet("encryptionAlgorithm")) { + this.encryptionAlgorithm(model.getEncryptionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("diffieHelmanGroup")) { + this.diffieHelmanGroup(model.getDiffieHelmanGroup()); + } + if (model.wasPropertyExplicitlySet("lifetimeInSeconds")) { + this.lifetimeInSeconds(model.getLifetimeInSeconds()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Indicates whether custom configuration is enabled for phase one options. */ + @com.fasterxml.jackson.annotation.JsonProperty("isCustomPhaseOneConfig") + private final Boolean isCustomPhaseOneConfig; + + /** + * Indicates whether custom configuration is enabled for phase one options. + * + * @return the value + */ + public Boolean getIsCustomPhaseOneConfig() { + return isCustomPhaseOneConfig; + } + + /** The custom authentication algorithm proposed during phase one tunnel negotiation. */ + public enum AuthenticationAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + Sha2384("SHA2_384"), + Sha2256("SHA2_256"), + Sha196("SHA1_96"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (AuthenticationAlgorithm v : AuthenticationAlgorithm.values()) { + map.put(v.getValue(), v); + } + } + + AuthenticationAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static AuthenticationAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid AuthenticationAlgorithm: " + key); + } + }; + /** The custom authentication algorithm proposed during phase one tunnel negotiation. */ + @com.fasterxml.jackson.annotation.JsonProperty("authenticationAlgorithm") + private final AuthenticationAlgorithm authenticationAlgorithm; + + /** + * The custom authentication algorithm proposed during phase one tunnel negotiation. + * + * @return the value + */ + public AuthenticationAlgorithm getAuthenticationAlgorithm() { + return authenticationAlgorithm; + } + + /** The custom encryption algorithm proposed during phase one tunnel negotiation. */ + public enum EncryptionAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + Aes256Cbc("AES_256_CBC"), + Aes192Cbc("AES_192_CBC"), + Aes128Cbc("AES_128_CBC"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (EncryptionAlgorithm v : EncryptionAlgorithm.values()) { + map.put(v.getValue(), v); + } + } + + EncryptionAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static EncryptionAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid EncryptionAlgorithm: " + key); + } + }; + /** The custom encryption algorithm proposed during phase one tunnel negotiation. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionAlgorithm") + private final EncryptionAlgorithm encryptionAlgorithm; + + /** + * The custom encryption algorithm proposed during phase one tunnel negotiation. + * + * @return the value + */ + public EncryptionAlgorithm getEncryptionAlgorithm() { + return encryptionAlgorithm; + } + + /** The custom Diffie-Hellman group proposed during phase one tunnel negotiation. */ + public enum DiffieHelmanGroup implements com.oracle.bmc.http.internal.BmcEnum { + Group2("GROUP2"), + Group5("GROUP5"), + Group14("GROUP14"), + Group19("GROUP19"), + Group20("GROUP20"), + Group24("GROUP24"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DiffieHelmanGroup v : DiffieHelmanGroup.values()) { + map.put(v.getValue(), v); + } + } + + DiffieHelmanGroup(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DiffieHelmanGroup create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid DiffieHelmanGroup: " + key); + } + }; + /** The custom Diffie-Hellman group proposed during phase one tunnel negotiation. */ + @com.fasterxml.jackson.annotation.JsonProperty("diffieHelmanGroup") + private final DiffieHelmanGroup diffieHelmanGroup; + + /** + * The custom Diffie-Hellman group proposed during phase one tunnel negotiation. + * + * @return the value + */ + public DiffieHelmanGroup getDiffieHelmanGroup() { + return diffieHelmanGroup; + } + + /** + * Internet key association (IKE) session key lifetime in seconds for IPSec phase one. The + * default is 28800 which is equivalent to 8 hours. + */ + @com.fasterxml.jackson.annotation.JsonProperty("lifetimeInSeconds") + private final Integer lifetimeInSeconds; + + /** + * Internet key association (IKE) session key lifetime in seconds for IPSec phase one. The + * default is 28800 which is equivalent to 8 hours. + * + * @return the value + */ + public Integer getLifetimeInSeconds() { + return lifetimeInSeconds; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PhaseOneConfigDetails("); + sb.append("super=").append(super.toString()); + sb.append("isCustomPhaseOneConfig=").append(String.valueOf(this.isCustomPhaseOneConfig)); + sb.append(", authenticationAlgorithm=") + .append(String.valueOf(this.authenticationAlgorithm)); + sb.append(", encryptionAlgorithm=").append(String.valueOf(this.encryptionAlgorithm)); + sb.append(", diffieHelmanGroup=").append(String.valueOf(this.diffieHelmanGroup)); + sb.append(", lifetimeInSeconds=").append(String.valueOf(this.lifetimeInSeconds)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PhaseOneConfigDetails)) { + return false; + } + + PhaseOneConfigDetails other = (PhaseOneConfigDetails) o; + return java.util.Objects.equals(this.isCustomPhaseOneConfig, other.isCustomPhaseOneConfig) + && java.util.Objects.equals( + this.authenticationAlgorithm, other.authenticationAlgorithm) + && java.util.Objects.equals(this.encryptionAlgorithm, other.encryptionAlgorithm) + && java.util.Objects.equals(this.diffieHelmanGroup, other.diffieHelmanGroup) + && java.util.Objects.equals(this.lifetimeInSeconds, other.lifetimeInSeconds) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.isCustomPhaseOneConfig == null + ? 43 + : this.isCustomPhaseOneConfig.hashCode()); + result = + (result * PRIME) + + (this.authenticationAlgorithm == null + ? 43 + : this.authenticationAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.encryptionAlgorithm == null + ? 43 + : this.encryptionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.diffieHelmanGroup == null ? 43 : this.diffieHelmanGroup.hashCode()); + result = + (result * PRIME) + + (this.lifetimeInSeconds == null ? 43 : this.lifetimeInSeconds.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PhaseTwoConfigDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PhaseTwoConfigDetails.java new file mode 100644 index 00000000000..28c45e9d799 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PhaseTwoConfigDetails.java @@ -0,0 +1,460 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Configuration details for IPSec phase two configuration parameters.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PhaseTwoConfigDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PhaseTwoConfigDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "isCustomPhaseTwoConfig", + "authenticationAlgorithm", + "encryptionAlgorithm", + "lifetimeInSeconds", + "isPfsEnabled", + "pfsDhGroup" + }) + public PhaseTwoConfigDetails( + Boolean isCustomPhaseTwoConfig, + AuthenticationAlgorithm authenticationAlgorithm, + EncryptionAlgorithm encryptionAlgorithm, + Integer lifetimeInSeconds, + Boolean isPfsEnabled, + PfsDhGroup pfsDhGroup) { + super(); + this.isCustomPhaseTwoConfig = isCustomPhaseTwoConfig; + this.authenticationAlgorithm = authenticationAlgorithm; + this.encryptionAlgorithm = encryptionAlgorithm; + this.lifetimeInSeconds = lifetimeInSeconds; + this.isPfsEnabled = isPfsEnabled; + this.pfsDhGroup = pfsDhGroup; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Indicates whether custom configuration is enabled for phase two options. */ + @com.fasterxml.jackson.annotation.JsonProperty("isCustomPhaseTwoConfig") + private Boolean isCustomPhaseTwoConfig; + + /** + * Indicates whether custom configuration is enabled for phase two options. + * + * @param isCustomPhaseTwoConfig the value to set + * @return this builder + */ + public Builder isCustomPhaseTwoConfig(Boolean isCustomPhaseTwoConfig) { + this.isCustomPhaseTwoConfig = isCustomPhaseTwoConfig; + this.__explicitlySet__.add("isCustomPhaseTwoConfig"); + return this; + } + /** The authentication algorithm proposed during phase two tunnel negotiation. */ + @com.fasterxml.jackson.annotation.JsonProperty("authenticationAlgorithm") + private AuthenticationAlgorithm authenticationAlgorithm; + + /** + * The authentication algorithm proposed during phase two tunnel negotiation. + * + * @param authenticationAlgorithm the value to set + * @return this builder + */ + public Builder authenticationAlgorithm(AuthenticationAlgorithm authenticationAlgorithm) { + this.authenticationAlgorithm = authenticationAlgorithm; + this.__explicitlySet__.add("authenticationAlgorithm"); + return this; + } + /** The encryption algorithm proposed during phase two tunnel negotiation. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionAlgorithm") + private EncryptionAlgorithm encryptionAlgorithm; + + /** + * The encryption algorithm proposed during phase two tunnel negotiation. + * + * @param encryptionAlgorithm the value to set + * @return this builder + */ + public Builder encryptionAlgorithm(EncryptionAlgorithm encryptionAlgorithm) { + this.encryptionAlgorithm = encryptionAlgorithm; + this.__explicitlySet__.add("encryptionAlgorithm"); + return this; + } + /** + * Lifetime in seconds for the IPSec session key set in phase two. The default is 3600 which + * is equivalent to 1 hour. + */ + @com.fasterxml.jackson.annotation.JsonProperty("lifetimeInSeconds") + private Integer lifetimeInSeconds; + + /** + * Lifetime in seconds for the IPSec session key set in phase two. The default is 3600 which + * is equivalent to 1 hour. + * + * @param lifetimeInSeconds the value to set + * @return this builder + */ + public Builder lifetimeInSeconds(Integer lifetimeInSeconds) { + this.lifetimeInSeconds = lifetimeInSeconds; + this.__explicitlySet__.add("lifetimeInSeconds"); + return this; + } + /** Indicates whether perfect forward secrecy (PFS) is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("isPfsEnabled") + private Boolean isPfsEnabled; + + /** + * Indicates whether perfect forward secrecy (PFS) is enabled. + * + * @param isPfsEnabled the value to set + * @return this builder + */ + public Builder isPfsEnabled(Boolean isPfsEnabled) { + this.isPfsEnabled = isPfsEnabled; + this.__explicitlySet__.add("isPfsEnabled"); + return this; + } + /** The Diffie-Hellman group used for PFS, if PFS is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("pfsDhGroup") + private PfsDhGroup pfsDhGroup; + + /** + * The Diffie-Hellman group used for PFS, if PFS is enabled. + * + * @param pfsDhGroup the value to set + * @return this builder + */ + public Builder pfsDhGroup(PfsDhGroup pfsDhGroup) { + this.pfsDhGroup = pfsDhGroup; + this.__explicitlySet__.add("pfsDhGroup"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PhaseTwoConfigDetails build() { + PhaseTwoConfigDetails model = + new PhaseTwoConfigDetails( + this.isCustomPhaseTwoConfig, + this.authenticationAlgorithm, + this.encryptionAlgorithm, + this.lifetimeInSeconds, + this.isPfsEnabled, + this.pfsDhGroup); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PhaseTwoConfigDetails model) { + if (model.wasPropertyExplicitlySet("isCustomPhaseTwoConfig")) { + this.isCustomPhaseTwoConfig(model.getIsCustomPhaseTwoConfig()); + } + if (model.wasPropertyExplicitlySet("authenticationAlgorithm")) { + this.authenticationAlgorithm(model.getAuthenticationAlgorithm()); + } + if (model.wasPropertyExplicitlySet("encryptionAlgorithm")) { + this.encryptionAlgorithm(model.getEncryptionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("lifetimeInSeconds")) { + this.lifetimeInSeconds(model.getLifetimeInSeconds()); + } + if (model.wasPropertyExplicitlySet("isPfsEnabled")) { + this.isPfsEnabled(model.getIsPfsEnabled()); + } + if (model.wasPropertyExplicitlySet("pfsDhGroup")) { + this.pfsDhGroup(model.getPfsDhGroup()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Indicates whether custom configuration is enabled for phase two options. */ + @com.fasterxml.jackson.annotation.JsonProperty("isCustomPhaseTwoConfig") + private final Boolean isCustomPhaseTwoConfig; + + /** + * Indicates whether custom configuration is enabled for phase two options. + * + * @return the value + */ + public Boolean getIsCustomPhaseTwoConfig() { + return isCustomPhaseTwoConfig; + } + + /** The authentication algorithm proposed during phase two tunnel negotiation. */ + public enum AuthenticationAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + HmacSha2256128("HMAC_SHA2_256_128"), + HmacSha1128("HMAC_SHA1_128"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (AuthenticationAlgorithm v : AuthenticationAlgorithm.values()) { + map.put(v.getValue(), v); + } + } + + AuthenticationAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static AuthenticationAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid AuthenticationAlgorithm: " + key); + } + }; + /** The authentication algorithm proposed during phase two tunnel negotiation. */ + @com.fasterxml.jackson.annotation.JsonProperty("authenticationAlgorithm") + private final AuthenticationAlgorithm authenticationAlgorithm; + + /** + * The authentication algorithm proposed during phase two tunnel negotiation. + * + * @return the value + */ + public AuthenticationAlgorithm getAuthenticationAlgorithm() { + return authenticationAlgorithm; + } + + /** The encryption algorithm proposed during phase two tunnel negotiation. */ + public enum EncryptionAlgorithm implements com.oracle.bmc.http.internal.BmcEnum { + Aes256Gcm("AES_256_GCM"), + Aes192Gcm("AES_192_GCM"), + Aes128Gcm("AES_128_GCM"), + Aes256Cbc("AES_256_CBC"), + Aes192Cbc("AES_192_CBC"), + Aes128Cbc("AES_128_CBC"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (EncryptionAlgorithm v : EncryptionAlgorithm.values()) { + map.put(v.getValue(), v); + } + } + + EncryptionAlgorithm(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static EncryptionAlgorithm create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid EncryptionAlgorithm: " + key); + } + }; + /** The encryption algorithm proposed during phase two tunnel negotiation. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionAlgorithm") + private final EncryptionAlgorithm encryptionAlgorithm; + + /** + * The encryption algorithm proposed during phase two tunnel negotiation. + * + * @return the value + */ + public EncryptionAlgorithm getEncryptionAlgorithm() { + return encryptionAlgorithm; + } + + /** + * Lifetime in seconds for the IPSec session key set in phase two. The default is 3600 which is + * equivalent to 1 hour. + */ + @com.fasterxml.jackson.annotation.JsonProperty("lifetimeInSeconds") + private final Integer lifetimeInSeconds; + + /** + * Lifetime in seconds for the IPSec session key set in phase two. The default is 3600 which is + * equivalent to 1 hour. + * + * @return the value + */ + public Integer getLifetimeInSeconds() { + return lifetimeInSeconds; + } + + /** Indicates whether perfect forward secrecy (PFS) is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("isPfsEnabled") + private final Boolean isPfsEnabled; + + /** + * Indicates whether perfect forward secrecy (PFS) is enabled. + * + * @return the value + */ + public Boolean getIsPfsEnabled() { + return isPfsEnabled; + } + + /** The Diffie-Hellman group used for PFS, if PFS is enabled. */ + public enum PfsDhGroup implements com.oracle.bmc.http.internal.BmcEnum { + Group2("GROUP2"), + Group5("GROUP5"), + Group14("GROUP14"), + Group19("GROUP19"), + Group20("GROUP20"), + Group24("GROUP24"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (PfsDhGroup v : PfsDhGroup.values()) { + map.put(v.getValue(), v); + } + } + + PfsDhGroup(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static PfsDhGroup create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid PfsDhGroup: " + key); + } + }; + /** The Diffie-Hellman group used for PFS, if PFS is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("pfsDhGroup") + private final PfsDhGroup pfsDhGroup; + + /** + * The Diffie-Hellman group used for PFS, if PFS is enabled. + * + * @return the value + */ + public PfsDhGroup getPfsDhGroup() { + return pfsDhGroup; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PhaseTwoConfigDetails("); + sb.append("super=").append(super.toString()); + sb.append("isCustomPhaseTwoConfig=").append(String.valueOf(this.isCustomPhaseTwoConfig)); + sb.append(", authenticationAlgorithm=") + .append(String.valueOf(this.authenticationAlgorithm)); + sb.append(", encryptionAlgorithm=").append(String.valueOf(this.encryptionAlgorithm)); + sb.append(", lifetimeInSeconds=").append(String.valueOf(this.lifetimeInSeconds)); + sb.append(", isPfsEnabled=").append(String.valueOf(this.isPfsEnabled)); + sb.append(", pfsDhGroup=").append(String.valueOf(this.pfsDhGroup)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PhaseTwoConfigDetails)) { + return false; + } + + PhaseTwoConfigDetails other = (PhaseTwoConfigDetails) o; + return java.util.Objects.equals(this.isCustomPhaseTwoConfig, other.isCustomPhaseTwoConfig) + && java.util.Objects.equals( + this.authenticationAlgorithm, other.authenticationAlgorithm) + && java.util.Objects.equals(this.encryptionAlgorithm, other.encryptionAlgorithm) + && java.util.Objects.equals(this.lifetimeInSeconds, other.lifetimeInSeconds) + && java.util.Objects.equals(this.isPfsEnabled, other.isPfsEnabled) + && java.util.Objects.equals(this.pfsDhGroup, other.pfsDhGroup) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.isCustomPhaseTwoConfig == null + ? 43 + : this.isCustomPhaseTwoConfig.hashCode()); + result = + (result * PRIME) + + (this.authenticationAlgorithm == null + ? 43 + : this.authenticationAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.encryptionAlgorithm == null + ? 43 + : this.encryptionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.lifetimeInSeconds == null ? 43 : this.lifetimeInSeconds.hashCode()); + result = (result * PRIME) + (this.isPfsEnabled == null ? 43 : this.isPfsEnabled.hashCode()); + result = (result * PRIME) + (this.pfsDhGroup == null ? 43 : this.pfsDhGroup.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PrivateIp.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PrivateIp.java index e52b0aed23c..e3697c36750 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PrivateIp.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PrivateIp.java @@ -27,6 +27,10 @@ * #attachVnic(AttachVnicRequest) attachVnic}. To update the hostname for a primary private IP, you * use {@link #updateVnic(UpdateVnicRequest) updateVnic}. * + *

{@code PrivateIp} objects that are created for use with the Oracle Cloud VMware Solution are + * assigned to a VLAN and not a VNIC in a subnet. See the descriptions of the relevant attributes in + * the {@code PrivateIp} object. Also see {@link Vlan}. + * *

To use any of the API operations, you must be authorized in an IAM policy. If you're not * authorized, talk to an administrator. If you're an administrator who needs to write policies to * give users access, see [Getting Started with @@ -57,6 +61,7 @@ public final class PrivateIp extends com.oracle.bmc.http.client.internal.Explici "id", "ipAddress", "isPrimary", + "vlanId", "subnetId", "timeCreated", "vnicId" @@ -71,6 +76,7 @@ public PrivateIp( String id, String ipAddress, Boolean isPrimary, + String vlanId, String subnetId, java.util.Date timeCreated, String vnicId) { @@ -84,6 +90,7 @@ public PrivateIp( this.id = id; this.ipAddress = ipAddress; this.isPrimary = isPrimary; + this.vlanId = vlanId; this.subnetId = subnetId; this.timeCreated = timeCreated; this.vnicId = vnicId; @@ -92,7 +99,8 @@ public PrivateIp( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The private IP's availability domain. + * The private IP's availability domain. This attribute will be null if this is a + * *secondary* private IP assigned to a VNIC that is in a *regional* subnet. * *

Example: {@code Uocm:PHX-AD-1} */ @@ -100,7 +108,8 @@ public static class Builder { private String availabilityDomain; /** - * The private IP's availability domain. + * The private IP's availability domain. This attribute will be null if this is a + * *secondary* private IP assigned to a VNIC that is in a *regional* subnet. * *

Example: {@code Uocm:PHX-AD-1} * @@ -191,30 +200,30 @@ public Builder freeformTags(java.util.Map freeformTags) { } /** * The hostname for the private IP. Used for DNS. The value is the hostname portion of the - * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance-1} in - * FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs - * in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC + * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance1} in FQDN + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the + * subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} */ @com.fasterxml.jackson.annotation.JsonProperty("hostnameLabel") private String hostnameLabel; /** * The hostname for the private IP. Used for DNS. The value is the hostname portion of the - * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance-1} in - * FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs - * in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC + * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance1} in FQDN + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the + * subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} * * @param hostnameLabel the value to set * @return this builder @@ -247,6 +256,10 @@ public Builder id(String id) { * The private IP address of the {@code privateIp} object. The address is within the CIDR of * the VNIC's subnet. * + *

However, if the {@code PrivateIp} object is being used with a VLAN as part of the + * Oracle Cloud VMware Solution, the address is from the range specified by the {@code + * cidrBlock} attribute for the VLAN. See {@link Vlan}. + * *

Example: {@code 10.0.3.3} */ @com.fasterxml.jackson.annotation.JsonProperty("ipAddress") @@ -256,6 +269,10 @@ public Builder id(String id) { * The private IP address of the {@code privateIp} object. The address is within the CIDR of * the VNIC's subnet. * + *

However, if the {@code PrivateIp} object is being used with a VLAN as part of the + * Oracle Cloud VMware Solution, the address is from the range specified by the {@code + * cidrBlock} attribute for the VLAN. See {@link Vlan}. + * *

Example: {@code 10.0.3.3} * * @param ipAddress the value to set @@ -289,9 +306,35 @@ public Builder isPrimary(Boolean isPrimary) { this.__explicitlySet__.add("isPrimary"); return this; } + /** + * Applicable only if the {@code PrivateIp} object is being used with a VLAN as part of the + * Oracle Cloud VMware Solution. The {@code vlanId} is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VLAN. See {@link Vlan}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlanId") + private String vlanId; + + /** + * Applicable only if the {@code PrivateIp} object is being used with a VLAN as part of the + * Oracle Cloud VMware Solution. The {@code vlanId} is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VLAN. See {@link Vlan}. + * + * @param vlanId the value to set + * @return this builder + */ + public Builder vlanId(String vlanId) { + this.vlanId = vlanId; + this.__explicitlySet__.add("vlanId"); + return this; + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the subnet the VNIC is in. + * + *

However, if the {@code PrivateIp} object is being used with a VLAN as part of the + * Oracle Cloud VMware Solution, the {@code subnetId} is null. */ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") private String subnetId; @@ -300,6 +343,9 @@ public Builder isPrimary(Boolean isPrimary) { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the subnet the VNIC is in. * + *

However, if the {@code PrivateIp} object is being used with a VLAN as part of the + * Oracle Cloud VMware Solution, the {@code subnetId} is null. + * * @param subnetId the value to set * @return this builder */ @@ -334,7 +380,8 @@ public Builder timeCreated(java.util.Date timeCreated) { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the VNIC the private IP is assigned to. The VNIC and private IP must be in the same - * subnet. + * subnet. However, if the {@code PrivateIp} object is being used with a VLAN as part of the + * Oracle Cloud VMware Solution, the {@code vnicId} is null. */ @com.fasterxml.jackson.annotation.JsonProperty("vnicId") private String vnicId; @@ -342,7 +389,8 @@ public Builder timeCreated(java.util.Date timeCreated) { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the VNIC the private IP is assigned to. The VNIC and private IP must be in the same - * subnet. + * subnet. However, if the {@code PrivateIp} object is being used with a VLAN as part of the + * Oracle Cloud VMware Solution, the {@code vnicId} is null. * * @param vnicId the value to set * @return this builder @@ -368,6 +416,7 @@ public PrivateIp build() { this.id, this.ipAddress, this.isPrimary, + this.vlanId, this.subnetId, this.timeCreated, this.vnicId); @@ -406,6 +455,9 @@ public Builder copy(PrivateIp model) { if (model.wasPropertyExplicitlySet("isPrimary")) { this.isPrimary(model.getIsPrimary()); } + if (model.wasPropertyExplicitlySet("vlanId")) { + this.vlanId(model.getVlanId()); + } if (model.wasPropertyExplicitlySet("subnetId")) { this.subnetId(model.getSubnetId()); } @@ -429,7 +481,8 @@ public Builder toBuilder() { } /** - * The private IP's availability domain. + * The private IP's availability domain. This attribute will be null if this is a *secondary* + * private IP assigned to a VNIC that is in a *regional* subnet. * *

Example: {@code Uocm:PHX-AD-1} */ @@ -437,7 +490,8 @@ public Builder toBuilder() { private final String availabilityDomain; /** - * The private IP's availability domain. + * The private IP's availability domain. This attribute will be null if this is a *secondary* + * private IP assigned to a VNIC that is in a *regional* subnet. * *

Example: {@code Uocm:PHX-AD-1} * @@ -517,30 +571,30 @@ public java.util.Map getFreeformTags() { /** * The hostname for the private IP. Used for DNS. The value is the hostname portion of the - * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance-1} in FQDN - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the + * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance1} in FQDN + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the * subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} */ @com.fasterxml.jackson.annotation.JsonProperty("hostnameLabel") private final String hostnameLabel; /** * The hostname for the private IP. Used for DNS. The value is the hostname portion of the - * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance-1} in FQDN - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the + * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance1} in FQDN + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the * subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} * * @return the value */ @@ -569,6 +623,10 @@ public String getId() { * The private IP address of the {@code privateIp} object. The address is within the CIDR of the * VNIC's subnet. * + *

However, if the {@code PrivateIp} object is being used with a VLAN as part of the Oracle + * Cloud VMware Solution, the address is from the range specified by the {@code cidrBlock} + * attribute for the VLAN. See {@link Vlan}. + * *

Example: {@code 10.0.3.3} */ @com.fasterxml.jackson.annotation.JsonProperty("ipAddress") @@ -578,6 +636,10 @@ public String getId() { * The private IP address of the {@code privateIp} object. The address is within the CIDR of the * VNIC's subnet. * + *

However, if the {@code PrivateIp} object is being used with a VLAN as part of the Oracle + * Cloud VMware Solution, the address is from the range specified by the {@code cidrBlock} + * attribute for the VLAN. See {@link Vlan}. + * *

Example: {@code 10.0.3.3} * * @return the value @@ -607,9 +669,33 @@ public Boolean getIsPrimary() { return isPrimary; } + /** + * Applicable only if the {@code PrivateIp} object is being used with a VLAN as part of the + * Oracle Cloud VMware Solution. The {@code vlanId} is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * VLAN. See {@link Vlan}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlanId") + private final String vlanId; + + /** + * Applicable only if the {@code PrivateIp} object is being used with a VLAN as part of the + * Oracle Cloud VMware Solution. The {@code vlanId} is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * VLAN. See {@link Vlan}. + * + * @return the value + */ + public String getVlanId() { + return vlanId; + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the subnet the VNIC is in. + * + *

However, if the {@code PrivateIp} object is being used with a VLAN as part of the Oracle + * Cloud VMware Solution, the {@code subnetId} is null. */ @com.fasterxml.jackson.annotation.JsonProperty("subnetId") private final String subnetId; @@ -618,6 +704,9 @@ public Boolean getIsPrimary() { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the subnet the VNIC is in. * + *

However, if the {@code PrivateIp} object is being used with a VLAN as part of the Oracle + * Cloud VMware Solution, the {@code subnetId} is null. + * * @return the value */ public String getSubnetId() { @@ -648,6 +737,8 @@ public java.util.Date getTimeCreated() { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the VNIC the private IP is assigned to. The VNIC and private IP must be in the same subnet. + * However, if the {@code PrivateIp} object is being used with a VLAN as part of the Oracle + * Cloud VMware Solution, the {@code vnicId} is null. */ @com.fasterxml.jackson.annotation.JsonProperty("vnicId") private final String vnicId; @@ -655,6 +746,8 @@ public java.util.Date getTimeCreated() { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the VNIC the private IP is assigned to. The VNIC and private IP must be in the same subnet. + * However, if the {@code PrivateIp} object is being used with a VLAN as part of the Oracle + * Cloud VMware Solution, the {@code vnicId} is null. * * @return the value */ @@ -686,6 +779,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", id=").append(String.valueOf(this.id)); sb.append(", ipAddress=").append(String.valueOf(this.ipAddress)); sb.append(", isPrimary=").append(String.valueOf(this.isPrimary)); + sb.append(", vlanId=").append(String.valueOf(this.vlanId)); sb.append(", subnetId=").append(String.valueOf(this.subnetId)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", vnicId=").append(String.valueOf(this.vnicId)); @@ -712,6 +806,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.ipAddress, other.ipAddress) && java.util.Objects.equals(this.isPrimary, other.isPrimary) + && java.util.Objects.equals(this.vlanId, other.vlanId) && java.util.Objects.equals(this.subnetId, other.subnetId) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.vnicId, other.vnicId) @@ -739,6 +834,7 @@ public int hashCode() { result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); result = (result * PRIME) + (this.ipAddress == null ? 43 : this.ipAddress.hashCode()); result = (result * PRIME) + (this.isPrimary == null ? 43 : this.isPrimary.hashCode()); + result = (result * PRIME) + (this.vlanId == null ? 43 : this.vlanId.hashCode()); result = (result * PRIME) + (this.subnetId == null ? 43 : this.subnetId.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode()); diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIp.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIp.java index a99f24f386b..60a2810dc70 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIp.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIp.java @@ -28,6 +28,8 @@ public final class PublicIp extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({ + "assignedEntityId", + "assignedEntityType", "availabilityDomain", "compartmentId", "definedTags", @@ -39,9 +41,12 @@ public final class PublicIp extends com.oracle.bmc.http.client.internal.Explicit "lifetime", "privateIpId", "scope", - "timeCreated" + "timeCreated", + "publicIpPoolId" }) public PublicIp( + String assignedEntityId, + AssignedEntityType assignedEntityType, String availabilityDomain, String compartmentId, java.util.Map> definedTags, @@ -53,8 +58,11 @@ public PublicIp( Lifetime lifetime, String privateIpId, Scope scope, - java.util.Date timeCreated) { + java.util.Date timeCreated, + String publicIpPoolId) { super(); + this.assignedEntityId = assignedEntityId; + this.assignedEntityType = assignedEntityType; this.availabilityDomain = availabilityDomain; this.compartmentId = compartmentId; this.definedTags = definedTags; @@ -67,14 +75,52 @@ public PublicIp( this.privateIpId = privateIpId; this.scope = scope; this.timeCreated = timeCreated; + this.publicIpPoolId = publicIpPoolId; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the entity the public IP is assigned to, or in the process of being assigned to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("assignedEntityId") + private String assignedEntityId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the entity the public IP is assigned to, or in the process of being assigned to. + * + * @param assignedEntityId the value to set + * @return this builder + */ + public Builder assignedEntityId(String assignedEntityId) { + this.assignedEntityId = assignedEntityId; + this.__explicitlySet__.add("assignedEntityId"); + return this; + } + /** + * The type of entity the public IP is assigned to, or in the process of being assigned to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("assignedEntityType") + private AssignedEntityType assignedEntityType; + + /** + * The type of entity the public IP is assigned to, or in the process of being assigned to. + * + * @param assignedEntityType the value to set + * @return this builder + */ + public Builder assignedEntityType(AssignedEntityType assignedEntityType) { + this.assignedEntityType = assignedEntityType; + this.__explicitlySet__.add("assignedEntityType"); + return this; + } /** * The public IP's availability domain. This property is set only for ephemeral public IPs - * (that is, when the {@code scope} of the public IP is set to AVAILABILITY_DOMAIN). The - * value is the availability domain of the assigned private IP. + * that are assigned to a private IP (that is, when the {@code scope} of the public IP is + * set to AVAILABILITY_DOMAIN). The value is the availability domain of the assigned private + * IP. * *

Example: {@code Uocm:PHX-AD-1} */ @@ -83,8 +129,9 @@ public static class Builder { /** * The public IP's availability domain. This property is set only for ephemeral public IPs - * (that is, when the {@code scope} of the public IP is set to AVAILABILITY_DOMAIN). The - * value is the availability domain of the assigned private IP. + * that are assigned to a private IP (that is, when the {@code scope} of the public IP is + * set to AVAILABILITY_DOMAIN). The value is the availability domain of the assigned private + * IP. * *

Example: {@code Uocm:PHX-AD-1} * @@ -98,18 +145,20 @@ public Builder availabilityDomain(String availabilityDomain) { } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment containing the public IP. For an ephemeral public IP, this is the same - * compartment as the private IP's. For a reserved public IP that is currently assigned, - * this can be a different compartment than the assigned private IP's. + * of the compartment containing the public IP. For an ephemeral public IP, this is the + * compartment of its assigned entity (which can be a private IP or a regional entity such + * as a NAT gateway). For a reserved public IP that is currently assigned, its compartment + * can be different from the assigned private IP's. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment containing the public IP. For an ephemeral public IP, this is the same - * compartment as the private IP's. For a reserved public IP that is currently assigned, - * this can be a different compartment than the assigned private IP's. + * of the compartment containing the public IP. For an ephemeral public IP, this is the + * compartment of its assigned entity (which can be a private IP or a regional entity such + * as a NAT gateway). For a reserved public IP that is currently assigned, its compartment + * can be different from the assigned private IP's. * * @param compartmentId the value to set * @return this builder @@ -235,10 +284,12 @@ public Builder lifecycleState(LifecycleState lifecycleState) { /** * Defines when the public IP is deleted and released back to Oracle's public IP pool. * - *

{@code EPHEMERAL}: The lifetime is tied to the lifetime of its assigned private IP. - * The ephemeral public IP is automatically deleted when its private IP is deleted, when the - * VNIC is terminated, or when the instance is terminated. An ephemeral public IP must - * always be assigned to a private IP. + *

{@code EPHEMERAL}: The lifetime is tied to the lifetime of its assigned entity. An + * ephemeral public IP must always be assigned to an entity. If the assigned entity is a + * private IP, the ephemeral public IP is automatically deleted when the private IP is + * deleted, when the VNIC is terminated, or when the instance is terminated. If the assigned + * entity is a {@link NatGateway}, the ephemeral public IP is automatically deleted when the + * NAT gateway is terminated. * *

{@code RESERVED}: You control the public IP's lifetime. You can delete a reserved * public IP whenever you like. It does not need to be assigned to a private IP at all @@ -253,10 +304,12 @@ public Builder lifecycleState(LifecycleState lifecycleState) { /** * Defines when the public IP is deleted and released back to Oracle's public IP pool. * - *

{@code EPHEMERAL}: The lifetime is tied to the lifetime of its assigned private IP. - * The ephemeral public IP is automatically deleted when its private IP is deleted, when the - * VNIC is terminated, or when the instance is terminated. An ephemeral public IP must - * always be assigned to a private IP. + *

{@code EPHEMERAL}: The lifetime is tied to the lifetime of its assigned entity. An + * ephemeral public IP must always be assigned to an entity. If the assigned entity is a + * private IP, the ephemeral public IP is automatically deleted when the private IP is + * deleted, when the VNIC is terminated, or when the instance is terminated. If the assigned + * entity is a {@link NatGateway}, the ephemeral public IP is automatically deleted when the + * NAT gateway is terminated. * *

{@code RESERVED}: You control the public IP's lifetime. You can delete a reserved * public IP whenever you like. It does not need to be assigned to a private IP at all @@ -274,18 +327,30 @@ public Builder lifetime(Lifetime lifetime) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the private IP that the public IP is currently assigned to, or in the process of being + * Deprecated. Use {@code assignedEntityId} instead. + * + *

The + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the private IP that the public IP is currently assigned to, or in the process of being * assigned to. + * + *

*Note:** This is {@code null} if the public IP is not assigned to a private IP, or is + * in the process of being assigned to one. */ @com.fasterxml.jackson.annotation.JsonProperty("privateIpId") private String privateIpId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the private IP that the public IP is currently assigned to, or in the process of being + * Deprecated. Use {@code assignedEntityId} instead. + * + *

The + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the private IP that the public IP is currently assigned to, or in the process of being * assigned to. * + *

*Note:** This is {@code null} if the public IP is not assigned to a private IP, or is + * in the process of being assigned to one. + * * @param privateIpId the value to set * @return this builder */ @@ -297,14 +362,15 @@ public Builder privateIpId(String privateIpId) { /** * Whether the public IP is regional or specific to a particular availability domain. * - *

{@code REGION}: The public IP exists within a region and can be assigned to a private - * IP in any availability domain in the region. Reserved public IPs have {@code scope} = - * {@code REGION}. + *

{@code REGION}: The public IP exists within a region and is assigned to a regional + * entity (such as a {@link NatGateway}), or can be assigned to a private IP in any + * availability domain in the region. Reserved public IPs and ephemeral public IPs assigned + * to a regional entity have {@code scope} = {@code REGION}. * *

{@code AVAILABILITY_DOMAIN}: The public IP exists within the availability domain of - * the private IP it's assigned to, which is specified by the {@code availabilityDomain} - * property of the public IP object. Ephemeral public IPs have {@code scope} = {@code - * AVAILABILITY_DOMAIN}. + * the entity it's assigned to, which is specified by the {@code availabilityDomain} + * property of the public IP object. Ephemeral public IPs that are assigned to private IPs + * have {@code scope} = {@code AVAILABILITY_DOMAIN}. */ @com.fasterxml.jackson.annotation.JsonProperty("scope") private Scope scope; @@ -312,14 +378,15 @@ public Builder privateIpId(String privateIpId) { /** * Whether the public IP is regional or specific to a particular availability domain. * - *

{@code REGION}: The public IP exists within a region and can be assigned to a private - * IP in any availability domain in the region. Reserved public IPs have {@code scope} = - * {@code REGION}. + *

{@code REGION}: The public IP exists within a region and is assigned to a regional + * entity (such as a {@link NatGateway}), or can be assigned to a private IP in any + * availability domain in the region. Reserved public IPs and ephemeral public IPs assigned + * to a regional entity have {@code scope} = {@code REGION}. * *

{@code AVAILABILITY_DOMAIN}: The public IP exists within the availability domain of - * the private IP it's assigned to, which is specified by the {@code availabilityDomain} - * property of the public IP object. Ephemeral public IPs have {@code scope} = {@code - * AVAILABILITY_DOMAIN}. + * the entity it's assigned to, which is specified by the {@code availabilityDomain} + * property of the public IP object. Ephemeral public IPs that are assigned to private IPs + * have {@code scope} = {@code AVAILABILITY_DOMAIN}. * * @param scope the value to set * @return this builder @@ -352,6 +419,25 @@ public Builder timeCreated(java.util.Date timeCreated) { this.__explicitlySet__.add("timeCreated"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the pool object created in the current tenancy. + */ + @com.fasterxml.jackson.annotation.JsonProperty("publicIpPoolId") + private String publicIpPoolId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the pool object created in the current tenancy. + * + * @param publicIpPoolId the value to set + * @return this builder + */ + public Builder publicIpPoolId(String publicIpPoolId) { + this.publicIpPoolId = publicIpPoolId; + this.__explicitlySet__.add("publicIpPoolId"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -359,6 +445,8 @@ public Builder timeCreated(java.util.Date timeCreated) { public PublicIp build() { PublicIp model = new PublicIp( + this.assignedEntityId, + this.assignedEntityType, this.availabilityDomain, this.compartmentId, this.definedTags, @@ -370,7 +458,8 @@ public PublicIp build() { this.lifetime, this.privateIpId, this.scope, - this.timeCreated); + this.timeCreated, + this.publicIpPoolId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -379,6 +468,12 @@ public PublicIp build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(PublicIp model) { + if (model.wasPropertyExplicitlySet("assignedEntityId")) { + this.assignedEntityId(model.getAssignedEntityId()); + } + if (model.wasPropertyExplicitlySet("assignedEntityType")) { + this.assignedEntityType(model.getAssignedEntityType()); + } if (model.wasPropertyExplicitlySet("availabilityDomain")) { this.availabilityDomain(model.getAvailabilityDomain()); } @@ -415,6 +510,9 @@ public Builder copy(PublicIp model) { if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } + if (model.wasPropertyExplicitlySet("publicIpPoolId")) { + this.publicIpPoolId(model.getPublicIpPoolId()); + } return this; } } @@ -429,9 +527,72 @@ public Builder toBuilder() { } /** - * The public IP's availability domain. This property is set only for ephemeral public IPs (that - * is, when the {@code scope} of the public IP is set to AVAILABILITY_DOMAIN). The value is the - * availability domain of the assigned private IP. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the entity the public IP is assigned to, or in the process of being assigned to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("assignedEntityId") + private final String assignedEntityId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the entity the public IP is assigned to, or in the process of being assigned to. + * + * @return the value + */ + public String getAssignedEntityId() { + return assignedEntityId; + } + + /** The type of entity the public IP is assigned to, or in the process of being assigned to. */ + public enum AssignedEntityType implements com.oracle.bmc.http.internal.BmcEnum { + PrivateIp("PRIVATE_IP"), + NatGateway("NAT_GATEWAY"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (AssignedEntityType v : AssignedEntityType.values()) { + map.put(v.getValue(), v); + } + } + + AssignedEntityType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static AssignedEntityType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid AssignedEntityType: " + key); + } + }; + /** The type of entity the public IP is assigned to, or in the process of being assigned to. */ + @com.fasterxml.jackson.annotation.JsonProperty("assignedEntityType") + private final AssignedEntityType assignedEntityType; + + /** + * The type of entity the public IP is assigned to, or in the process of being assigned to. + * + * @return the value + */ + public AssignedEntityType getAssignedEntityType() { + return assignedEntityType; + } + + /** + * The public IP's availability domain. This property is set only for ephemeral public IPs that + * are assigned to a private IP (that is, when the {@code scope} of the public IP is set to + * AVAILABILITY_DOMAIN). The value is the availability domain of the assigned private IP. * *

Example: {@code Uocm:PHX-AD-1} */ @@ -439,9 +600,9 @@ public Builder toBuilder() { private final String availabilityDomain; /** - * The public IP's availability domain. This property is set only for ephemeral public IPs (that - * is, when the {@code scope} of the public IP is set to AVAILABILITY_DOMAIN). The value is the - * availability domain of the assigned private IP. + * The public IP's availability domain. This property is set only for ephemeral public IPs that + * are assigned to a private IP (that is, when the {@code scope} of the public IP is set to + * AVAILABILITY_DOMAIN). The value is the availability domain of the assigned private IP. * *

Example: {@code Uocm:PHX-AD-1} * @@ -453,18 +614,20 @@ public String getAvailabilityDomain() { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment containing the public IP. For an ephemeral public IP, this is the same - * compartment as the private IP's. For a reserved public IP that is currently assigned, this - * can be a different compartment than the assigned private IP's. + * the compartment containing the public IP. For an ephemeral public IP, this is the compartment + * of its assigned entity (which can be a private IP or a regional entity such as a NAT + * gateway). For a reserved public IP that is currently assigned, its compartment can be + * different from the assigned private IP's. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment containing the public IP. For an ephemeral public IP, this is the same - * compartment as the private IP's. For a reserved public IP that is currently assigned, this - * can be a different compartment than the assigned private IP's. + * the compartment containing the public IP. For an ephemeral public IP, this is the compartment + * of its assigned entity (which can be a private IP or a regional entity such as a NAT + * gateway). For a reserved public IP that is currently assigned, its compartment can be + * different from the assigned private IP's. * * @return the value */ @@ -614,10 +777,12 @@ public LifecycleState getLifecycleState() { /** * Defines when the public IP is deleted and released back to Oracle's public IP pool. * - *

{@code EPHEMERAL}: The lifetime is tied to the lifetime of its assigned private IP. The - * ephemeral public IP is automatically deleted when its private IP is deleted, when the VNIC is - * terminated, or when the instance is terminated. An ephemeral public IP must always be - * assigned to a private IP. + *

{@code EPHEMERAL}: The lifetime is tied to the lifetime of its assigned entity. An + * ephemeral public IP must always be assigned to an entity. If the assigned entity is a private + * IP, the ephemeral public IP is automatically deleted when the private IP is deleted, when the + * VNIC is terminated, or when the instance is terminated. If the assigned entity is a {@link + * NatGateway}, the ephemeral public IP is automatically deleted when the NAT gateway is + * terminated. * *

{@code RESERVED}: You control the public IP's lifetime. You can delete a reserved public * IP whenever you like. It does not need to be assigned to a private IP at all times. @@ -660,10 +825,12 @@ public static Lifetime create(String key) { /** * Defines when the public IP is deleted and released back to Oracle's public IP pool. * - *

{@code EPHEMERAL}: The lifetime is tied to the lifetime of its assigned private IP. The - * ephemeral public IP is automatically deleted when its private IP is deleted, when the VNIC is - * terminated, or when the instance is terminated. An ephemeral public IP must always be - * assigned to a private IP. + *

{@code EPHEMERAL}: The lifetime is tied to the lifetime of its assigned entity. An + * ephemeral public IP must always be assigned to an entity. If the assigned entity is a private + * IP, the ephemeral public IP is automatically deleted when the private IP is deleted, when the + * VNIC is terminated, or when the instance is terminated. If the assigned entity is a {@link + * NatGateway}, the ephemeral public IP is automatically deleted when the NAT gateway is + * terminated. * *

{@code RESERVED}: You control the public IP's lifetime. You can delete a reserved public * IP whenever you like. It does not need to be assigned to a private IP at all times. @@ -677,10 +844,12 @@ public static Lifetime create(String key) { /** * Defines when the public IP is deleted and released back to Oracle's public IP pool. * - *

{@code EPHEMERAL}: The lifetime is tied to the lifetime of its assigned private IP. The - * ephemeral public IP is automatically deleted when its private IP is deleted, when the VNIC is - * terminated, or when the instance is terminated. An ephemeral public IP must always be - * assigned to a private IP. + *

{@code EPHEMERAL}: The lifetime is tied to the lifetime of its assigned entity. An + * ephemeral public IP must always be assigned to an entity. If the assigned entity is a private + * IP, the ephemeral public IP is automatically deleted when the private IP is deleted, when the + * VNIC is terminated, or when the instance is terminated. If the assigned entity is a {@link + * NatGateway}, the ephemeral public IP is automatically deleted when the NAT gateway is + * terminated. * *

{@code RESERVED}: You control the public IP's lifetime. You can delete a reserved public * IP whenever you like. It does not need to be assigned to a private IP at all times. @@ -695,18 +864,28 @@ public Lifetime getLifetime() { } /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * Deprecated. Use {@code assignedEntityId} instead. + * + *

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the private IP that the public IP is currently assigned to, or in the process of being * assigned to. + * + *

*Note:** This is {@code null} if the public IP is not assigned to a private IP, or is in + * the process of being assigned to one. */ @com.fasterxml.jackson.annotation.JsonProperty("privateIpId") private final String privateIpId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * Deprecated. Use {@code assignedEntityId} instead. + * + *

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the private IP that the public IP is currently assigned to, or in the process of being * assigned to. * + *

*Note:** This is {@code null} if the public IP is not assigned to a private IP, or is in + * the process of being assigned to one. + * * @return the value */ public String getPrivateIpId() { @@ -716,13 +895,15 @@ public String getPrivateIpId() { /** * Whether the public IP is regional or specific to a particular availability domain. * - *

{@code REGION}: The public IP exists within a region and can be assigned to a private IP - * in any availability domain in the region. Reserved public IPs have {@code scope} = {@code - * REGION}. + *

{@code REGION}: The public IP exists within a region and is assigned to a regional entity + * (such as a {@link NatGateway}), or can be assigned to a private IP in any availability domain + * in the region. Reserved public IPs and ephemeral public IPs assigned to a regional entity + * have {@code scope} = {@code REGION}. * *

{@code AVAILABILITY_DOMAIN}: The public IP exists within the availability domain of the - * private IP it's assigned to, which is specified by the {@code availabilityDomain} property of - * the public IP object. Ephemeral public IPs have {@code scope} = {@code AVAILABILITY_DOMAIN}. + * entity it's assigned to, which is specified by the {@code availabilityDomain} property of the + * public IP object. Ephemeral public IPs that are assigned to private IPs have {@code scope} = + * {@code AVAILABILITY_DOMAIN}. */ public enum Scope implements com.oracle.bmc.http.internal.BmcEnum { Region("REGION"), @@ -759,13 +940,15 @@ public static Scope create(String key) { /** * Whether the public IP is regional or specific to a particular availability domain. * - *

{@code REGION}: The public IP exists within a region and can be assigned to a private IP - * in any availability domain in the region. Reserved public IPs have {@code scope} = {@code - * REGION}. + *

{@code REGION}: The public IP exists within a region and is assigned to a regional entity + * (such as a {@link NatGateway}), or can be assigned to a private IP in any availability domain + * in the region. Reserved public IPs and ephemeral public IPs assigned to a regional entity + * have {@code scope} = {@code REGION}. * *

{@code AVAILABILITY_DOMAIN}: The public IP exists within the availability domain of the - * private IP it's assigned to, which is specified by the {@code availabilityDomain} property of - * the public IP object. Ephemeral public IPs have {@code scope} = {@code AVAILABILITY_DOMAIN}. + * entity it's assigned to, which is specified by the {@code availabilityDomain} property of the + * public IP object. Ephemeral public IPs that are assigned to private IPs have {@code scope} = + * {@code AVAILABILITY_DOMAIN}. */ @com.fasterxml.jackson.annotation.JsonProperty("scope") private final Scope scope; @@ -773,13 +956,15 @@ public static Scope create(String key) { /** * Whether the public IP is regional or specific to a particular availability domain. * - *

{@code REGION}: The public IP exists within a region and can be assigned to a private IP - * in any availability domain in the region. Reserved public IPs have {@code scope} = {@code - * REGION}. + *

{@code REGION}: The public IP exists within a region and is assigned to a regional entity + * (such as a {@link NatGateway}), or can be assigned to a private IP in any availability domain + * in the region. Reserved public IPs and ephemeral public IPs assigned to a regional entity + * have {@code scope} = {@code REGION}. * *

{@code AVAILABILITY_DOMAIN}: The public IP exists within the availability domain of the - * private IP it's assigned to, which is specified by the {@code availabilityDomain} property of - * the public IP object. Ephemeral public IPs have {@code scope} = {@code AVAILABILITY_DOMAIN}. + * entity it's assigned to, which is specified by the {@code availabilityDomain} property of the + * public IP object. Ephemeral public IPs that are assigned to private IPs have {@code scope} = + * {@code AVAILABILITY_DOMAIN}. * * @return the value */ @@ -808,6 +993,23 @@ public java.util.Date getTimeCreated() { return timeCreated; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the pool object created in the current tenancy. + */ + @com.fasterxml.jackson.annotation.JsonProperty("publicIpPoolId") + private final String publicIpPoolId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the pool object created in the current tenancy. + * + * @return the value + */ + public String getPublicIpPoolId() { + return publicIpPoolId; + } + @Override public String toString() { return this.toString(true); @@ -823,7 +1025,9 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("PublicIp("); sb.append("super=").append(super.toString()); - sb.append("availabilityDomain=").append(String.valueOf(this.availabilityDomain)); + sb.append("assignedEntityId=").append(String.valueOf(this.assignedEntityId)); + sb.append(", assignedEntityType=").append(String.valueOf(this.assignedEntityType)); + sb.append(", availabilityDomain=").append(String.valueOf(this.availabilityDomain)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); @@ -835,6 +1039,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", privateIpId=").append(String.valueOf(this.privateIpId)); sb.append(", scope=").append(String.valueOf(this.scope)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", publicIpPoolId=").append(String.valueOf(this.publicIpPoolId)); sb.append(")"); return sb.toString(); } @@ -849,7 +1054,9 @@ public boolean equals(Object o) { } PublicIp other = (PublicIp) o; - return java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain) + return java.util.Objects.equals(this.assignedEntityId, other.assignedEntityId) + && java.util.Objects.equals(this.assignedEntityType, other.assignedEntityType) + && java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain) && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) @@ -861,6 +1068,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.privateIpId, other.privateIpId) && java.util.Objects.equals(this.scope, other.scope) && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals(this.publicIpPoolId, other.publicIpPoolId) && super.equals(other); } @@ -868,6 +1076,14 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = 1; + result = + (result * PRIME) + + (this.assignedEntityId == null ? 43 : this.assignedEntityId.hashCode()); + result = + (result * PRIME) + + (this.assignedEntityType == null + ? 43 + : this.assignedEntityType.hashCode()); result = (result * PRIME) + (this.availabilityDomain == null @@ -888,6 +1104,9 @@ public int hashCode() { result = (result * PRIME) + (this.privateIpId == null ? 43 : this.privateIpId.hashCode()); result = (result * PRIME) + (this.scope == null ? 43 : this.scope.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = + (result * PRIME) + + (this.publicIpPoolId == null ? 43 : this.publicIpPoolId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIpPool.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIpPool.java new file mode 100644 index 00000000000..50b4d1b4f8e --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIpPool.java @@ -0,0 +1,504 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * A public IP pool is a set of public IP addresses represented as one or more IPv4 CIDR blocks. + * Resources like load balancers and compute instances can be allocated public IP addresses from a + * public IP pool.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = PublicIpPool.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PublicIpPool extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "cidrBlocks", + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "id", + "lifecycleState", + "timeCreated" + }) + public PublicIpPool( + java.util.List cidrBlocks, + String compartmentId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + String id, + LifecycleState lifecycleState, + java.util.Date timeCreated) { + super(); + this.cidrBlocks = cidrBlocks; + this.compartmentId = compartmentId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.id = id; + this.lifecycleState = lifecycleState; + this.timeCreated = timeCreated; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlocks") + private java.util.List cidrBlocks; + + /** + * The CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block. + * + * @param cidrBlocks the value to set + * @return this builder + */ + public Builder cidrBlocks(java.util.List cidrBlocks) { + this.cidrBlocks = cidrBlocks; + this.__explicitlySet__.add("cidrBlocks"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing this pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing this pool. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the public IP pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the public IP pool. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** The public IP pool's current state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private LifecycleState lifecycleState; + + /** + * The public IP pool's current state. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** + * The date and time the public IP pool was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the public IP pool was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param timeCreated the value to set + * @return this builder + */ + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PublicIpPool build() { + PublicIpPool model = + new PublicIpPool( + this.cidrBlocks, + this.compartmentId, + this.definedTags, + this.displayName, + this.freeformTags, + this.id, + this.lifecycleState, + this.timeCreated); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PublicIpPool model) { + if (model.wasPropertyExplicitlySet("cidrBlocks")) { + this.cidrBlocks(model.getCidrBlocks()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block. */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlocks") + private final java.util.List cidrBlocks; + + /** + * The CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block. + * + * @return the value + */ + public java.util.List getCidrBlocks() { + return cidrBlocks; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing this pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing this pool. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the public IP pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the public IP pool. + * + * @return the value + */ + public String getId() { + return id; + } + + /** The public IP pool's current state. */ + public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { + Inactive("INACTIVE"), + Updating("UPDATING"), + Active("ACTIVE"), + Deleting("DELETING"), + Deleted("DELETED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (LifecycleState v : LifecycleState.values()) { + map.put(v.getValue(), v); + } + } + + LifecycleState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static LifecycleState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid LifecycleState: " + key); + } + }; + /** The public IP pool's current state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final LifecycleState lifecycleState; + + /** + * The public IP pool's current state. + * + * @return the value + */ + public LifecycleState getLifecycleState() { + return lifecycleState; + } + + /** + * The date and time the public IP pool was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the public IP pool was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PublicIpPool("); + sb.append("super=").append(super.toString()); + sb.append("cidrBlocks=").append(String.valueOf(this.cidrBlocks)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", id=").append(String.valueOf(this.id)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PublicIpPool)) { + return false; + } + + PublicIpPool other = (PublicIpPool) o; + return java.util.Objects.equals(this.cidrBlocks, other.cidrBlocks) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.cidrBlocks == null ? 43 : this.cidrBlocks.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIpPoolCollection.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIpPoolCollection.java new file mode 100644 index 00000000000..71b6fd548f7 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIpPoolCollection.java @@ -0,0 +1,133 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Results of a {@code ListPublicIpPool} operation.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PublicIpPoolCollection.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PublicIpPoolCollection + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"items"}) + public PublicIpPoolCollection(java.util.List items) { + super(); + this.items = items; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** A list of public IP pool summaries. */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private java.util.List items; + + /** + * A list of public IP pool summaries. + * + * @param items the value to set + * @return this builder + */ + public Builder items(java.util.List items) { + this.items = items; + this.__explicitlySet__.add("items"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PublicIpPoolCollection build() { + PublicIpPoolCollection model = new PublicIpPoolCollection(this.items); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PublicIpPoolCollection model) { + if (model.wasPropertyExplicitlySet("items")) { + this.items(model.getItems()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** A list of public IP pool summaries. */ + @com.fasterxml.jackson.annotation.JsonProperty("items") + private final java.util.List items; + + /** + * A list of public IP pool summaries. + * + * @return the value + */ + public java.util.List getItems() { + return items; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PublicIpPoolCollection("); + sb.append("super=").append(super.toString()); + sb.append("items=").append(String.valueOf(this.items)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PublicIpPoolCollection)) { + return false; + } + + PublicIpPoolCollection other = (PublicIpPoolCollection) o; + return java.util.Objects.equals(this.items, other.items) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.items == null ? 43 : this.items.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIpPoolSummary.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIpPoolSummary.java new file mode 100644 index 00000000000..d26724fe7bd --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/PublicIpPoolSummary.java @@ -0,0 +1,428 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Summary information about a public IP pool.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = PublicIpPoolSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PublicIpPoolSummary + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "id", + "lifecycleState", + "timeCreated" + }) + public PublicIpPoolSummary( + String compartmentId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + String id, + PublicIpPool.LifecycleState lifecycleState, + java.util.Date timeCreated) { + super(); + this.compartmentId = compartmentId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.id = id; + this.lifecycleState = lifecycleState; + this.timeCreated = timeCreated; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the public IP pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the public IP pool. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the public IP pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the public IP pool. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** The public IP pool's current state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private PublicIpPool.LifecycleState lifecycleState; + + /** + * The public IP pool's current state. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(PublicIpPool.LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** + * The date and time the public IP pool was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the public IP pool was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param timeCreated the value to set + * @return this builder + */ + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PublicIpPoolSummary build() { + PublicIpPoolSummary model = + new PublicIpPoolSummary( + this.compartmentId, + this.definedTags, + this.displayName, + this.freeformTags, + this.id, + this.lifecycleState, + this.timeCreated); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PublicIpPoolSummary model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the public IP pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the public IP pool. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the public IP pool. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the public IP pool. + * + * @return the value + */ + public String getId() { + return id; + } + + /** The public IP pool's current state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final PublicIpPool.LifecycleState lifecycleState; + + /** + * The public IP pool's current state. + * + * @return the value + */ + public PublicIpPool.LifecycleState getLifecycleState() { + return lifecycleState; + } + + /** + * The date and time the public IP pool was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the public IP pool was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("PublicIpPoolSummary("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", id=").append(String.valueOf(this.id)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PublicIpPoolSummary)) { + return false; + } + + PublicIpPoolSummary other = (PublicIpPoolSummary) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemotePeeringConnection.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemotePeeringConnection.java index 3ce3e3ce95c..7296f6133dc 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemotePeeringConnection.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemotePeeringConnection.java @@ -35,8 +35,10 @@ public final class RemotePeeringConnection @Deprecated @java.beans.ConstructorProperties({ "compartmentId", + "definedTags", "displayName", "drgId", + "freeformTags", "id", "isCrossTenancyPeering", "lifecycleState", @@ -48,8 +50,10 @@ public final class RemotePeeringConnection }) public RemotePeeringConnection( String compartmentId, + java.util.Map> definedTags, String displayName, String drgId, + java.util.Map freeformTags, String id, Boolean isCrossTenancyPeering, LifecycleState lifecycleState, @@ -60,8 +64,10 @@ public RemotePeeringConnection( java.util.Date timeCreated) { super(); this.compartmentId = compartmentId; + this.definedTags = definedTags; this.displayName = displayName; this.drgId = drgId; + this.freeformTags = freeformTags; this.id = id; this.isCrossTenancyPeering = isCrossTenancyPeering; this.lifecycleState = lifecycleState; @@ -93,6 +99,26 @@ public Builder compartmentId(String compartmentId) { this.__explicitlySet__.add("compartmentId"); return this; } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -131,6 +157,25 @@ public Builder drgId(String drgId) { this.__explicitlySet__.add("drgId"); return this; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the RPC. @@ -301,8 +346,10 @@ public RemotePeeringConnection build() { RemotePeeringConnection model = new RemotePeeringConnection( this.compartmentId, + this.definedTags, this.displayName, this.drgId, + this.freeformTags, this.id, this.isCrossTenancyPeering, this.lifecycleState, @@ -322,12 +369,18 @@ public Builder copy(RemotePeeringConnection model) { if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } if (model.wasPropertyExplicitlySet("drgId")) { this.drgId(model.getDrgId()); } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } if (model.wasPropertyExplicitlySet("id")) { this.id(model.getId()); } @@ -382,6 +435,23 @@ public String getCompartmentId() { return compartmentId; } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -416,6 +486,23 @@ public String getDrgId() { return drgId; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the RPC. @@ -653,8 +740,10 @@ public String toString(boolean includeByteArrayContents) { sb.append("RemotePeeringConnection("); sb.append("super=").append(super.toString()); sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", drgId=").append(String.valueOf(this.drgId)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", id=").append(String.valueOf(this.id)); sb.append(", isCrossTenancyPeering=").append(String.valueOf(this.isCrossTenancyPeering)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); @@ -678,8 +767,10 @@ public boolean equals(Object o) { RemotePeeringConnection other = (RemotePeeringConnection) o; return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.drgId, other.drgId) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.isCrossTenancyPeering, other.isCrossTenancyPeering) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) @@ -698,8 +789,10 @@ public int hashCode() { result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.drgId == null ? 43 : this.drgId.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); result = (result * PRIME) diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemovePublicIpPoolCapacityDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemovePublicIpPoolCapacityDetails.java new file mode 100644 index 00000000000..c0862832938 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemovePublicIpPoolCapacityDetails.java @@ -0,0 +1,134 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The information needed to remove capacity from a public IP pool.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = RemovePublicIpPoolCapacityDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class RemovePublicIpPoolCapacityDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"cidrBlock"}) + public RemovePublicIpPoolCapacityDetails(String cidrBlock) { + super(); + this.cidrBlock = cidrBlock; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The CIDR block to remove from the public IP pool. Example: {@code 10.0.1.0/24} */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private String cidrBlock; + + /** + * The CIDR block to remove from the public IP pool. Example: {@code 10.0.1.0/24} + * + * @param cidrBlock the value to set + * @return this builder + */ + public Builder cidrBlock(String cidrBlock) { + this.cidrBlock = cidrBlock; + this.__explicitlySet__.add("cidrBlock"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public RemovePublicIpPoolCapacityDetails build() { + RemovePublicIpPoolCapacityDetails model = + new RemovePublicIpPoolCapacityDetails(this.cidrBlock); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(RemovePublicIpPoolCapacityDetails model) { + if (model.wasPropertyExplicitlySet("cidrBlock")) { + this.cidrBlock(model.getCidrBlock()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The CIDR block to remove from the public IP pool. Example: {@code 10.0.1.0/24} */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private final String cidrBlock; + + /** + * The CIDR block to remove from the public IP pool. Example: {@code 10.0.1.0/24} + * + * @return the value + */ + public String getCidrBlock() { + return cidrBlock; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("RemovePublicIpPoolCapacityDetails("); + sb.append("super=").append(super.toString()); + sb.append("cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RemovePublicIpPoolCapacityDetails)) { + return false; + } + + RemovePublicIpPoolCapacityDetails other = (RemovePublicIpPoolCapacityDetails) o; + return java.util.Objects.equals(this.cidrBlock, other.cidrBlock) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemoveSubnetIpv6CidrDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemoveSubnetIpv6CidrDetails.java new file mode 100644 index 00000000000..e1073ceadae --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemoveSubnetIpv6CidrDetails.java @@ -0,0 +1,156 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Details object for removing an IPv6 CIDR Block from a Subnet.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = RemoveSubnetIpv6CidrDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class RemoveSubnetIpv6CidrDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"ipv6CidrBlock"}) + public RemoveSubnetIpv6CidrDetails(String ipv6CidrBlock) { + super(); + this.ipv6CidrBlock = ipv6CidrBlock; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * This field is not required and should only be specified when removing an IPv6 CIDR from a + * subnet's IPv6 address space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private String ipv6CidrBlock; + + /** + * This field is not required and should only be specified when removing an IPv6 CIDR from a + * subnet's IPv6 address space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/64} + * + * @param ipv6CidrBlock the value to set + * @return this builder + */ + public Builder ipv6CidrBlock(String ipv6CidrBlock) { + this.ipv6CidrBlock = ipv6CidrBlock; + this.__explicitlySet__.add("ipv6CidrBlock"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public RemoveSubnetIpv6CidrDetails build() { + RemoveSubnetIpv6CidrDetails model = new RemoveSubnetIpv6CidrDetails(this.ipv6CidrBlock); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(RemoveSubnetIpv6CidrDetails model) { + if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { + this.ipv6CidrBlock(model.getIpv6CidrBlock()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * This field is not required and should only be specified when removing an IPv6 CIDR from a + * subnet's IPv6 address space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private final String ipv6CidrBlock; + + /** + * This field is not required and should only be specified when removing an IPv6 CIDR from a + * subnet's IPv6 address space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/64} + * + * @return the value + */ + public String getIpv6CidrBlock() { + return ipv6CidrBlock; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("RemoveSubnetIpv6CidrDetails("); + sb.append("super=").append(super.toString()); + sb.append("ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RemoveSubnetIpv6CidrDetails)) { + return false; + } + + RemoveSubnetIpv6CidrDetails other = (RemoveSubnetIpv6CidrDetails) o; + return java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemoveVcnCidrDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemoveVcnCidrDetails.java new file mode 100644 index 00000000000..fea1d1278f8 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemoveVcnCidrDetails.java @@ -0,0 +1,133 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Details for removing a CIDR block from a VCN.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = RemoveVcnCidrDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class RemoveVcnCidrDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"cidrBlock"}) + public RemoveVcnCidrDetails(String cidrBlock) { + super(); + this.cidrBlock = cidrBlock; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The CIDR block to remove. */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private String cidrBlock; + + /** + * The CIDR block to remove. + * + * @param cidrBlock the value to set + * @return this builder + */ + public Builder cidrBlock(String cidrBlock) { + this.cidrBlock = cidrBlock; + this.__explicitlySet__.add("cidrBlock"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public RemoveVcnCidrDetails build() { + RemoveVcnCidrDetails model = new RemoveVcnCidrDetails(this.cidrBlock); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(RemoveVcnCidrDetails model) { + if (model.wasPropertyExplicitlySet("cidrBlock")) { + this.cidrBlock(model.getCidrBlock()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The CIDR block to remove. */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private final String cidrBlock; + + /** + * The CIDR block to remove. + * + * @return the value + */ + public String getCidrBlock() { + return cidrBlock; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("RemoveVcnCidrDetails("); + sb.append("super=").append(super.toString()); + sb.append("cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RemoveVcnCidrDetails)) { + return false; + } + + RemoveVcnCidrDetails other = (RemoveVcnCidrDetails) o; + return java.util.Objects.equals(this.cidrBlock, other.cidrBlock) && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemoveVcnIpv6CidrDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemoveVcnIpv6CidrDetails.java new file mode 100644 index 00000000000..798a0837a4f --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RemoveVcnIpv6CidrDetails.java @@ -0,0 +1,159 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Details used when removing ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or + * BYOIPv6 prefix. You can only remove one of these per request.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = RemoveVcnIpv6CidrDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class RemoveVcnIpv6CidrDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"ipv6CidrBlock"}) + public RemoveVcnIpv6CidrDetails(String ipv6CidrBlock) { + super(); + this.ipv6CidrBlock = ipv6CidrBlock; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * This field is not required and should only be specified when removing ULA or private IPv6 + * prefix or an IPv6 GUA assigned by Oracle or BYOIPv6 prefix from a VCN's IPv6 address + * space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/56} + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private String ipv6CidrBlock; + + /** + * This field is not required and should only be specified when removing ULA or private IPv6 + * prefix or an IPv6 GUA assigned by Oracle or BYOIPv6 prefix from a VCN's IPv6 address + * space. See[IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/56} + * + * @param ipv6CidrBlock the value to set + * @return this builder + */ + public Builder ipv6CidrBlock(String ipv6CidrBlock) { + this.ipv6CidrBlock = ipv6CidrBlock; + this.__explicitlySet__.add("ipv6CidrBlock"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public RemoveVcnIpv6CidrDetails build() { + RemoveVcnIpv6CidrDetails model = new RemoveVcnIpv6CidrDetails(this.ipv6CidrBlock); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(RemoveVcnIpv6CidrDetails model) { + if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { + this.ipv6CidrBlock(model.getIpv6CidrBlock()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * This field is not required and should only be specified when removing ULA or private IPv6 + * prefix or an IPv6 GUA assigned by Oracle or BYOIPv6 prefix from a VCN's IPv6 address space. + * See[IPv6 Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/56} + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private final String ipv6CidrBlock; + + /** + * This field is not required and should only be specified when removing ULA or private IPv6 + * prefix or an IPv6 GUA assigned by Oracle or BYOIPv6 prefix from a VCN's IPv6 address space. + * See[IPv6 Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 2001:0db8:0123::/56} + * + * @return the value + */ + public String getIpv6CidrBlock() { + return ipv6CidrBlock; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("RemoveVcnIpv6CidrDetails("); + sb.append("super=").append(super.toString()); + sb.append("ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RemoveVcnIpv6CidrDetails)) { + return false; + } + + RemoveVcnIpv6CidrDetails other = (RemoveVcnIpv6CidrDetails) o; + return java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RouteRule.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RouteRule.java index 9e212bcd77d..7bb91023d6e 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RouteRule.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/RouteRule.java @@ -26,18 +26,24 @@ public final class RouteRule extends com.oracle.bmc.http.client.internal.Explici "cidrBlock", "destination", "destinationType", - "networkEntityId" + "networkEntityId", + "description", + "routeType" }) public RouteRule( String cidrBlock, String destination, DestinationType destinationType, - String networkEntityId) { + String networkEntityId, + String description, + RouteType routeType) { super(); this.cidrBlock = cidrBlock; this.destination = destination; this.destinationType = destinationType; this.networkEntityId = networkEntityId; + this.description = description; + this.routeType = routeType; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -172,6 +178,40 @@ public Builder networkEntityId(String networkEntityId) { this.__explicitlySet__.add("networkEntityId"); return this; } + /** An optional description of your choice for the rule. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * An optional description of your choice for the rule. + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + /** + * A route rule can be STATIC if manually added to the route table, LOCAL if added by OCI to + * the route table. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeType") + private RouteType routeType; + + /** + * A route rule can be STATIC if manually added to the route table, LOCAL if added by OCI to + * the route table. + * + * @param routeType the value to set + * @return this builder + */ + public Builder routeType(RouteType routeType) { + this.routeType = routeType; + this.__explicitlySet__.add("routeType"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -182,7 +222,9 @@ public RouteRule build() { this.cidrBlock, this.destination, this.destinationType, - this.networkEntityId); + this.networkEntityId, + this.description, + this.routeType); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -203,6 +245,12 @@ public Builder copy(RouteRule model) { if (model.wasPropertyExplicitlySet("networkEntityId")) { this.networkEntityId(model.getNetworkEntityId()); } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("routeType")) { + this.routeType(model.getRouteType()); + } return this; } } @@ -393,6 +441,85 @@ public String getNetworkEntityId() { return networkEntityId; } + /** An optional description of your choice for the rule. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * An optional description of your choice for the rule. + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** + * A route rule can be STATIC if manually added to the route table, LOCAL if added by OCI to the + * route table. + */ + public enum RouteType implements com.oracle.bmc.http.internal.BmcEnum { + Static("STATIC"), + Local("LOCAL"), + + /** + * This value is used if a service returns a value for this enum that is not recognized by + * this version of the SDK. + */ + UnknownEnumValue(null); + + private static final org.slf4j.Logger LOG = + org.slf4j.LoggerFactory.getLogger(RouteType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (RouteType v : RouteType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + RouteType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static RouteType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'RouteType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * A route rule can be STATIC if manually added to the route table, LOCAL if added by OCI to the + * route table. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeType") + private final RouteType routeType; + + /** + * A route rule can be STATIC if manually added to the route table, LOCAL if added by OCI to the + * route table. + * + * @return the value + */ + public RouteType getRouteType() { + return routeType; + } + @Override public String toString() { return this.toString(true); @@ -412,6 +539,8 @@ public String toString(boolean includeByteArrayContents) { sb.append(", destination=").append(String.valueOf(this.destination)); sb.append(", destinationType=").append(String.valueOf(this.destinationType)); sb.append(", networkEntityId=").append(String.valueOf(this.networkEntityId)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", routeType=").append(String.valueOf(this.routeType)); sb.append(")"); return sb.toString(); } @@ -430,6 +559,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.destination, other.destination) && java.util.Objects.equals(this.destinationType, other.destinationType) && java.util.Objects.equals(this.networkEntityId, other.networkEntityId) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.routeType, other.routeType) && super.equals(other); } @@ -445,6 +576,8 @@ public int hashCode() { result = (result * PRIME) + (this.networkEntityId == null ? 43 : this.networkEntityId.hashCode()); + result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = (result * PRIME) + (this.routeType == null ? 43 : this.routeType.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ServiceGateway.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ServiceGateway.java index 75c2e322832..ae9f5bdfaa4 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ServiceGateway.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/ServiceGateway.java @@ -42,6 +42,7 @@ public final class ServiceGateway "freeformTags", "id", "lifecycleState", + "routeTableId", "services", "timeCreated", "vcnId" @@ -54,6 +55,7 @@ public ServiceGateway( java.util.Map freeformTags, String id, LifecycleState lifecycleState, + String routeTableId, java.util.List services, java.util.Date timeCreated, String vcnId) { @@ -65,6 +67,7 @@ public ServiceGateway( this.freeformTags = freeformTags; this.id = id; this.lifecycleState = lifecycleState; + this.routeTableId = routeTableId; this.services = services; this.timeCreated = timeCreated; this.vcnId = vcnId; @@ -208,6 +211,31 @@ public Builder lifecycleState(LifecycleState lifecycleState) { this.__explicitlySet__.add("lifecycleState"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the service gateway is using. For information about why you would + * associate a route table with a service gateway, see [Transit Routing: Private Access to + * Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the service gateway is using. For information about why you would + * associate a route table with a service gateway, see [Transit Routing: Private Access to + * Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } /** * List of the {@link Service} objects enabled for this service gateway. The list can be * empty. You can enable a particular {@code Service} by using {@link @@ -287,6 +315,7 @@ public ServiceGateway build() { this.freeformTags, this.id, this.lifecycleState, + this.routeTableId, this.services, this.timeCreated, this.vcnId); @@ -319,6 +348,9 @@ public Builder copy(ServiceGateway model) { if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } if (model.wasPropertyExplicitlySet("services")) { this.services(model.getServices()); } @@ -495,6 +527,27 @@ public LifecycleState getLifecycleState() { return lifecycleState; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the service gateway is using. For information about why you would associate a + * route table with a service gateway, see [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the service gateway is using. For information about why you would associate a + * route table with a service gateway, see [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + /** * List of the {@link Service} objects enabled for this service gateway. The list can be empty. * You can enable a particular {@code Service} by using {@link @@ -576,6 +629,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", id=").append(String.valueOf(this.id)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(", services=").append(String.valueOf(this.services)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", vcnId=").append(String.valueOf(this.vcnId)); @@ -600,6 +654,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) && java.util.Objects.equals(this.services, other.services) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.vcnId, other.vcnId) @@ -621,6 +676,7 @@ public int hashCode() { result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); result = (result * PRIME) + (this.services == null ? 43 : this.services.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Subnet.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Subnet.java index 3c5eee820ce..fe18ab46877 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Subnet.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Subnet.java @@ -42,9 +42,10 @@ public final class Subnet extends com.oracle.bmc.http.client.internal.Explicitly "freeformTags", "id", "ipv6CidrBlock", - "ipv6PublicCidrBlock", + "ipv6CidrBlocks", "ipv6VirtualRouterIp", "lifecycleState", + "prohibitInternetIngress", "prohibitPublicIpOnVnic", "routeTableId", "securityListIds", @@ -65,9 +66,10 @@ public Subnet( java.util.Map freeformTags, String id, String ipv6CidrBlock, - String ipv6PublicCidrBlock, + java.util.List ipv6CidrBlocks, String ipv6VirtualRouterIp, LifecycleState lifecycleState, + Boolean prohibitInternetIngress, Boolean prohibitPublicIpOnVnic, String routeTableId, java.util.List securityListIds, @@ -87,9 +89,10 @@ public Subnet( this.freeformTags = freeformTags; this.id = id; this.ipv6CidrBlock = ipv6CidrBlock; - this.ipv6PublicCidrBlock = ipv6PublicCidrBlock; + this.ipv6CidrBlocks = ipv6CidrBlocks; this.ipv6VirtualRouterIp = ipv6VirtualRouterIp; this.lifecycleState = lifecycleState; + this.prohibitInternetIngress = prohibitInternetIngress; this.prohibitPublicIpOnVnic = prohibitPublicIpOnVnic; this.routeTableId = routeTableId; this.securityListIds = securityListIds; @@ -103,7 +106,8 @@ public Subnet( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The subnet's availability domain. + * The subnet's availability domain. This attribute will be null if this is a regional + * subnet instead of an AD-specific subnet. Oracle recommends creating regional subnets. * *

Example: {@code Uocm:PHX-AD-1} */ @@ -111,7 +115,8 @@ public static class Builder { private String availabilityDomain; /** - * The subnet's availability domain. + * The subnet's availability domain. This attribute will be null if this is a regional + * subnet instead of an AD-specific subnet. Oracle recommends creating regional subnets. * *

Example: {@code Uocm:PHX-AD-1} * @@ -224,7 +229,7 @@ public Builder displayName(String displayName) { /** * A DNS label for the subnet, used in conjunction with the VNIC's hostname and VCN's DNS * label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for - * example, {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric + * example, {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric * string that begins with a letter and is unique within the VCN. The value cannot be * changed. * @@ -242,7 +247,7 @@ public Builder displayName(String displayName) { /** * A DNS label for the subnet, used in conjunction with the VNIC's hostname and VCN's DNS * label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for - * example, {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric + * example, {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric * string that begins with a letter and is unique within the VCN. The value cannot be * changed. * @@ -301,9 +306,8 @@ public Builder id(String id) { return this; } /** - * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's private IP - * address space. The subnet size is always /64. IPv6 addressing is supported for all - * commercial and government regions. See [IPv6 + * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's IP address + * space. The subnet size is always /64. See [IPv6 * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code 2001:0db8:0123:1111::/64} @@ -312,9 +316,8 @@ public Builder id(String id) { private String ipv6CidrBlock; /** - * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's private IP - * address space. The subnet size is always /64. IPv6 addressing is supported for all - * commercial and government regions. See [IPv6 + * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's IP address + * space. The subnet size is always /64. See [IPv6 * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code 2001:0db8:0123:1111::/64} @@ -328,30 +331,22 @@ public Builder ipv6CidrBlock(String ipv6CidrBlock) { return this; } /** - * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's public IP - * address space. The subnet size is always /64. The left 48 bits are inherited from the - * {@code ipv6PublicCidrBlock} of the {@link Vcn}, and the remaining 16 bits are from the - * subnet's {@code ipv6CidrBlock}. - * - *

Example: {@code 2001:0db8:0123:1111::/64} + * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR + * blocks, BYOIPv6 CIDR blocks) for the subnet. */ - @com.fasterxml.jackson.annotation.JsonProperty("ipv6PublicCidrBlock") - private String ipv6PublicCidrBlock; + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlocks") + private java.util.List ipv6CidrBlocks; /** - * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's public IP - * address space. The subnet size is always /64. The left 48 bits are inherited from the - * {@code ipv6PublicCidrBlock} of the {@link Vcn}, and the remaining 16 bits are from the - * subnet's {@code ipv6CidrBlock}. - * - *

Example: {@code 2001:0db8:0123:1111::/64} + * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR + * blocks, BYOIPv6 CIDR blocks) for the subnet. * - * @param ipv6PublicCidrBlock the value to set + * @param ipv6CidrBlocks the value to set * @return this builder */ - public Builder ipv6PublicCidrBlock(String ipv6PublicCidrBlock) { - this.ipv6PublicCidrBlock = ipv6PublicCidrBlock; - this.__explicitlySet__.add("ipv6PublicCidrBlock"); + public Builder ipv6CidrBlocks(java.util.List ipv6CidrBlocks) { + this.ipv6CidrBlocks = ipv6CidrBlocks; + this.__explicitlySet__.add("ipv6CidrBlocks"); return this; } /** @@ -390,6 +385,51 @@ public Builder lifecycleState(LifecycleState lifecycleState) { this.__explicitlySet__.add("lifecycleState"); return this; } + /** + * Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to + * false. + * + *

For IPV4, {@code prohibitInternetIngress} behaves similarly to {@code + * prohibitPublicIpOnVnic}. If it is set to false, VNICs created in this subnet will + * automatically be assigned public IP addresses unless specified otherwise during instance + * launch or VNIC creation (with the {@code assignPublicIp} flag in {@link + * CreateVnicDetails}). If {@code prohibitInternetIngress} is set to true, VNICs created in + * this subnet cannot have public IP addresses (that is, it's a privatesubnet). + * + *

For IPv6, if {@code prohibitInternetIngress} is set to {@code true}, internet access + * is not allowed for any IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet + * traffic is allowed by default. + * + *

Example: {@code true} + */ + @com.fasterxml.jackson.annotation.JsonProperty("prohibitInternetIngress") + private Boolean prohibitInternetIngress; + + /** + * Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to + * false. + * + *

For IPV4, {@code prohibitInternetIngress} behaves similarly to {@code + * prohibitPublicIpOnVnic}. If it is set to false, VNICs created in this subnet will + * automatically be assigned public IP addresses unless specified otherwise during instance + * launch or VNIC creation (with the {@code assignPublicIp} flag in {@link + * CreateVnicDetails}). If {@code prohibitInternetIngress} is set to true, VNICs created in + * this subnet cannot have public IP addresses (that is, it's a privatesubnet). + * + *

For IPv6, if {@code prohibitInternetIngress} is set to {@code true}, internet access + * is not allowed for any IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet + * traffic is allowed by default. + * + *

Example: {@code true} + * + * @param prohibitInternetIngress the value to set + * @return this builder + */ + public Builder prohibitInternetIngress(Boolean prohibitInternetIngress) { + this.prohibitInternetIngress = prohibitInternetIngress; + this.__explicitlySet__.add("prohibitInternetIngress"); + return this; + } /** * Whether VNICs within this subnet can have public IP addresses. Defaults to false, which * means VNICs created in this subnet will automatically be assigned public IP addresses @@ -591,9 +631,10 @@ public Subnet build() { this.freeformTags, this.id, this.ipv6CidrBlock, - this.ipv6PublicCidrBlock, + this.ipv6CidrBlocks, this.ipv6VirtualRouterIp, this.lifecycleState, + this.prohibitInternetIngress, this.prohibitPublicIpOnVnic, this.routeTableId, this.securityListIds, @@ -640,8 +681,8 @@ public Builder copy(Subnet model) { if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { this.ipv6CidrBlock(model.getIpv6CidrBlock()); } - if (model.wasPropertyExplicitlySet("ipv6PublicCidrBlock")) { - this.ipv6PublicCidrBlock(model.getIpv6PublicCidrBlock()); + if (model.wasPropertyExplicitlySet("ipv6CidrBlocks")) { + this.ipv6CidrBlocks(model.getIpv6CidrBlocks()); } if (model.wasPropertyExplicitlySet("ipv6VirtualRouterIp")) { this.ipv6VirtualRouterIp(model.getIpv6VirtualRouterIp()); @@ -649,6 +690,9 @@ public Builder copy(Subnet model) { if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); } + if (model.wasPropertyExplicitlySet("prohibitInternetIngress")) { + this.prohibitInternetIngress(model.getProhibitInternetIngress()); + } if (model.wasPropertyExplicitlySet("prohibitPublicIpOnVnic")) { this.prohibitPublicIpOnVnic(model.getProhibitPublicIpOnVnic()); } @@ -687,7 +731,8 @@ public Builder toBuilder() { } /** - * The subnet's availability domain. + * The subnet's availability domain. This attribute will be null if this is a regional subnet + * instead of an AD-specific subnet. Oracle recommends creating regional subnets. * *

Example: {@code Uocm:PHX-AD-1} */ @@ -695,7 +740,8 @@ public Builder toBuilder() { private final String availabilityDomain; /** - * The subnet's availability domain. + * The subnet's availability domain. This attribute will be null if this is a regional subnet + * instead of an AD-specific subnet. Oracle recommends creating regional subnets. * *

Example: {@code Uocm:PHX-AD-1} * @@ -795,8 +841,8 @@ public String getDisplayName() { /** * A DNS label for the subnet, used in conjunction with the VNIC's hostname and VCN's DNS label * to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric string that - * begins with a letter and is unique within the VCN. The value cannot be changed. + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric string that begins + * with a letter and is unique within the VCN. The value cannot be changed. * *

The absence of this parameter means the Internet and VCN Resolver will not resolve * hostnames of instances in this subnet. @@ -812,8 +858,8 @@ public String getDisplayName() { /** * A DNS label for the subnet, used in conjunction with the VNIC's hostname and VCN's DNS label * to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric string that - * begins with a letter and is unique within the VCN. The value cannot be changed. + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric string that begins + * with a letter and is unique within the VCN. The value cannot be changed. * *

The absence of this parameter means the Internet and VCN Resolver will not resolve * hostnames of instances in this subnet. @@ -864,9 +910,8 @@ public String getId() { } /** - * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's private IP address - * space. The subnet size is always /64. IPv6 addressing is supported for all commercial and - * government regions. See [IPv6 + * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's IP address space. + * The subnet size is always /64. See [IPv6 * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code 2001:0db8:0123:1111::/64} @@ -875,9 +920,8 @@ public String getId() { private final String ipv6CidrBlock; /** - * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's private IP address - * space. The subnet size is always /64. IPv6 addressing is supported for all commercial and - * government regions. See [IPv6 + * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's IP address space. + * The subnet size is always /64. See [IPv6 * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). * *

Example: {@code 2001:0db8:0123:1111::/64} @@ -889,28 +933,20 @@ public String getIpv6CidrBlock() { } /** - * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's public IP address - * space. The subnet size is always /64. The left 48 bits are inherited from the {@code - * ipv6PublicCidrBlock} of the {@link Vcn}, and the remaining 16 bits are from the subnet's - * {@code ipv6CidrBlock}. - * - *

Example: {@code 2001:0db8:0123:1111::/64} + * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, + * BYOIPv6 CIDR blocks) for the subnet. */ - @com.fasterxml.jackson.annotation.JsonProperty("ipv6PublicCidrBlock") - private final String ipv6PublicCidrBlock; + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlocks") + private final java.util.List ipv6CidrBlocks; /** - * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's public IP address - * space. The subnet size is always /64. The left 48 bits are inherited from the {@code - * ipv6PublicCidrBlock} of the {@link Vcn}, and the remaining 16 bits are from the subnet's - * {@code ipv6CidrBlock}. - * - *

Example: {@code 2001:0db8:0123:1111::/64} + * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, + * BYOIPv6 CIDR blocks) for the subnet. * * @return the value */ - public String getIpv6PublicCidrBlock() { - return ipv6PublicCidrBlock; + public java.util.List getIpv6CidrBlocks() { + return ipv6CidrBlocks; } /** @@ -938,6 +974,7 @@ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { Available("AVAILABLE"), Terminating("TERMINATING"), Terminated("TERMINATED"), + Updating("UPDATING"), ; private final String value; @@ -980,6 +1017,47 @@ public LifecycleState getLifecycleState() { return lifecycleState; } + /** + * Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to false. + * + *

For IPV4, {@code prohibitInternetIngress} behaves similarly to {@code + * prohibitPublicIpOnVnic}. If it is set to false, VNICs created in this subnet will + * automatically be assigned public IP addresses unless specified otherwise during instance + * launch or VNIC creation (with the {@code assignPublicIp} flag in {@link CreateVnicDetails}). + * If {@code prohibitInternetIngress} is set to true, VNICs created in this subnet cannot have + * public IP addresses (that is, it's a privatesubnet). + * + *

For IPv6, if {@code prohibitInternetIngress} is set to {@code true}, internet access is + * not allowed for any IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet + * traffic is allowed by default. + * + *

Example: {@code true} + */ + @com.fasterxml.jackson.annotation.JsonProperty("prohibitInternetIngress") + private final Boolean prohibitInternetIngress; + + /** + * Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to false. + * + *

For IPV4, {@code prohibitInternetIngress} behaves similarly to {@code + * prohibitPublicIpOnVnic}. If it is set to false, VNICs created in this subnet will + * automatically be assigned public IP addresses unless specified otherwise during instance + * launch or VNIC creation (with the {@code assignPublicIp} flag in {@link CreateVnicDetails}). + * If {@code prohibitInternetIngress} is set to true, VNICs created in this subnet cannot have + * public IP addresses (that is, it's a privatesubnet). + * + *

For IPv6, if {@code prohibitInternetIngress} is set to {@code true}, internet access is + * not allowed for any IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet + * traffic is allowed by default. + * + *

Example: {@code true} + * + * @return the value + */ + public Boolean getProhibitInternetIngress() { + return prohibitInternetIngress; + } + /** * Whether VNICs within this subnet can have public IP addresses. Defaults to false, which means * VNICs created in this subnet will automatically be assigned public IP addresses unless @@ -1171,9 +1249,11 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", id=").append(String.valueOf(this.id)); sb.append(", ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); - sb.append(", ipv6PublicCidrBlock=").append(String.valueOf(this.ipv6PublicCidrBlock)); + sb.append(", ipv6CidrBlocks=").append(String.valueOf(this.ipv6CidrBlocks)); sb.append(", ipv6VirtualRouterIp=").append(String.valueOf(this.ipv6VirtualRouterIp)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", prohibitInternetIngress=") + .append(String.valueOf(this.prohibitInternetIngress)); sb.append(", prohibitPublicIpOnVnic=").append(String.valueOf(this.prohibitPublicIpOnVnic)); sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(", securityListIds=").append(String.valueOf(this.securityListIds)); @@ -1206,9 +1286,11 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) - && java.util.Objects.equals(this.ipv6PublicCidrBlock, other.ipv6PublicCidrBlock) + && java.util.Objects.equals(this.ipv6CidrBlocks, other.ipv6CidrBlocks) && java.util.Objects.equals(this.ipv6VirtualRouterIp, other.ipv6VirtualRouterIp) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals( + this.prohibitInternetIngress, other.prohibitInternetIngress) && java.util.Objects.equals( this.prohibitPublicIpOnVnic, other.prohibitPublicIpOnVnic) && java.util.Objects.equals(this.routeTableId, other.routeTableId) @@ -1247,9 +1329,7 @@ public int hashCode() { + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); result = (result * PRIME) - + (this.ipv6PublicCidrBlock == null - ? 43 - : this.ipv6PublicCidrBlock.hashCode()); + + (this.ipv6CidrBlocks == null ? 43 : this.ipv6CidrBlocks.hashCode()); result = (result * PRIME) + (this.ipv6VirtualRouterIp == null @@ -1258,6 +1338,11 @@ public int hashCode() { result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = + (result * PRIME) + + (this.prohibitInternetIngress == null + ? 43 + : this.prohibitInternetIngress.hashCode()); result = (result * PRIME) + (this.prohibitPublicIpOnVnic == null diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/SubnetTopology.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/SubnetTopology.java index bebc30fc5ec..af5793cb451 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/SubnetTopology.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/SubnetTopology.java @@ -44,6 +44,15 @@ public Builder relationships(java.util.List relation return this; } + @com.fasterxml.jackson.annotation.JsonProperty("limitedEntities") + private java.util.List limitedEntities; + + public Builder limitedEntities(java.util.List limitedEntities) { + this.limitedEntities = limitedEntities; + this.__explicitlySet__.add("limitedEntities"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private java.util.Date timeCreated; @@ -78,7 +87,11 @@ public Builder subnetId(String subnetId) { public SubnetTopology build() { SubnetTopology model = new SubnetTopology( - this.entities, this.relationships, this.timeCreated, this.subnetId); + this.entities, + this.relationships, + this.limitedEntities, + this.timeCreated, + this.subnetId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -93,6 +106,9 @@ public Builder copy(SubnetTopology model) { if (model.wasPropertyExplicitlySet("relationships")) { this.relationships(model.getRelationships()); } + if (model.wasPropertyExplicitlySet("limitedEntities")) { + this.limitedEntities(model.getLimitedEntities()); + } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } @@ -116,9 +132,10 @@ public Builder toBuilder() { public SubnetTopology( java.util.List entities, java.util.List relationships, + java.util.List limitedEntities, java.util.Date timeCreated, String subnetId) { - super(entities, relationships, timeCreated); + super(entities, relationships, limitedEntities, timeCreated); this.subnetId = subnetId; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Topology.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Topology.java index 395b375fc3a..afb846449c7 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Topology.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Topology.java @@ -35,14 +35,21 @@ com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) public class Topology extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"entities", "relationships", "timeCreated"}) + @java.beans.ConstructorProperties({ + "entities", + "relationships", + "limitedEntities", + "timeCreated" + }) protected Topology( java.util.List entities, java.util.List relationships, + java.util.List limitedEntities, java.util.Date timeCreated) { super(); this.entities = entities; this.relationships = relationships; + this.limitedEntities = limitedEntities; this.timeCreated = timeCreated; } @@ -72,6 +79,23 @@ public java.util.List getRelationships() { return relationships; } + /** + * Lists entities that are limited during ingestion. The values for the items in the list are + * the entity type names of the limitedEntities. Example: {@code vcn} + */ + @com.fasterxml.jackson.annotation.JsonProperty("limitedEntities") + private final java.util.List limitedEntities; + + /** + * Lists entities that are limited during ingestion. The values for the items in the list are + * the entity type names of the limitedEntities. Example: {@code vcn} + * + * @return the value + */ + public java.util.List getLimitedEntities() { + return limitedEntities; + } + /** * Records when the virtual network topology was created, in * [RFC3339](https://tools.ietf.org/html/rfc3339) format for date and time. @@ -106,6 +130,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("entities=").append(String.valueOf(this.entities)); sb.append(", relationships=").append(String.valueOf(this.relationships)); + sb.append(", limitedEntities=").append(String.valueOf(this.limitedEntities)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(")"); return sb.toString(); @@ -123,6 +148,7 @@ public boolean equals(Object o) { Topology other = (Topology) o; return java.util.Objects.equals(this.entities, other.entities) && java.util.Objects.equals(this.relationships, other.relationships) + && java.util.Objects.equals(this.limitedEntities, other.limitedEntities) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && super.equals(other); } @@ -135,6 +161,9 @@ public int hashCode() { result = (result * PRIME) + (this.relationships == null ? 43 : this.relationships.hashCode()); + result = + (result * PRIME) + + (this.limitedEntities == null ? 43 : this.limitedEntities.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelConfig.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelConfig.java index c71a8a7f0d7..f7aae637245 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelConfig.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelConfig.java @@ -5,7 +5,9 @@ package com.oracle.bmc.vnmonitoring.model; /** - * Specific connection details for an IPSec tunnel.
+ * Deprecated. For tunnel information, instead see: + * + *

{@link IPSecConnectionTunnel} * {@link IPSecConnectionTunnelSharedSecret}
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelCpeDeviceConfig.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelCpeDeviceConfig.java new file mode 100644 index 00000000000..817a0ea957d --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelCpeDeviceConfig.java @@ -0,0 +1,143 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The set of CPE configuration answers for the tunnel, which the customer provides in {@link + * #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) updateTunnelCpeDeviceConfig}. + * The answers correlate to the questions that are specific to the CPE device type (see the {@code + * parameters} attribute of {@link CpeDeviceShapeDetail}). + * + *

See these related operations: + * + *

{@link #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} * + * {@link #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) getCpeDeviceConfigContent}
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = TunnelCpeDeviceConfig.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class TunnelCpeDeviceConfig + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"tunnelCpeDeviceConfigParameter"}) + public TunnelCpeDeviceConfig( + java.util.List tunnelCpeDeviceConfigParameter) { + super(); + this.tunnelCpeDeviceConfigParameter = tunnelCpeDeviceConfigParameter; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + + @com.fasterxml.jackson.annotation.JsonProperty("tunnelCpeDeviceConfigParameter") + private java.util.List tunnelCpeDeviceConfigParameter; + + public Builder tunnelCpeDeviceConfigParameter( + java.util.List tunnelCpeDeviceConfigParameter) { + this.tunnelCpeDeviceConfigParameter = tunnelCpeDeviceConfigParameter; + this.__explicitlySet__.add("tunnelCpeDeviceConfigParameter"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public TunnelCpeDeviceConfig build() { + TunnelCpeDeviceConfig model = + new TunnelCpeDeviceConfig(this.tunnelCpeDeviceConfigParameter); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(TunnelCpeDeviceConfig model) { + if (model.wasPropertyExplicitlySet("tunnelCpeDeviceConfigParameter")) { + this.tunnelCpeDeviceConfigParameter(model.getTunnelCpeDeviceConfigParameter()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + @com.fasterxml.jackson.annotation.JsonProperty("tunnelCpeDeviceConfigParameter") + private final java.util.List tunnelCpeDeviceConfigParameter; + + public java.util.List getTunnelCpeDeviceConfigParameter() { + return tunnelCpeDeviceConfigParameter; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("TunnelCpeDeviceConfig("); + sb.append("super=").append(super.toString()); + sb.append("tunnelCpeDeviceConfigParameter=") + .append(String.valueOf(this.tunnelCpeDeviceConfigParameter)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof TunnelCpeDeviceConfig)) { + return false; + } + + TunnelCpeDeviceConfig other = (TunnelCpeDeviceConfig) o; + return java.util.Objects.equals( + this.tunnelCpeDeviceConfigParameter, other.tunnelCpeDeviceConfigParameter) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.tunnelCpeDeviceConfigParameter == null + ? 43 + : this.tunnelCpeDeviceConfigParameter.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelPhaseOneDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelPhaseOneDetails.java new file mode 100644 index 00000000000..9a43847c323 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelPhaseOneDetails.java @@ -0,0 +1,588 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * IPSec tunnel details specific to ISAKMP phase one.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = TunnelPhaseOneDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class TunnelPhaseOneDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "isCustomPhaseOneConfig", + "lifetime", + "remainingLifetime", + "customAuthenticationAlgorithm", + "negotiatedAuthenticationAlgorithm", + "customEncryptionAlgorithm", + "negotiatedEncryptionAlgorithm", + "customDhGroup", + "negotiatedDhGroup", + "isIkeEstablished", + "remainingLifetimeLastRetrieved" + }) + public TunnelPhaseOneDetails( + Boolean isCustomPhaseOneConfig, + Long lifetime, + Long remainingLifetime, + String customAuthenticationAlgorithm, + String negotiatedAuthenticationAlgorithm, + String customEncryptionAlgorithm, + String negotiatedEncryptionAlgorithm, + String customDhGroup, + String negotiatedDhGroup, + Boolean isIkeEstablished, + java.util.Date remainingLifetimeLastRetrieved) { + super(); + this.isCustomPhaseOneConfig = isCustomPhaseOneConfig; + this.lifetime = lifetime; + this.remainingLifetime = remainingLifetime; + this.customAuthenticationAlgorithm = customAuthenticationAlgorithm; + this.negotiatedAuthenticationAlgorithm = negotiatedAuthenticationAlgorithm; + this.customEncryptionAlgorithm = customEncryptionAlgorithm; + this.negotiatedEncryptionAlgorithm = negotiatedEncryptionAlgorithm; + this.customDhGroup = customDhGroup; + this.negotiatedDhGroup = negotiatedDhGroup; + this.isIkeEstablished = isIkeEstablished; + this.remainingLifetimeLastRetrieved = remainingLifetimeLastRetrieved; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Indicates whether custom phase one configuration is enabled. If this option is not + * enabled, default settings are proposed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isCustomPhaseOneConfig") + private Boolean isCustomPhaseOneConfig; + + /** + * Indicates whether custom phase one configuration is enabled. If this option is not + * enabled, default settings are proposed. + * + * @param isCustomPhaseOneConfig the value to set + * @return this builder + */ + public Builder isCustomPhaseOneConfig(Boolean isCustomPhaseOneConfig) { + this.isCustomPhaseOneConfig = isCustomPhaseOneConfig; + this.__explicitlySet__.add("isCustomPhaseOneConfig"); + return this; + } + /** The total configured lifetime of the IKE security association. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifetime") + private Long lifetime; + + /** + * The total configured lifetime of the IKE security association. + * + * @param lifetime the value to set + * @return this builder + */ + public Builder lifetime(Long lifetime) { + this.lifetime = lifetime; + this.__explicitlySet__.add("lifetime"); + return this; + } + /** The remaining lifetime before the key is refreshed. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLifetime") + private Long remainingLifetime; + + /** + * The remaining lifetime before the key is refreshed. + * + * @param remainingLifetime the value to set + * @return this builder + */ + public Builder remainingLifetime(Long remainingLifetime) { + this.remainingLifetime = remainingLifetime; + this.__explicitlySet__.add("remainingLifetime"); + return this; + } + /** The proposed custom authentication algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("customAuthenticationAlgorithm") + private String customAuthenticationAlgorithm; + + /** + * The proposed custom authentication algorithm. + * + * @param customAuthenticationAlgorithm the value to set + * @return this builder + */ + public Builder customAuthenticationAlgorithm(String customAuthenticationAlgorithm) { + this.customAuthenticationAlgorithm = customAuthenticationAlgorithm; + this.__explicitlySet__.add("customAuthenticationAlgorithm"); + return this; + } + /** The negotiated authentication algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("negotiatedAuthenticationAlgorithm") + private String negotiatedAuthenticationAlgorithm; + + /** + * The negotiated authentication algorithm. + * + * @param negotiatedAuthenticationAlgorithm the value to set + * @return this builder + */ + public Builder negotiatedAuthenticationAlgorithm(String negotiatedAuthenticationAlgorithm) { + this.negotiatedAuthenticationAlgorithm = negotiatedAuthenticationAlgorithm; + this.__explicitlySet__.add("negotiatedAuthenticationAlgorithm"); + return this; + } + /** The proposed custom encryption algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("customEncryptionAlgorithm") + private String customEncryptionAlgorithm; + + /** + * The proposed custom encryption algorithm. + * + * @param customEncryptionAlgorithm the value to set + * @return this builder + */ + public Builder customEncryptionAlgorithm(String customEncryptionAlgorithm) { + this.customEncryptionAlgorithm = customEncryptionAlgorithm; + this.__explicitlySet__.add("customEncryptionAlgorithm"); + return this; + } + /** The negotiated encryption algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("negotiatedEncryptionAlgorithm") + private String negotiatedEncryptionAlgorithm; + + /** + * The negotiated encryption algorithm. + * + * @param negotiatedEncryptionAlgorithm the value to set + * @return this builder + */ + public Builder negotiatedEncryptionAlgorithm(String negotiatedEncryptionAlgorithm) { + this.negotiatedEncryptionAlgorithm = negotiatedEncryptionAlgorithm; + this.__explicitlySet__.add("negotiatedEncryptionAlgorithm"); + return this; + } + /** The proposed custom Diffie-Hellman group. */ + @com.fasterxml.jackson.annotation.JsonProperty("customDhGroup") + private String customDhGroup; + + /** + * The proposed custom Diffie-Hellman group. + * + * @param customDhGroup the value to set + * @return this builder + */ + public Builder customDhGroup(String customDhGroup) { + this.customDhGroup = customDhGroup; + this.__explicitlySet__.add("customDhGroup"); + return this; + } + /** The negotiated Diffie-Hellman group. */ + @com.fasterxml.jackson.annotation.JsonProperty("negotiatedDhGroup") + private String negotiatedDhGroup; + + /** + * The negotiated Diffie-Hellman group. + * + * @param negotiatedDhGroup the value to set + * @return this builder + */ + public Builder negotiatedDhGroup(String negotiatedDhGroup) { + this.negotiatedDhGroup = negotiatedDhGroup; + this.__explicitlySet__.add("negotiatedDhGroup"); + return this; + } + /** Indicates whether IKE phase one is established. */ + @com.fasterxml.jackson.annotation.JsonProperty("isIkeEstablished") + private Boolean isIkeEstablished; + + /** + * Indicates whether IKE phase one is established. + * + * @param isIkeEstablished the value to set + * @return this builder + */ + public Builder isIkeEstablished(Boolean isIkeEstablished) { + this.isIkeEstablished = isIkeEstablished; + this.__explicitlySet__.add("isIkeEstablished"); + return this; + } + /** + * The date and time we retrieved the remaining lifetime, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLifetimeLastRetrieved") + private java.util.Date remainingLifetimeLastRetrieved; + + /** + * The date and time we retrieved the remaining lifetime, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param remainingLifetimeLastRetrieved the value to set + * @return this builder + */ + public Builder remainingLifetimeLastRetrieved( + java.util.Date remainingLifetimeLastRetrieved) { + this.remainingLifetimeLastRetrieved = remainingLifetimeLastRetrieved; + this.__explicitlySet__.add("remainingLifetimeLastRetrieved"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public TunnelPhaseOneDetails build() { + TunnelPhaseOneDetails model = + new TunnelPhaseOneDetails( + this.isCustomPhaseOneConfig, + this.lifetime, + this.remainingLifetime, + this.customAuthenticationAlgorithm, + this.negotiatedAuthenticationAlgorithm, + this.customEncryptionAlgorithm, + this.negotiatedEncryptionAlgorithm, + this.customDhGroup, + this.negotiatedDhGroup, + this.isIkeEstablished, + this.remainingLifetimeLastRetrieved); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(TunnelPhaseOneDetails model) { + if (model.wasPropertyExplicitlySet("isCustomPhaseOneConfig")) { + this.isCustomPhaseOneConfig(model.getIsCustomPhaseOneConfig()); + } + if (model.wasPropertyExplicitlySet("lifetime")) { + this.lifetime(model.getLifetime()); + } + if (model.wasPropertyExplicitlySet("remainingLifetime")) { + this.remainingLifetime(model.getRemainingLifetime()); + } + if (model.wasPropertyExplicitlySet("customAuthenticationAlgorithm")) { + this.customAuthenticationAlgorithm(model.getCustomAuthenticationAlgorithm()); + } + if (model.wasPropertyExplicitlySet("negotiatedAuthenticationAlgorithm")) { + this.negotiatedAuthenticationAlgorithm( + model.getNegotiatedAuthenticationAlgorithm()); + } + if (model.wasPropertyExplicitlySet("customEncryptionAlgorithm")) { + this.customEncryptionAlgorithm(model.getCustomEncryptionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("negotiatedEncryptionAlgorithm")) { + this.negotiatedEncryptionAlgorithm(model.getNegotiatedEncryptionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("customDhGroup")) { + this.customDhGroup(model.getCustomDhGroup()); + } + if (model.wasPropertyExplicitlySet("negotiatedDhGroup")) { + this.negotiatedDhGroup(model.getNegotiatedDhGroup()); + } + if (model.wasPropertyExplicitlySet("isIkeEstablished")) { + this.isIkeEstablished(model.getIsIkeEstablished()); + } + if (model.wasPropertyExplicitlySet("remainingLifetimeLastRetrieved")) { + this.remainingLifetimeLastRetrieved(model.getRemainingLifetimeLastRetrieved()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Indicates whether custom phase one configuration is enabled. If this option is not enabled, + * default settings are proposed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isCustomPhaseOneConfig") + private final Boolean isCustomPhaseOneConfig; + + /** + * Indicates whether custom phase one configuration is enabled. If this option is not enabled, + * default settings are proposed. + * + * @return the value + */ + public Boolean getIsCustomPhaseOneConfig() { + return isCustomPhaseOneConfig; + } + + /** The total configured lifetime of the IKE security association. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifetime") + private final Long lifetime; + + /** + * The total configured lifetime of the IKE security association. + * + * @return the value + */ + public Long getLifetime() { + return lifetime; + } + + /** The remaining lifetime before the key is refreshed. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLifetime") + private final Long remainingLifetime; + + /** + * The remaining lifetime before the key is refreshed. + * + * @return the value + */ + public Long getRemainingLifetime() { + return remainingLifetime; + } + + /** The proposed custom authentication algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("customAuthenticationAlgorithm") + private final String customAuthenticationAlgorithm; + + /** + * The proposed custom authentication algorithm. + * + * @return the value + */ + public String getCustomAuthenticationAlgorithm() { + return customAuthenticationAlgorithm; + } + + /** The negotiated authentication algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("negotiatedAuthenticationAlgorithm") + private final String negotiatedAuthenticationAlgorithm; + + /** + * The negotiated authentication algorithm. + * + * @return the value + */ + public String getNegotiatedAuthenticationAlgorithm() { + return negotiatedAuthenticationAlgorithm; + } + + /** The proposed custom encryption algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("customEncryptionAlgorithm") + private final String customEncryptionAlgorithm; + + /** + * The proposed custom encryption algorithm. + * + * @return the value + */ + public String getCustomEncryptionAlgorithm() { + return customEncryptionAlgorithm; + } + + /** The negotiated encryption algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("negotiatedEncryptionAlgorithm") + private final String negotiatedEncryptionAlgorithm; + + /** + * The negotiated encryption algorithm. + * + * @return the value + */ + public String getNegotiatedEncryptionAlgorithm() { + return negotiatedEncryptionAlgorithm; + } + + /** The proposed custom Diffie-Hellman group. */ + @com.fasterxml.jackson.annotation.JsonProperty("customDhGroup") + private final String customDhGroup; + + /** + * The proposed custom Diffie-Hellman group. + * + * @return the value + */ + public String getCustomDhGroup() { + return customDhGroup; + } + + /** The negotiated Diffie-Hellman group. */ + @com.fasterxml.jackson.annotation.JsonProperty("negotiatedDhGroup") + private final String negotiatedDhGroup; + + /** + * The negotiated Diffie-Hellman group. + * + * @return the value + */ + public String getNegotiatedDhGroup() { + return negotiatedDhGroup; + } + + /** Indicates whether IKE phase one is established. */ + @com.fasterxml.jackson.annotation.JsonProperty("isIkeEstablished") + private final Boolean isIkeEstablished; + + /** + * Indicates whether IKE phase one is established. + * + * @return the value + */ + public Boolean getIsIkeEstablished() { + return isIkeEstablished; + } + + /** + * The date and time we retrieved the remaining lifetime, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLifetimeLastRetrieved") + private final java.util.Date remainingLifetimeLastRetrieved; + + /** + * The date and time we retrieved the remaining lifetime, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getRemainingLifetimeLastRetrieved() { + return remainingLifetimeLastRetrieved; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("TunnelPhaseOneDetails("); + sb.append("super=").append(super.toString()); + sb.append("isCustomPhaseOneConfig=").append(String.valueOf(this.isCustomPhaseOneConfig)); + sb.append(", lifetime=").append(String.valueOf(this.lifetime)); + sb.append(", remainingLifetime=").append(String.valueOf(this.remainingLifetime)); + sb.append(", customAuthenticationAlgorithm=") + .append(String.valueOf(this.customAuthenticationAlgorithm)); + sb.append(", negotiatedAuthenticationAlgorithm=") + .append(String.valueOf(this.negotiatedAuthenticationAlgorithm)); + sb.append(", customEncryptionAlgorithm=") + .append(String.valueOf(this.customEncryptionAlgorithm)); + sb.append(", negotiatedEncryptionAlgorithm=") + .append(String.valueOf(this.negotiatedEncryptionAlgorithm)); + sb.append(", customDhGroup=").append(String.valueOf(this.customDhGroup)); + sb.append(", negotiatedDhGroup=").append(String.valueOf(this.negotiatedDhGroup)); + sb.append(", isIkeEstablished=").append(String.valueOf(this.isIkeEstablished)); + sb.append(", remainingLifetimeLastRetrieved=") + .append(String.valueOf(this.remainingLifetimeLastRetrieved)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof TunnelPhaseOneDetails)) { + return false; + } + + TunnelPhaseOneDetails other = (TunnelPhaseOneDetails) o; + return java.util.Objects.equals(this.isCustomPhaseOneConfig, other.isCustomPhaseOneConfig) + && java.util.Objects.equals(this.lifetime, other.lifetime) + && java.util.Objects.equals(this.remainingLifetime, other.remainingLifetime) + && java.util.Objects.equals( + this.customAuthenticationAlgorithm, other.customAuthenticationAlgorithm) + && java.util.Objects.equals( + this.negotiatedAuthenticationAlgorithm, + other.negotiatedAuthenticationAlgorithm) + && java.util.Objects.equals( + this.customEncryptionAlgorithm, other.customEncryptionAlgorithm) + && java.util.Objects.equals( + this.negotiatedEncryptionAlgorithm, other.negotiatedEncryptionAlgorithm) + && java.util.Objects.equals(this.customDhGroup, other.customDhGroup) + && java.util.Objects.equals(this.negotiatedDhGroup, other.negotiatedDhGroup) + && java.util.Objects.equals(this.isIkeEstablished, other.isIkeEstablished) + && java.util.Objects.equals( + this.remainingLifetimeLastRetrieved, other.remainingLifetimeLastRetrieved) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.isCustomPhaseOneConfig == null + ? 43 + : this.isCustomPhaseOneConfig.hashCode()); + result = (result * PRIME) + (this.lifetime == null ? 43 : this.lifetime.hashCode()); + result = + (result * PRIME) + + (this.remainingLifetime == null ? 43 : this.remainingLifetime.hashCode()); + result = + (result * PRIME) + + (this.customAuthenticationAlgorithm == null + ? 43 + : this.customAuthenticationAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.negotiatedAuthenticationAlgorithm == null + ? 43 + : this.negotiatedAuthenticationAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.customEncryptionAlgorithm == null + ? 43 + : this.customEncryptionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.negotiatedEncryptionAlgorithm == null + ? 43 + : this.negotiatedEncryptionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.customDhGroup == null ? 43 : this.customDhGroup.hashCode()); + result = + (result * PRIME) + + (this.negotiatedDhGroup == null ? 43 : this.negotiatedDhGroup.hashCode()); + result = + (result * PRIME) + + (this.isIkeEstablished == null ? 43 : this.isIkeEstablished.hashCode()); + result = + (result * PRIME) + + (this.remainingLifetimeLastRetrieved == null + ? 43 + : this.remainingLifetimeLastRetrieved.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelPhaseTwoDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelPhaseTwoDetails.java new file mode 100644 index 00000000000..9279ed7b33d --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelPhaseTwoDetails.java @@ -0,0 +1,624 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * IPsec tunnel detail information specific to phase two.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = TunnelPhaseTwoDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class TunnelPhaseTwoDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "isCustomPhaseTwoConfig", + "lifetime", + "remainingLifetime", + "customAuthenticationAlgorithm", + "negotiatedAuthenticationAlgorithm", + "customEncryptionAlgorithm", + "negotiatedEncryptionAlgorithm", + "dhGroup", + "negotiatedDhGroup", + "isEspEstablished", + "isPfsEnabled", + "remainingLifetimeLastRetrieved" + }) + public TunnelPhaseTwoDetails( + Boolean isCustomPhaseTwoConfig, + Long lifetime, + Long remainingLifetime, + String customAuthenticationAlgorithm, + String negotiatedAuthenticationAlgorithm, + String customEncryptionAlgorithm, + String negotiatedEncryptionAlgorithm, + String dhGroup, + String negotiatedDhGroup, + Boolean isEspEstablished, + Boolean isPfsEnabled, + java.util.Date remainingLifetimeLastRetrieved) { + super(); + this.isCustomPhaseTwoConfig = isCustomPhaseTwoConfig; + this.lifetime = lifetime; + this.remainingLifetime = remainingLifetime; + this.customAuthenticationAlgorithm = customAuthenticationAlgorithm; + this.negotiatedAuthenticationAlgorithm = negotiatedAuthenticationAlgorithm; + this.customEncryptionAlgorithm = customEncryptionAlgorithm; + this.negotiatedEncryptionAlgorithm = negotiatedEncryptionAlgorithm; + this.dhGroup = dhGroup; + this.negotiatedDhGroup = negotiatedDhGroup; + this.isEspEstablished = isEspEstablished; + this.isPfsEnabled = isPfsEnabled; + this.remainingLifetimeLastRetrieved = remainingLifetimeLastRetrieved; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Indicates whether custom phase two configuration is enabled. If this option is not + * enabled, default settings are proposed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isCustomPhaseTwoConfig") + private Boolean isCustomPhaseTwoConfig; + + /** + * Indicates whether custom phase two configuration is enabled. If this option is not + * enabled, default settings are proposed. + * + * @param isCustomPhaseTwoConfig the value to set + * @return this builder + */ + public Builder isCustomPhaseTwoConfig(Boolean isCustomPhaseTwoConfig) { + this.isCustomPhaseTwoConfig = isCustomPhaseTwoConfig; + this.__explicitlySet__.add("isCustomPhaseTwoConfig"); + return this; + } + /** The total configured lifetime of the IKE security association. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifetime") + private Long lifetime; + + /** + * The total configured lifetime of the IKE security association. + * + * @param lifetime the value to set + * @return this builder + */ + public Builder lifetime(Long lifetime) { + this.lifetime = lifetime; + this.__explicitlySet__.add("lifetime"); + return this; + } + /** The remaining lifetime before the key is refreshed. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLifetime") + private Long remainingLifetime; + + /** + * The remaining lifetime before the key is refreshed. + * + * @param remainingLifetime the value to set + * @return this builder + */ + public Builder remainingLifetime(Long remainingLifetime) { + this.remainingLifetime = remainingLifetime; + this.__explicitlySet__.add("remainingLifetime"); + return this; + } + /** Phase two authentication algorithm proposed during tunnel negotiation. */ + @com.fasterxml.jackson.annotation.JsonProperty("customAuthenticationAlgorithm") + private String customAuthenticationAlgorithm; + + /** + * Phase two authentication algorithm proposed during tunnel negotiation. + * + * @param customAuthenticationAlgorithm the value to set + * @return this builder + */ + public Builder customAuthenticationAlgorithm(String customAuthenticationAlgorithm) { + this.customAuthenticationAlgorithm = customAuthenticationAlgorithm; + this.__explicitlySet__.add("customAuthenticationAlgorithm"); + return this; + } + /** The negotiated phase two authentication algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("negotiatedAuthenticationAlgorithm") + private String negotiatedAuthenticationAlgorithm; + + /** + * The negotiated phase two authentication algorithm. + * + * @param negotiatedAuthenticationAlgorithm the value to set + * @return this builder + */ + public Builder negotiatedAuthenticationAlgorithm(String negotiatedAuthenticationAlgorithm) { + this.negotiatedAuthenticationAlgorithm = negotiatedAuthenticationAlgorithm; + this.__explicitlySet__.add("negotiatedAuthenticationAlgorithm"); + return this; + } + /** The proposed custom phase two encryption algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("customEncryptionAlgorithm") + private String customEncryptionAlgorithm; + + /** + * The proposed custom phase two encryption algorithm. + * + * @param customEncryptionAlgorithm the value to set + * @return this builder + */ + public Builder customEncryptionAlgorithm(String customEncryptionAlgorithm) { + this.customEncryptionAlgorithm = customEncryptionAlgorithm; + this.__explicitlySet__.add("customEncryptionAlgorithm"); + return this; + } + /** The negotiated encryption algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("negotiatedEncryptionAlgorithm") + private String negotiatedEncryptionAlgorithm; + + /** + * The negotiated encryption algorithm. + * + * @param negotiatedEncryptionAlgorithm the value to set + * @return this builder + */ + public Builder negotiatedEncryptionAlgorithm(String negotiatedEncryptionAlgorithm) { + this.negotiatedEncryptionAlgorithm = negotiatedEncryptionAlgorithm; + this.__explicitlySet__.add("negotiatedEncryptionAlgorithm"); + return this; + } + /** The proposed Diffie-Hellman group. */ + @com.fasterxml.jackson.annotation.JsonProperty("dhGroup") + private String dhGroup; + + /** + * The proposed Diffie-Hellman group. + * + * @param dhGroup the value to set + * @return this builder + */ + public Builder dhGroup(String dhGroup) { + this.dhGroup = dhGroup; + this.__explicitlySet__.add("dhGroup"); + return this; + } + /** The negotiated Diffie-Hellman group. */ + @com.fasterxml.jackson.annotation.JsonProperty("negotiatedDhGroup") + private String negotiatedDhGroup; + + /** + * The negotiated Diffie-Hellman group. + * + * @param negotiatedDhGroup the value to set + * @return this builder + */ + public Builder negotiatedDhGroup(String negotiatedDhGroup) { + this.negotiatedDhGroup = negotiatedDhGroup; + this.__explicitlySet__.add("negotiatedDhGroup"); + return this; + } + /** Indicates that ESP phase two is established. */ + @com.fasterxml.jackson.annotation.JsonProperty("isEspEstablished") + private Boolean isEspEstablished; + + /** + * Indicates that ESP phase two is established. + * + * @param isEspEstablished the value to set + * @return this builder + */ + public Builder isEspEstablished(Boolean isEspEstablished) { + this.isEspEstablished = isEspEstablished; + this.__explicitlySet__.add("isEspEstablished"); + return this; + } + /** Indicates that PFS (perfect forward secrecy) is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("isPfsEnabled") + private Boolean isPfsEnabled; + + /** + * Indicates that PFS (perfect forward secrecy) is enabled. + * + * @param isPfsEnabled the value to set + * @return this builder + */ + public Builder isPfsEnabled(Boolean isPfsEnabled) { + this.isPfsEnabled = isPfsEnabled; + this.__explicitlySet__.add("isPfsEnabled"); + return this; + } + /** + * The date and time the remaining lifetime was last retrieved, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLifetimeLastRetrieved") + private java.util.Date remainingLifetimeLastRetrieved; + + /** + * The date and time the remaining lifetime was last retrieved, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param remainingLifetimeLastRetrieved the value to set + * @return this builder + */ + public Builder remainingLifetimeLastRetrieved( + java.util.Date remainingLifetimeLastRetrieved) { + this.remainingLifetimeLastRetrieved = remainingLifetimeLastRetrieved; + this.__explicitlySet__.add("remainingLifetimeLastRetrieved"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public TunnelPhaseTwoDetails build() { + TunnelPhaseTwoDetails model = + new TunnelPhaseTwoDetails( + this.isCustomPhaseTwoConfig, + this.lifetime, + this.remainingLifetime, + this.customAuthenticationAlgorithm, + this.negotiatedAuthenticationAlgorithm, + this.customEncryptionAlgorithm, + this.negotiatedEncryptionAlgorithm, + this.dhGroup, + this.negotiatedDhGroup, + this.isEspEstablished, + this.isPfsEnabled, + this.remainingLifetimeLastRetrieved); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(TunnelPhaseTwoDetails model) { + if (model.wasPropertyExplicitlySet("isCustomPhaseTwoConfig")) { + this.isCustomPhaseTwoConfig(model.getIsCustomPhaseTwoConfig()); + } + if (model.wasPropertyExplicitlySet("lifetime")) { + this.lifetime(model.getLifetime()); + } + if (model.wasPropertyExplicitlySet("remainingLifetime")) { + this.remainingLifetime(model.getRemainingLifetime()); + } + if (model.wasPropertyExplicitlySet("customAuthenticationAlgorithm")) { + this.customAuthenticationAlgorithm(model.getCustomAuthenticationAlgorithm()); + } + if (model.wasPropertyExplicitlySet("negotiatedAuthenticationAlgorithm")) { + this.negotiatedAuthenticationAlgorithm( + model.getNegotiatedAuthenticationAlgorithm()); + } + if (model.wasPropertyExplicitlySet("customEncryptionAlgorithm")) { + this.customEncryptionAlgorithm(model.getCustomEncryptionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("negotiatedEncryptionAlgorithm")) { + this.negotiatedEncryptionAlgorithm(model.getNegotiatedEncryptionAlgorithm()); + } + if (model.wasPropertyExplicitlySet("dhGroup")) { + this.dhGroup(model.getDhGroup()); + } + if (model.wasPropertyExplicitlySet("negotiatedDhGroup")) { + this.negotiatedDhGroup(model.getNegotiatedDhGroup()); + } + if (model.wasPropertyExplicitlySet("isEspEstablished")) { + this.isEspEstablished(model.getIsEspEstablished()); + } + if (model.wasPropertyExplicitlySet("isPfsEnabled")) { + this.isPfsEnabled(model.getIsPfsEnabled()); + } + if (model.wasPropertyExplicitlySet("remainingLifetimeLastRetrieved")) { + this.remainingLifetimeLastRetrieved(model.getRemainingLifetimeLastRetrieved()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Indicates whether custom phase two configuration is enabled. If this option is not enabled, + * default settings are proposed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isCustomPhaseTwoConfig") + private final Boolean isCustomPhaseTwoConfig; + + /** + * Indicates whether custom phase two configuration is enabled. If this option is not enabled, + * default settings are proposed. + * + * @return the value + */ + public Boolean getIsCustomPhaseTwoConfig() { + return isCustomPhaseTwoConfig; + } + + /** The total configured lifetime of the IKE security association. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifetime") + private final Long lifetime; + + /** + * The total configured lifetime of the IKE security association. + * + * @return the value + */ + public Long getLifetime() { + return lifetime; + } + + /** The remaining lifetime before the key is refreshed. */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLifetime") + private final Long remainingLifetime; + + /** + * The remaining lifetime before the key is refreshed. + * + * @return the value + */ + public Long getRemainingLifetime() { + return remainingLifetime; + } + + /** Phase two authentication algorithm proposed during tunnel negotiation. */ + @com.fasterxml.jackson.annotation.JsonProperty("customAuthenticationAlgorithm") + private final String customAuthenticationAlgorithm; + + /** + * Phase two authentication algorithm proposed during tunnel negotiation. + * + * @return the value + */ + public String getCustomAuthenticationAlgorithm() { + return customAuthenticationAlgorithm; + } + + /** The negotiated phase two authentication algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("negotiatedAuthenticationAlgorithm") + private final String negotiatedAuthenticationAlgorithm; + + /** + * The negotiated phase two authentication algorithm. + * + * @return the value + */ + public String getNegotiatedAuthenticationAlgorithm() { + return negotiatedAuthenticationAlgorithm; + } + + /** The proposed custom phase two encryption algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("customEncryptionAlgorithm") + private final String customEncryptionAlgorithm; + + /** + * The proposed custom phase two encryption algorithm. + * + * @return the value + */ + public String getCustomEncryptionAlgorithm() { + return customEncryptionAlgorithm; + } + + /** The negotiated encryption algorithm. */ + @com.fasterxml.jackson.annotation.JsonProperty("negotiatedEncryptionAlgorithm") + private final String negotiatedEncryptionAlgorithm; + + /** + * The negotiated encryption algorithm. + * + * @return the value + */ + public String getNegotiatedEncryptionAlgorithm() { + return negotiatedEncryptionAlgorithm; + } + + /** The proposed Diffie-Hellman group. */ + @com.fasterxml.jackson.annotation.JsonProperty("dhGroup") + private final String dhGroup; + + /** + * The proposed Diffie-Hellman group. + * + * @return the value + */ + public String getDhGroup() { + return dhGroup; + } + + /** The negotiated Diffie-Hellman group. */ + @com.fasterxml.jackson.annotation.JsonProperty("negotiatedDhGroup") + private final String negotiatedDhGroup; + + /** + * The negotiated Diffie-Hellman group. + * + * @return the value + */ + public String getNegotiatedDhGroup() { + return negotiatedDhGroup; + } + + /** Indicates that ESP phase two is established. */ + @com.fasterxml.jackson.annotation.JsonProperty("isEspEstablished") + private final Boolean isEspEstablished; + + /** + * Indicates that ESP phase two is established. + * + * @return the value + */ + public Boolean getIsEspEstablished() { + return isEspEstablished; + } + + /** Indicates that PFS (perfect forward secrecy) is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("isPfsEnabled") + private final Boolean isPfsEnabled; + + /** + * Indicates that PFS (perfect forward secrecy) is enabled. + * + * @return the value + */ + public Boolean getIsPfsEnabled() { + return isPfsEnabled; + } + + /** + * The date and time the remaining lifetime was last retrieved, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("remainingLifetimeLastRetrieved") + private final java.util.Date remainingLifetimeLastRetrieved; + + /** + * The date and time the remaining lifetime was last retrieved, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getRemainingLifetimeLastRetrieved() { + return remainingLifetimeLastRetrieved; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("TunnelPhaseTwoDetails("); + sb.append("super=").append(super.toString()); + sb.append("isCustomPhaseTwoConfig=").append(String.valueOf(this.isCustomPhaseTwoConfig)); + sb.append(", lifetime=").append(String.valueOf(this.lifetime)); + sb.append(", remainingLifetime=").append(String.valueOf(this.remainingLifetime)); + sb.append(", customAuthenticationAlgorithm=") + .append(String.valueOf(this.customAuthenticationAlgorithm)); + sb.append(", negotiatedAuthenticationAlgorithm=") + .append(String.valueOf(this.negotiatedAuthenticationAlgorithm)); + sb.append(", customEncryptionAlgorithm=") + .append(String.valueOf(this.customEncryptionAlgorithm)); + sb.append(", negotiatedEncryptionAlgorithm=") + .append(String.valueOf(this.negotiatedEncryptionAlgorithm)); + sb.append(", dhGroup=").append(String.valueOf(this.dhGroup)); + sb.append(", negotiatedDhGroup=").append(String.valueOf(this.negotiatedDhGroup)); + sb.append(", isEspEstablished=").append(String.valueOf(this.isEspEstablished)); + sb.append(", isPfsEnabled=").append(String.valueOf(this.isPfsEnabled)); + sb.append(", remainingLifetimeLastRetrieved=") + .append(String.valueOf(this.remainingLifetimeLastRetrieved)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof TunnelPhaseTwoDetails)) { + return false; + } + + TunnelPhaseTwoDetails other = (TunnelPhaseTwoDetails) o; + return java.util.Objects.equals(this.isCustomPhaseTwoConfig, other.isCustomPhaseTwoConfig) + && java.util.Objects.equals(this.lifetime, other.lifetime) + && java.util.Objects.equals(this.remainingLifetime, other.remainingLifetime) + && java.util.Objects.equals( + this.customAuthenticationAlgorithm, other.customAuthenticationAlgorithm) + && java.util.Objects.equals( + this.negotiatedAuthenticationAlgorithm, + other.negotiatedAuthenticationAlgorithm) + && java.util.Objects.equals( + this.customEncryptionAlgorithm, other.customEncryptionAlgorithm) + && java.util.Objects.equals( + this.negotiatedEncryptionAlgorithm, other.negotiatedEncryptionAlgorithm) + && java.util.Objects.equals(this.dhGroup, other.dhGroup) + && java.util.Objects.equals(this.negotiatedDhGroup, other.negotiatedDhGroup) + && java.util.Objects.equals(this.isEspEstablished, other.isEspEstablished) + && java.util.Objects.equals(this.isPfsEnabled, other.isPfsEnabled) + && java.util.Objects.equals( + this.remainingLifetimeLastRetrieved, other.remainingLifetimeLastRetrieved) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.isCustomPhaseTwoConfig == null + ? 43 + : this.isCustomPhaseTwoConfig.hashCode()); + result = (result * PRIME) + (this.lifetime == null ? 43 : this.lifetime.hashCode()); + result = + (result * PRIME) + + (this.remainingLifetime == null ? 43 : this.remainingLifetime.hashCode()); + result = + (result * PRIME) + + (this.customAuthenticationAlgorithm == null + ? 43 + : this.customAuthenticationAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.negotiatedAuthenticationAlgorithm == null + ? 43 + : this.negotiatedAuthenticationAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.customEncryptionAlgorithm == null + ? 43 + : this.customEncryptionAlgorithm.hashCode()); + result = + (result * PRIME) + + (this.negotiatedEncryptionAlgorithm == null + ? 43 + : this.negotiatedEncryptionAlgorithm.hashCode()); + result = (result * PRIME) + (this.dhGroup == null ? 43 : this.dhGroup.hashCode()); + result = + (result * PRIME) + + (this.negotiatedDhGroup == null ? 43 : this.negotiatedDhGroup.hashCode()); + result = + (result * PRIME) + + (this.isEspEstablished == null ? 43 : this.isEspEstablished.hashCode()); + result = (result * PRIME) + (this.isPfsEnabled == null ? 43 : this.isPfsEnabled.hashCode()); + result = + (result * PRIME) + + (this.remainingLifetimeLastRetrieved == null + ? 43 + : this.remainingLifetimeLastRetrieved.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelRouteSummary.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelRouteSummary.java new file mode 100644 index 00000000000..3ac58b404c3 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelRouteSummary.java @@ -0,0 +1,314 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * A summary of the routes advertised to and received from the on-premises network.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = TunnelRouteSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class TunnelRouteSummary + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"prefix", "age", "isBestPath", "asPath", "advertiser"}) + public TunnelRouteSummary( + String prefix, + Long age, + Boolean isBestPath, + java.util.List asPath, + Advertiser advertiser) { + super(); + this.prefix = prefix; + this.age = age; + this.isBestPath = isBestPath; + this.asPath = asPath; + this.advertiser = advertiser; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The BGP network layer reachability information. */ + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + private String prefix; + + /** + * The BGP network layer reachability information. + * + * @param prefix the value to set + * @return this builder + */ + public Builder prefix(String prefix) { + this.prefix = prefix; + this.__explicitlySet__.add("prefix"); + return this; + } + /** The age of the route. */ + @com.fasterxml.jackson.annotation.JsonProperty("age") + private Long age; + + /** + * The age of the route. + * + * @param age the value to set + * @return this builder + */ + public Builder age(Long age) { + this.age = age; + this.__explicitlySet__.add("age"); + return this; + } + /** Indicates this is the best route. */ + @com.fasterxml.jackson.annotation.JsonProperty("isBestPath") + private Boolean isBestPath; + + /** + * Indicates this is the best route. + * + * @param isBestPath the value to set + * @return this builder + */ + public Builder isBestPath(Boolean isBestPath) { + this.isBestPath = isBestPath; + this.__explicitlySet__.add("isBestPath"); + return this; + } + /** A list of ASNs in AS_Path. */ + @com.fasterxml.jackson.annotation.JsonProperty("asPath") + private java.util.List asPath; + + /** + * A list of ASNs in AS_Path. + * + * @param asPath the value to set + * @return this builder + */ + public Builder asPath(java.util.List asPath) { + this.asPath = asPath; + this.__explicitlySet__.add("asPath"); + return this; + } + /** The source of the route advertisement. */ + @com.fasterxml.jackson.annotation.JsonProperty("advertiser") + private Advertiser advertiser; + + /** + * The source of the route advertisement. + * + * @param advertiser the value to set + * @return this builder + */ + public Builder advertiser(Advertiser advertiser) { + this.advertiser = advertiser; + this.__explicitlySet__.add("advertiser"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public TunnelRouteSummary build() { + TunnelRouteSummary model = + new TunnelRouteSummary( + this.prefix, this.age, this.isBestPath, this.asPath, this.advertiser); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(TunnelRouteSummary model) { + if (model.wasPropertyExplicitlySet("prefix")) { + this.prefix(model.getPrefix()); + } + if (model.wasPropertyExplicitlySet("age")) { + this.age(model.getAge()); + } + if (model.wasPropertyExplicitlySet("isBestPath")) { + this.isBestPath(model.getIsBestPath()); + } + if (model.wasPropertyExplicitlySet("asPath")) { + this.asPath(model.getAsPath()); + } + if (model.wasPropertyExplicitlySet("advertiser")) { + this.advertiser(model.getAdvertiser()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The BGP network layer reachability information. */ + @com.fasterxml.jackson.annotation.JsonProperty("prefix") + private final String prefix; + + /** + * The BGP network layer reachability information. + * + * @return the value + */ + public String getPrefix() { + return prefix; + } + + /** The age of the route. */ + @com.fasterxml.jackson.annotation.JsonProperty("age") + private final Long age; + + /** + * The age of the route. + * + * @return the value + */ + public Long getAge() { + return age; + } + + /** Indicates this is the best route. */ + @com.fasterxml.jackson.annotation.JsonProperty("isBestPath") + private final Boolean isBestPath; + + /** + * Indicates this is the best route. + * + * @return the value + */ + public Boolean getIsBestPath() { + return isBestPath; + } + + /** A list of ASNs in AS_Path. */ + @com.fasterxml.jackson.annotation.JsonProperty("asPath") + private final java.util.List asPath; + + /** + * A list of ASNs in AS_Path. + * + * @return the value + */ + public java.util.List getAsPath() { + return asPath; + } + + /** The source of the route advertisement. */ + public enum Advertiser implements com.oracle.bmc.http.internal.BmcEnum { + Customer("CUSTOMER"), + Oracle("ORACLE"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Advertiser v : Advertiser.values()) { + map.put(v.getValue(), v); + } + } + + Advertiser(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Advertiser create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid Advertiser: " + key); + } + }; + /** The source of the route advertisement. */ + @com.fasterxml.jackson.annotation.JsonProperty("advertiser") + private final Advertiser advertiser; + + /** + * The source of the route advertisement. + * + * @return the value + */ + public Advertiser getAdvertiser() { + return advertiser; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("TunnelRouteSummary("); + sb.append("super=").append(super.toString()); + sb.append("prefix=").append(String.valueOf(this.prefix)); + sb.append(", age=").append(String.valueOf(this.age)); + sb.append(", isBestPath=").append(String.valueOf(this.isBestPath)); + sb.append(", asPath=").append(String.valueOf(this.asPath)); + sb.append(", advertiser=").append(String.valueOf(this.advertiser)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof TunnelRouteSummary)) { + return false; + } + + TunnelRouteSummary other = (TunnelRouteSummary) o; + return java.util.Objects.equals(this.prefix, other.prefix) + && java.util.Objects.equals(this.age, other.age) + && java.util.Objects.equals(this.isBestPath, other.isBestPath) + && java.util.Objects.equals(this.asPath, other.asPath) + && java.util.Objects.equals(this.advertiser, other.advertiser) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.prefix == null ? 43 : this.prefix.hashCode()); + result = (result * PRIME) + (this.age == null ? 43 : this.age.hashCode()); + result = (result * PRIME) + (this.isBestPath == null ? 43 : this.isBestPath.hashCode()); + result = (result * PRIME) + (this.asPath == null ? 43 : this.asPath.hashCode()); + result = (result * PRIME) + (this.advertiser == null ? 43 : this.advertiser.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelSecurityAssociationSummary.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelSecurityAssociationSummary.java new file mode 100644 index 00000000000..00abc8d3e47 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelSecurityAssociationSummary.java @@ -0,0 +1,344 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * A summary of the IPSec tunnel security association details.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = TunnelSecurityAssociationSummary.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class TunnelSecurityAssociationSummary + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "cpeSubnet", + "oracleSubnet", + "tunnelSaStatus", + "tunnelSaErrorInfo", + "time" + }) + public TunnelSecurityAssociationSummary( + String cpeSubnet, + String oracleSubnet, + TunnelSaStatus tunnelSaStatus, + String tunnelSaErrorInfo, + String time) { + super(); + this.cpeSubnet = cpeSubnet; + this.oracleSubnet = oracleSubnet; + this.tunnelSaStatus = tunnelSaStatus; + this.tunnelSaErrorInfo = tunnelSaErrorInfo; + this.time = time; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The IP address and mask of the partner subnet used in policy based VPNs or static routes. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeSubnet") + private String cpeSubnet; + + /** + * The IP address and mask of the partner subnet used in policy based VPNs or static routes. + * + * @param cpeSubnet the value to set + * @return this builder + */ + public Builder cpeSubnet(String cpeSubnet) { + this.cpeSubnet = cpeSubnet; + this.__explicitlySet__.add("cpeSubnet"); + return this; + } + /** + * The IP address and mask of the local subnet used in policy based VPNs or static routes. + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleSubnet") + private String oracleSubnet; + + /** + * The IP address and mask of the local subnet used in policy based VPNs or static routes. + * + * @param oracleSubnet the value to set + * @return this builder + */ + public Builder oracleSubnet(String oracleSubnet) { + this.oracleSubnet = oracleSubnet; + this.__explicitlySet__.add("oracleSubnet"); + return this; + } + /** The IPSec tunnel's phase one status. */ + @com.fasterxml.jackson.annotation.JsonProperty("tunnelSaStatus") + private TunnelSaStatus tunnelSaStatus; + + /** + * The IPSec tunnel's phase one status. + * + * @param tunnelSaStatus the value to set + * @return this builder + */ + public Builder tunnelSaStatus(TunnelSaStatus tunnelSaStatus) { + this.tunnelSaStatus = tunnelSaStatus; + this.__explicitlySet__.add("tunnelSaStatus"); + return this; + } + /** + * Current state if the IPSec tunnel status is not {@code UP}, including phase one and phase + * two details and a possible reason the tunnel is not {@code UP}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tunnelSaErrorInfo") + private String tunnelSaErrorInfo; + + /** + * Current state if the IPSec tunnel status is not {@code UP}, including phase one and phase + * two details and a possible reason the tunnel is not {@code UP}. + * + * @param tunnelSaErrorInfo the value to set + * @return this builder + */ + public Builder tunnelSaErrorInfo(String tunnelSaErrorInfo) { + this.tunnelSaErrorInfo = tunnelSaErrorInfo; + this.__explicitlySet__.add("tunnelSaErrorInfo"); + return this; + } + /** Time in the current state, in seconds. */ + @com.fasterxml.jackson.annotation.JsonProperty("time") + private String time; + + /** + * Time in the current state, in seconds. + * + * @param time the value to set + * @return this builder + */ + public Builder time(String time) { + this.time = time; + this.__explicitlySet__.add("time"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public TunnelSecurityAssociationSummary build() { + TunnelSecurityAssociationSummary model = + new TunnelSecurityAssociationSummary( + this.cpeSubnet, + this.oracleSubnet, + this.tunnelSaStatus, + this.tunnelSaErrorInfo, + this.time); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(TunnelSecurityAssociationSummary model) { + if (model.wasPropertyExplicitlySet("cpeSubnet")) { + this.cpeSubnet(model.getCpeSubnet()); + } + if (model.wasPropertyExplicitlySet("oracleSubnet")) { + this.oracleSubnet(model.getOracleSubnet()); + } + if (model.wasPropertyExplicitlySet("tunnelSaStatus")) { + this.tunnelSaStatus(model.getTunnelSaStatus()); + } + if (model.wasPropertyExplicitlySet("tunnelSaErrorInfo")) { + this.tunnelSaErrorInfo(model.getTunnelSaErrorInfo()); + } + if (model.wasPropertyExplicitlySet("time")) { + this.time(model.getTime()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The IP address and mask of the partner subnet used in policy based VPNs or static routes. */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeSubnet") + private final String cpeSubnet; + + /** + * The IP address and mask of the partner subnet used in policy based VPNs or static routes. + * + * @return the value + */ + public String getCpeSubnet() { + return cpeSubnet; + } + + /** The IP address and mask of the local subnet used in policy based VPNs or static routes. */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleSubnet") + private final String oracleSubnet; + + /** + * The IP address and mask of the local subnet used in policy based VPNs or static routes. + * + * @return the value + */ + public String getOracleSubnet() { + return oracleSubnet; + } + + /** The IPSec tunnel's phase one status. */ + public enum TunnelSaStatus implements com.oracle.bmc.http.internal.BmcEnum { + Initiating("INITIATING"), + Listening("LISTENING"), + Up("UP"), + Down("DOWN"), + Error("ERROR"), + Unknown("UNKNOWN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (TunnelSaStatus v : TunnelSaStatus.values()) { + map.put(v.getValue(), v); + } + } + + TunnelSaStatus(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static TunnelSaStatus create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid TunnelSaStatus: " + key); + } + }; + /** The IPSec tunnel's phase one status. */ + @com.fasterxml.jackson.annotation.JsonProperty("tunnelSaStatus") + private final TunnelSaStatus tunnelSaStatus; + + /** + * The IPSec tunnel's phase one status. + * + * @return the value + */ + public TunnelSaStatus getTunnelSaStatus() { + return tunnelSaStatus; + } + + /** + * Current state if the IPSec tunnel status is not {@code UP}, including phase one and phase two + * details and a possible reason the tunnel is not {@code UP}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tunnelSaErrorInfo") + private final String tunnelSaErrorInfo; + + /** + * Current state if the IPSec tunnel status is not {@code UP}, including phase one and phase two + * details and a possible reason the tunnel is not {@code UP}. + * + * @return the value + */ + public String getTunnelSaErrorInfo() { + return tunnelSaErrorInfo; + } + + /** Time in the current state, in seconds. */ + @com.fasterxml.jackson.annotation.JsonProperty("time") + private final String time; + + /** + * Time in the current state, in seconds. + * + * @return the value + */ + public String getTime() { + return time; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("TunnelSecurityAssociationSummary("); + sb.append("super=").append(super.toString()); + sb.append("cpeSubnet=").append(String.valueOf(this.cpeSubnet)); + sb.append(", oracleSubnet=").append(String.valueOf(this.oracleSubnet)); + sb.append(", tunnelSaStatus=").append(String.valueOf(this.tunnelSaStatus)); + sb.append(", tunnelSaErrorInfo=").append(String.valueOf(this.tunnelSaErrorInfo)); + sb.append(", time=").append(String.valueOf(this.time)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof TunnelSecurityAssociationSummary)) { + return false; + } + + TunnelSecurityAssociationSummary other = (TunnelSecurityAssociationSummary) o; + return java.util.Objects.equals(this.cpeSubnet, other.cpeSubnet) + && java.util.Objects.equals(this.oracleSubnet, other.oracleSubnet) + && java.util.Objects.equals(this.tunnelSaStatus, other.tunnelSaStatus) + && java.util.Objects.equals(this.tunnelSaErrorInfo, other.tunnelSaErrorInfo) + && java.util.Objects.equals(this.time, other.time) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.cpeSubnet == null ? 43 : this.cpeSubnet.hashCode()); + result = (result * PRIME) + (this.oracleSubnet == null ? 43 : this.oracleSubnet.hashCode()); + result = + (result * PRIME) + + (this.tunnelSaStatus == null ? 43 : this.tunnelSaStatus.hashCode()); + result = + (result * PRIME) + + (this.tunnelSaErrorInfo == null ? 43 : this.tunnelSaErrorInfo.hashCode()); + result = (result * PRIME) + (this.time == null ? 43 : this.time.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelStatus.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelStatus.java index cb02b84f807..bf03d0a1eff 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelStatus.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/TunnelStatus.java @@ -5,7 +5,7 @@ package com.oracle.bmc.vnmonitoring.model; /** - * Specific connection details for an IPSec tunnel.
+ * Deprecated. For tunnel information, instead see {@link IPSecConnectionTunnel}.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -191,6 +191,7 @@ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { Up("UP"), Down("DOWN"), DownForMaintenance("DOWN_FOR_MAINTENANCE"), + PartialUp("PARTIAL_UP"), ; private final String value; diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateByoipRangeDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateByoipRangeDetails.java new file mode 100644 index 00000000000..cef5d3be384 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateByoipRangeDetails.java @@ -0,0 +1,234 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The information used to update a {@code ByoipRange} resource.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateByoipRangeDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateByoipRangeDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"definedTags", "displayName", "freeformTags"}) + public UpdateByoipRangeDetails( + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags) { + super(); + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateByoipRangeDetails build() { + UpdateByoipRangeDetails model = + new UpdateByoipRangeDetails( + this.definedTags, this.displayName, this.freeformTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateByoipRangeDetails model) { + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateByoipRangeDetails("); + sb.append("super=").append(super.toString()); + sb.append("definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateByoipRangeDetails)) { + return false; + } + + UpdateByoipRangeDetails other = (UpdateByoipRangeDetails) o; + return java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCaptureFilterDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCaptureFilterDetails.java new file mode 100644 index 00000000000..7f3a0a82228 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCaptureFilterDetails.java @@ -0,0 +1,285 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * These details can be included in a request to update a capture filter. A capture filter contains + * a set of rules governing what traffic a VTAP mirrors.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateCaptureFilterDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateCaptureFilterDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "definedTags", + "displayName", + "vtapCaptureFilterRules", + "freeformTags" + }) + public UpdateCaptureFilterDetails( + java.util.Map> definedTags, + String displayName, + java.util.List vtapCaptureFilterRules, + java.util.Map freeformTags) { + super(); + this.definedTags = definedTags; + this.displayName = displayName; + this.vtapCaptureFilterRules = vtapCaptureFilterRules; + this.freeformTags = freeformTags; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** The set of rules governing what traffic a VTAP mirrors. */ + @com.fasterxml.jackson.annotation.JsonProperty("vtapCaptureFilterRules") + private java.util.List vtapCaptureFilterRules; + + /** + * The set of rules governing what traffic a VTAP mirrors. + * + * @param vtapCaptureFilterRules the value to set + * @return this builder + */ + public Builder vtapCaptureFilterRules( + java.util.List vtapCaptureFilterRules) { + this.vtapCaptureFilterRules = vtapCaptureFilterRules; + this.__explicitlySet__.add("vtapCaptureFilterRules"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateCaptureFilterDetails build() { + UpdateCaptureFilterDetails model = + new UpdateCaptureFilterDetails( + this.definedTags, + this.displayName, + this.vtapCaptureFilterRules, + this.freeformTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateCaptureFilterDetails model) { + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("vtapCaptureFilterRules")) { + this.vtapCaptureFilterRules(model.getVtapCaptureFilterRules()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** The set of rules governing what traffic a VTAP mirrors. */ + @com.fasterxml.jackson.annotation.JsonProperty("vtapCaptureFilterRules") + private final java.util.List vtapCaptureFilterRules; + + /** + * The set of rules governing what traffic a VTAP mirrors. + * + * @return the value + */ + public java.util.List getVtapCaptureFilterRules() { + return vtapCaptureFilterRules; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateCaptureFilterDetails("); + sb.append("super=").append(super.toString()); + sb.append("definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", vtapCaptureFilterRules=").append(String.valueOf(this.vtapCaptureFilterRules)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateCaptureFilterDetails)) { + return false; + } + + UpdateCaptureFilterDetails other = (UpdateCaptureFilterDetails) o; + return java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals( + this.vtapCaptureFilterRules, other.vtapCaptureFilterRules) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = + (result * PRIME) + + (this.vtapCaptureFilterRules == null + ? 43 + : this.vtapCaptureFilterRules.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCpeDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCpeDetails.java index de51d00f99c..3ad7f055ea4 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCpeDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCpeDetails.java @@ -22,15 +22,22 @@ public final class UpdateCpeDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"definedTags", "displayName", "freeformTags"}) + @java.beans.ConstructorProperties({ + "definedTags", + "displayName", + "freeformTags", + "cpeDeviceShapeId" + }) public UpdateCpeDetails( java.util.Map> definedTags, String displayName, - java.util.Map freeformTags) { + java.util.Map freeformTags, + String cpeDeviceShapeId) { super(); this.definedTags = definedTags; this.displayName = displayName; this.freeformTags = freeformTags; + this.cpeDeviceShapeId = cpeDeviceShapeId; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -93,13 +100,60 @@ public Builder freeformTags(java.util.Map freeformTags) { this.__explicitlySet__.add("freeformTags"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the CPE device type. You can provide a value if you want to generate CPE device + * configuration content for IPSec connections that use this CPE. For a list of possible + * values, see {@link #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. + * + *

For more information about generating CPE device configuration content, see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeDeviceShapeId") + private String cpeDeviceShapeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the CPE device type. You can provide a value if you want to generate CPE device + * configuration content for IPSec connections that use this CPE. For a list of possible + * values, see {@link #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. + * + *

For more information about generating CPE device configuration content, see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} + * + * @param cpeDeviceShapeId the value to set + * @return this builder + */ + public Builder cpeDeviceShapeId(String cpeDeviceShapeId) { + this.cpeDeviceShapeId = cpeDeviceShapeId; + this.__explicitlySet__.add("cpeDeviceShapeId"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public UpdateCpeDetails build() { UpdateCpeDetails model = - new UpdateCpeDetails(this.definedTags, this.displayName, this.freeformTags); + new UpdateCpeDetails( + this.definedTags, + this.displayName, + this.freeformTags, + this.cpeDeviceShapeId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -117,6 +171,9 @@ public Builder copy(UpdateCpeDetails model) { if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } + if (model.wasPropertyExplicitlySet("cpeDeviceShapeId")) { + this.cpeDeviceShapeId(model.getCpeDeviceShapeId()); + } return this; } } @@ -181,6 +238,47 @@ public java.util.Map getFreeformTags() { return freeformTags; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the CPE device type. You can provide a value if you want to generate CPE device configuration + * content for IPSec connections that use this CPE. For a list of possible values, see {@link + * #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. + * + *

For more information about generating CPE device configuration content, see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeDeviceShapeId") + private final String cpeDeviceShapeId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the CPE device type. You can provide a value if you want to generate CPE device configuration + * content for IPSec connections that use this CPE. For a list of possible values, see {@link + * #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. + * + *

For more information about generating CPE device configuration content, see: + * + *

{@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) + * getCpeDeviceConfigContent} * {@link + * #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) + * getIpsecCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) + * getTunnelCpeDeviceConfigContent} * {@link + * #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} + * + * @return the value + */ + public String getCpeDeviceShapeId() { + return cpeDeviceShapeId; + } + @Override public String toString() { return this.toString(true); @@ -199,6 +297,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", cpeDeviceShapeId=").append(String.valueOf(this.cpeDeviceShapeId)); sb.append(")"); return sb.toString(); } @@ -216,6 +315,7 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.cpeDeviceShapeId, other.cpeDeviceShapeId) && super.equals(other); } @@ -226,6 +326,9 @@ public int hashCode() { result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = + (result * PRIME) + + (this.cpeDeviceShapeId == null ? 43 : this.cpeDeviceShapeId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCrossConnectDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCrossConnectDetails.java index e2e5ba4747f..9aa6183a2f0 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCrossConnectDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCrossConnectDetails.java @@ -23,15 +23,52 @@ public final class UpdateCrossConnectDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"displayName", "isActive"}) - public UpdateCrossConnectDetails(String displayName, Boolean isActive) { + @java.beans.ConstructorProperties({ + "definedTags", + "displayName", + "freeformTags", + "isActive", + "customerReferenceName", + "macsecProperties" + }) + public UpdateCrossConnectDetails( + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + Boolean isActive, + String customerReferenceName, + UpdateMacsecProperties macsecProperties) { super(); + this.definedTags = definedTags; this.displayName = displayName; + this.freeformTags = freeformTags; this.isActive = isActive; + this.customerReferenceName = customerReferenceName; + this.macsecProperties = macsecProperties; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -51,6 +88,25 @@ public Builder displayName(String displayName) { this.__explicitlySet__.add("displayName"); return this; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } /** * Set to true to activate the cross-connect. You activate it after the physical cabling is * complete, and you've confirmed the cross-connect's light levels are good and your side of @@ -78,13 +134,45 @@ public Builder isActive(Boolean isActive) { this.__explicitlySet__.add("isActive"); return this; } + /** + * A reference name or identifier for the physical fiber connection this cross-connect uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerReferenceName") + private String customerReferenceName; + + /** + * A reference name or identifier for the physical fiber connection this cross-connect uses. + * + * @param customerReferenceName the value to set + * @return this builder + */ + public Builder customerReferenceName(String customerReferenceName) { + this.customerReferenceName = customerReferenceName; + this.__explicitlySet__.add("customerReferenceName"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("macsecProperties") + private UpdateMacsecProperties macsecProperties; + + public Builder macsecProperties(UpdateMacsecProperties macsecProperties) { + this.macsecProperties = macsecProperties; + this.__explicitlySet__.add("macsecProperties"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public UpdateCrossConnectDetails build() { UpdateCrossConnectDetails model = - new UpdateCrossConnectDetails(this.displayName, this.isActive); + new UpdateCrossConnectDetails( + this.definedTags, + this.displayName, + this.freeformTags, + this.isActive, + this.customerReferenceName, + this.macsecProperties); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -93,12 +181,24 @@ public UpdateCrossConnectDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(UpdateCrossConnectDetails model) { + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } if (model.wasPropertyExplicitlySet("isActive")) { this.isActive(model.getIsActive()); } + if (model.wasPropertyExplicitlySet("customerReferenceName")) { + this.customerReferenceName(model.getCustomerReferenceName()); + } + if (model.wasPropertyExplicitlySet("macsecProperties")) { + this.macsecProperties(model.getMacsecProperties()); + } return this; } } @@ -112,6 +212,23 @@ public Builder toBuilder() { return new Builder().copy(this); } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -129,6 +246,23 @@ public String getDisplayName() { return displayName; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + /** * Set to true to activate the cross-connect. You activate it after the physical cabling is * complete, and you've confirmed the cross-connect's light levels are good and your side of the @@ -152,6 +286,26 @@ public Boolean getIsActive() { return isActive; } + /** A reference name or identifier for the physical fiber connection this cross-connect uses. */ + @com.fasterxml.jackson.annotation.JsonProperty("customerReferenceName") + private final String customerReferenceName; + + /** + * A reference name or identifier for the physical fiber connection this cross-connect uses. + * + * @return the value + */ + public String getCustomerReferenceName() { + return customerReferenceName; + } + + @com.fasterxml.jackson.annotation.JsonProperty("macsecProperties") + private final UpdateMacsecProperties macsecProperties; + + public UpdateMacsecProperties getMacsecProperties() { + return macsecProperties; + } + @Override public String toString() { return this.toString(true); @@ -167,8 +321,12 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("UpdateCrossConnectDetails("); sb.append("super=").append(super.toString()); - sb.append("displayName=").append(String.valueOf(this.displayName)); + sb.append("definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", isActive=").append(String.valueOf(this.isActive)); + sb.append(", customerReferenceName=").append(String.valueOf(this.customerReferenceName)); + sb.append(", macsecProperties=").append(String.valueOf(this.macsecProperties)); sb.append(")"); return sb.toString(); } @@ -183,8 +341,12 @@ public boolean equals(Object o) { } UpdateCrossConnectDetails other = (UpdateCrossConnectDetails) o; - return java.util.Objects.equals(this.displayName, other.displayName) + return java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.isActive, other.isActive) + && java.util.Objects.equals(this.customerReferenceName, other.customerReferenceName) + && java.util.Objects.equals(this.macsecProperties, other.macsecProperties) && super.equals(other); } @@ -192,8 +354,18 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = 1; + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.isActive == null ? 43 : this.isActive.hashCode()); + result = + (result * PRIME) + + (this.customerReferenceName == null + ? 43 + : this.customerReferenceName.hashCode()); + result = + (result * PRIME) + + (this.macsecProperties == null ? 43 : this.macsecProperties.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCrossConnectGroupDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCrossConnectGroupDetails.java index 2516761259f..1d8f6af9f6c 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCrossConnectGroupDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateCrossConnectGroupDetails.java @@ -23,14 +23,49 @@ public final class UpdateCrossConnectGroupDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"displayName"}) - public UpdateCrossConnectGroupDetails(String displayName) { + @java.beans.ConstructorProperties({ + "definedTags", + "displayName", + "customerReferenceName", + "freeformTags", + "macsecProperties" + }) + public UpdateCrossConnectGroupDetails( + java.util.Map> definedTags, + String displayName, + String customerReferenceName, + java.util.Map freeformTags, + UpdateMacsecProperties macsecProperties) { super(); + this.definedTags = definedTags; this.displayName = displayName; + this.customerReferenceName = customerReferenceName; + this.freeformTags = freeformTags; + this.macsecProperties = macsecProperties; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -50,13 +85,65 @@ public Builder displayName(String displayName) { this.__explicitlySet__.add("displayName"); return this; } + /** + * A reference name or identifier for the physical fiber connection this cross-connect group + * uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerReferenceName") + private String customerReferenceName; + + /** + * A reference name or identifier for the physical fiber connection this cross-connect group + * uses. + * + * @param customerReferenceName the value to set + * @return this builder + */ + public Builder customerReferenceName(String customerReferenceName) { + this.customerReferenceName = customerReferenceName; + this.__explicitlySet__.add("customerReferenceName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("macsecProperties") + private UpdateMacsecProperties macsecProperties; + + public Builder macsecProperties(UpdateMacsecProperties macsecProperties) { + this.macsecProperties = macsecProperties; + this.__explicitlySet__.add("macsecProperties"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public UpdateCrossConnectGroupDetails build() { UpdateCrossConnectGroupDetails model = - new UpdateCrossConnectGroupDetails(this.displayName); + new UpdateCrossConnectGroupDetails( + this.definedTags, + this.displayName, + this.customerReferenceName, + this.freeformTags, + this.macsecProperties); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -65,9 +152,21 @@ public UpdateCrossConnectGroupDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(UpdateCrossConnectGroupDetails model) { + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } + if (model.wasPropertyExplicitlySet("customerReferenceName")) { + this.customerReferenceName(model.getCustomerReferenceName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("macsecProperties")) { + this.macsecProperties(model.getMacsecProperties()); + } return this; } } @@ -81,6 +180,23 @@ public Builder toBuilder() { return new Builder().copy(this); } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -98,6 +214,47 @@ public String getDisplayName() { return displayName; } + /** + * A reference name or identifier for the physical fiber connection this cross-connect group + * uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerReferenceName") + private final String customerReferenceName; + + /** + * A reference name or identifier for the physical fiber connection this cross-connect group + * uses. + * + * @return the value + */ + public String getCustomerReferenceName() { + return customerReferenceName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + @com.fasterxml.jackson.annotation.JsonProperty("macsecProperties") + private final UpdateMacsecProperties macsecProperties; + + public UpdateMacsecProperties getMacsecProperties() { + return macsecProperties; + } + @Override public String toString() { return this.toString(true); @@ -113,7 +270,11 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("UpdateCrossConnectGroupDetails("); sb.append("super=").append(super.toString()); - sb.append("displayName=").append(String.valueOf(this.displayName)); + sb.append("definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", customerReferenceName=").append(String.valueOf(this.customerReferenceName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", macsecProperties=").append(String.valueOf(this.macsecProperties)); sb.append(")"); return sb.toString(); } @@ -128,14 +289,29 @@ public boolean equals(Object o) { } UpdateCrossConnectGroupDetails other = (UpdateCrossConnectGroupDetails) o; - return java.util.Objects.equals(this.displayName, other.displayName) && super.equals(other); + return java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.customerReferenceName, other.customerReferenceName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.macsecProperties, other.macsecProperties) + && super.equals(other); } @Override public int hashCode() { final int PRIME = 59; int result = 1; + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = + (result * PRIME) + + (this.customerReferenceName == null + ? 43 + : this.customerReferenceName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = + (result * PRIME) + + (this.macsecProperties == null ? 43 : this.macsecProperties.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateDhcpDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateDhcpDetails.java index 6fd35fef494..08633fd0d46 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateDhcpDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateDhcpDetails.java @@ -23,17 +23,25 @@ public final class UpdateDhcpDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"definedTags", "displayName", "freeformTags", "options"}) + @java.beans.ConstructorProperties({ + "definedTags", + "displayName", + "freeformTags", + "options", + "domainNameType" + }) public UpdateDhcpDetails( java.util.Map> definedTags, String displayName, java.util.Map freeformTags, - java.util.List options) { + java.util.List options, + DomainNameType domainNameType) { super(); this.definedTags = definedTags; this.displayName = displayName; this.freeformTags = freeformTags; this.options = options; + this.domainNameType = domainNameType; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -105,6 +113,21 @@ public Builder options(java.util.List options) { this.__explicitlySet__.add("options"); return this; } + /** The search domain name type of DHCP options */ + @com.fasterxml.jackson.annotation.JsonProperty("domainNameType") + private DomainNameType domainNameType; + + /** + * The search domain name type of DHCP options + * + * @param domainNameType the value to set + * @return this builder + */ + public Builder domainNameType(DomainNameType domainNameType) { + this.domainNameType = domainNameType; + this.__explicitlySet__.add("domainNameType"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -112,7 +135,11 @@ public Builder options(java.util.List options) { public UpdateDhcpDetails build() { UpdateDhcpDetails model = new UpdateDhcpDetails( - this.definedTags, this.displayName, this.freeformTags, this.options); + this.definedTags, + this.displayName, + this.freeformTags, + this.options, + this.domainNameType); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -133,6 +160,9 @@ public Builder copy(UpdateDhcpDetails model) { if (model.wasPropertyExplicitlySet("options")) { this.options(model.getOptions()); } + if (model.wasPropertyExplicitlySet("domainNameType")) { + this.domainNameType(model.getDomainNameType()); + } return this; } } @@ -204,6 +234,53 @@ public java.util.List getOptions() { return options; } + /** The search domain name type of DHCP options */ + public enum DomainNameType implements com.oracle.bmc.http.internal.BmcEnum { + SubnetDomain("SUBNET_DOMAIN"), + VcnDomain("VCN_DOMAIN"), + CustomDomain("CUSTOM_DOMAIN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (DomainNameType v : DomainNameType.values()) { + map.put(v.getValue(), v); + } + } + + DomainNameType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static DomainNameType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid DomainNameType: " + key); + } + }; + /** The search domain name type of DHCP options */ + @com.fasterxml.jackson.annotation.JsonProperty("domainNameType") + private final DomainNameType domainNameType; + + /** + * The search domain name type of DHCP options + * + * @return the value + */ + public DomainNameType getDomainNameType() { + return domainNameType; + } + @Override public String toString() { return this.toString(true); @@ -223,6 +300,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", options=").append(String.valueOf(this.options)); + sb.append(", domainNameType=").append(String.valueOf(this.domainNameType)); sb.append(")"); return sb.toString(); } @@ -241,6 +319,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.options, other.options) + && java.util.Objects.equals(this.domainNameType, other.domainNameType) && super.equals(other); } @@ -252,6 +331,9 @@ public int hashCode() { result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.options == null ? 43 : this.options.hashCode()); + result = + (result * PRIME) + + (this.domainNameType == null ? 43 : this.domainNameType.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateDrgAttachmentDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateDrgAttachmentDetails.java index 02c27b836dc..eb30ed76bb9 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateDrgAttachmentDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateDrgAttachmentDetails.java @@ -29,7 +29,8 @@ public final class UpdateDrgAttachmentDetails "networkDetails", "definedTags", "freeformTags", - "exportDrgRouteDistributionId" + "exportDrgRouteDistributionId", + "routeTableId" }) public UpdateDrgAttachmentDetails( String displayName, @@ -37,7 +38,8 @@ public UpdateDrgAttachmentDetails( DrgAttachmentNetworkUpdateDetails networkDetails, java.util.Map> definedTags, java.util.Map freeformTags, - String exportDrgRouteDistributionId) { + String exportDrgRouteDistributionId, + String routeTableId) { super(); this.displayName = displayName; this.drgRouteTableId = drgRouteTableId; @@ -45,6 +47,7 @@ public UpdateDrgAttachmentDetails( this.definedTags = definedTags; this.freeformTags = freeformTags; this.exportDrgRouteDistributionId = exportDrgRouteDistributionId; + this.routeTableId = routeTableId; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -168,6 +171,45 @@ public Builder exportDrgRouteDistributionId(String exportDrgRouteDistributionId) this.__explicitlySet__.add("exportDrgRouteDistributionId"); return this; } + /** + * This is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table that is used to route the traffic as it enters a VCN through this + * attachment. + * + *

For information about why you would associate a route table with a DRG attachment, + * see: + * + *

[Transit Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * This is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table that is used to route the traffic as it enters a VCN through this + * attachment. + * + *

For information about why you would associate a route table with a DRG attachment, + * see: + * + *

[Transit Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -180,7 +222,8 @@ public UpdateDrgAttachmentDetails build() { this.networkDetails, this.definedTags, this.freeformTags, - this.exportDrgRouteDistributionId); + this.exportDrgRouteDistributionId, + this.routeTableId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -207,6 +250,9 @@ public Builder copy(UpdateDrgAttachmentDetails model) { if (model.wasPropertyExplicitlySet("exportDrgRouteDistributionId")) { this.exportDrgRouteDistributionId(model.getExportDrgRouteDistributionId()); } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } return this; } } @@ -326,6 +372,39 @@ public String getExportDrgRouteDistributionId() { return exportDrgRouteDistributionId; } + /** + * This is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * route table that is used to route the traffic as it enters a VCN through this attachment. + * + *

For information about why you would associate a route table with a DRG attachment, see: + * + *

[Transit Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * This is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * route table that is used to route the traffic as it enters a VCN through this attachment. + * + *

For information about why you would associate a route table with a DRG attachment, see: + * + *

[Transit Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * + * [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + @Override public String toString() { return this.toString(true); @@ -348,6 +427,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", exportDrgRouteDistributionId=") .append(String.valueOf(this.exportDrgRouteDistributionId)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(")"); return sb.toString(); } @@ -369,6 +449,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals( this.exportDrgRouteDistributionId, other.exportDrgRouteDistributionId) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) && super.equals(other); } @@ -390,6 +471,7 @@ public int hashCode() { + (this.exportDrgRouteDistributionId == null ? 43 : this.exportDrgRouteDistributionId.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateDrgRouteRuleDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateDrgRouteRuleDetails.java index add4f4f1d7e..cfe2b3969bf 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateDrgRouteRuleDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateDrgRouteRuleDetails.java @@ -82,17 +82,15 @@ public Builder destination(String destination) { return this; } /** - * Type of destination for the rule. Required if {@code direction} = {@code EGRESS}. Allowed - * values: * {@code CIDR_BLOCK}: If the rule's {@code destination} is an IP address range in - * CIDR notation. + * Type of destination for the rule. Allowed values: * {@code CIDR_BLOCK}: If the rule's + * {@code destination} is an IP address range in CIDR notation. */ @com.fasterxml.jackson.annotation.JsonProperty("destinationType") private DestinationType destinationType; /** - * Type of destination for the rule. Required if {@code direction} = {@code EGRESS}. Allowed - * values: * {@code CIDR_BLOCK}: If the rule's {@code destination} is an IP address range in - * CIDR notation. + * Type of destination for the rule. Allowed values: * {@code CIDR_BLOCK}: If the rule's + * {@code destination} is an IP address range in CIDR notation. * * @param destinationType the value to set * @return this builder @@ -202,9 +200,8 @@ public String getDestination() { } /** - * Type of destination for the rule. Required if {@code direction} = {@code EGRESS}. Allowed - * values: * {@code CIDR_BLOCK}: If the rule's {@code destination} is an IP address range in - * CIDR notation. + * Type of destination for the rule. Allowed values: * {@code CIDR_BLOCK}: If the rule's {@code + * destination} is an IP address range in CIDR notation. */ public enum DestinationType implements com.oracle.bmc.http.internal.BmcEnum { CidrBlock("CIDR_BLOCK"), @@ -238,17 +235,15 @@ public static DestinationType create(String key) { } }; /** - * Type of destination for the rule. Required if {@code direction} = {@code EGRESS}. Allowed - * values: * {@code CIDR_BLOCK}: If the rule's {@code destination} is an IP address range in - * CIDR notation. + * Type of destination for the rule. Allowed values: * {@code CIDR_BLOCK}: If the rule's {@code + * destination} is an IP address range in CIDR notation. */ @com.fasterxml.jackson.annotation.JsonProperty("destinationType") private final DestinationType destinationType; /** - * Type of destination for the rule. Required if {@code direction} = {@code EGRESS}. Allowed - * values: * {@code CIDR_BLOCK}: If the rule's {@code destination} is an IP address range in - * CIDR notation. + * Type of destination for the rule. Allowed values: * {@code CIDR_BLOCK}: If the rule's {@code + * destination} is an IP address range in CIDR notation. * * @return the value */ diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecConnectionDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecConnectionDetails.java index 0dc0b874755..3080a140fe1 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecConnectionDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecConnectionDetails.java @@ -23,15 +23,28 @@ public final class UpdateIPSecConnectionDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"definedTags", "displayName", "freeformTags"}) + @java.beans.ConstructorProperties({ + "definedTags", + "displayName", + "freeformTags", + "cpeLocalIdentifier", + "cpeLocalIdentifierType", + "staticRoutes" + }) public UpdateIPSecConnectionDetails( java.util.Map> definedTags, String displayName, - java.util.Map freeformTags) { + java.util.Map freeformTags, + String cpeLocalIdentifier, + CpeLocalIdentifierType cpeLocalIdentifierType, + java.util.List staticRoutes) { super(); this.definedTags = definedTags; this.displayName = displayName; this.freeformTags = freeformTags; + this.cpeLocalIdentifier = cpeLocalIdentifier; + this.cpeLocalIdentifierType = cpeLocalIdentifierType; + this.staticRoutes = staticRoutes; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -94,6 +107,93 @@ public Builder freeformTags(java.util.Map freeformTags) { this.__explicitlySet__.add("freeformTags"); return this; } + /** + * Your identifier for your CPE device. Can be either an IP address or a hostname + * (specifically, the fully qualified domain name (FQDN)). The type of identifier you + * provide here must correspond to the value for {@code cpeLocalIdentifierType}. + * + *

For information about why you'd provide this value, see [If Your CPE Is Behind a NAT + * Device](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + * + *

Example IP address: {@code 10.0.3.3} + * + *

Example hostname: {@code cpe.example.com} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeLocalIdentifier") + private String cpeLocalIdentifier; + + /** + * Your identifier for your CPE device. Can be either an IP address or a hostname + * (specifically, the fully qualified domain name (FQDN)). The type of identifier you + * provide here must correspond to the value for {@code cpeLocalIdentifierType}. + * + *

For information about why you'd provide this value, see [If Your CPE Is Behind a NAT + * Device](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + * + *

Example IP address: {@code 10.0.3.3} + * + *

Example hostname: {@code cpe.example.com} + * + * @param cpeLocalIdentifier the value to set + * @return this builder + */ + public Builder cpeLocalIdentifier(String cpeLocalIdentifier) { + this.cpeLocalIdentifier = cpeLocalIdentifier; + this.__explicitlySet__.add("cpeLocalIdentifier"); + return this; + } + /** + * The type of identifier for your CPE device. The value you provide here must correspond to + * the value for {@code cpeLocalIdentifier}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeLocalIdentifierType") + private CpeLocalIdentifierType cpeLocalIdentifierType; + + /** + * The type of identifier for your CPE device. The value you provide here must correspond to + * the value for {@code cpeLocalIdentifier}. + * + * @param cpeLocalIdentifierType the value to set + * @return this builder + */ + public Builder cpeLocalIdentifierType(CpeLocalIdentifierType cpeLocalIdentifierType) { + this.cpeLocalIdentifierType = cpeLocalIdentifierType; + this.__explicitlySet__.add("cpeLocalIdentifierType"); + return this; + } + /** + * Static routes to the CPE. If you provide this attribute, it replaces the entire current + * set of static routes. A static route's CIDR must not be a multicast address or class E + * address. The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all + * commercial and government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 10.0.1.0/24} + * + *

Example: {@code 2001:db8::/32} + */ + @com.fasterxml.jackson.annotation.JsonProperty("staticRoutes") + private java.util.List staticRoutes; + + /** + * Static routes to the CPE. If you provide this attribute, it replaces the entire current + * set of static routes. A static route's CIDR must not be a multicast address or class E + * address. The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all + * commercial and government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 10.0.1.0/24} + * + *

Example: {@code 2001:db8::/32} + * + * @param staticRoutes the value to set + * @return this builder + */ + public Builder staticRoutes(java.util.List staticRoutes) { + this.staticRoutes = staticRoutes; + this.__explicitlySet__.add("staticRoutes"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -101,7 +201,12 @@ public Builder freeformTags(java.util.Map freeformTags) { public UpdateIPSecConnectionDetails build() { UpdateIPSecConnectionDetails model = new UpdateIPSecConnectionDetails( - this.definedTags, this.displayName, this.freeformTags); + this.definedTags, + this.displayName, + this.freeformTags, + this.cpeLocalIdentifier, + this.cpeLocalIdentifierType, + this.staticRoutes); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -119,6 +224,15 @@ public Builder copy(UpdateIPSecConnectionDetails model) { if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } + if (model.wasPropertyExplicitlySet("cpeLocalIdentifier")) { + this.cpeLocalIdentifier(model.getCpeLocalIdentifier()); + } + if (model.wasPropertyExplicitlySet("cpeLocalIdentifierType")) { + this.cpeLocalIdentifierType(model.getCpeLocalIdentifierType()); + } + if (model.wasPropertyExplicitlySet("staticRoutes")) { + this.staticRoutes(model.getStaticRoutes()); + } return this; } } @@ -183,6 +297,123 @@ public java.util.Map getFreeformTags() { return freeformTags; } + /** + * Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, + * the fully qualified domain name (FQDN)). The type of identifier you provide here must + * correspond to the value for {@code cpeLocalIdentifierType}. + * + *

For information about why you'd provide this value, see [If Your CPE Is Behind a NAT + * Device](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + * + *

Example IP address: {@code 10.0.3.3} + * + *

Example hostname: {@code cpe.example.com} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeLocalIdentifier") + private final String cpeLocalIdentifier; + + /** + * Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, + * the fully qualified domain name (FQDN)). The type of identifier you provide here must + * correspond to the value for {@code cpeLocalIdentifierType}. + * + *

For information about why you'd provide this value, see [If Your CPE Is Behind a NAT + * Device](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + * + *

Example IP address: {@code 10.0.3.3} + * + *

Example hostname: {@code cpe.example.com} + * + * @return the value + */ + public String getCpeLocalIdentifier() { + return cpeLocalIdentifier; + } + + /** + * The type of identifier for your CPE device. The value you provide here must correspond to the + * value for {@code cpeLocalIdentifier}. + */ + public enum CpeLocalIdentifierType implements com.oracle.bmc.http.internal.BmcEnum { + IpAddress("IP_ADDRESS"), + Hostname("HOSTNAME"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (CpeLocalIdentifierType v : CpeLocalIdentifierType.values()) { + map.put(v.getValue(), v); + } + } + + CpeLocalIdentifierType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static CpeLocalIdentifierType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid CpeLocalIdentifierType: " + key); + } + }; + /** + * The type of identifier for your CPE device. The value you provide here must correspond to the + * value for {@code cpeLocalIdentifier}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeLocalIdentifierType") + private final CpeLocalIdentifierType cpeLocalIdentifierType; + + /** + * The type of identifier for your CPE device. The value you provide here must correspond to the + * value for {@code cpeLocalIdentifier}. + * + * @return the value + */ + public CpeLocalIdentifierType getCpeLocalIdentifierType() { + return cpeLocalIdentifierType; + } + + /** + * Static routes to the CPE. If you provide this attribute, it replaces the entire current set + * of static routes. A static route's CIDR must not be a multicast address or class E address. + * The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and + * government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 10.0.1.0/24} + * + *

Example: {@code 2001:db8::/32} + */ + @com.fasterxml.jackson.annotation.JsonProperty("staticRoutes") + private final java.util.List staticRoutes; + + /** + * Static routes to the CPE. If you provide this attribute, it replaces the entire current set + * of static routes. A static route's CIDR must not be a multicast address or class E address. + * The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and + * government regions. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * + *

Example: {@code 10.0.1.0/24} + * + *

Example: {@code 2001:db8::/32} + * + * @return the value + */ + public java.util.List getStaticRoutes() { + return staticRoutes; + } + @Override public String toString() { return this.toString(true); @@ -201,6 +432,9 @@ public String toString(boolean includeByteArrayContents) { sb.append("definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", cpeLocalIdentifier=").append(String.valueOf(this.cpeLocalIdentifier)); + sb.append(", cpeLocalIdentifierType=").append(String.valueOf(this.cpeLocalIdentifierType)); + sb.append(", staticRoutes=").append(String.valueOf(this.staticRoutes)); sb.append(")"); return sb.toString(); } @@ -218,6 +452,10 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.cpeLocalIdentifier, other.cpeLocalIdentifier) + && java.util.Objects.equals( + this.cpeLocalIdentifierType, other.cpeLocalIdentifierType) + && java.util.Objects.equals(this.staticRoutes, other.staticRoutes) && super.equals(other); } @@ -228,6 +466,17 @@ public int hashCode() { result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = + (result * PRIME) + + (this.cpeLocalIdentifier == null + ? 43 + : this.cpeLocalIdentifier.hashCode()); + result = + (result * PRIME) + + (this.cpeLocalIdentifierType == null + ? 43 + : this.cpeLocalIdentifierType.hashCode()); + result = (result * PRIME) + (this.staticRoutes == null ? 43 : this.staticRoutes.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecConnectionTunnelDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecConnectionTunnelDetails.java new file mode 100644 index 00000000000..ae3f7183a89 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecConnectionTunnelDetails.java @@ -0,0 +1,654 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateIPSecConnectionTunnelDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateIPSecConnectionTunnelDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "displayName", + "routing", + "ikeVersion", + "bgpSessionConfig", + "oracleInitiation", + "natTranslationEnabled", + "phaseOneConfig", + "phaseTwoConfig", + "dpdConfig", + "encryptionDomainConfig" + }) + public UpdateIPSecConnectionTunnelDetails( + String displayName, + Routing routing, + IkeVersion ikeVersion, + UpdateIPSecTunnelBgpSessionDetails bgpSessionConfig, + OracleInitiation oracleInitiation, + NatTranslationEnabled natTranslationEnabled, + PhaseOneConfigDetails phaseOneConfig, + PhaseTwoConfigDetails phaseTwoConfig, + DpdConfig dpdConfig, + UpdateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig) { + super(); + this.displayName = displayName; + this.routing = routing; + this.ikeVersion = ikeVersion; + this.bgpSessionConfig = bgpSessionConfig; + this.oracleInitiation = oracleInitiation; + this.natTranslationEnabled = natTranslationEnabled; + this.phaseOneConfig = phaseOneConfig; + this.phaseTwoConfig = phaseTwoConfig; + this.dpdConfig = dpdConfig; + this.encryptionDomainConfig = encryptionDomainConfig; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * The type of routing to use for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routing") + private Routing routing; + + /** + * The type of routing to use for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + * + * @param routing the value to set + * @return this builder + */ + public Builder routing(Routing routing) { + this.routing = routing; + this.__explicitlySet__.add("routing"); + return this; + } + /** Internet Key Exchange protocol version. */ + @com.fasterxml.jackson.annotation.JsonProperty("ikeVersion") + private IkeVersion ikeVersion; + + /** + * Internet Key Exchange protocol version. + * + * @param ikeVersion the value to set + * @return this builder + */ + public Builder ikeVersion(IkeVersion ikeVersion) { + this.ikeVersion = ikeVersion; + this.__explicitlySet__.add("ikeVersion"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("bgpSessionConfig") + private UpdateIPSecTunnelBgpSessionDetails bgpSessionConfig; + + public Builder bgpSessionConfig(UpdateIPSecTunnelBgpSessionDetails bgpSessionConfig) { + this.bgpSessionConfig = bgpSessionConfig; + this.__explicitlySet__.add("bgpSessionConfig"); + return this; + } + /** + * Indicates whether the Oracle end of the IPSec connection is able to initiate starting up + * the IPSec tunnel. + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInitiation") + private OracleInitiation oracleInitiation; + + /** + * Indicates whether the Oracle end of the IPSec connection is able to initiate starting up + * the IPSec tunnel. + * + * @param oracleInitiation the value to set + * @return this builder + */ + public Builder oracleInitiation(OracleInitiation oracleInitiation) { + this.oracleInitiation = oracleInitiation; + this.__explicitlySet__.add("oracleInitiation"); + return this; + } + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination + * port set to 500, and when it detects that the port used to forward packets has changed + * (most likely because a NAT device is between the CPE device and the Oracle VPN headend) + * it will try to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even + * if it senses there may be a NAT device in use. + */ + @com.fasterxml.jackson.annotation.JsonProperty("natTranslationEnabled") + private NatTranslationEnabled natTranslationEnabled; + + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination + * port set to 500, and when it detects that the port used to forward packets has changed + * (most likely because a NAT device is between the CPE device and the Oracle VPN headend) + * it will try to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even + * if it senses there may be a NAT device in use. + * + * @param natTranslationEnabled the value to set + * @return this builder + */ + public Builder natTranslationEnabled(NatTranslationEnabled natTranslationEnabled) { + this.natTranslationEnabled = natTranslationEnabled; + this.__explicitlySet__.add("natTranslationEnabled"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("phaseOneConfig") + private PhaseOneConfigDetails phaseOneConfig; + + public Builder phaseOneConfig(PhaseOneConfigDetails phaseOneConfig) { + this.phaseOneConfig = phaseOneConfig; + this.__explicitlySet__.add("phaseOneConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("phaseTwoConfig") + private PhaseTwoConfigDetails phaseTwoConfig; + + public Builder phaseTwoConfig(PhaseTwoConfigDetails phaseTwoConfig) { + this.phaseTwoConfig = phaseTwoConfig; + this.__explicitlySet__.add("phaseTwoConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dpdConfig") + private DpdConfig dpdConfig; + + public Builder dpdConfig(DpdConfig dpdConfig) { + this.dpdConfig = dpdConfig; + this.__explicitlySet__.add("dpdConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("encryptionDomainConfig") + private UpdateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig; + + public Builder encryptionDomainConfig( + UpdateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig) { + this.encryptionDomainConfig = encryptionDomainConfig; + this.__explicitlySet__.add("encryptionDomainConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateIPSecConnectionTunnelDetails build() { + UpdateIPSecConnectionTunnelDetails model = + new UpdateIPSecConnectionTunnelDetails( + this.displayName, + this.routing, + this.ikeVersion, + this.bgpSessionConfig, + this.oracleInitiation, + this.natTranslationEnabled, + this.phaseOneConfig, + this.phaseTwoConfig, + this.dpdConfig, + this.encryptionDomainConfig); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateIPSecConnectionTunnelDetails model) { + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("routing")) { + this.routing(model.getRouting()); + } + if (model.wasPropertyExplicitlySet("ikeVersion")) { + this.ikeVersion(model.getIkeVersion()); + } + if (model.wasPropertyExplicitlySet("bgpSessionConfig")) { + this.bgpSessionConfig(model.getBgpSessionConfig()); + } + if (model.wasPropertyExplicitlySet("oracleInitiation")) { + this.oracleInitiation(model.getOracleInitiation()); + } + if (model.wasPropertyExplicitlySet("natTranslationEnabled")) { + this.natTranslationEnabled(model.getNatTranslationEnabled()); + } + if (model.wasPropertyExplicitlySet("phaseOneConfig")) { + this.phaseOneConfig(model.getPhaseOneConfig()); + } + if (model.wasPropertyExplicitlySet("phaseTwoConfig")) { + this.phaseTwoConfig(model.getPhaseTwoConfig()); + } + if (model.wasPropertyExplicitlySet("dpdConfig")) { + this.dpdConfig(model.getDpdConfig()); + } + if (model.wasPropertyExplicitlySet("encryptionDomainConfig")) { + this.encryptionDomainConfig(model.getEncryptionDomainConfig()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * The type of routing to use for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + */ + public enum Routing implements com.oracle.bmc.http.internal.BmcEnum { + Bgp("BGP"), + Static("STATIC"), + Policy("POLICY"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (Routing v : Routing.values()) { + map.put(v.getValue(), v); + } + } + + Routing(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static Routing create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid Routing: " + key); + } + }; + /** + * The type of routing to use for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routing") + private final Routing routing; + + /** + * The type of routing to use for this tunnel (BGP dynamic routing, static routing, or + * policy-based routing). + * + * @return the value + */ + public Routing getRouting() { + return routing; + } + + /** Internet Key Exchange protocol version. */ + public enum IkeVersion implements com.oracle.bmc.http.internal.BmcEnum { + V1("V1"), + V2("V2"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (IkeVersion v : IkeVersion.values()) { + map.put(v.getValue(), v); + } + } + + IkeVersion(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static IkeVersion create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid IkeVersion: " + key); + } + }; + /** Internet Key Exchange protocol version. */ + @com.fasterxml.jackson.annotation.JsonProperty("ikeVersion") + private final IkeVersion ikeVersion; + + /** + * Internet Key Exchange protocol version. + * + * @return the value + */ + public IkeVersion getIkeVersion() { + return ikeVersion; + } + + @com.fasterxml.jackson.annotation.JsonProperty("bgpSessionConfig") + private final UpdateIPSecTunnelBgpSessionDetails bgpSessionConfig; + + public UpdateIPSecTunnelBgpSessionDetails getBgpSessionConfig() { + return bgpSessionConfig; + } + + /** + * Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the + * IPSec tunnel. + */ + public enum OracleInitiation implements com.oracle.bmc.http.internal.BmcEnum { + InitiatorOrResponder("INITIATOR_OR_RESPONDER"), + ResponderOnly("RESPONDER_ONLY"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (OracleInitiation v : OracleInitiation.values()) { + map.put(v.getValue(), v); + } + } + + OracleInitiation(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static OracleInitiation create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid OracleInitiation: " + key); + } + }; + /** + * Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the + * IPSec tunnel. + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInitiation") + private final OracleInitiation oracleInitiation; + + /** + * Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the + * IPSec tunnel. + * + * @return the value + */ + public OracleInitiation getOracleInitiation() { + return oracleInitiation; + } + + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination port + * set to 500, and when it detects that the port used to forward packets has changed (most + * likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try + * to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even if it + * senses there may be a NAT device in use. + */ + public enum NatTranslationEnabled implements com.oracle.bmc.http.internal.BmcEnum { + Enabled("ENABLED"), + Disabled("DISABLED"), + Auto("AUTO"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (NatTranslationEnabled v : NatTranslationEnabled.values()) { + map.put(v.getValue(), v); + } + } + + NatTranslationEnabled(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static NatTranslationEnabled create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid NatTranslationEnabled: " + key); + } + }; + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination port + * set to 500, and when it detects that the port used to forward packets has changed (most + * likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try + * to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even if it + * senses there may be a NAT device in use. + */ + @com.fasterxml.jackson.annotation.JsonProperty("natTranslationEnabled") + private final NatTranslationEnabled natTranslationEnabled; + + /** + * By default (the {@code AUTO} setting), IKE sends packets with a source and destination port + * set to 500, and when it detects that the port used to forward packets has changed (most + * likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try + * to negotiate the use of NAT-T. + * + *

The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and + * forces encapsulating traffic with the ESP protocol inside UDP packets. + * + *

The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T even if it + * senses there may be a NAT device in use. + * + * @return the value + */ + public NatTranslationEnabled getNatTranslationEnabled() { + return natTranslationEnabled; + } + + @com.fasterxml.jackson.annotation.JsonProperty("phaseOneConfig") + private final PhaseOneConfigDetails phaseOneConfig; + + public PhaseOneConfigDetails getPhaseOneConfig() { + return phaseOneConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("phaseTwoConfig") + private final PhaseTwoConfigDetails phaseTwoConfig; + + public PhaseTwoConfigDetails getPhaseTwoConfig() { + return phaseTwoConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("dpdConfig") + private final DpdConfig dpdConfig; + + public DpdConfig getDpdConfig() { + return dpdConfig; + } + + @com.fasterxml.jackson.annotation.JsonProperty("encryptionDomainConfig") + private final UpdateIPSecTunnelEncryptionDomainDetails encryptionDomainConfig; + + public UpdateIPSecTunnelEncryptionDomainDetails getEncryptionDomainConfig() { + return encryptionDomainConfig; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateIPSecConnectionTunnelDetails("); + sb.append("super=").append(super.toString()); + sb.append("displayName=").append(String.valueOf(this.displayName)); + sb.append(", routing=").append(String.valueOf(this.routing)); + sb.append(", ikeVersion=").append(String.valueOf(this.ikeVersion)); + sb.append(", bgpSessionConfig=").append(String.valueOf(this.bgpSessionConfig)); + sb.append(", oracleInitiation=").append(String.valueOf(this.oracleInitiation)); + sb.append(", natTranslationEnabled=").append(String.valueOf(this.natTranslationEnabled)); + sb.append(", phaseOneConfig=").append(String.valueOf(this.phaseOneConfig)); + sb.append(", phaseTwoConfig=").append(String.valueOf(this.phaseTwoConfig)); + sb.append(", dpdConfig=").append(String.valueOf(this.dpdConfig)); + sb.append(", encryptionDomainConfig=").append(String.valueOf(this.encryptionDomainConfig)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateIPSecConnectionTunnelDetails)) { + return false; + } + + UpdateIPSecConnectionTunnelDetails other = (UpdateIPSecConnectionTunnelDetails) o; + return java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.routing, other.routing) + && java.util.Objects.equals(this.ikeVersion, other.ikeVersion) + && java.util.Objects.equals(this.bgpSessionConfig, other.bgpSessionConfig) + && java.util.Objects.equals(this.oracleInitiation, other.oracleInitiation) + && java.util.Objects.equals(this.natTranslationEnabled, other.natTranslationEnabled) + && java.util.Objects.equals(this.phaseOneConfig, other.phaseOneConfig) + && java.util.Objects.equals(this.phaseTwoConfig, other.phaseTwoConfig) + && java.util.Objects.equals(this.dpdConfig, other.dpdConfig) + && java.util.Objects.equals( + this.encryptionDomainConfig, other.encryptionDomainConfig) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.routing == null ? 43 : this.routing.hashCode()); + result = (result * PRIME) + (this.ikeVersion == null ? 43 : this.ikeVersion.hashCode()); + result = + (result * PRIME) + + (this.bgpSessionConfig == null ? 43 : this.bgpSessionConfig.hashCode()); + result = + (result * PRIME) + + (this.oracleInitiation == null ? 43 : this.oracleInitiation.hashCode()); + result = + (result * PRIME) + + (this.natTranslationEnabled == null + ? 43 + : this.natTranslationEnabled.hashCode()); + result = + (result * PRIME) + + (this.phaseOneConfig == null ? 43 : this.phaseOneConfig.hashCode()); + result = + (result * PRIME) + + (this.phaseTwoConfig == null ? 43 : this.phaseTwoConfig.hashCode()); + result = (result * PRIME) + (this.dpdConfig == null ? 43 : this.dpdConfig.hashCode()); + result = + (result * PRIME) + + (this.encryptionDomainConfig == null + ? 43 + : this.encryptionDomainConfig.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecConnectionTunnelSharedSecretDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecConnectionTunnelSharedSecretDetails.java new file mode 100644 index 00000000000..0600405a3b4 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecConnectionTunnelSharedSecretDetails.java @@ -0,0 +1,144 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateIPSecConnectionTunnelSharedSecretDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateIPSecConnectionTunnelSharedSecretDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"sharedSecret"}) + public UpdateIPSecConnectionTunnelSharedSecretDetails(String sharedSecret) { + super(); + this.sharedSecret = sharedSecret; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The shared secret (pre-shared key) to use for the tunnel. Only numbers, letters, and + * spaces are allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sharedSecret") + private String sharedSecret; + + /** + * The shared secret (pre-shared key) to use for the tunnel. Only numbers, letters, and + * spaces are allowed. + * + * @param sharedSecret the value to set + * @return this builder + */ + public Builder sharedSecret(String sharedSecret) { + this.sharedSecret = sharedSecret; + this.__explicitlySet__.add("sharedSecret"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateIPSecConnectionTunnelSharedSecretDetails build() { + UpdateIPSecConnectionTunnelSharedSecretDetails model = + new UpdateIPSecConnectionTunnelSharedSecretDetails(this.sharedSecret); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateIPSecConnectionTunnelSharedSecretDetails model) { + if (model.wasPropertyExplicitlySet("sharedSecret")) { + this.sharedSecret(model.getSharedSecret()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The shared secret (pre-shared key) to use for the tunnel. Only numbers, letters, and spaces + * are allowed. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sharedSecret") + private final String sharedSecret; + + /** + * The shared secret (pre-shared key) to use for the tunnel. Only numbers, letters, and spaces + * are allowed. + * + * @return the value + */ + public String getSharedSecret() { + return sharedSecret; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateIPSecConnectionTunnelSharedSecretDetails("); + sb.append("super=").append(super.toString()); + sb.append("sharedSecret=").append(String.valueOf(this.sharedSecret)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateIPSecConnectionTunnelSharedSecretDetails)) { + return false; + } + + UpdateIPSecConnectionTunnelSharedSecretDetails other = + (UpdateIPSecConnectionTunnelSharedSecretDetails) o; + return java.util.Objects.equals(this.sharedSecret, other.sharedSecret) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.sharedSecret == null ? 43 : this.sharedSecret.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecTunnelBgpSessionDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecTunnelBgpSessionDetails.java new file mode 100644 index 00000000000..52cdd84d797 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecTunnelBgpSessionDetails.java @@ -0,0 +1,559 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateIPSecTunnelBgpSessionDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateIPSecTunnelBgpSessionDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "oracleInterfaceIp", + "customerInterfaceIp", + "oracleInterfaceIpv6", + "customerInterfaceIpv6", + "customerBgpAsn" + }) + public UpdateIPSecTunnelBgpSessionDetails( + String oracleInterfaceIp, + String customerInterfaceIp, + String oracleInterfaceIpv6, + String customerInterfaceIpv6, + String customerBgpAsn) { + super(); + this.oracleInterfaceIp = oracleInterfaceIp; + this.customerInterfaceIp = customerInterfaceIp; + this.oracleInterfaceIpv6 = oracleInterfaceIpv6; + this.customerInterfaceIpv6 = customerInterfaceIpv6; + this.customerBgpAsn = customerBgpAsn; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The IP address for the Oracle end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * #updateIPSecConnectionTunnelDetails(UpdateIPSecConnectionTunnelDetailsRequest) + * updateIPSecConnectionTunnelDetails}), this IP address is used for the tunnel's BGP + * session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

If you are switching the tunnel from using BGP dynamic routing to static routing and + * want to remove the value for {@code oracleInterfaceIp}, you can set the value to an empty + * string. + * + *

Example: {@code 10.0.0.4/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInterfaceIp") + private String oracleInterfaceIp; + + /** + * The IP address for the Oracle end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * #updateIPSecConnectionTunnelDetails(UpdateIPSecConnectionTunnelDetailsRequest) + * updateIPSecConnectionTunnelDetails}), this IP address is used for the tunnel's BGP + * session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

If you are switching the tunnel from using BGP dynamic routing to static routing and + * want to remove the value for {@code oracleInterfaceIp}, you can set the value to an empty + * string. + * + *

Example: {@code 10.0.0.4/31} + * + * @param oracleInterfaceIp the value to set + * @return this builder + */ + public Builder oracleInterfaceIp(String oracleInterfaceIp) { + this.oracleInterfaceIp = oracleInterfaceIp; + this.__explicitlySet__.add("oracleInterfaceIp"); + return this; + } + /** + * The IP address for the CPE end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * #updateIPSecConnectionTunnelDetails(UpdateIPSecConnectionTunnelDetailsRequest) + * updateIPSecConnectionTunnelDetails}), this IP address is used for the tunnel's BGP + * session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

If you are switching the tunnel from using BGP dynamic routing to static routing and + * want to remove the value for {@code customerInterfaceIp}, you can set the value to an + * empty string. + * + *

Example: {@code 10.0.0.5/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerInterfaceIp") + private String customerInterfaceIp; + + /** + * The IP address for the CPE end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * #updateIPSecConnectionTunnelDetails(UpdateIPSecConnectionTunnelDetailsRequest) + * updateIPSecConnectionTunnelDetails}), this IP address is used for the tunnel's BGP + * session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

If you are switching the tunnel from using BGP dynamic routing to static routing and + * want to remove the value for {@code customerInterfaceIp}, you can set the value to an + * empty string. + * + *

Example: {@code 10.0.0.5/31} + * + * @param customerInterfaceIp the value to set + * @return this builder + */ + public Builder customerInterfaceIp(String customerInterfaceIp) { + this.customerInterfaceIp = customerInterfaceIp; + this.__explicitlySet__.add("customerInterfaceIp"); + return this; + } + /** + * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInterfaceIpv6") + private String oracleInterfaceIpv6; + + /** + * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + * + * @param oracleInterfaceIpv6 the value to set + * @return this builder + */ + public Builder oracleInterfaceIpv6(String oracleInterfaceIpv6) { + this.oracleInterfaceIpv6 = oracleInterfaceIpv6; + this.__explicitlySet__.add("oracleInterfaceIpv6"); + return this; + } + /** + * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerInterfaceIpv6") + private String customerInterfaceIpv6; + + /** + * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + * + * @param customerInterfaceIpv6 the value to set + * @return this builder + */ + public Builder customerInterfaceIpv6(String customerInterfaceIpv6) { + this.customerInterfaceIpv6 = customerInterfaceIpv6; + this.__explicitlySet__.add("customerInterfaceIpv6"); + return this; + } + /** + * The BGP ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte + * ASN. Uses "asplain" format. + * + *

If you are switching the tunnel from using BGP dynamic routing to static routing, the + * {@code customerBgpAsn} must be null. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") + private String customerBgpAsn; + + /** + * The BGP ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte + * ASN. Uses "asplain" format. + * + *

If you are switching the tunnel from using BGP dynamic routing to static routing, the + * {@code customerBgpAsn} must be null. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + * + * @param customerBgpAsn the value to set + * @return this builder + */ + public Builder customerBgpAsn(String customerBgpAsn) { + this.customerBgpAsn = customerBgpAsn; + this.__explicitlySet__.add("customerBgpAsn"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateIPSecTunnelBgpSessionDetails build() { + UpdateIPSecTunnelBgpSessionDetails model = + new UpdateIPSecTunnelBgpSessionDetails( + this.oracleInterfaceIp, + this.customerInterfaceIp, + this.oracleInterfaceIpv6, + this.customerInterfaceIpv6, + this.customerBgpAsn); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateIPSecTunnelBgpSessionDetails model) { + if (model.wasPropertyExplicitlySet("oracleInterfaceIp")) { + this.oracleInterfaceIp(model.getOracleInterfaceIp()); + } + if (model.wasPropertyExplicitlySet("customerInterfaceIp")) { + this.customerInterfaceIp(model.getCustomerInterfaceIp()); + } + if (model.wasPropertyExplicitlySet("oracleInterfaceIpv6")) { + this.oracleInterfaceIpv6(model.getOracleInterfaceIpv6()); + } + if (model.wasPropertyExplicitlySet("customerInterfaceIpv6")) { + this.customerInterfaceIpv6(model.getCustomerInterfaceIpv6()); + } + if (model.wasPropertyExplicitlySet("customerBgpAsn")) { + this.customerBgpAsn(model.getCustomerBgpAsn()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The IP address for the Oracle end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * #updateIPSecConnectionTunnelDetails(UpdateIPSecConnectionTunnelDetailsRequest) + * updateIPSecConnectionTunnelDetails}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

If you are switching the tunnel from using BGP dynamic routing to static routing and want + * to remove the value for {@code oracleInterfaceIp}, you can set the value to an empty string. + * + *

Example: {@code 10.0.0.4/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInterfaceIp") + private final String oracleInterfaceIp; + + /** + * The IP address for the Oracle end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * #updateIPSecConnectionTunnelDetails(UpdateIPSecConnectionTunnelDetailsRequest) + * updateIPSecConnectionTunnelDetails}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

If you are switching the tunnel from using BGP dynamic routing to static routing and want + * to remove the value for {@code oracleInterfaceIp}, you can set the value to an empty string. + * + *

Example: {@code 10.0.0.4/31} + * + * @return the value + */ + public String getOracleInterfaceIp() { + return oracleInterfaceIp; + } + + /** + * The IP address for the CPE end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * #updateIPSecConnectionTunnelDetails(UpdateIPSecConnectionTunnelDetailsRequest) + * updateIPSecConnectionTunnelDetails}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

If you are switching the tunnel from using BGP dynamic routing to static routing and want + * to remove the value for {@code customerInterfaceIp}, you can set the value to an empty + * string. + * + *

Example: {@code 10.0.0.5/31} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerInterfaceIp") + private final String customerInterfaceIp; + + /** + * The IP address for the CPE end of the inside tunnel interface. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * #updateIPSecConnectionTunnelDetails(UpdateIPSecConnectionTunnelDetailsRequest) + * updateIPSecConnectionTunnelDetails}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

The value must be a /30 or /31. + * + *

If you are switching the tunnel from using BGP dynamic routing to static routing and want + * to remove the value for {@code customerInterfaceIp}, you can set the value to an empty + * string. + * + *

Example: {@code 10.0.0.5/31} + * + * @return the value + */ + public String getCustomerInterfaceIp() { + return customerInterfaceIp; + } + + /** + * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleInterfaceIpv6") + private final String oracleInterfaceIpv6; + + /** + * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is + * optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + * + * @return the value + */ + public String getOracleInterfaceIpv6() { + return oracleInterfaceIpv6; + } + + /** + * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerInterfaceIpv6") + private final String customerInterfaceIpv6; + + /** + * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional. + * + *

If the tunnel's {@code routing} attribute is set to {@code BGP} (see {@link + * IPSecConnectionTunnel}), this IP address is used for the tunnel's BGP session. + * + *

If {@code routing} is instead set to {@code STATIC}, you can set this IP address to + * troubleshoot or monitor the tunnel. + * + *

Only subnet masks from /64 up to /127 are allowed. + * + *

Example: {@code 2001:db8::1/64} + * + * @return the value + */ + public String getCustomerInterfaceIpv6() { + return customerInterfaceIpv6; + } + + /** + * The BGP ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. + * Uses "asplain" format. + * + *

If you are switching the tunnel from using BGP dynamic routing to static routing, the + * {@code customerBgpAsn} must be null. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") + private final String customerBgpAsn; + + /** + * The BGP ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. + * Uses "asplain" format. + * + *

If you are switching the tunnel from using BGP dynamic routing to static routing, the + * {@code customerBgpAsn} must be null. + * + *

Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) + * + * @return the value + */ + public String getCustomerBgpAsn() { + return customerBgpAsn; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateIPSecTunnelBgpSessionDetails("); + sb.append("super=").append(super.toString()); + sb.append("oracleInterfaceIp=").append(String.valueOf(this.oracleInterfaceIp)); + sb.append(", customerInterfaceIp=").append(String.valueOf(this.customerInterfaceIp)); + sb.append(", oracleInterfaceIpv6=").append(String.valueOf(this.oracleInterfaceIpv6)); + sb.append(", customerInterfaceIpv6=").append(String.valueOf(this.customerInterfaceIpv6)); + sb.append(", customerBgpAsn=").append(String.valueOf(this.customerBgpAsn)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateIPSecTunnelBgpSessionDetails)) { + return false; + } + + UpdateIPSecTunnelBgpSessionDetails other = (UpdateIPSecTunnelBgpSessionDetails) o; + return java.util.Objects.equals(this.oracleInterfaceIp, other.oracleInterfaceIp) + && java.util.Objects.equals(this.customerInterfaceIp, other.customerInterfaceIp) + && java.util.Objects.equals(this.oracleInterfaceIpv6, other.oracleInterfaceIpv6) + && java.util.Objects.equals(this.customerInterfaceIpv6, other.customerInterfaceIpv6) + && java.util.Objects.equals(this.customerBgpAsn, other.customerBgpAsn) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.oracleInterfaceIp == null ? 43 : this.oracleInterfaceIp.hashCode()); + result = + (result * PRIME) + + (this.customerInterfaceIp == null + ? 43 + : this.customerInterfaceIp.hashCode()); + result = + (result * PRIME) + + (this.oracleInterfaceIpv6 == null + ? 43 + : this.oracleInterfaceIpv6.hashCode()); + result = + (result * PRIME) + + (this.customerInterfaceIpv6 == null + ? 43 + : this.customerInterfaceIpv6.hashCode()); + result = + (result * PRIME) + + (this.customerBgpAsn == null ? 43 : this.customerBgpAsn.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecTunnelEncryptionDomainDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecTunnelEncryptionDomainDetails.java new file mode 100644 index 00000000000..3b720a82ec8 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIPSecTunnelEncryptionDomainDetails.java @@ -0,0 +1,185 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Request to update a multi-encryption domain policy on the IPSec tunnel. There can't be more than + * 50 security associations in use at one time. See [Encryption domain for policy-based + * tunnels](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/ipsecencryptiondomains.htm#spi_policy_based_tunnel) + * for more.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateIPSecTunnelEncryptionDomainDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateIPSecTunnelEncryptionDomainDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"oracleTrafficSelector", "cpeTrafficSelector"}) + public UpdateIPSecTunnelEncryptionDomainDetails( + java.util.List oracleTrafficSelector, + java.util.List cpeTrafficSelector) { + super(); + this.oracleTrafficSelector = oracleTrafficSelector; + this.cpeTrafficSelector = cpeTrafficSelector; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleTrafficSelector") + private java.util.List oracleTrafficSelector; + + /** + * Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. + * + * @param oracleTrafficSelector the value to set + * @return this builder + */ + public Builder oracleTrafficSelector(java.util.List oracleTrafficSelector) { + this.oracleTrafficSelector = oracleTrafficSelector; + this.__explicitlySet__.add("oracleTrafficSelector"); + return this; + } + /** Lists IPv4 or IPv6-enabled subnets in your on-premises network. */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeTrafficSelector") + private java.util.List cpeTrafficSelector; + + /** + * Lists IPv4 or IPv6-enabled subnets in your on-premises network. + * + * @param cpeTrafficSelector the value to set + * @return this builder + */ + public Builder cpeTrafficSelector(java.util.List cpeTrafficSelector) { + this.cpeTrafficSelector = cpeTrafficSelector; + this.__explicitlySet__.add("cpeTrafficSelector"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateIPSecTunnelEncryptionDomainDetails build() { + UpdateIPSecTunnelEncryptionDomainDetails model = + new UpdateIPSecTunnelEncryptionDomainDetails( + this.oracleTrafficSelector, this.cpeTrafficSelector); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateIPSecTunnelEncryptionDomainDetails model) { + if (model.wasPropertyExplicitlySet("oracleTrafficSelector")) { + this.oracleTrafficSelector(model.getOracleTrafficSelector()); + } + if (model.wasPropertyExplicitlySet("cpeTrafficSelector")) { + this.cpeTrafficSelector(model.getCpeTrafficSelector()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. */ + @com.fasterxml.jackson.annotation.JsonProperty("oracleTrafficSelector") + private final java.util.List oracleTrafficSelector; + + /** + * Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. + * + * @return the value + */ + public java.util.List getOracleTrafficSelector() { + return oracleTrafficSelector; + } + + /** Lists IPv4 or IPv6-enabled subnets in your on-premises network. */ + @com.fasterxml.jackson.annotation.JsonProperty("cpeTrafficSelector") + private final java.util.List cpeTrafficSelector; + + /** + * Lists IPv4 or IPv6-enabled subnets in your on-premises network. + * + * @return the value + */ + public java.util.List getCpeTrafficSelector() { + return cpeTrafficSelector; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateIPSecTunnelEncryptionDomainDetails("); + sb.append("super=").append(super.toString()); + sb.append("oracleTrafficSelector=").append(String.valueOf(this.oracleTrafficSelector)); + sb.append(", cpeTrafficSelector=").append(String.valueOf(this.cpeTrafficSelector)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateIPSecTunnelEncryptionDomainDetails)) { + return false; + } + + UpdateIPSecTunnelEncryptionDomainDetails other = + (UpdateIPSecTunnelEncryptionDomainDetails) o; + return java.util.Objects.equals(this.oracleTrafficSelector, other.oracleTrafficSelector) + && java.util.Objects.equals(this.cpeTrafficSelector, other.cpeTrafficSelector) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.oracleTrafficSelector == null + ? 43 + : this.oracleTrafficSelector.hashCode()); + result = + (result * PRIME) + + (this.cpeTrafficSelector == null + ? 43 + : this.cpeTrafficSelector.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateInternetGatewayDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateInternetGatewayDetails.java index 58865a7f094..1ef4a350b58 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateInternetGatewayDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateInternetGatewayDetails.java @@ -23,17 +23,25 @@ public final class UpdateInternetGatewayDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"definedTags", "displayName", "freeformTags", "isEnabled"}) + @java.beans.ConstructorProperties({ + "definedTags", + "displayName", + "freeformTags", + "isEnabled", + "routeTableId" + }) public UpdateInternetGatewayDetails( java.util.Map> definedTags, String displayName, java.util.Map freeformTags, - Boolean isEnabled) { + Boolean isEnabled, + String routeTableId) { super(); this.definedTags = definedTags; this.displayName = displayName; this.freeformTags = freeformTags; this.isEnabled = isEnabled; + this.routeTableId = routeTableId; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -111,6 +119,25 @@ public Builder isEnabled(Boolean isEnabled) { this.__explicitlySet__.add("isEnabled"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the Internet Gateway is using. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the Internet Gateway is using. + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -118,7 +145,11 @@ public Builder isEnabled(Boolean isEnabled) { public UpdateInternetGatewayDetails build() { UpdateInternetGatewayDetails model = new UpdateInternetGatewayDetails( - this.definedTags, this.displayName, this.freeformTags, this.isEnabled); + this.definedTags, + this.displayName, + this.freeformTags, + this.isEnabled, + this.routeTableId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -139,6 +170,9 @@ public Builder copy(UpdateInternetGatewayDetails model) { if (model.wasPropertyExplicitlySet("isEnabled")) { this.isEnabled(model.getIsEnabled()); } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } return this; } } @@ -216,6 +250,23 @@ public Boolean getIsEnabled() { return isEnabled; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the Internet Gateway is using. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the Internet Gateway is using. + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + @Override public String toString() { return this.toString(true); @@ -235,6 +286,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", isEnabled=").append(String.valueOf(this.isEnabled)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(")"); return sb.toString(); } @@ -253,6 +305,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.isEnabled, other.isEnabled) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) && super.equals(other); } @@ -264,6 +317,7 @@ public int hashCode() { result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.isEnabled == null ? 43 : this.isEnabled.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIpv6Details.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIpv6Details.java index c5aba28b2f0..495e84e834d 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIpv6Details.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateIpv6Details.java @@ -23,24 +23,16 @@ public final class UpdateIpv6Details extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({ - "definedTags", - "displayName", - "freeformTags", - "isInternetAccessAllowed", - "vnicId" - }) + @java.beans.ConstructorProperties({"definedTags", "displayName", "freeformTags", "vnicId"}) public UpdateIpv6Details( java.util.Map> definedTags, String displayName, java.util.Map freeformTags, - Boolean isInternetAccessAllowed, String vnicId) { super(); this.definedTags = definedTags; this.displayName = displayName; this.freeformTags = freeformTags; - this.isInternetAccessAllowed = isInternetAccessAllowed; this.vnicId = vnicId; } @@ -104,37 +96,6 @@ public Builder freeformTags(java.util.Map freeformTags) { this.__explicitlySet__.add("freeformTags"); return this; } - /** - * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 - * in a public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code - * true}, the IPv6 uses its public IP address for internet communication. - * - *

If you switch this from {@code true} to {@code false}, the {@code publicIpAddress} - * attribute for the IPv6 becomes null. - * - *

Example: {@code false} - */ - @com.fasterxml.jackson.annotation.JsonProperty("isInternetAccessAllowed") - private Boolean isInternetAccessAllowed; - - /** - * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 - * in a public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code - * true}, the IPv6 uses its public IP address for internet communication. - * - *

If you switch this from {@code true} to {@code false}, the {@code publicIpAddress} - * attribute for the IPv6 becomes null. - * - *

Example: {@code false} - * - * @param isInternetAccessAllowed the value to set - * @return this builder - */ - public Builder isInternetAccessAllowed(Boolean isInternetAccessAllowed) { - this.isInternetAccessAllowed = isInternetAccessAllowed; - this.__explicitlySet__.add("isInternetAccessAllowed"); - return this; - } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the VNIC to reassign the IPv6 to. The VNIC must be in the same subnet as the current @@ -163,11 +124,7 @@ public Builder vnicId(String vnicId) { public UpdateIpv6Details build() { UpdateIpv6Details model = new UpdateIpv6Details( - this.definedTags, - this.displayName, - this.freeformTags, - this.isInternetAccessAllowed, - this.vnicId); + this.definedTags, this.displayName, this.freeformTags, this.vnicId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -185,9 +142,6 @@ public Builder copy(UpdateIpv6Details model) { if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } - if (model.wasPropertyExplicitlySet("isInternetAccessAllowed")) { - this.isInternetAccessAllowed(model.getIsInternetAccessAllowed()); - } if (model.wasPropertyExplicitlySet("vnicId")) { this.vnicId(model.getVnicId()); } @@ -255,35 +209,6 @@ public java.util.Map getFreeformTags() { return freeformTags; } - /** - * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in a - * public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code true}, - * the IPv6 uses its public IP address for internet communication. - * - *

If you switch this from {@code true} to {@code false}, the {@code publicIpAddress} - * attribute for the IPv6 becomes null. - * - *

Example: {@code false} - */ - @com.fasterxml.jackson.annotation.JsonProperty("isInternetAccessAllowed") - private final Boolean isInternetAccessAllowed; - - /** - * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in a - * public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code true}, - * the IPv6 uses its public IP address for internet communication. - * - *

If you switch this from {@code true} to {@code false}, the {@code publicIpAddress} - * attribute for the IPv6 becomes null. - * - *

Example: {@code false} - * - * @return the value - */ - public Boolean getIsInternetAccessAllowed() { - return isInternetAccessAllowed; - } - /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the VNIC to reassign the IPv6 to. The VNIC must be in the same subnet as the current VNIC. @@ -319,8 +244,6 @@ public String toString(boolean includeByteArrayContents) { sb.append("definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); - sb.append(", isInternetAccessAllowed=") - .append(String.valueOf(this.isInternetAccessAllowed)); sb.append(", vnicId=").append(String.valueOf(this.vnicId)); sb.append(")"); return sb.toString(); @@ -339,8 +262,6 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) - && java.util.Objects.equals( - this.isInternetAccessAllowed, other.isInternetAccessAllowed) && java.util.Objects.equals(this.vnicId, other.vnicId) && super.equals(other); } @@ -352,11 +273,6 @@ public int hashCode() { result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); - result = - (result * PRIME) - + (this.isInternetAccessAllowed == null - ? 43 - : this.isInternetAccessAllowed.hashCode()); result = (result * PRIME) + (this.vnicId == null ? 43 : this.vnicId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateLocalPeeringGatewayDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateLocalPeeringGatewayDetails.java index 9a1d95b8d43..04520f10236 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateLocalPeeringGatewayDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateLocalPeeringGatewayDetails.java @@ -23,15 +23,22 @@ public final class UpdateLocalPeeringGatewayDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"definedTags", "displayName", "freeformTags"}) + @java.beans.ConstructorProperties({ + "definedTags", + "displayName", + "freeformTags", + "routeTableId" + }) public UpdateLocalPeeringGatewayDetails( java.util.Map> definedTags, String displayName, - java.util.Map freeformTags) { + java.util.Map freeformTags, + String routeTableId) { super(); this.definedTags = definedTags; this.displayName = displayName; this.freeformTags = freeformTags; + this.routeTableId = routeTableId; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -94,6 +101,33 @@ public Builder freeformTags(java.util.Map freeformTags) { this.__explicitlySet__.add("freeformTags"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the LPG will use. + * + *

For information about why you would associate a route table with an LPG, see [Transit + * Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the LPG will use. + * + *

For information about why you would associate a route table with an LPG, see [Transit + * Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -101,7 +135,10 @@ public Builder freeformTags(java.util.Map freeformTags) { public UpdateLocalPeeringGatewayDetails build() { UpdateLocalPeeringGatewayDetails model = new UpdateLocalPeeringGatewayDetails( - this.definedTags, this.displayName, this.freeformTags); + this.definedTags, + this.displayName, + this.freeformTags, + this.routeTableId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -119,6 +156,9 @@ public Builder copy(UpdateLocalPeeringGatewayDetails model) { if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } return this; } } @@ -183,6 +223,31 @@ public java.util.Map getFreeformTags() { return freeformTags; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the LPG will use. + * + *

For information about why you would associate a route table with an LPG, see [Transit + * Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the LPG will use. + * + *

For information about why you would associate a route table with an LPG, see [Transit + * Routing: Access to Multiple VCNs in Same + * Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + @Override public String toString() { return this.toString(true); @@ -201,6 +266,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(")"); return sb.toString(); } @@ -218,6 +284,7 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) && super.equals(other); } @@ -228,6 +295,7 @@ public int hashCode() { result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateMacsecKey.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateMacsecKey.java new file mode 100644 index 00000000000..805edbf67c3 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateMacsecKey.java @@ -0,0 +1,309 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * An object defining the OCID of the Secret held in Vault that represent the MACsec key.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = UpdateMacsecKey.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateMacsecKey + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "connectivityAssociationNameSecretId", + "connectivityAssociationNameSecretVersion", + "connectivityAssociationKeySecretId", + "connectivityAssociationKeySecretVersion" + }) + public UpdateMacsecKey( + String connectivityAssociationNameSecretId, + Long connectivityAssociationNameSecretVersion, + String connectivityAssociationKeySecretId, + Long connectivityAssociationKeySecretVersion) { + super(); + this.connectivityAssociationNameSecretId = connectivityAssociationNameSecretId; + this.connectivityAssociationNameSecretVersion = connectivityAssociationNameSecretVersion; + this.connectivityAssociationKeySecretId = connectivityAssociationKeySecretId; + this.connectivityAssociationKeySecretVersion = connectivityAssociationKeySecretVersion; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key Name (CKN) of this MACsec key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationNameSecretId") + private String connectivityAssociationNameSecretId; + + /** + * Secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key Name (CKN) of this MACsec key. + * + * @param connectivityAssociationNameSecretId the value to set + * @return this builder + */ + public Builder connectivityAssociationNameSecretId( + String connectivityAssociationNameSecretId) { + this.connectivityAssociationNameSecretId = connectivityAssociationNameSecretId; + this.__explicitlySet__.add("connectivityAssociationNameSecretId"); + return this; + } + /** The secret version of the connectivity association name secret in Vault. */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationNameSecretVersion") + private Long connectivityAssociationNameSecretVersion; + + /** + * The secret version of the connectivity association name secret in Vault. + * + * @param connectivityAssociationNameSecretVersion the value to set + * @return this builder + */ + public Builder connectivityAssociationNameSecretVersion( + Long connectivityAssociationNameSecretVersion) { + this.connectivityAssociationNameSecretVersion = + connectivityAssociationNameSecretVersion; + this.__explicitlySet__.add("connectivityAssociationNameSecretVersion"); + return this; + } + /** + * Secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key (CAK) of this MACsec key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationKeySecretId") + private String connectivityAssociationKeySecretId; + + /** + * Secret + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key (CAK) of this MACsec key. + * + * @param connectivityAssociationKeySecretId the value to set + * @return this builder + */ + public Builder connectivityAssociationKeySecretId( + String connectivityAssociationKeySecretId) { + this.connectivityAssociationKeySecretId = connectivityAssociationKeySecretId; + this.__explicitlySet__.add("connectivityAssociationKeySecretId"); + return this; + } + /** The secret version of the connectivityAssociationKey secret in Vault. */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationKeySecretVersion") + private Long connectivityAssociationKeySecretVersion; + + /** + * The secret version of the connectivityAssociationKey secret in Vault. + * + * @param connectivityAssociationKeySecretVersion the value to set + * @return this builder + */ + public Builder connectivityAssociationKeySecretVersion( + Long connectivityAssociationKeySecretVersion) { + this.connectivityAssociationKeySecretVersion = connectivityAssociationKeySecretVersion; + this.__explicitlySet__.add("connectivityAssociationKeySecretVersion"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateMacsecKey build() { + UpdateMacsecKey model = + new UpdateMacsecKey( + this.connectivityAssociationNameSecretId, + this.connectivityAssociationNameSecretVersion, + this.connectivityAssociationKeySecretId, + this.connectivityAssociationKeySecretVersion); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateMacsecKey model) { + if (model.wasPropertyExplicitlySet("connectivityAssociationNameSecretId")) { + this.connectivityAssociationNameSecretId( + model.getConnectivityAssociationNameSecretId()); + } + if (model.wasPropertyExplicitlySet("connectivityAssociationNameSecretVersion")) { + this.connectivityAssociationNameSecretVersion( + model.getConnectivityAssociationNameSecretVersion()); + } + if (model.wasPropertyExplicitlySet("connectivityAssociationKeySecretId")) { + this.connectivityAssociationKeySecretId( + model.getConnectivityAssociationKeySecretId()); + } + if (model.wasPropertyExplicitlySet("connectivityAssociationKeySecretVersion")) { + this.connectivityAssociationKeySecretVersion( + model.getConnectivityAssociationKeySecretVersion()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key Name (CKN) of this MACsec key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationNameSecretId") + private final String connectivityAssociationNameSecretId; + + /** + * Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key Name (CKN) of this MACsec key. + * + * @return the value + */ + public String getConnectivityAssociationNameSecretId() { + return connectivityAssociationNameSecretId; + } + + /** The secret version of the connectivity association name secret in Vault. */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationNameSecretVersion") + private final Long connectivityAssociationNameSecretVersion; + + /** + * The secret version of the connectivity association name secret in Vault. + * + * @return the value + */ + public Long getConnectivityAssociationNameSecretVersion() { + return connectivityAssociationNameSecretVersion; + } + + /** + * Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key (CAK) of this MACsec key. + */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationKeySecretId") + private final String connectivityAssociationKeySecretId; + + /** + * Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * containing the Connectivity Association Key (CAK) of this MACsec key. + * + * @return the value + */ + public String getConnectivityAssociationKeySecretId() { + return connectivityAssociationKeySecretId; + } + + /** The secret version of the connectivityAssociationKey secret in Vault. */ + @com.fasterxml.jackson.annotation.JsonProperty("connectivityAssociationKeySecretVersion") + private final Long connectivityAssociationKeySecretVersion; + + /** + * The secret version of the connectivityAssociationKey secret in Vault. + * + * @return the value + */ + public Long getConnectivityAssociationKeySecretVersion() { + return connectivityAssociationKeySecretVersion; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateMacsecKey("); + sb.append("super=").append(super.toString()); + sb.append("connectivityAssociationNameSecretId=") + .append(String.valueOf(this.connectivityAssociationNameSecretId)); + sb.append(", connectivityAssociationNameSecretVersion=") + .append(String.valueOf(this.connectivityAssociationNameSecretVersion)); + sb.append(", connectivityAssociationKeySecretId=") + .append(String.valueOf(this.connectivityAssociationKeySecretId)); + sb.append(", connectivityAssociationKeySecretVersion=") + .append(String.valueOf(this.connectivityAssociationKeySecretVersion)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateMacsecKey)) { + return false; + } + + UpdateMacsecKey other = (UpdateMacsecKey) o; + return java.util.Objects.equals( + this.connectivityAssociationNameSecretId, + other.connectivityAssociationNameSecretId) + && java.util.Objects.equals( + this.connectivityAssociationNameSecretVersion, + other.connectivityAssociationNameSecretVersion) + && java.util.Objects.equals( + this.connectivityAssociationKeySecretId, + other.connectivityAssociationKeySecretId) + && java.util.Objects.equals( + this.connectivityAssociationKeySecretVersion, + other.connectivityAssociationKeySecretVersion) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.connectivityAssociationNameSecretId == null + ? 43 + : this.connectivityAssociationNameSecretId.hashCode()); + result = + (result * PRIME) + + (this.connectivityAssociationNameSecretVersion == null + ? 43 + : this.connectivityAssociationNameSecretVersion.hashCode()); + result = + (result * PRIME) + + (this.connectivityAssociationKeySecretId == null + ? 43 + : this.connectivityAssociationKeySecretId.hashCode()); + result = + (result * PRIME) + + (this.connectivityAssociationKeySecretVersion == null + ? 43 + : this.connectivityAssociationKeySecretVersion.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateMacsecProperties.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateMacsecProperties.java new file mode 100644 index 00000000000..5b80ba1723f --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateMacsecProperties.java @@ -0,0 +1,198 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * Properties used to update MACsec settings.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateMacsecProperties.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateMacsecProperties + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"state", "primaryKey", "encryptionCipher"}) + public UpdateMacsecProperties( + MacsecState state, + UpdateMacsecKey primaryKey, + MacsecEncryptionCipher encryptionCipher) { + super(); + this.state = state; + this.primaryKey = primaryKey; + this.encryptionCipher = encryptionCipher; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Indicates whether or not MACsec is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("state") + private MacsecState state; + + /** + * Indicates whether or not MACsec is enabled. + * + * @param state the value to set + * @return this builder + */ + public Builder state(MacsecState state) { + this.state = state; + this.__explicitlySet__.add("state"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("primaryKey") + private UpdateMacsecKey primaryKey; + + public Builder primaryKey(UpdateMacsecKey primaryKey) { + this.primaryKey = primaryKey; + this.__explicitlySet__.add("primaryKey"); + return this; + } + /** Type of encryption cipher suite to use for the MACsec connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionCipher") + private MacsecEncryptionCipher encryptionCipher; + + /** + * Type of encryption cipher suite to use for the MACsec connection. + * + * @param encryptionCipher the value to set + * @return this builder + */ + public Builder encryptionCipher(MacsecEncryptionCipher encryptionCipher) { + this.encryptionCipher = encryptionCipher; + this.__explicitlySet__.add("encryptionCipher"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateMacsecProperties build() { + UpdateMacsecProperties model = + new UpdateMacsecProperties(this.state, this.primaryKey, this.encryptionCipher); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateMacsecProperties model) { + if (model.wasPropertyExplicitlySet("state")) { + this.state(model.getState()); + } + if (model.wasPropertyExplicitlySet("primaryKey")) { + this.primaryKey(model.getPrimaryKey()); + } + if (model.wasPropertyExplicitlySet("encryptionCipher")) { + this.encryptionCipher(model.getEncryptionCipher()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Indicates whether or not MACsec is enabled. */ + @com.fasterxml.jackson.annotation.JsonProperty("state") + private final MacsecState state; + + /** + * Indicates whether or not MACsec is enabled. + * + * @return the value + */ + public MacsecState getState() { + return state; + } + + @com.fasterxml.jackson.annotation.JsonProperty("primaryKey") + private final UpdateMacsecKey primaryKey; + + public UpdateMacsecKey getPrimaryKey() { + return primaryKey; + } + + /** Type of encryption cipher suite to use for the MACsec connection. */ + @com.fasterxml.jackson.annotation.JsonProperty("encryptionCipher") + private final MacsecEncryptionCipher encryptionCipher; + + /** + * Type of encryption cipher suite to use for the MACsec connection. + * + * @return the value + */ + public MacsecEncryptionCipher getEncryptionCipher() { + return encryptionCipher; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateMacsecProperties("); + sb.append("super=").append(super.toString()); + sb.append("state=").append(String.valueOf(this.state)); + sb.append(", primaryKey=").append(String.valueOf(this.primaryKey)); + sb.append(", encryptionCipher=").append(String.valueOf(this.encryptionCipher)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateMacsecProperties)) { + return false; + } + + UpdateMacsecProperties other = (UpdateMacsecProperties) o; + return java.util.Objects.equals(this.state, other.state) + && java.util.Objects.equals(this.primaryKey, other.primaryKey) + && java.util.Objects.equals(this.encryptionCipher, other.encryptionCipher) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.state == null ? 43 : this.state.hashCode()); + result = (result * PRIME) + (this.primaryKey == null ? 43 : this.primaryKey.hashCode()); + result = + (result * PRIME) + + (this.encryptionCipher == null ? 43 : this.encryptionCipher.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateNatGatewayDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateNatGatewayDetails.java new file mode 100644 index 00000000000..c2b1f0a4d66 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateNatGatewayDetails.java @@ -0,0 +1,352 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateNatGatewayDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateNatGatewayDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "definedTags", + "displayName", + "freeformTags", + "blockTraffic", + "routeTableId" + }) + public UpdateNatGatewayDetails( + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + Boolean blockTraffic, + String routeTableId) { + super(); + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.blockTraffic = blockTraffic; + this.routeTableId = routeTableId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * Whether the NAT gateway blocks traffic through it. The default is {@code false}. + * + *

Example: {@code true} + */ + @com.fasterxml.jackson.annotation.JsonProperty("blockTraffic") + private Boolean blockTraffic; + + /** + * Whether the NAT gateway blocks traffic through it. The default is {@code false}. + * + *

Example: {@code true} + * + * @param blockTraffic the value to set + * @return this builder + */ + public Builder blockTraffic(Boolean blockTraffic) { + this.blockTraffic = blockTraffic; + this.__explicitlySet__.add("blockTraffic"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table used by the NAT gateway. + * + *

If you don't specify a route table here, the NAT gateway is created without an + * associated route table. The Networking service does NOT automatically associate the + * attached VCN's default route table with the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table used by the NAT gateway. + * + *

If you don't specify a route table here, the NAT gateway is created without an + * associated route table. The Networking service does NOT automatically associate the + * attached VCN's default route table with the NAT gateway. + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateNatGatewayDetails build() { + UpdateNatGatewayDetails model = + new UpdateNatGatewayDetails( + this.definedTags, + this.displayName, + this.freeformTags, + this.blockTraffic, + this.routeTableId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateNatGatewayDetails model) { + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("blockTraffic")) { + this.blockTraffic(model.getBlockTraffic()); + } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * Whether the NAT gateway blocks traffic through it. The default is {@code false}. + * + *

Example: {@code true} + */ + @com.fasterxml.jackson.annotation.JsonProperty("blockTraffic") + private final Boolean blockTraffic; + + /** + * Whether the NAT gateway blocks traffic through it. The default is {@code false}. + * + *

Example: {@code true} + * + * @return the value + */ + public Boolean getBlockTraffic() { + return blockTraffic; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table used by the NAT gateway. + * + *

If you don't specify a route table here, the NAT gateway is created without an associated + * route table. The Networking service does NOT automatically associate the attached VCN's + * default route table with the NAT gateway. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table used by the NAT gateway. + * + *

If you don't specify a route table here, the NAT gateway is created without an associated + * route table. The Networking service does NOT automatically associate the attached VCN's + * default route table with the NAT gateway. + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateNatGatewayDetails("); + sb.append("super=").append(super.toString()); + sb.append("definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", blockTraffic=").append(String.valueOf(this.blockTraffic)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateNatGatewayDetails)) { + return false; + } + + UpdateNatGatewayDetails other = (UpdateNatGatewayDetails) o; + return java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.blockTraffic, other.blockTraffic) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.blockTraffic == null ? 43 : this.blockTraffic.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdatePrivateIpDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdatePrivateIpDetails.java index 85f7236087f..0e4d56d6806 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdatePrivateIpDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdatePrivateIpDetails.java @@ -106,30 +106,30 @@ public Builder freeformTags(java.util.Map freeformTags) { } /** * The hostname for the private IP. Used for DNS. The value is the hostname portion of the - * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance-1} in - * FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs - * in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC + * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance1} in FQDN + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the + * subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} */ @com.fasterxml.jackson.annotation.JsonProperty("hostnameLabel") private String hostnameLabel; /** * The hostname for the private IP. Used for DNS. The value is the hostname portion of the - * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance-1} in - * FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs - * in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC + * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance1} in FQDN + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the + * subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} * * @param hostnameLabel the value to set * @return this builder @@ -261,30 +261,30 @@ public java.util.Map getFreeformTags() { /** * The hostname for the private IP. Used for DNS. The value is the hostname portion of the - * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance-1} in FQDN - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the + * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance1} in FQDN + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the * subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} */ @com.fasterxml.jackson.annotation.JsonProperty("hostnameLabel") private final String hostnameLabel; /** * The hostname for the private IP. Used for DNS. The value is the hostname portion of the - * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance-1} in FQDN - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the + * private IP's fully qualified domain name (FQDN) (for example, {@code bminstance1} in FQDN + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across all VNICs in the * subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} * * @return the value */ diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdatePublicIpPoolDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdatePublicIpPoolDetails.java new file mode 100644 index 00000000000..c4209998d45 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdatePublicIpPoolDetails.java @@ -0,0 +1,234 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The data to update for a public IP pool.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdatePublicIpPoolDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdatePublicIpPoolDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"definedTags", "displayName", "freeformTags"}) + public UpdatePublicIpPoolDetails( + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags) { + super(); + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdatePublicIpPoolDetails build() { + UpdatePublicIpPoolDetails model = + new UpdatePublicIpPoolDetails( + this.definedTags, this.displayName, this.freeformTags); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdatePublicIpPoolDetails model) { + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdatePublicIpPoolDetails("); + sb.append("super=").append(super.toString()); + sb.append("definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdatePublicIpPoolDetails)) { + return false; + } + + UpdatePublicIpPoolDetails other = (UpdatePublicIpPoolDetails) o; + return java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateRemotePeeringConnectionDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateRemotePeeringConnectionDetails.java index bd4e6b13024..5f5721f7c52 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateRemotePeeringConnectionDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateRemotePeeringConnectionDetails.java @@ -23,14 +23,39 @@ public final class UpdateRemotePeeringConnectionDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"displayName"}) - public UpdateRemotePeeringConnectionDetails(String displayName) { + @java.beans.ConstructorProperties({"definedTags", "displayName", "freeformTags"}) + public UpdateRemotePeeringConnectionDetails( + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags) { super(); + this.definedTags = definedTags; this.displayName = displayName; + this.freeformTags = freeformTags; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -50,13 +75,33 @@ public Builder displayName(String displayName) { this.__explicitlySet__.add("displayName"); return this; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public UpdateRemotePeeringConnectionDetails build() { UpdateRemotePeeringConnectionDetails model = - new UpdateRemotePeeringConnectionDetails(this.displayName); + new UpdateRemotePeeringConnectionDetails( + this.definedTags, this.displayName, this.freeformTags); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -65,9 +110,15 @@ public UpdateRemotePeeringConnectionDetails build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(UpdateRemotePeeringConnectionDetails model) { + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } return this; } } @@ -81,6 +132,23 @@ public Builder toBuilder() { return new Builder().copy(this); } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -98,6 +166,23 @@ public String getDisplayName() { return displayName; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + @Override public String toString() { return this.toString(true); @@ -113,7 +198,9 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("UpdateRemotePeeringConnectionDetails("); sb.append("super=").append(super.toString()); - sb.append("displayName=").append(String.valueOf(this.displayName)); + sb.append("definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(")"); return sb.toString(); } @@ -128,14 +215,19 @@ public boolean equals(Object o) { } UpdateRemotePeeringConnectionDetails other = (UpdateRemotePeeringConnectionDetails) o; - return java.util.Objects.equals(this.displayName, other.displayName) && super.equals(other); + return java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && super.equals(other); } @Override public int hashCode() { final int PRIME = 59; int result = 1; + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateServiceGatewayDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateServiceGatewayDetails.java index bf353b46fcd..f7ba5c2e9df 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateServiceGatewayDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateServiceGatewayDetails.java @@ -28,6 +28,7 @@ public final class UpdateServiceGatewayDetails "definedTags", "displayName", "freeformTags", + "routeTableId", "services" }) public UpdateServiceGatewayDetails( @@ -35,12 +36,14 @@ public UpdateServiceGatewayDetails( java.util.Map> definedTags, String displayName, java.util.Map freeformTags, + String routeTableId, java.util.List services) { super(); this.blockTraffic = blockTraffic; this.definedTags = definedTags; this.displayName = displayName; this.freeformTags = freeformTags; + this.routeTableId = routeTableId; this.services = services; } @@ -129,6 +132,31 @@ public Builder freeformTags(java.util.Map freeformTags) { this.__explicitlySet__.add("freeformTags"); return this; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the service gateway will use. For information about why you would + * associate a route table with a service gateway, see [Transit Routing: Private Access to + * Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the service gateway will use. For information about why you would + * associate a route table with a service gateway, see [Transit Routing: Private Access to + * Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } /** * List of all the {@code Service} objects you want enabled on this service gateway. Sending * an empty list means you want to disable all services. Omitting this parameter entirely @@ -177,6 +205,7 @@ public UpdateServiceGatewayDetails build() { this.definedTags, this.displayName, this.freeformTags, + this.routeTableId, this.services); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); @@ -198,6 +227,9 @@ public Builder copy(UpdateServiceGatewayDetails model) { if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } if (model.wasPropertyExplicitlySet("services")) { this.services(model.getServices()); } @@ -286,6 +318,27 @@ public java.util.Map getFreeformTags() { return freeformTags; } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the service gateway will use. For information about why you would associate a + * route table with a service gateway, see [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the service gateway will use. For information about why you would associate a + * route table with a service gateway, see [Transit Routing: Private Access to Oracle + * Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + /** * List of all the {@code Service} objects you want enabled on this service gateway. Sending an * empty list means you want to disable all services. Omitting this parameter entirely keeps the @@ -340,6 +393,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(", services=").append(String.valueOf(this.services)); sb.append(")"); return sb.toString(); @@ -359,6 +413,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) && java.util.Objects.equals(this.services, other.services) && super.equals(other); } @@ -371,6 +426,7 @@ public int hashCode() { result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); result = (result * PRIME) + (this.services == null ? 43 : this.services.hashCode()); result = (result * PRIME) + super.hashCode(); return result; diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateSubnetDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateSubnetDetails.java index b10653bf7ee..d9b54a51b3f 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateSubnetDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateSubnetDetails.java @@ -29,7 +29,10 @@ public final class UpdateSubnetDetails "displayName", "freeformTags", "routeTableId", - "securityListIds" + "securityListIds", + "cidrBlock", + "ipv6CidrBlock", + "ipv6CidrBlocks" }) public UpdateSubnetDetails( java.util.Map> definedTags, @@ -37,7 +40,10 @@ public UpdateSubnetDetails( String displayName, java.util.Map freeformTags, String routeTableId, - java.util.List securityListIds) { + java.util.List securityListIds, + String cidrBlock, + String ipv6CidrBlock, + java.util.List ipv6CidrBlocks) { super(); this.definedTags = definedTags; this.dhcpOptionsId = dhcpOptionsId; @@ -45,6 +51,9 @@ public UpdateSubnetDetails( this.freeformTags = freeformTags; this.routeTableId = routeTableId; this.securityListIds = securityListIds; + this.cidrBlock = cidrBlock; + this.ipv6CidrBlock = ipv6CidrBlock; + this.ipv6CidrBlocks = ipv6CidrBlocks; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -166,6 +175,103 @@ public Builder securityListIds(java.util.List securityListIds) { this.__explicitlySet__.add("securityListIds"); return this; } + /** + * The CIDR block of the subnet. The new CIDR block must meet the following criteria: + * + *

- Must be valid. - The CIDR block's IP range must be completely within one of the + * VCN's CIDR block ranges. - The old and new CIDR block ranges must use the same network + * address. Example: {@code 10.0.0.0/25} and {@code 10.0.0.0/24}. - Must contain all IP + * addresses in use in the old CIDR range. - The new CIDR range's broadcast address (last IP + * address of CIDR range) must not be an IP address in use in the old CIDR range. + * + *

*Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs + * for this resource while the update is in progress. + * + *

Example: {@code 172.16.0.0/16} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private String cidrBlock; + + /** + * The CIDR block of the subnet. The new CIDR block must meet the following criteria: + * + *

- Must be valid. - The CIDR block's IP range must be completely within one of the + * VCN's CIDR block ranges. - The old and new CIDR block ranges must use the same network + * address. Example: {@code 10.0.0.0/25} and {@code 10.0.0.0/24}. - Must contain all IP + * addresses in use in the old CIDR range. - The new CIDR range's broadcast address (last IP + * address of CIDR range) must not be an IP address in use in the old CIDR range. + * + *

*Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs + * for this resource while the update is in progress. + * + *

Example: {@code 172.16.0.0/16} + * + * @param cidrBlock the value to set + * @return this builder + */ + public Builder cidrBlock(String cidrBlock) { + this.cidrBlock = cidrBlock; + this.__explicitlySet__.add("cidrBlock"); + return this; + } + /** + * This is the IPv6 CIDR block for the subnet's IP address space. The subnet size is always + * /64. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). The + * provided CIDR must maintain the following rules - + * + *

a. The IPv6 CIDR block is valid and correctly formatted. b. The IPv6 CIDR is within + * the parent VCN IPv6 range. + * + *

Example: {@code 2001:0db8:0123:1111::/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private String ipv6CidrBlock; + + /** + * This is the IPv6 CIDR block for the subnet's IP address space. The subnet size is always + * /64. See [IPv6 + * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). The + * provided CIDR must maintain the following rules - + * + *

a. The IPv6 CIDR block is valid and correctly formatted. b. The IPv6 CIDR is within + * the parent VCN IPv6 range. + * + *

Example: {@code 2001:0db8:0123:1111::/64} + * + * @param ipv6CidrBlock the value to set + * @return this builder + */ + public Builder ipv6CidrBlock(String ipv6CidrBlock) { + this.ipv6CidrBlock = ipv6CidrBlock; + this.__explicitlySet__.add("ipv6CidrBlock"); + return this; + } + /** + * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR + * blocks, BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: - The CIDR + * blocks must be valid. - Multiple CIDR blocks must not overlap each other or the + * on-premises network CIDR block. - The number of CIDR blocks must not exceed the limit of + * IPv6 CIDR blocks allowed to a subnet. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlocks") + private java.util.List ipv6CidrBlocks; + + /** + * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR + * blocks, BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: - The CIDR + * blocks must be valid. - Multiple CIDR blocks must not overlap each other or the + * on-premises network CIDR block. - The number of CIDR blocks must not exceed the limit of + * IPv6 CIDR blocks allowed to a subnet. + * + * @param ipv6CidrBlocks the value to set + * @return this builder + */ + public Builder ipv6CidrBlocks(java.util.List ipv6CidrBlocks) { + this.ipv6CidrBlocks = ipv6CidrBlocks; + this.__explicitlySet__.add("ipv6CidrBlocks"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -178,7 +284,10 @@ public UpdateSubnetDetails build() { this.displayName, this.freeformTags, this.routeTableId, - this.securityListIds); + this.securityListIds, + this.cidrBlock, + this.ipv6CidrBlock, + this.ipv6CidrBlocks); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -205,6 +314,15 @@ public Builder copy(UpdateSubnetDetails model) { if (model.wasPropertyExplicitlySet("securityListIds")) { this.securityListIds(model.getSecurityListIds()); } + if (model.wasPropertyExplicitlySet("cidrBlock")) { + this.cidrBlock(model.getCidrBlock()); + } + if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { + this.ipv6CidrBlock(model.getIpv6CidrBlock()); + } + if (model.wasPropertyExplicitlySet("ipv6CidrBlocks")) { + this.ipv6CidrBlocks(model.getIpv6CidrBlocks()); + } return this; } } @@ -322,6 +440,95 @@ public java.util.List getSecurityListIds() { return securityListIds; } + /** + * The CIDR block of the subnet. The new CIDR block must meet the following criteria: + * + *

- Must be valid. - The CIDR block's IP range must be completely within one of the VCN's + * CIDR block ranges. - The old and new CIDR block ranges must use the same network address. + * Example: {@code 10.0.0.0/25} and {@code 10.0.0.0/24}. - Must contain all IP addresses in use + * in the old CIDR range. - The new CIDR range's broadcast address (last IP address of CIDR + * range) must not be an IP address in use in the old CIDR range. + * + *

*Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs for + * this resource while the update is in progress. + * + *

Example: {@code 172.16.0.0/16} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private final String cidrBlock; + + /** + * The CIDR block of the subnet. The new CIDR block must meet the following criteria: + * + *

- Must be valid. - The CIDR block's IP range must be completely within one of the VCN's + * CIDR block ranges. - The old and new CIDR block ranges must use the same network address. + * Example: {@code 10.0.0.0/25} and {@code 10.0.0.0/24}. - Must contain all IP addresses in use + * in the old CIDR range. - The new CIDR range's broadcast address (last IP address of CIDR + * range) must not be an IP address in use in the old CIDR range. + * + *

*Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs for + * this resource while the update is in progress. + * + *

Example: {@code 172.16.0.0/16} + * + * @return the value + */ + public String getCidrBlock() { + return cidrBlock; + } + + /** + * This is the IPv6 CIDR block for the subnet's IP address space. The subnet size is always /64. + * See [IPv6 Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * The provided CIDR must maintain the following rules - + * + *

a. The IPv6 CIDR block is valid and correctly formatted. b. The IPv6 CIDR is within the + * parent VCN IPv6 range. + * + *

Example: {@code 2001:0db8:0123:1111::/64} + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") + private final String ipv6CidrBlock; + + /** + * This is the IPv6 CIDR block for the subnet's IP address space. The subnet size is always /64. + * See [IPv6 Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * The provided CIDR must maintain the following rules - + * + *

a. The IPv6 CIDR block is valid and correctly formatted. b. The IPv6 CIDR is within the + * parent VCN IPv6 range. + * + *

Example: {@code 2001:0db8:0123:1111::/64} + * + * @return the value + */ + public String getIpv6CidrBlock() { + return ipv6CidrBlock; + } + + /** + * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, + * BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: - The CIDR blocks must + * be valid. - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR + * block. - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a + * subnet. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlocks") + private final java.util.List ipv6CidrBlocks; + + /** + * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, + * BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: - The CIDR blocks must + * be valid. - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR + * block. - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a + * subnet. + * + * @return the value + */ + public java.util.List getIpv6CidrBlocks() { + return ipv6CidrBlocks; + } + @Override public String toString() { return this.toString(true); @@ -343,6 +550,9 @@ public String toString(boolean includeByteArrayContents) { sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); sb.append(", securityListIds=").append(String.valueOf(this.securityListIds)); + sb.append(", cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(", ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); + sb.append(", ipv6CidrBlocks=").append(String.valueOf(this.ipv6CidrBlocks)); sb.append(")"); return sb.toString(); } @@ -363,6 +573,9 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.routeTableId, other.routeTableId) && java.util.Objects.equals(this.securityListIds, other.securityListIds) + && java.util.Objects.equals(this.cidrBlock, other.cidrBlock) + && java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) + && java.util.Objects.equals(this.ipv6CidrBlocks, other.ipv6CidrBlocks) && super.equals(other); } @@ -380,6 +593,13 @@ public int hashCode() { result = (result * PRIME) + (this.securityListIds == null ? 43 : this.securityListIds.hashCode()); + result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = + (result * PRIME) + + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); + result = + (result * PRIME) + + (this.ipv6CidrBlocks == null ? 43 : this.ipv6CidrBlocks.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateTunnelCpeDeviceConfigDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateTunnelCpeDeviceConfigDetails.java new file mode 100644 index 00000000000..681f99667c3 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateTunnelCpeDeviceConfigDetails.java @@ -0,0 +1,141 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateTunnelCpeDeviceConfigDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateTunnelCpeDeviceConfigDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"tunnelCpeDeviceConfig"}) + public UpdateTunnelCpeDeviceConfigDetails( + java.util.List tunnelCpeDeviceConfig) { + super(); + this.tunnelCpeDeviceConfig = tunnelCpeDeviceConfig; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The set of configuration answers for a CPE device. */ + @com.fasterxml.jackson.annotation.JsonProperty("tunnelCpeDeviceConfig") + private java.util.List tunnelCpeDeviceConfig; + + /** + * The set of configuration answers for a CPE device. + * + * @param tunnelCpeDeviceConfig the value to set + * @return this builder + */ + public Builder tunnelCpeDeviceConfig( + java.util.List tunnelCpeDeviceConfig) { + this.tunnelCpeDeviceConfig = tunnelCpeDeviceConfig; + this.__explicitlySet__.add("tunnelCpeDeviceConfig"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateTunnelCpeDeviceConfigDetails build() { + UpdateTunnelCpeDeviceConfigDetails model = + new UpdateTunnelCpeDeviceConfigDetails(this.tunnelCpeDeviceConfig); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateTunnelCpeDeviceConfigDetails model) { + if (model.wasPropertyExplicitlySet("tunnelCpeDeviceConfig")) { + this.tunnelCpeDeviceConfig(model.getTunnelCpeDeviceConfig()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The set of configuration answers for a CPE device. */ + @com.fasterxml.jackson.annotation.JsonProperty("tunnelCpeDeviceConfig") + private final java.util.List tunnelCpeDeviceConfig; + + /** + * The set of configuration answers for a CPE device. + * + * @return the value + */ + public java.util.List getTunnelCpeDeviceConfig() { + return tunnelCpeDeviceConfig; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateTunnelCpeDeviceConfigDetails("); + sb.append("super=").append(super.toString()); + sb.append("tunnelCpeDeviceConfig=").append(String.valueOf(this.tunnelCpeDeviceConfig)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateTunnelCpeDeviceConfigDetails)) { + return false; + } + + UpdateTunnelCpeDeviceConfigDetails other = (UpdateTunnelCpeDeviceConfigDetails) o; + return java.util.Objects.equals(this.tunnelCpeDeviceConfig, other.tunnelCpeDeviceConfig) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.tunnelCpeDeviceConfig == null + ? 43 + : this.tunnelCpeDeviceConfig.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVirtualCircuitDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVirtualCircuitDetails.java index 44a9d3e4229..61f3c7944b4 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVirtualCircuitDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVirtualCircuitDetails.java @@ -26,28 +26,52 @@ public final class UpdateVirtualCircuitDetails @java.beans.ConstructorProperties({ "bandwidthShapeName", "crossConnectMappings", + "routingPolicy", + "bgpAdminState", + "isBfdEnabled", "customerBgpAsn", + "customerAsn", + "definedTags", "displayName", + "freeformTags", "gatewayId", "providerState", - "referenceComment" + "providerServiceKeyName", + "referenceComment", + "ipMtu" }) public UpdateVirtualCircuitDetails( String bandwidthShapeName, java.util.List crossConnectMappings, + java.util.List routingPolicy, + BgpAdminState bgpAdminState, + Boolean isBfdEnabled, Integer customerBgpAsn, + Long customerAsn, + java.util.Map> definedTags, String displayName, + java.util.Map freeformTags, String gatewayId, ProviderState providerState, - String referenceComment) { + String providerServiceKeyName, + String referenceComment, + VirtualCircuitIpMtu ipMtu) { super(); this.bandwidthShapeName = bandwidthShapeName; this.crossConnectMappings = crossConnectMappings; + this.routingPolicy = routingPolicy; + this.bgpAdminState = bgpAdminState; + this.isBfdEnabled = isBfdEnabled; this.customerBgpAsn = customerBgpAsn; + this.customerAsn = customerAsn; + this.definedTags = definedTags; this.displayName = displayName; + this.freeformTags = freeformTags; this.gatewayId = gatewayId; this.providerState = providerState; + this.providerServiceKeyName = providerServiceKeyName; this.referenceComment = referenceComment; + this.ipMtu = ipMtu; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -103,6 +127,88 @@ public Builder crossConnectMappings( this.__explicitlySet__.add("crossConnectMappings"); return this; } + /** + * The routing policy sets how routing information about the Oracle cloud is shared over a + * public virtual circuit. Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code + * REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. See [Route + * Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) + * for details. By default, routing information is shared for all routes in the same market. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routingPolicy") + private java.util.List routingPolicy; + + /** + * The routing policy sets how routing information about the Oracle cloud is shared over a + * public virtual circuit. Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code + * REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. See [Route + * Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) + * for details. By default, routing information is shared for all routes in the same market. + * + * @param routingPolicy the value to set + * @return this builder + */ + public Builder routingPolicy(java.util.List routingPolicy) { + this.routingPolicy = routingPolicy; + this.__explicitlySet__.add("routingPolicy"); + return this; + } + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, + * set to {@code DISABLED} to deactivate the virtual circuit. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpAdminState") + private BgpAdminState bgpAdminState; + + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, + * set to {@code DISABLED} to deactivate the virtual circuit. + * + * @param bgpAdminState the value to set + * @return this builder + */ + public Builder bgpAdminState(BgpAdminState bgpAdminState) { + this.bgpAdminState = bgpAdminState; + this.__explicitlySet__.add("bgpAdminState"); + return this; + } + /** + * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to + * disable BFD. If this is not set, the default is {@code false}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isBfdEnabled") + private Boolean isBfdEnabled; + + /** + * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to + * disable BFD. If this is not set, the default is {@code false}. + * + * @param isBfdEnabled the value to set + * @return this builder + */ + public Builder isBfdEnabled(Boolean isBfdEnabled) { + this.isBfdEnabled = isBfdEnabled; + this.__explicitlySet__.add("isBfdEnabled"); + return this; + } + /** + * Deprecated. Instead use {@code customerAsn}. If you specify values for both, the request + * will be rejected. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") + private Integer customerBgpAsn; + + /** + * Deprecated. Instead use {@code customerAsn}. If you specify values for both, the request + * will be rejected. + * + * @param customerBgpAsn the value to set + * @return this builder + */ + public Builder customerBgpAsn(Integer customerBgpAsn) { + this.customerBgpAsn = customerBgpAsn; + this.__explicitlySet__.add("customerBgpAsn"); + return this; + } /** * The BGP ASN of the network at the other end of the BGP session from Oracle. * @@ -111,9 +217,11 @@ public Builder crossConnectMappings( * *

If the BGP session is from the provider's edge router to Oracle, the required value is * the provider's ASN, and it can be updated only by the provider. + * + *

Can be a 2-byte or 4-byte ASN. Uses "asplain" format. */ - @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") - private Integer customerBgpAsn; + @com.fasterxml.jackson.annotation.JsonProperty("customerAsn") + private Long customerAsn; /** * The BGP ASN of the network at the other end of the BGP session from Oracle. @@ -124,12 +232,34 @@ public Builder crossConnectMappings( *

If the BGP session is from the provider's edge router to Oracle, the required value is * the provider's ASN, and it can be updated only by the provider. * - * @param customerBgpAsn the value to set + *

Can be a 2-byte or 4-byte ASN. Uses "asplain" format. + * + * @param customerAsn the value to set * @return this builder */ - public Builder customerBgpAsn(Integer customerBgpAsn) { - this.customerBgpAsn = customerBgpAsn; - this.__explicitlySet__.add("customerBgpAsn"); + public Builder customerAsn(Long customerAsn) { + this.customerAsn = customerAsn; + this.__explicitlySet__.add("customerAsn"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); return this; } /** @@ -151,6 +281,25 @@ public Builder displayName(String displayName) { this.__explicitlySet__.add("displayName"); return this; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the {@link Drg} that this private virtual circuit uses. @@ -201,6 +350,25 @@ public Builder providerState(ProviderState providerState) { this.__explicitlySet__.add("providerState"); return this; } + /** + * The service key name offered by the provider (if the customer is connecting via a + * provider). + */ + @com.fasterxml.jackson.annotation.JsonProperty("providerServiceKeyName") + private String providerServiceKeyName; + + /** + * The service key name offered by the provider (if the customer is connecting via a + * provider). + * + * @param providerServiceKeyName the value to set + * @return this builder + */ + public Builder providerServiceKeyName(String providerServiceKeyName) { + this.providerServiceKeyName = providerServiceKeyName; + this.__explicitlySet__.add("providerServiceKeyName"); + return this; + } /** * Provider-supplied reference information about this virtual circuit. Relevant only if the * customer is using FastConnect via a provider. @@ -224,6 +392,21 @@ public Builder referenceComment(String referenceComment) { this.__explicitlySet__.add("referenceComment"); return this; } + /** The layer 3 IP MTU to use on this virtual circuit. */ + @com.fasterxml.jackson.annotation.JsonProperty("ipMtu") + private VirtualCircuitIpMtu ipMtu; + + /** + * The layer 3 IP MTU to use on this virtual circuit. + * + * @param ipMtu the value to set + * @return this builder + */ + public Builder ipMtu(VirtualCircuitIpMtu ipMtu) { + this.ipMtu = ipMtu; + this.__explicitlySet__.add("ipMtu"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -233,11 +416,19 @@ public UpdateVirtualCircuitDetails build() { new UpdateVirtualCircuitDetails( this.bandwidthShapeName, this.crossConnectMappings, + this.routingPolicy, + this.bgpAdminState, + this.isBfdEnabled, this.customerBgpAsn, + this.customerAsn, + this.definedTags, this.displayName, + this.freeformTags, this.gatewayId, this.providerState, - this.referenceComment); + this.providerServiceKeyName, + this.referenceComment, + this.ipMtu); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -252,21 +443,45 @@ public Builder copy(UpdateVirtualCircuitDetails model) { if (model.wasPropertyExplicitlySet("crossConnectMappings")) { this.crossConnectMappings(model.getCrossConnectMappings()); } + if (model.wasPropertyExplicitlySet("routingPolicy")) { + this.routingPolicy(model.getRoutingPolicy()); + } + if (model.wasPropertyExplicitlySet("bgpAdminState")) { + this.bgpAdminState(model.getBgpAdminState()); + } + if (model.wasPropertyExplicitlySet("isBfdEnabled")) { + this.isBfdEnabled(model.getIsBfdEnabled()); + } if (model.wasPropertyExplicitlySet("customerBgpAsn")) { this.customerBgpAsn(model.getCustomerBgpAsn()); } + if (model.wasPropertyExplicitlySet("customerAsn")) { + this.customerAsn(model.getCustomerAsn()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } if (model.wasPropertyExplicitlySet("gatewayId")) { this.gatewayId(model.getGatewayId()); } if (model.wasPropertyExplicitlySet("providerState")) { this.providerState(model.getProviderState()); } + if (model.wasPropertyExplicitlySet("providerServiceKeyName")) { + this.providerServiceKeyName(model.getProviderServiceKeyName()); + } if (model.wasPropertyExplicitlySet("referenceComment")) { this.referenceComment(model.getReferenceComment()); } + if (model.wasPropertyExplicitlySet("ipMtu")) { + this.ipMtu(model.getIpMtu()); + } return this; } } @@ -326,6 +541,151 @@ public java.util.List getCrossConnectMappings() { return crossConnectMappings; } + /** */ + public enum RoutingPolicy implements com.oracle.bmc.http.internal.BmcEnum { + OracleServiceNetwork("ORACLE_SERVICE_NETWORK"), + Regional("REGIONAL"), + MarketLevel("MARKET_LEVEL"), + Global("GLOBAL"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (RoutingPolicy v : RoutingPolicy.values()) { + map.put(v.getValue(), v); + } + } + + RoutingPolicy(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static RoutingPolicy create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid RoutingPolicy: " + key); + } + }; + /** + * The routing policy sets how routing information about the Oracle cloud is shared over a + * public virtual circuit. Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code + * REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. See [Route + * Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) + * for details. By default, routing information is shared for all routes in the same market. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routingPolicy") + private final java.util.List routingPolicy; + + /** + * The routing policy sets how routing information about the Oracle cloud is shared over a + * public virtual circuit. Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code + * REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. See [Route + * Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) + * for details. By default, routing information is shared for all routes in the same market. + * + * @return the value + */ + public java.util.List getRoutingPolicy() { + return routingPolicy; + } + + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set + * to {@code DISABLED} to deactivate the virtual circuit. + */ + public enum BgpAdminState implements com.oracle.bmc.http.internal.BmcEnum { + Enabled("ENABLED"), + Disabled("DISABLED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (BgpAdminState v : BgpAdminState.values()) { + map.put(v.getValue(), v); + } + } + + BgpAdminState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static BgpAdminState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid BgpAdminState: " + key); + } + }; + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set + * to {@code DISABLED} to deactivate the virtual circuit. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpAdminState") + private final BgpAdminState bgpAdminState; + + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set + * to {@code DISABLED} to deactivate the virtual circuit. + * + * @return the value + */ + public BgpAdminState getBgpAdminState() { + return bgpAdminState; + } + + /** + * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to disable + * BFD. If this is not set, the default is {@code false}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isBfdEnabled") + private final Boolean isBfdEnabled; + + /** + * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to disable + * BFD. If this is not set, the default is {@code false}. + * + * @return the value + */ + public Boolean getIsBfdEnabled() { + return isBfdEnabled; + } + + /** + * Deprecated. Instead use {@code customerAsn}. If you specify values for both, the request will + * be rejected. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") + private final Integer customerBgpAsn; + + /** + * Deprecated. Instead use {@code customerAsn}. If you specify values for both, the request will + * be rejected. + * + * @return the value + */ + public Integer getCustomerBgpAsn() { + return customerBgpAsn; + } + /** * The BGP ASN of the network at the other end of the BGP session from Oracle. * @@ -334,9 +694,11 @@ public java.util.List getCrossConnectMappings() { * *

If the BGP session is from the provider's edge router to Oracle, the required value is the * provider's ASN, and it can be updated only by the provider. + * + *

Can be a 2-byte or 4-byte ASN. Uses "asplain" format. */ - @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") - private final Integer customerBgpAsn; + @com.fasterxml.jackson.annotation.JsonProperty("customerAsn") + private final Long customerAsn; /** * The BGP ASN of the network at the other end of the BGP session from Oracle. @@ -347,10 +709,29 @@ public java.util.List getCrossConnectMappings() { *

If the BGP session is from the provider's edge router to Oracle, the required value is the * provider's ASN, and it can be updated only by the provider. * + *

Can be a 2-byte or 4-byte ASN. Uses "asplain" format. + * * @return the value */ - public Integer getCustomerBgpAsn() { - return customerBgpAsn; + public Long getCustomerAsn() { + return customerAsn; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; } /** @@ -370,6 +751,23 @@ public String getDisplayName() { return displayName; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the {@link Drg} that this private virtual circuit uses. @@ -456,6 +854,21 @@ public ProviderState getProviderState() { return providerState; } + /** + * The service key name offered by the provider (if the customer is connecting via a provider). + */ + @com.fasterxml.jackson.annotation.JsonProperty("providerServiceKeyName") + private final String providerServiceKeyName; + + /** + * The service key name offered by the provider (if the customer is connecting via a provider). + * + * @return the value + */ + public String getProviderServiceKeyName() { + return providerServiceKeyName; + } + /** * Provider-supplied reference information about this virtual circuit. Relevant only if the * customer is using FastConnect via a provider. @@ -477,6 +890,19 @@ public String getReferenceComment() { return referenceComment; } + /** The layer 3 IP MTU to use on this virtual circuit. */ + @com.fasterxml.jackson.annotation.JsonProperty("ipMtu") + private final VirtualCircuitIpMtu ipMtu; + + /** + * The layer 3 IP MTU to use on this virtual circuit. + * + * @return the value + */ + public VirtualCircuitIpMtu getIpMtu() { + return ipMtu; + } + @Override public String toString() { return this.toString(true); @@ -494,11 +920,19 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("bandwidthShapeName=").append(String.valueOf(this.bandwidthShapeName)); sb.append(", crossConnectMappings=").append(String.valueOf(this.crossConnectMappings)); + sb.append(", routingPolicy=").append(String.valueOf(this.routingPolicy)); + sb.append(", bgpAdminState=").append(String.valueOf(this.bgpAdminState)); + sb.append(", isBfdEnabled=").append(String.valueOf(this.isBfdEnabled)); sb.append(", customerBgpAsn=").append(String.valueOf(this.customerBgpAsn)); + sb.append(", customerAsn=").append(String.valueOf(this.customerAsn)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", gatewayId=").append(String.valueOf(this.gatewayId)); sb.append(", providerState=").append(String.valueOf(this.providerState)); + sb.append(", providerServiceKeyName=").append(String.valueOf(this.providerServiceKeyName)); sb.append(", referenceComment=").append(String.valueOf(this.referenceComment)); + sb.append(", ipMtu=").append(String.valueOf(this.ipMtu)); sb.append(")"); return sb.toString(); } @@ -515,11 +949,20 @@ public boolean equals(Object o) { UpdateVirtualCircuitDetails other = (UpdateVirtualCircuitDetails) o; return java.util.Objects.equals(this.bandwidthShapeName, other.bandwidthShapeName) && java.util.Objects.equals(this.crossConnectMappings, other.crossConnectMappings) + && java.util.Objects.equals(this.routingPolicy, other.routingPolicy) + && java.util.Objects.equals(this.bgpAdminState, other.bgpAdminState) + && java.util.Objects.equals(this.isBfdEnabled, other.isBfdEnabled) && java.util.Objects.equals(this.customerBgpAsn, other.customerBgpAsn) + && java.util.Objects.equals(this.customerAsn, other.customerAsn) + && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.gatewayId, other.gatewayId) && java.util.Objects.equals(this.providerState, other.providerState) + && java.util.Objects.equals( + this.providerServiceKeyName, other.providerServiceKeyName) && java.util.Objects.equals(this.referenceComment, other.referenceComment) + && java.util.Objects.equals(this.ipMtu, other.ipMtu) && super.equals(other); } @@ -537,17 +980,33 @@ public int hashCode() { + (this.crossConnectMappings == null ? 43 : this.crossConnectMappings.hashCode()); + result = + (result * PRIME) + + (this.routingPolicy == null ? 43 : this.routingPolicy.hashCode()); + result = + (result * PRIME) + + (this.bgpAdminState == null ? 43 : this.bgpAdminState.hashCode()); + result = (result * PRIME) + (this.isBfdEnabled == null ? 43 : this.isBfdEnabled.hashCode()); result = (result * PRIME) + (this.customerBgpAsn == null ? 43 : this.customerBgpAsn.hashCode()); + result = (result * PRIME) + (this.customerAsn == null ? 43 : this.customerAsn.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.gatewayId == null ? 43 : this.gatewayId.hashCode()); result = (result * PRIME) + (this.providerState == null ? 43 : this.providerState.hashCode()); + result = + (result * PRIME) + + (this.providerServiceKeyName == null + ? 43 + : this.providerServiceKeyName.hashCode()); result = (result * PRIME) + (this.referenceComment == null ? 43 : this.referenceComment.hashCode()); + result = (result * PRIME) + (this.ipMtu == null ? 43 : this.ipMtu.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVlanDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVlanDetails.java new file mode 100644 index 00000000000..00f718b23a4 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVlanDetails.java @@ -0,0 +1,414 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + *
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateVlanDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateVlanDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "definedTags", + "displayName", + "freeformTags", + "nsgIds", + "routeTableId", + "cidrBlock" + }) + public UpdateVlanDetails( + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + java.util.List nsgIds, + String routeTableId, + String cidrBlock) { + super(); + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.nsgIds = nsgIds; + this.routeTableId = routeTableId; + this.cidrBlock = cidrBlock; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * A list of the OCIDs of the network security groups (NSGs) to use with this VLAN. All + * VNICs in the VLAN will belong to these NSGs. For more information about NSGs, see {@link + * NetworkSecurityGroup}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") + private java.util.List nsgIds; + + /** + * A list of the OCIDs of the network security groups (NSGs) to use with this VLAN. All + * VNICs in the VLAN will belong to these NSGs. For more information about NSGs, see {@link + * NetworkSecurityGroup}. + * + * @param nsgIds the value to set + * @return this builder + */ + public Builder nsgIds(java.util.List nsgIds) { + this.nsgIds = nsgIds; + this.__explicitlySet__.add("nsgIds"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the VLAN will use. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table the VLAN will use. + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } + /** + * The CIDR block of the VLAN. The new CIDR block must meet the following criteria: + * + *

- Must be valid. - The CIDR block's IP range must be completely within one of the + * VCN's CIDR block ranges. - The old and new CIDR block ranges must use the same network + * address. Example: {@code 10.0.0.0/25} and {@code 10.0.0.0/24}. - Must contain all IP + * addresses in use in the old CIDR range. - The new CIDR range's broadcast address (last IP + * address of CIDR range) must not be an IP address in use in the old CIDR range. + * + *

*Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs + * for this resource while the update is in progress. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private String cidrBlock; + + /** + * The CIDR block of the VLAN. The new CIDR block must meet the following criteria: + * + *

- Must be valid. - The CIDR block's IP range must be completely within one of the + * VCN's CIDR block ranges. - The old and new CIDR block ranges must use the same network + * address. Example: {@code 10.0.0.0/25} and {@code 10.0.0.0/24}. - Must contain all IP + * addresses in use in the old CIDR range. - The new CIDR range's broadcast address (last IP + * address of CIDR range) must not be an IP address in use in the old CIDR range. + * + *

*Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs + * for this resource while the update is in progress. + * + * @param cidrBlock the value to set + * @return this builder + */ + public Builder cidrBlock(String cidrBlock) { + this.cidrBlock = cidrBlock; + this.__explicitlySet__.add("cidrBlock"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateVlanDetails build() { + UpdateVlanDetails model = + new UpdateVlanDetails( + this.definedTags, + this.displayName, + this.freeformTags, + this.nsgIds, + this.routeTableId, + this.cidrBlock); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateVlanDetails model) { + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("nsgIds")) { + this.nsgIds(model.getNsgIds()); + } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } + if (model.wasPropertyExplicitlySet("cidrBlock")) { + this.cidrBlock(model.getCidrBlock()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * A list of the OCIDs of the network security groups (NSGs) to use with this VLAN. All VNICs in + * the VLAN will belong to these NSGs. For more information about NSGs, see {@link + * NetworkSecurityGroup}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") + private final java.util.List nsgIds; + + /** + * A list of the OCIDs of the network security groups (NSGs) to use with this VLAN. All VNICs in + * the VLAN will belong to these NSGs. For more information about NSGs, see {@link + * NetworkSecurityGroup}. + * + * @return the value + */ + public java.util.List getNsgIds() { + return nsgIds; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the VLAN will use. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table the VLAN will use. + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + + /** + * The CIDR block of the VLAN. The new CIDR block must meet the following criteria: + * + *

- Must be valid. - The CIDR block's IP range must be completely within one of the VCN's + * CIDR block ranges. - The old and new CIDR block ranges must use the same network address. + * Example: {@code 10.0.0.0/25} and {@code 10.0.0.0/24}. - Must contain all IP addresses in use + * in the old CIDR range. - The new CIDR range's broadcast address (last IP address of CIDR + * range) must not be an IP address in use in the old CIDR range. + * + *

*Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs for + * this resource while the update is in progress. + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private final String cidrBlock; + + /** + * The CIDR block of the VLAN. The new CIDR block must meet the following criteria: + * + *

- Must be valid. - The CIDR block's IP range must be completely within one of the VCN's + * CIDR block ranges. - The old and new CIDR block ranges must use the same network address. + * Example: {@code 10.0.0.0/25} and {@code 10.0.0.0/24}. - Must contain all IP addresses in use + * in the old CIDR range. - The new CIDR range's broadcast address (last IP address of CIDR + * range) must not be an IP address in use in the old CIDR range. + * + *

*Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs for + * this resource while the update is in progress. + * + * @return the value + */ + public String getCidrBlock() { + return cidrBlock; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateVlanDetails("); + sb.append("super=").append(super.toString()); + sb.append("definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", nsgIds=").append(String.valueOf(this.nsgIds)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); + sb.append(", cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateVlanDetails)) { + return false; + } + + UpdateVlanDetails other = (UpdateVlanDetails) o; + return java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.nsgIds, other.nsgIds) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) + && java.util.Objects.equals(this.cidrBlock, other.cidrBlock) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.nsgIds == null ? 43 : this.nsgIds.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); + result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVnicDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVnicDetails.java index 7f2e2b28197..41b8a46fc4f 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVnicDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVnicDetails.java @@ -110,7 +110,7 @@ public Builder freeformTags(java.util.Map freeformTags) { /** * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname * portion of the primary private IP's fully qualified domain name (FQDN) (for example, - * {@code bminstance-1} in FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be + * {@code bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be * unique across all VNICs in the subnet and comply with [RFC * 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object @@ -127,7 +127,7 @@ public Builder freeformTags(java.util.Map freeformTags) { /** * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname * portion of the primary private IP's fully qualified domain name (FQDN) (for example, - * {@code bminstance-1} in FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be + * {@code bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be * unique across all VNICs in the subnet and comply with [RFC * 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object @@ -150,6 +150,10 @@ public Builder hostnameLabel(String hostnameLabel) { * A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. Setting * this as an empty array removes the VNIC from all network security groups. * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the value of the {@code nsgIds} attribute is ignored. Instead, + * the VNIC belongs to the NSGs that are associated with the VLAN itself. See {@link Vlan}. + * *

For more information about NSGs, see {@link NetworkSecurityGroup}. */ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") @@ -159,6 +163,10 @@ public Builder hostnameLabel(String hostnameLabel) { * A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. Setting * this as an empty array removes the VNIC from all network security groups. * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the value of the {@code nsgIds} attribute is ignored. Instead, + * the VNIC belongs to the NSGs that are associated with the VLAN itself. See {@link Vlan}. + * *

For more information about NSGs, see {@link NetworkSecurityGroup}. * * @param nsgIds the value to set @@ -174,7 +182,11 @@ public Builder nsgIds(java.util.List nsgIds) { * which means the check is performed. For information about why you would skip the * source/destination check, see [Using a Private IP as a Route * Target](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). - * Example: {@code true} + * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the value of the {@code skipSourceDestCheck} attribute is + * ignored. This is because the source/destination check is always disabled for VNICs in a + * VLAN. Example: {@code true} */ @com.fasterxml.jackson.annotation.JsonProperty("skipSourceDestCheck") private Boolean skipSourceDestCheck; @@ -184,7 +196,11 @@ public Builder nsgIds(java.util.List nsgIds) { * which means the check is performed. For information about why you would skip the * source/destination check, see [Using a Private IP as a Route * Target](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). - * Example: {@code true} + * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the value of the {@code skipSourceDestCheck} attribute is + * ignored. This is because the source/destination check is always disabled for VNICs in a + * VLAN. Example: {@code true} * * @param skipSourceDestCheck the value to set * @return this builder @@ -300,10 +316,10 @@ public java.util.Map getFreeformTags() { /** * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname * portion of the primary private IP's fully qualified domain name (FQDN) (for example, {@code - * bminstance-1} in FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique - * across all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) - * and [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} - * object and also the {@link PrivateIp} object returned by {@link + * bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across + * all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and + * [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object + * and also the {@link PrivateIp} object returned by {@link * #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}. * @@ -316,10 +332,10 @@ public java.util.Map getFreeformTags() { /** * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname * portion of the primary private IP's fully qualified domain name (FQDN) (for example, {@code - * bminstance-1} in FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique - * across all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) - * and [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} - * object and also the {@link PrivateIp} object returned by {@link + * bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across + * all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and + * [RFC 1123](https://tools.ietf.org/html/rfc1123). The value appears in the {@link Vnic} object + * and also the {@link PrivateIp} object returned by {@link * #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and {@link * #getPrivateIp(GetPrivateIpRequest) getPrivateIp}. * @@ -336,6 +352,10 @@ public String getHostnameLabel() { * A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. Setting this as * an empty array removes the VNIC from all network security groups. * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the value of the {@code nsgIds} attribute is ignored. Instead, the + * VNIC belongs to the NSGs that are associated with the VLAN itself. See {@link Vlan}. + * *

For more information about NSGs, see {@link NetworkSecurityGroup}. */ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") @@ -345,6 +365,10 @@ public String getHostnameLabel() { * A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. Setting this as * an empty array removes the VNIC from all network security groups. * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the value of the {@code nsgIds} attribute is ignored. Instead, the + * VNIC belongs to the NSGs that are associated with the VLAN itself. See {@link Vlan}. + * *

For more information about NSGs, see {@link NetworkSecurityGroup}. * * @return the value @@ -358,7 +382,11 @@ public java.util.List getNsgIds() { * which means the check is performed. For information about why you would skip the * source/destination check, see [Using a Private IP as a Route * Target](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). - * Example: {@code true} + * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the value of the {@code skipSourceDestCheck} attribute is ignored. + * This is because the source/destination check is always disabled for VNICs in a VLAN. Example: + * {@code true} */ @com.fasterxml.jackson.annotation.JsonProperty("skipSourceDestCheck") private final Boolean skipSourceDestCheck; @@ -368,7 +396,11 @@ public java.util.List getNsgIds() { * which means the check is performed. For information about why you would skip the * source/destination check, see [Using a Private IP as a Route * Target](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). - * Example: {@code true} + * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the value of the {@code skipSourceDestCheck} attribute is ignored. + * This is because the source/destination check is always disabled for VNICs in a VLAN. Example: + * {@code true} * * @return the value */ diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVtapDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVtapDetails.java new file mode 100644 index 00000000000..02fa247675b --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/UpdateVtapDetails.java @@ -0,0 +1,964 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * These details can be included in a request to update a virtual test access point (VTAP).
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = UpdateVtapDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class UpdateVtapDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "definedTags", + "displayName", + "freeformTags", + "sourceId", + "targetId", + "targetIp", + "captureFilterId", + "encapsulationProtocol", + "vxlanNetworkIdentifier", + "isVtapEnabled", + "trafficMode", + "maxPacketSize", + "sourcePrivateEndpointIp", + "sourcePrivateEndpointSubnetId", + "targetType", + "sourceType" + }) + public UpdateVtapDetails( + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + String sourceId, + String targetId, + String targetIp, + String captureFilterId, + EncapsulationProtocol encapsulationProtocol, + Long vxlanNetworkIdentifier, + Boolean isVtapEnabled, + TrafficMode trafficMode, + Integer maxPacketSize, + String sourcePrivateEndpointIp, + String sourcePrivateEndpointSubnetId, + TargetType targetType, + SourceType sourceType) { + super(); + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.sourceId = sourceId; + this.targetId = targetId; + this.targetIp = targetIp; + this.captureFilterId = captureFilterId; + this.encapsulationProtocol = encapsulationProtocol; + this.vxlanNetworkIdentifier = vxlanNetworkIdentifier; + this.isVtapEnabled = isVtapEnabled; + this.trafficMode = trafficMode; + this.maxPacketSize = maxPacketSize; + this.sourcePrivateEndpointIp = sourcePrivateEndpointIp; + this.sourcePrivateEndpointSubnetId = sourcePrivateEndpointSubnetId; + this.targetType = targetType; + this.sourceType = sourceType; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the source point where packets are captured. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceId") + private String sourceId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the source point where packets are captured. + * + * @param sourceId the value to set + * @return this builder + */ + public Builder sourceId(String sourceId) { + this.sourceId = sourceId; + this.__explicitlySet__.add("sourceId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination resource where mirrored packets are sent. + */ + @com.fasterxml.jackson.annotation.JsonProperty("targetId") + private String targetId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination resource where mirrored packets are sent. + * + * @param targetId the value to set + * @return this builder + */ + public Builder targetId(String targetId) { + this.targetId = targetId; + this.__explicitlySet__.add("targetId"); + return this; + } + /** The IP address of the destination resource where mirrored packets are sent. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetIp") + private String targetIp; + + /** + * The IP address of the destination resource where mirrored packets are sent. + * + * @param targetIp the value to set + * @return this builder + */ + public Builder targetIp(String targetIp) { + this.targetIp = targetIp; + this.__explicitlySet__.add("targetIp"); + return this; + } + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + */ + @com.fasterxml.jackson.annotation.JsonProperty("captureFilterId") + private String captureFilterId; + + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + * + * @param captureFilterId the value to set + * @return this builder + */ + public Builder captureFilterId(String captureFilterId) { + this.captureFilterId = captureFilterId; + this.__explicitlySet__.add("captureFilterId"); + return this; + } + /** Defines an encapsulation header type for the VTAP's mirrored traffic. */ + @com.fasterxml.jackson.annotation.JsonProperty("encapsulationProtocol") + private EncapsulationProtocol encapsulationProtocol; + + /** + * Defines an encapsulation header type for the VTAP's mirrored traffic. + * + * @param encapsulationProtocol the value to set + * @return this builder + */ + public Builder encapsulationProtocol(EncapsulationProtocol encapsulationProtocol) { + this.encapsulationProtocol = encapsulationProtocol; + this.__explicitlySet__.add("encapsulationProtocol"); + return this; + } + /** + * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely + * identifies the VXLAN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vxlanNetworkIdentifier") + private Long vxlanNetworkIdentifier; + + /** + * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely + * identifies the VXLAN. + * + * @param vxlanNetworkIdentifier the value to set + * @return this builder + */ + public Builder vxlanNetworkIdentifier(Long vxlanNetworkIdentifier) { + this.vxlanNetworkIdentifier = vxlanNetworkIdentifier; + this.__explicitlySet__.add("vxlanNetworkIdentifier"); + return this; + } + /** + * Used to start or stop a {@code Vtap} resource. + * + *

{@code TRUE} directs the VTAP to start mirroring traffic. * {@code FALSE} (Default) + * directs the VTAP to stop mirroring traffic. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isVtapEnabled") + private Boolean isVtapEnabled; + + /** + * Used to start or stop a {@code Vtap} resource. + * + *

{@code TRUE} directs the VTAP to start mirroring traffic. * {@code FALSE} (Default) + * directs the VTAP to stop mirroring traffic. + * + * @param isVtapEnabled the value to set + * @return this builder + */ + public Builder isVtapEnabled(Boolean isVtapEnabled) { + this.isVtapEnabled = isVtapEnabled; + this.__explicitlySet__.add("isVtapEnabled"); + return this; + } + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the + * value is DEFAULT + */ + @com.fasterxml.jackson.annotation.JsonProperty("trafficMode") + private TrafficMode trafficMode; + + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the + * value is DEFAULT + * + * @param trafficMode the value to set + * @return this builder + */ + public Builder trafficMode(TrafficMode trafficMode) { + this.trafficMode = trafficMode; + this.__explicitlySet__.add("trafficMode"); + return this; + } + /** The maximum size of the packets to be included in the filter. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxPacketSize") + private Integer maxPacketSize; + + /** + * The maximum size of the packets to be included in the filter. + * + * @param maxPacketSize the value to set + * @return this builder + */ + public Builder maxPacketSize(Integer maxPacketSize) { + this.maxPacketSize = maxPacketSize; + this.__explicitlySet__.add("maxPacketSize"); + return this; + } + /** The IP Address of the source private endpoint. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePrivateEndpointIp") + private String sourcePrivateEndpointIp; + + /** + * The IP Address of the source private endpoint. + * + * @param sourcePrivateEndpointIp the value to set + * @return this builder + */ + public Builder sourcePrivateEndpointIp(String sourcePrivateEndpointIp) { + this.sourcePrivateEndpointIp = sourcePrivateEndpointIp; + this.__explicitlySet__.add("sourcePrivateEndpointIp"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the subnet that source private endpoint belongs to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePrivateEndpointSubnetId") + private String sourcePrivateEndpointSubnetId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the subnet that source private endpoint belongs to. + * + * @param sourcePrivateEndpointSubnetId the value to set + * @return this builder + */ + public Builder sourcePrivateEndpointSubnetId(String sourcePrivateEndpointSubnetId) { + this.sourcePrivateEndpointSubnetId = sourcePrivateEndpointSubnetId; + this.__explicitlySet__.add("sourcePrivateEndpointSubnetId"); + return this; + } + /** The target type for the VTAP. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetType") + private TargetType targetType; + + /** + * The target type for the VTAP. + * + * @param targetType the value to set + * @return this builder + */ + public Builder targetType(TargetType targetType) { + this.targetType = targetType; + this.__explicitlySet__.add("targetType"); + return this; + } + /** The source type for the VTAP. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceType") + private SourceType sourceType; + + /** + * The source type for the VTAP. + * + * @param sourceType the value to set + * @return this builder + */ + public Builder sourceType(SourceType sourceType) { + this.sourceType = sourceType; + this.__explicitlySet__.add("sourceType"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public UpdateVtapDetails build() { + UpdateVtapDetails model = + new UpdateVtapDetails( + this.definedTags, + this.displayName, + this.freeformTags, + this.sourceId, + this.targetId, + this.targetIp, + this.captureFilterId, + this.encapsulationProtocol, + this.vxlanNetworkIdentifier, + this.isVtapEnabled, + this.trafficMode, + this.maxPacketSize, + this.sourcePrivateEndpointIp, + this.sourcePrivateEndpointSubnetId, + this.targetType, + this.sourceType); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(UpdateVtapDetails model) { + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("sourceId")) { + this.sourceId(model.getSourceId()); + } + if (model.wasPropertyExplicitlySet("targetId")) { + this.targetId(model.getTargetId()); + } + if (model.wasPropertyExplicitlySet("targetIp")) { + this.targetIp(model.getTargetIp()); + } + if (model.wasPropertyExplicitlySet("captureFilterId")) { + this.captureFilterId(model.getCaptureFilterId()); + } + if (model.wasPropertyExplicitlySet("encapsulationProtocol")) { + this.encapsulationProtocol(model.getEncapsulationProtocol()); + } + if (model.wasPropertyExplicitlySet("vxlanNetworkIdentifier")) { + this.vxlanNetworkIdentifier(model.getVxlanNetworkIdentifier()); + } + if (model.wasPropertyExplicitlySet("isVtapEnabled")) { + this.isVtapEnabled(model.getIsVtapEnabled()); + } + if (model.wasPropertyExplicitlySet("trafficMode")) { + this.trafficMode(model.getTrafficMode()); + } + if (model.wasPropertyExplicitlySet("maxPacketSize")) { + this.maxPacketSize(model.getMaxPacketSize()); + } + if (model.wasPropertyExplicitlySet("sourcePrivateEndpointIp")) { + this.sourcePrivateEndpointIp(model.getSourcePrivateEndpointIp()); + } + if (model.wasPropertyExplicitlySet("sourcePrivateEndpointSubnetId")) { + this.sourcePrivateEndpointSubnetId(model.getSourcePrivateEndpointSubnetId()); + } + if (model.wasPropertyExplicitlySet("targetType")) { + this.targetType(model.getTargetType()); + } + if (model.wasPropertyExplicitlySet("sourceType")) { + this.sourceType(model.getSourceType()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the source point where packets are captured. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceId") + private final String sourceId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the source point where packets are captured. + * + * @return the value + */ + public String getSourceId() { + return sourceId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination resource where mirrored packets are sent. + */ + @com.fasterxml.jackson.annotation.JsonProperty("targetId") + private final String targetId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination resource where mirrored packets are sent. + * + * @return the value + */ + public String getTargetId() { + return targetId; + } + + /** The IP address of the destination resource where mirrored packets are sent. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetIp") + private final String targetIp; + + /** + * The IP address of the destination resource where mirrored packets are sent. + * + * @return the value + */ + public String getTargetIp() { + return targetIp; + } + + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + */ + @com.fasterxml.jackson.annotation.JsonProperty("captureFilterId") + private final String captureFilterId; + + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + * + * @return the value + */ + public String getCaptureFilterId() { + return captureFilterId; + } + + /** Defines an encapsulation header type for the VTAP's mirrored traffic. */ + public enum EncapsulationProtocol implements com.oracle.bmc.http.internal.BmcEnum { + Vxlan("VXLAN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (EncapsulationProtocol v : EncapsulationProtocol.values()) { + map.put(v.getValue(), v); + } + } + + EncapsulationProtocol(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static EncapsulationProtocol create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid EncapsulationProtocol: " + key); + } + }; + /** Defines an encapsulation header type for the VTAP's mirrored traffic. */ + @com.fasterxml.jackson.annotation.JsonProperty("encapsulationProtocol") + private final EncapsulationProtocol encapsulationProtocol; + + /** + * Defines an encapsulation header type for the VTAP's mirrored traffic. + * + * @return the value + */ + public EncapsulationProtocol getEncapsulationProtocol() { + return encapsulationProtocol; + } + + /** + * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely + * identifies the VXLAN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vxlanNetworkIdentifier") + private final Long vxlanNetworkIdentifier; + + /** + * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely + * identifies the VXLAN. + * + * @return the value + */ + public Long getVxlanNetworkIdentifier() { + return vxlanNetworkIdentifier; + } + + /** + * Used to start or stop a {@code Vtap} resource. + * + *

{@code TRUE} directs the VTAP to start mirroring traffic. * {@code FALSE} (Default) + * directs the VTAP to stop mirroring traffic. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isVtapEnabled") + private final Boolean isVtapEnabled; + + /** + * Used to start or stop a {@code Vtap} resource. + * + *

{@code TRUE} directs the VTAP to start mirroring traffic. * {@code FALSE} (Default) + * directs the VTAP to stop mirroring traffic. + * + * @return the value + */ + public Boolean getIsVtapEnabled() { + return isVtapEnabled; + } + + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the value + * is DEFAULT + */ + public enum TrafficMode implements com.oracle.bmc.http.internal.BmcEnum { + Default("DEFAULT"), + Priority("PRIORITY"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (TrafficMode v : TrafficMode.values()) { + map.put(v.getValue(), v); + } + } + + TrafficMode(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static TrafficMode create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid TrafficMode: " + key); + } + }; + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the value + * is DEFAULT + */ + @com.fasterxml.jackson.annotation.JsonProperty("trafficMode") + private final TrafficMode trafficMode; + + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the value + * is DEFAULT + * + * @return the value + */ + public TrafficMode getTrafficMode() { + return trafficMode; + } + + /** The maximum size of the packets to be included in the filter. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxPacketSize") + private final Integer maxPacketSize; + + /** + * The maximum size of the packets to be included in the filter. + * + * @return the value + */ + public Integer getMaxPacketSize() { + return maxPacketSize; + } + + /** The IP Address of the source private endpoint. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePrivateEndpointIp") + private final String sourcePrivateEndpointIp; + + /** + * The IP Address of the source private endpoint. + * + * @return the value + */ + public String getSourcePrivateEndpointIp() { + return sourcePrivateEndpointIp; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the subnet that source private endpoint belongs to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePrivateEndpointSubnetId") + private final String sourcePrivateEndpointSubnetId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the subnet that source private endpoint belongs to. + * + * @return the value + */ + public String getSourcePrivateEndpointSubnetId() { + return sourcePrivateEndpointSubnetId; + } + + /** The target type for the VTAP. */ + public enum TargetType implements com.oracle.bmc.http.internal.BmcEnum { + Vnic("VNIC"), + NetworkLoadBalancer("NETWORK_LOAD_BALANCER"), + IpAddress("IP_ADDRESS"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (TargetType v : TargetType.values()) { + map.put(v.getValue(), v); + } + } + + TargetType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static TargetType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid TargetType: " + key); + } + }; + /** The target type for the VTAP. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetType") + private final TargetType targetType; + + /** + * The target type for the VTAP. + * + * @return the value + */ + public TargetType getTargetType() { + return targetType; + } + + /** The source type for the VTAP. */ + public enum SourceType implements com.oracle.bmc.http.internal.BmcEnum { + Vnic("VNIC"), + Subnet("SUBNET"), + LoadBalancer("LOAD_BALANCER"), + DbSystem("DB_SYSTEM"), + ExadataVmCluster("EXADATA_VM_CLUSTER"), + AutonomousDataWarehouse("AUTONOMOUS_DATA_WAREHOUSE"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SourceType v : SourceType.values()) { + map.put(v.getValue(), v); + } + } + + SourceType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SourceType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid SourceType: " + key); + } + }; + /** The source type for the VTAP. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceType") + private final SourceType sourceType; + + /** + * The source type for the VTAP. + * + * @return the value + */ + public SourceType getSourceType() { + return sourceType; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("UpdateVtapDetails("); + sb.append("super=").append(super.toString()); + sb.append("definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", sourceId=").append(String.valueOf(this.sourceId)); + sb.append(", targetId=").append(String.valueOf(this.targetId)); + sb.append(", targetIp=").append(String.valueOf(this.targetIp)); + sb.append(", captureFilterId=").append(String.valueOf(this.captureFilterId)); + sb.append(", encapsulationProtocol=").append(String.valueOf(this.encapsulationProtocol)); + sb.append(", vxlanNetworkIdentifier=").append(String.valueOf(this.vxlanNetworkIdentifier)); + sb.append(", isVtapEnabled=").append(String.valueOf(this.isVtapEnabled)); + sb.append(", trafficMode=").append(String.valueOf(this.trafficMode)); + sb.append(", maxPacketSize=").append(String.valueOf(this.maxPacketSize)); + sb.append(", sourcePrivateEndpointIp=") + .append(String.valueOf(this.sourcePrivateEndpointIp)); + sb.append(", sourcePrivateEndpointSubnetId=") + .append(String.valueOf(this.sourcePrivateEndpointSubnetId)); + sb.append(", targetType=").append(String.valueOf(this.targetType)); + sb.append(", sourceType=").append(String.valueOf(this.sourceType)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof UpdateVtapDetails)) { + return false; + } + + UpdateVtapDetails other = (UpdateVtapDetails) o; + return java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.sourceId, other.sourceId) + && java.util.Objects.equals(this.targetId, other.targetId) + && java.util.Objects.equals(this.targetIp, other.targetIp) + && java.util.Objects.equals(this.captureFilterId, other.captureFilterId) + && java.util.Objects.equals(this.encapsulationProtocol, other.encapsulationProtocol) + && java.util.Objects.equals( + this.vxlanNetworkIdentifier, other.vxlanNetworkIdentifier) + && java.util.Objects.equals(this.isVtapEnabled, other.isVtapEnabled) + && java.util.Objects.equals(this.trafficMode, other.trafficMode) + && java.util.Objects.equals(this.maxPacketSize, other.maxPacketSize) + && java.util.Objects.equals( + this.sourcePrivateEndpointIp, other.sourcePrivateEndpointIp) + && java.util.Objects.equals( + this.sourcePrivateEndpointSubnetId, other.sourcePrivateEndpointSubnetId) + && java.util.Objects.equals(this.targetType, other.targetType) + && java.util.Objects.equals(this.sourceType, other.sourceType) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.sourceId == null ? 43 : this.sourceId.hashCode()); + result = (result * PRIME) + (this.targetId == null ? 43 : this.targetId.hashCode()); + result = (result * PRIME) + (this.targetIp == null ? 43 : this.targetIp.hashCode()); + result = + (result * PRIME) + + (this.captureFilterId == null ? 43 : this.captureFilterId.hashCode()); + result = + (result * PRIME) + + (this.encapsulationProtocol == null + ? 43 + : this.encapsulationProtocol.hashCode()); + result = + (result * PRIME) + + (this.vxlanNetworkIdentifier == null + ? 43 + : this.vxlanNetworkIdentifier.hashCode()); + result = + (result * PRIME) + + (this.isVtapEnabled == null ? 43 : this.isVtapEnabled.hashCode()); + result = (result * PRIME) + (this.trafficMode == null ? 43 : this.trafficMode.hashCode()); + result = + (result * PRIME) + + (this.maxPacketSize == null ? 43 : this.maxPacketSize.hashCode()); + result = + (result * PRIME) + + (this.sourcePrivateEndpointIp == null + ? 43 + : this.sourcePrivateEndpointIp.hashCode()); + result = + (result * PRIME) + + (this.sourcePrivateEndpointSubnetId == null + ? 43 + : this.sourcePrivateEndpointSubnetId.hashCode()); + result = (result * PRIME) + (this.targetType == null ? 43 : this.targetType.hashCode()); + result = (result * PRIME) + (this.sourceType == null ? 43 : this.sourceType.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vcn.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vcn.java index e8134777345..d4147d6d677 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vcn.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vcn.java @@ -29,7 +29,10 @@ public final class Vcn extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated @java.beans.ConstructorProperties({ + "byoipv6CidrBlocks", + "ipv6PrivateCidrBlocks", "cidrBlock", + "cidrBlocks", "compartmentId", "defaultDhcpOptionsId", "defaultRouteTableId", @@ -39,14 +42,16 @@ public final class Vcn extends com.oracle.bmc.http.client.internal.ExplicitlySet "dnsLabel", "freeformTags", "id", - "ipv6CidrBlock", - "ipv6PublicCidrBlock", + "ipv6CidrBlocks", "lifecycleState", "timeCreated", "vcnDomainName" }) public Vcn( + java.util.List byoipv6CidrBlocks, + java.util.List ipv6PrivateCidrBlocks, String cidrBlock, + java.util.List cidrBlocks, String compartmentId, String defaultDhcpOptionsId, String defaultRouteTableId, @@ -56,13 +61,15 @@ public Vcn( String dnsLabel, java.util.Map freeformTags, String id, - String ipv6CidrBlock, - String ipv6PublicCidrBlock, + java.util.List ipv6CidrBlocks, LifecycleState lifecycleState, java.util.Date timeCreated, String vcnDomainName) { super(); + this.byoipv6CidrBlocks = byoipv6CidrBlocks; + this.ipv6PrivateCidrBlocks = ipv6PrivateCidrBlocks; this.cidrBlock = cidrBlock; + this.cidrBlocks = cidrBlocks; this.compartmentId = compartmentId; this.defaultDhcpOptionsId = defaultDhcpOptionsId; this.defaultRouteTableId = defaultRouteTableId; @@ -72,8 +79,7 @@ public Vcn( this.dnsLabel = dnsLabel; this.freeformTags = freeformTags; this.id = id; - this.ipv6CidrBlock = ipv6CidrBlock; - this.ipv6PublicCidrBlock = ipv6PublicCidrBlock; + this.ipv6CidrBlocks = ipv6CidrBlocks; this.lifecycleState = lifecycleState; this.timeCreated = timeCreated; this.vcnDomainName = vcnDomainName; @@ -81,8 +87,42 @@ public Vcn( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { + /** The list of BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 ranges. */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipv6CidrBlocks") + private java.util.List byoipv6CidrBlocks; + + /** + * The list of BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 ranges. + * + * @param byoipv6CidrBlocks the value to set + * @return this builder + */ + public Builder byoipv6CidrBlocks(java.util.List byoipv6CidrBlocks) { + this.byoipv6CidrBlocks = byoipv6CidrBlocks; + this.__explicitlySet__.add("byoipv6CidrBlocks"); + return this; + } + /** + * For an IPv6-enabled VCN, this is the list of Private IPv6 CIDR blocks for the VCN's IP + * address space. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6PrivateCidrBlocks") + private java.util.List ipv6PrivateCidrBlocks; + /** - * The CIDR block IP address of the VCN. + * For an IPv6-enabled VCN, this is the list of Private IPv6 CIDR blocks for the VCN's IP + * address space. + * + * @param ipv6PrivateCidrBlocks the value to set + * @return this builder + */ + public Builder ipv6PrivateCidrBlocks(java.util.List ipv6PrivateCidrBlocks) { + this.ipv6PrivateCidrBlocks = ipv6PrivateCidrBlocks; + this.__explicitlySet__.add("ipv6PrivateCidrBlocks"); + return this; + } + /** + * Deprecated. The first CIDR IP address from cidrBlocks. * *

Example: {@code 172.16.0.0/16} */ @@ -90,7 +130,7 @@ public static class Builder { private String cidrBlock; /** - * The CIDR block IP address of the VCN. + * Deprecated. The first CIDR IP address from cidrBlocks. * *

Example: {@code 172.16.0.0/16} * @@ -102,6 +142,21 @@ public Builder cidrBlock(String cidrBlock) { this.__explicitlySet__.add("cidrBlock"); return this; } + /** The list of IPv4 CIDR blocks the VCN will use. */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlocks") + private java.util.List cidrBlocks; + + /** + * The list of IPv4 CIDR blocks the VCN will use. + * + * @param cidrBlocks the value to set + * @return this builder + */ + public Builder cidrBlocks(java.util.List cidrBlocks) { + this.cidrBlocks = cidrBlocks; + this.__explicitlySet__.add("cidrBlocks"); + return this; + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the compartment containing the VCN. @@ -220,7 +275,7 @@ public Builder displayName(String displayName) { /** * A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS * label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for - * example, {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric + * example, {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric * string that begins with a letter. The value cannot be changed. * *

The absence of this parameter means the Internet and VCN Resolver will not work for @@ -237,7 +292,7 @@ public Builder displayName(String displayName) { /** * A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS * label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for - * example, {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric + * example, {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric * string that begins with a letter. The value cannot be changed. * *

The absence of this parameter means the Internet and VCN Resolver will not work for @@ -295,61 +350,22 @@ public Builder id(String id) { return this; } /** - * For an IPv6-enabled VCN, this is the IPv6 CIDR block for the VCN's private IP address - * space. The VCN size is always /56. Oracle provides the IPv6 CIDR block to use as the - * *same* CIDR for the {@code ipv6PublicCidrBlock}. When creating a subnet, specify the last - * 8 bits, 00 to FF. See [IPv6 - * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). - * Example: {@code 2001:0db8:0123::/56} - */ - @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") - private String ipv6CidrBlock; - - /** - * For an IPv6-enabled VCN, this is the IPv6 CIDR block for the VCN's private IP address - * space. The VCN size is always /56. Oracle provides the IPv6 CIDR block to use as the - * *same* CIDR for the {@code ipv6PublicCidrBlock}. When creating a subnet, specify the last - * 8 bits, 00 to FF. See [IPv6 - * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). - * Example: {@code 2001:0db8:0123::/56} - * - * @param ipv6CidrBlock the value to set - * @return this builder - */ - public Builder ipv6CidrBlock(String ipv6CidrBlock) { - this.ipv6CidrBlock = ipv6CidrBlock; - this.__explicitlySet__.add("ipv6CidrBlock"); - return this; - } - /** - * For an IPv6-enabled VCN, this is the IPv6 CIDR block for the VCN's public IP address - * space. The VCN size is always /56. This CIDR is always provided by Oracle. If you don't - * provide a custom CIDR for the {@code ipv6CidrBlock} when creating the VCN, Oracle assigns - * that value and also uses it for {@code ipv6PublicCidrBlock}. Oracle uses addresses from - * this block for the {@code publicIpAddress} attribute of an {@link Ipv6} that has internet - * access allowed. - * - *

Example: {@code 2001:0db8:0123::/48} + * For an IPv6-enabled VCN, this is the list of IPv6 CIDR blocks for the VCN's IP address + * space. The CIDRs are provided by Oracle and the sizes are always /56. */ - @com.fasterxml.jackson.annotation.JsonProperty("ipv6PublicCidrBlock") - private String ipv6PublicCidrBlock; + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlocks") + private java.util.List ipv6CidrBlocks; /** - * For an IPv6-enabled VCN, this is the IPv6 CIDR block for the VCN's public IP address - * space. The VCN size is always /56. This CIDR is always provided by Oracle. If you don't - * provide a custom CIDR for the {@code ipv6CidrBlock} when creating the VCN, Oracle assigns - * that value and also uses it for {@code ipv6PublicCidrBlock}. Oracle uses addresses from - * this block for the {@code publicIpAddress} attribute of an {@link Ipv6} that has internet - * access allowed. + * For an IPv6-enabled VCN, this is the list of IPv6 CIDR blocks for the VCN's IP address + * space. The CIDRs are provided by Oracle and the sizes are always /56. * - *

Example: {@code 2001:0db8:0123::/48} - * - * @param ipv6PublicCidrBlock the value to set + * @param ipv6CidrBlocks the value to set * @return this builder */ - public Builder ipv6PublicCidrBlock(String ipv6PublicCidrBlock) { - this.ipv6PublicCidrBlock = ipv6PublicCidrBlock; - this.__explicitlySet__.add("ipv6PublicCidrBlock"); + public Builder ipv6CidrBlocks(java.util.List ipv6CidrBlocks) { + this.ipv6CidrBlocks = ipv6CidrBlocks; + this.__explicitlySet__.add("ipv6CidrBlocks"); return this; } /** The VCN's current state. */ @@ -426,7 +442,10 @@ public Builder vcnDomainName(String vcnDomainName) { public Vcn build() { Vcn model = new Vcn( + this.byoipv6CidrBlocks, + this.ipv6PrivateCidrBlocks, this.cidrBlock, + this.cidrBlocks, this.compartmentId, this.defaultDhcpOptionsId, this.defaultRouteTableId, @@ -436,8 +455,7 @@ public Vcn build() { this.dnsLabel, this.freeformTags, this.id, - this.ipv6CidrBlock, - this.ipv6PublicCidrBlock, + this.ipv6CidrBlocks, this.lifecycleState, this.timeCreated, this.vcnDomainName); @@ -449,9 +467,18 @@ public Vcn build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(Vcn model) { + if (model.wasPropertyExplicitlySet("byoipv6CidrBlocks")) { + this.byoipv6CidrBlocks(model.getByoipv6CidrBlocks()); + } + if (model.wasPropertyExplicitlySet("ipv6PrivateCidrBlocks")) { + this.ipv6PrivateCidrBlocks(model.getIpv6PrivateCidrBlocks()); + } if (model.wasPropertyExplicitlySet("cidrBlock")) { this.cidrBlock(model.getCidrBlock()); } + if (model.wasPropertyExplicitlySet("cidrBlocks")) { + this.cidrBlocks(model.getCidrBlocks()); + } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } @@ -479,11 +506,8 @@ public Builder copy(Vcn model) { if (model.wasPropertyExplicitlySet("id")) { this.id(model.getId()); } - if (model.wasPropertyExplicitlySet("ipv6CidrBlock")) { - this.ipv6CidrBlock(model.getIpv6CidrBlock()); - } - if (model.wasPropertyExplicitlySet("ipv6PublicCidrBlock")) { - this.ipv6PublicCidrBlock(model.getIpv6PublicCidrBlock()); + if (model.wasPropertyExplicitlySet("ipv6CidrBlocks")) { + this.ipv6CidrBlocks(model.getIpv6CidrBlocks()); } if (model.wasPropertyExplicitlySet("lifecycleState")) { this.lifecycleState(model.getLifecycleState()); @@ -507,8 +531,38 @@ public Builder toBuilder() { return new Builder().copy(this); } + /** The list of BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 ranges. */ + @com.fasterxml.jackson.annotation.JsonProperty("byoipv6CidrBlocks") + private final java.util.List byoipv6CidrBlocks; + + /** + * The list of BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 ranges. + * + * @return the value + */ + public java.util.List getByoipv6CidrBlocks() { + return byoipv6CidrBlocks; + } + + /** + * For an IPv6-enabled VCN, this is the list of Private IPv6 CIDR blocks for the VCN's IP + * address space. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ipv6PrivateCidrBlocks") + private final java.util.List ipv6PrivateCidrBlocks; + + /** + * For an IPv6-enabled VCN, this is the list of Private IPv6 CIDR blocks for the VCN's IP + * address space. + * + * @return the value + */ + public java.util.List getIpv6PrivateCidrBlocks() { + return ipv6PrivateCidrBlocks; + } + /** - * The CIDR block IP address of the VCN. + * Deprecated. The first CIDR IP address from cidrBlocks. * *

Example: {@code 172.16.0.0/16} */ @@ -516,7 +570,7 @@ public Builder toBuilder() { private final String cidrBlock; /** - * The CIDR block IP address of the VCN. + * Deprecated. The first CIDR IP address from cidrBlocks. * *

Example: {@code 172.16.0.0/16} * @@ -526,6 +580,19 @@ public String getCidrBlock() { return cidrBlock; } + /** The list of IPv4 CIDR blocks the VCN will use. */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlocks") + private final java.util.List cidrBlocks; + + /** + * The list of IPv4 CIDR blocks the VCN will use. + * + * @return the value + */ + public java.util.List getCidrBlocks() { + return cidrBlocks; + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the compartment containing the VCN. @@ -631,8 +698,8 @@ public String getDisplayName() { /** * A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label * to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric string that - * begins with a letter. The value cannot be changed. + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric string that begins + * with a letter. The value cannot be changed. * *

The absence of this parameter means the Internet and VCN Resolver will not work for this * VCN. @@ -648,8 +715,8 @@ public String getDisplayName() { /** * A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label * to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, - * {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric string that - * begins with a letter. The value cannot be changed. + * {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be an alphanumeric string that begins + * with a letter. The value cannot be changed. * *

The absence of this parameter means the Internet and VCN Resolver will not work for this * VCN. @@ -700,53 +767,20 @@ public String getId() { } /** - * For an IPv6-enabled VCN, this is the IPv6 CIDR block for the VCN's private IP address space. - * The VCN size is always /56. Oracle provides the IPv6 CIDR block to use as the *same* CIDR for - * the {@code ipv6PublicCidrBlock}. When creating a subnet, specify the last 8 bits, 00 to FF. - * See [IPv6 Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). - * Example: {@code 2001:0db8:0123::/56} - */ - @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlock") - private final String ipv6CidrBlock; - - /** - * For an IPv6-enabled VCN, this is the IPv6 CIDR block for the VCN's private IP address space. - * The VCN size is always /56. Oracle provides the IPv6 CIDR block to use as the *same* CIDR for - * the {@code ipv6PublicCidrBlock}. When creating a subnet, specify the last 8 bits, 00 to FF. - * See [IPv6 Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). - * Example: {@code 2001:0db8:0123::/56} - * - * @return the value - */ - public String getIpv6CidrBlock() { - return ipv6CidrBlock; - } - - /** - * For an IPv6-enabled VCN, this is the IPv6 CIDR block for the VCN's public IP address space. - * The VCN size is always /56. This CIDR is always provided by Oracle. If you don't provide a - * custom CIDR for the {@code ipv6CidrBlock} when creating the VCN, Oracle assigns that value - * and also uses it for {@code ipv6PublicCidrBlock}. Oracle uses addresses from this block for - * the {@code publicIpAddress} attribute of an {@link Ipv6} that has internet access allowed. - * - *

Example: {@code 2001:0db8:0123::/48} + * For an IPv6-enabled VCN, this is the list of IPv6 CIDR blocks for the VCN's IP address space. + * The CIDRs are provided by Oracle and the sizes are always /56. */ - @com.fasterxml.jackson.annotation.JsonProperty("ipv6PublicCidrBlock") - private final String ipv6PublicCidrBlock; + @com.fasterxml.jackson.annotation.JsonProperty("ipv6CidrBlocks") + private final java.util.List ipv6CidrBlocks; /** - * For an IPv6-enabled VCN, this is the IPv6 CIDR block for the VCN's public IP address space. - * The VCN size is always /56. This CIDR is always provided by Oracle. If you don't provide a - * custom CIDR for the {@code ipv6CidrBlock} when creating the VCN, Oracle assigns that value - * and also uses it for {@code ipv6PublicCidrBlock}. Oracle uses addresses from this block for - * the {@code publicIpAddress} attribute of an {@link Ipv6} that has internet access allowed. - * - *

Example: {@code 2001:0db8:0123::/48} + * For an IPv6-enabled VCN, this is the list of IPv6 CIDR blocks for the VCN's IP address space. + * The CIDRs are provided by Oracle and the sizes are always /56. * * @return the value */ - public String getIpv6PublicCidrBlock() { - return ipv6PublicCidrBlock; + public java.util.List getIpv6CidrBlocks() { + return ipv6CidrBlocks; } /** The VCN's current state. */ @@ -755,6 +789,7 @@ public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { Available("AVAILABLE"), Terminating("TERMINATING"), Terminated("TERMINATED"), + Updating("UPDATING"), ; private final String value; @@ -860,7 +895,10 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("Vcn("); sb.append("super=").append(super.toString()); - sb.append("cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append("byoipv6CidrBlocks=").append(String.valueOf(this.byoipv6CidrBlocks)); + sb.append(", ipv6PrivateCidrBlocks=").append(String.valueOf(this.ipv6PrivateCidrBlocks)); + sb.append(", cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(", cidrBlocks=").append(String.valueOf(this.cidrBlocks)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", defaultDhcpOptionsId=").append(String.valueOf(this.defaultDhcpOptionsId)); sb.append(", defaultRouteTableId=").append(String.valueOf(this.defaultRouteTableId)); @@ -870,8 +908,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", dnsLabel=").append(String.valueOf(this.dnsLabel)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", id=").append(String.valueOf(this.id)); - sb.append(", ipv6CidrBlock=").append(String.valueOf(this.ipv6CidrBlock)); - sb.append(", ipv6PublicCidrBlock=").append(String.valueOf(this.ipv6PublicCidrBlock)); + sb.append(", ipv6CidrBlocks=").append(String.valueOf(this.ipv6CidrBlocks)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", vcnDomainName=").append(String.valueOf(this.vcnDomainName)); @@ -889,7 +926,10 @@ public boolean equals(Object o) { } Vcn other = (Vcn) o; - return java.util.Objects.equals(this.cidrBlock, other.cidrBlock) + return java.util.Objects.equals(this.byoipv6CidrBlocks, other.byoipv6CidrBlocks) + && java.util.Objects.equals(this.ipv6PrivateCidrBlocks, other.ipv6PrivateCidrBlocks) + && java.util.Objects.equals(this.cidrBlock, other.cidrBlock) + && java.util.Objects.equals(this.cidrBlocks, other.cidrBlocks) && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.defaultDhcpOptionsId, other.defaultDhcpOptionsId) && java.util.Objects.equals(this.defaultRouteTableId, other.defaultRouteTableId) @@ -899,8 +939,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.dnsLabel, other.dnsLabel) && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.id, other.id) - && java.util.Objects.equals(this.ipv6CidrBlock, other.ipv6CidrBlock) - && java.util.Objects.equals(this.ipv6PublicCidrBlock, other.ipv6PublicCidrBlock) + && java.util.Objects.equals(this.ipv6CidrBlocks, other.ipv6CidrBlocks) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.vcnDomainName, other.vcnDomainName) @@ -911,7 +950,16 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = 1; + result = + (result * PRIME) + + (this.byoipv6CidrBlocks == null ? 43 : this.byoipv6CidrBlocks.hashCode()); + result = + (result * PRIME) + + (this.ipv6PrivateCidrBlocks == null + ? 43 + : this.ipv6PrivateCidrBlocks.hashCode()); result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = (result * PRIME) + (this.cidrBlocks == null ? 43 : this.cidrBlocks.hashCode()); result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); @@ -937,12 +985,7 @@ public int hashCode() { result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); result = (result * PRIME) - + (this.ipv6CidrBlock == null ? 43 : this.ipv6CidrBlock.hashCode()); - result = - (result * PRIME) - + (this.ipv6PublicCidrBlock == null - ? 43 - : this.ipv6PublicCidrBlock.hashCode()); + + (this.ipv6CidrBlocks == null ? 43 : this.ipv6CidrBlocks.hashCode()); result = (result * PRIME) + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDnsResolverAssociation.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDnsResolverAssociation.java new file mode 100644 index 00000000000..a0a1f095617 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDnsResolverAssociation.java @@ -0,0 +1,262 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * The information about the VCN and the DNS resolver in the association.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = VcnDnsResolverAssociation.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class VcnDnsResolverAssociation + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"vcnId", "dnsResolverId", "lifecycleState"}) + public VcnDnsResolverAssociation( + String vcnId, String dnsResolverId, LifecycleState lifecycleState) { + super(); + this.vcnId = vcnId; + this.dnsResolverId = dnsResolverId; + this.lifecycleState = lifecycleState; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN in the association. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN in the association. + * + * @param vcnId the value to set + * @return this builder + */ + public Builder vcnId(String vcnId) { + this.vcnId = vcnId; + this.__explicitlySet__.add("vcnId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the DNS resolver in the association. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dnsResolverId") + private String dnsResolverId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the DNS resolver in the association. + * + * @param dnsResolverId the value to set + * @return this builder + */ + public Builder dnsResolverId(String dnsResolverId) { + this.dnsResolverId = dnsResolverId; + this.__explicitlySet__.add("dnsResolverId"); + return this; + } + /** The current state of the association. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private LifecycleState lifecycleState; + + /** + * The current state of the association. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public VcnDnsResolverAssociation build() { + VcnDnsResolverAssociation model = + new VcnDnsResolverAssociation( + this.vcnId, this.dnsResolverId, this.lifecycleState); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(VcnDnsResolverAssociation model) { + if (model.wasPropertyExplicitlySet("vcnId")) { + this.vcnId(model.getVcnId()); + } + if (model.wasPropertyExplicitlySet("dnsResolverId")) { + this.dnsResolverId(model.getDnsResolverId()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN in the association. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private final String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN in the association. + * + * @return the value + */ + public String getVcnId() { + return vcnId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the DNS resolver in the association. + */ + @com.fasterxml.jackson.annotation.JsonProperty("dnsResolverId") + private final String dnsResolverId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the DNS resolver in the association. + * + * @return the value + */ + public String getDnsResolverId() { + return dnsResolverId; + } + + /** The current state of the association. */ + public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { + Provisioning("PROVISIONING"), + Available("AVAILABLE"), + Terminating("TERMINATING"), + Terminated("TERMINATED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (LifecycleState v : LifecycleState.values()) { + map.put(v.getValue(), v); + } + } + + LifecycleState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static LifecycleState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid LifecycleState: " + key); + } + }; + /** The current state of the association. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final LifecycleState lifecycleState; + + /** + * The current state of the association. + * + * @return the value + */ + public LifecycleState getLifecycleState() { + return lifecycleState; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("VcnDnsResolverAssociation("); + sb.append("super=").append(super.toString()); + sb.append("vcnId=").append(String.valueOf(this.vcnId)); + sb.append(", dnsResolverId=").append(String.valueOf(this.dnsResolverId)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof VcnDnsResolverAssociation)) { + return false; + } + + VcnDnsResolverAssociation other = (VcnDnsResolverAssociation) o; + return java.util.Objects.equals(this.vcnId, other.vcnId) + && java.util.Objects.equals(this.dnsResolverId, other.dnsResolverId) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); + result = + (result * PRIME) + + (this.dnsResolverId == null ? 43 : this.dnsResolverId.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDrgAttachmentNetworkCreateDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDrgAttachmentNetworkCreateDetails.java index 70cb18cd793..ce046e8c851 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDrgAttachmentNetworkCreateDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDrgAttachmentNetworkCreateDetails.java @@ -78,13 +78,33 @@ public Builder routeTableId(String routeTableId) { this.__explicitlySet__.add("routeTableId"); return this; } + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnRouteType") + private VcnDrgAttachmentNetworkDetails.VcnRouteType vcnRouteType; + + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + * + * @param vcnRouteType the value to set + * @return this builder + */ + public Builder vcnRouteType(VcnDrgAttachmentNetworkDetails.VcnRouteType vcnRouteType) { + this.vcnRouteType = vcnRouteType; + this.__explicitlySet__.add("vcnRouteType"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public VcnDrgAttachmentNetworkCreateDetails build() { VcnDrgAttachmentNetworkCreateDetails model = - new VcnDrgAttachmentNetworkCreateDetails(this.id, this.routeTableId); + new VcnDrgAttachmentNetworkCreateDetails( + this.id, this.routeTableId, this.vcnRouteType); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -99,6 +119,9 @@ public Builder copy(VcnDrgAttachmentNetworkCreateDetails model) { if (model.wasPropertyExplicitlySet("routeTableId")) { this.routeTableId(model.getRouteTableId()); } + if (model.wasPropertyExplicitlySet("vcnRouteType")) { + this.vcnRouteType(model.getVcnRouteType()); + } return this; } } @@ -113,9 +136,13 @@ public Builder toBuilder() { } @Deprecated - public VcnDrgAttachmentNetworkCreateDetails(String id, String routeTableId) { + public VcnDrgAttachmentNetworkCreateDetails( + String id, + String routeTableId, + VcnDrgAttachmentNetworkDetails.VcnRouteType vcnRouteType) { super(id); this.routeTableId = routeTableId; + this.vcnRouteType = vcnRouteType; } /** @@ -157,6 +184,23 @@ public String getRouteTableId() { return routeTableId; } + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnRouteType") + private final VcnDrgAttachmentNetworkDetails.VcnRouteType vcnRouteType; + + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + * + * @return the value + */ + public VcnDrgAttachmentNetworkDetails.VcnRouteType getVcnRouteType() { + return vcnRouteType; + } + @Override public String toString() { return this.toString(true); @@ -173,6 +217,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("VcnDrgAttachmentNetworkCreateDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); + sb.append(", vcnRouteType=").append(String.valueOf(this.vcnRouteType)); sb.append(")"); return sb.toString(); } @@ -188,6 +233,7 @@ public boolean equals(Object o) { VcnDrgAttachmentNetworkCreateDetails other = (VcnDrgAttachmentNetworkCreateDetails) o; return java.util.Objects.equals(this.routeTableId, other.routeTableId) + && java.util.Objects.equals(this.vcnRouteType, other.vcnRouteType) && super.equals(other); } @@ -196,6 +242,7 @@ public int hashCode() { final int PRIME = 59; int result = super.hashCode(); result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); + result = (result * PRIME) + (this.vcnRouteType == null ? 43 : this.vcnRouteType.hashCode()); return result; } } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDrgAttachmentNetworkDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDrgAttachmentNetworkDetails.java index bfbb61bd28c..cb6f7e49f39 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDrgAttachmentNetworkDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDrgAttachmentNetworkDetails.java @@ -70,13 +70,33 @@ public Builder routeTableId(String routeTableId) { this.__explicitlySet__.add("routeTableId"); return this; } + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnRouteType") + private VcnRouteType vcnRouteType; + + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + * + * @param vcnRouteType the value to set + * @return this builder + */ + public Builder vcnRouteType(VcnRouteType vcnRouteType) { + this.vcnRouteType = vcnRouteType; + this.__explicitlySet__.add("vcnRouteType"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public VcnDrgAttachmentNetworkDetails build() { VcnDrgAttachmentNetworkDetails model = - new VcnDrgAttachmentNetworkDetails(this.id, this.routeTableId); + new VcnDrgAttachmentNetworkDetails( + this.id, this.routeTableId, this.vcnRouteType); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -91,6 +111,9 @@ public Builder copy(VcnDrgAttachmentNetworkDetails model) { if (model.wasPropertyExplicitlySet("routeTableId")) { this.routeTableId(model.getRouteTableId()); } + if (model.wasPropertyExplicitlySet("vcnRouteType")) { + this.vcnRouteType(model.getVcnRouteType()); + } return this; } } @@ -105,9 +128,11 @@ public Builder toBuilder() { } @Deprecated - public VcnDrgAttachmentNetworkDetails(String id, String routeTableId) { + public VcnDrgAttachmentNetworkDetails( + String id, String routeTableId, VcnRouteType vcnRouteType) { super(id); this.routeTableId = routeTableId; + this.vcnRouteType = vcnRouteType; } /** @@ -141,6 +166,59 @@ public String getRouteTableId() { return routeTableId; } + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + */ + public enum VcnRouteType implements com.oracle.bmc.http.internal.BmcEnum { + VcnCidrs("VCN_CIDRS"), + SubnetCidrs("SUBNET_CIDRS"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (VcnRouteType v : VcnRouteType.values()) { + map.put(v.getValue(), v); + } + } + + VcnRouteType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static VcnRouteType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid VcnRouteType: " + key); + } + }; + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnRouteType") + private final VcnRouteType vcnRouteType; + + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + * + * @return the value + */ + public VcnRouteType getVcnRouteType() { + return vcnRouteType; + } + @Override public String toString() { return this.toString(true); @@ -157,6 +235,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("VcnDrgAttachmentNetworkDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); + sb.append(", vcnRouteType=").append(String.valueOf(this.vcnRouteType)); sb.append(")"); return sb.toString(); } @@ -172,6 +251,7 @@ public boolean equals(Object o) { VcnDrgAttachmentNetworkDetails other = (VcnDrgAttachmentNetworkDetails) o; return java.util.Objects.equals(this.routeTableId, other.routeTableId) + && java.util.Objects.equals(this.vcnRouteType, other.vcnRouteType) && super.equals(other); } @@ -180,6 +260,7 @@ public int hashCode() { final int PRIME = 59; int result = super.hashCode(); result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); + result = (result * PRIME) + (this.vcnRouteType == null ? 43 : this.vcnRouteType.hashCode()); return result; } } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDrgAttachmentNetworkUpdateDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDrgAttachmentNetworkUpdateDetails.java index 8c6255e33b8..e0cf60f7e13 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDrgAttachmentNetworkUpdateDetails.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnDrgAttachmentNetworkUpdateDetails.java @@ -66,13 +66,32 @@ public Builder routeTableId(String routeTableId) { this.__explicitlySet__.add("routeTableId"); return this; } + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnRouteType") + private VcnDrgAttachmentNetworkDetails.VcnRouteType vcnRouteType; + + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + * + * @param vcnRouteType the value to set + * @return this builder + */ + public Builder vcnRouteType(VcnDrgAttachmentNetworkDetails.VcnRouteType vcnRouteType) { + this.vcnRouteType = vcnRouteType; + this.__explicitlySet__.add("vcnRouteType"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public VcnDrgAttachmentNetworkUpdateDetails build() { VcnDrgAttachmentNetworkUpdateDetails model = - new VcnDrgAttachmentNetworkUpdateDetails(this.routeTableId); + new VcnDrgAttachmentNetworkUpdateDetails(this.routeTableId, this.vcnRouteType); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -84,6 +103,9 @@ public Builder copy(VcnDrgAttachmentNetworkUpdateDetails model) { if (model.wasPropertyExplicitlySet("routeTableId")) { this.routeTableId(model.getRouteTableId()); } + if (model.wasPropertyExplicitlySet("vcnRouteType")) { + this.vcnRouteType(model.getVcnRouteType()); + } return this; } } @@ -98,9 +120,11 @@ public Builder toBuilder() { } @Deprecated - public VcnDrgAttachmentNetworkUpdateDetails(String routeTableId) { + public VcnDrgAttachmentNetworkUpdateDetails( + String routeTableId, VcnDrgAttachmentNetworkDetails.VcnRouteType vcnRouteType) { super(); this.routeTableId = routeTableId; + this.vcnRouteType = vcnRouteType; } /** @@ -136,6 +160,23 @@ public String getRouteTableId() { return routeTableId; } + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnRouteType") + private final VcnDrgAttachmentNetworkDetails.VcnRouteType vcnRouteType; + + /** + * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the + * attachment. Routes from the VCN ingress route table are always imported. + * + * @return the value + */ + public VcnDrgAttachmentNetworkDetails.VcnRouteType getVcnRouteType() { + return vcnRouteType; + } + @Override public String toString() { return this.toString(true); @@ -152,6 +193,7 @@ public String toString(boolean includeByteArrayContents) { sb.append("VcnDrgAttachmentNetworkUpdateDetails("); sb.append("super=").append(super.toString(includeByteArrayContents)); sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); + sb.append(", vcnRouteType=").append(String.valueOf(this.vcnRouteType)); sb.append(")"); return sb.toString(); } @@ -167,6 +209,7 @@ public boolean equals(Object o) { VcnDrgAttachmentNetworkUpdateDetails other = (VcnDrgAttachmentNetworkUpdateDetails) o; return java.util.Objects.equals(this.routeTableId, other.routeTableId) + && java.util.Objects.equals(this.vcnRouteType, other.vcnRouteType) && super.equals(other); } @@ -175,6 +218,7 @@ public int hashCode() { final int PRIME = 59; int result = super.hashCode(); result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); + result = (result * PRIME) + (this.vcnRouteType == null ? 43 : this.vcnRouteType.hashCode()); return result; } } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnTopology.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnTopology.java index 6f7e735e1bd..07271c6b46b 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnTopology.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VcnTopology.java @@ -44,6 +44,15 @@ public Builder relationships(java.util.List relation return this; } + @com.fasterxml.jackson.annotation.JsonProperty("limitedEntities") + private java.util.List limitedEntities; + + public Builder limitedEntities(java.util.List limitedEntities) { + this.limitedEntities = limitedEntities; + this.__explicitlySet__.add("limitedEntities"); + return this; + } + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private java.util.Date timeCreated; @@ -78,7 +87,11 @@ public Builder vcnId(String vcnId) { public VcnTopology build() { VcnTopology model = new VcnTopology( - this.entities, this.relationships, this.timeCreated, this.vcnId); + this.entities, + this.relationships, + this.limitedEntities, + this.timeCreated, + this.vcnId); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -93,6 +106,9 @@ public Builder copy(VcnTopology model) { if (model.wasPropertyExplicitlySet("relationships")) { this.relationships(model.getRelationships()); } + if (model.wasPropertyExplicitlySet("limitedEntities")) { + this.limitedEntities(model.getLimitedEntities()); + } if (model.wasPropertyExplicitlySet("timeCreated")) { this.timeCreated(model.getTimeCreated()); } @@ -116,9 +132,10 @@ public Builder toBuilder() { public VcnTopology( java.util.List entities, java.util.List relationships, + java.util.List limitedEntities, java.util.Date timeCreated, String vcnId) { - super(entities, relationships, timeCreated); + super(entities, relationships, limitedEntities, timeCreated); this.vcnId = vcnId; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VirtualCircuit.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VirtualCircuit.java index 954c54505fc..af39cfdedfa 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VirtualCircuit.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VirtualCircuit.java @@ -47,16 +47,24 @@ public final class VirtualCircuit "bandwidthShapeName", "bgpManagement", "bgpSessionState", + "bgpIpv6SessionState", "compartmentId", "crossConnectMappings", + "routingPolicy", + "bgpAdminState", + "isBfdEnabled", "customerBgpAsn", + "customerAsn", + "definedTags", "displayName", + "freeformTags", "gatewayId", "id", "lifecycleState", "oracleBgpAsn", "providerName", "providerServiceId", + "providerServiceKeyName", "providerServiceName", "providerState", "publicPrefixes", @@ -64,22 +72,31 @@ public final class VirtualCircuit "region", "serviceType", "timeCreated", - "type" + "type", + "ipMtu" }) public VirtualCircuit( String bandwidthShapeName, BgpManagement bgpManagement, BgpSessionState bgpSessionState, + BgpIpv6SessionState bgpIpv6SessionState, String compartmentId, java.util.List crossConnectMappings, + java.util.List routingPolicy, + BgpAdminState bgpAdminState, + Boolean isBfdEnabled, Integer customerBgpAsn, + Long customerAsn, + java.util.Map> definedTags, String displayName, + java.util.Map freeformTags, String gatewayId, String id, LifecycleState lifecycleState, Integer oracleBgpAsn, String providerName, String providerServiceId, + String providerServiceKeyName, String providerServiceName, ProviderState providerState, java.util.List publicPrefixes, @@ -87,21 +104,30 @@ public VirtualCircuit( String region, ServiceType serviceType, java.util.Date timeCreated, - Type type) { + Type type, + VirtualCircuitIpMtu ipMtu) { super(); this.bandwidthShapeName = bandwidthShapeName; this.bgpManagement = bgpManagement; this.bgpSessionState = bgpSessionState; + this.bgpIpv6SessionState = bgpIpv6SessionState; this.compartmentId = compartmentId; this.crossConnectMappings = crossConnectMappings; + this.routingPolicy = routingPolicy; + this.bgpAdminState = bgpAdminState; + this.isBfdEnabled = isBfdEnabled; this.customerBgpAsn = customerBgpAsn; + this.customerAsn = customerAsn; + this.definedTags = definedTags; this.displayName = displayName; + this.freeformTags = freeformTags; this.gatewayId = gatewayId; this.id = id; this.lifecycleState = lifecycleState; this.oracleBgpAsn = oracleBgpAsn; this.providerName = providerName; this.providerServiceId = providerServiceId; + this.providerServiceKeyName = providerServiceKeyName; this.providerServiceName = providerServiceName; this.providerState = providerState; this.publicPrefixes = publicPrefixes; @@ -110,6 +136,7 @@ public VirtualCircuit( this.serviceType = serviceType; this.timeCreated = timeCreated; this.type = type; + this.ipMtu = ipMtu; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -141,12 +168,12 @@ public Builder bandwidthShapeName(String bandwidthShapeName) { this.__explicitlySet__.add("bandwidthShapeName"); return this; } - /** BGP management option. */ + /** Deprecated. Instead use the information in {@link FastConnectProviderService}. */ @com.fasterxml.jackson.annotation.JsonProperty("bgpManagement") private BgpManagement bgpManagement; /** - * BGP management option. + * Deprecated. Instead use the information in {@link FastConnectProviderService}. * * @param bgpManagement the value to set * @return this builder @@ -156,12 +183,12 @@ public Builder bgpManagement(BgpManagement bgpManagement) { this.__explicitlySet__.add("bgpManagement"); return this; } - /** The state of the BGP session associated with the virtual circuit. */ + /** The state of the Ipv4 BGP session associated with the virtual circuit. */ @com.fasterxml.jackson.annotation.JsonProperty("bgpSessionState") private BgpSessionState bgpSessionState; /** - * The state of the BGP session associated with the virtual circuit. + * The state of the Ipv4 BGP session associated with the virtual circuit. * * @param bgpSessionState the value to set * @return this builder @@ -171,6 +198,21 @@ public Builder bgpSessionState(BgpSessionState bgpSessionState) { this.__explicitlySet__.add("bgpSessionState"); return this; } + /** The state of the Ipv6 BGP session associated with the virtual circuit. */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpIpv6SessionState") + private BgpIpv6SessionState bgpIpv6SessionState; + + /** + * The state of the Ipv6 BGP session associated with the virtual circuit. + * + * @param bgpIpv6SessionState the value to set + * @return this builder + */ + public Builder bgpIpv6SessionState(BgpIpv6SessionState bgpIpv6SessionState) { + this.bgpIpv6SessionState = bgpIpv6SessionState; + this.__explicitlySet__.add("bgpIpv6SessionState"); + return this; + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the compartment containing the virtual circuit. @@ -211,19 +253,78 @@ public Builder crossConnectMappings( return this; } /** - * The BGP ASN of the network at the other end of the BGP session from Oracle. If the - * session is between the customer's edge router and Oracle, the value is the customer's - * ASN. If the BGP session is between the provider's edge router and Oracle, the value is - * the provider's ASN. + * The routing policy sets how routing information about the Oracle cloud is shared over a + * public virtual circuit. Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code + * REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. See [Route + * Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) + * for details. By default, routing information is shared for all routes in the same market. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routingPolicy") + private java.util.List routingPolicy; + + /** + * The routing policy sets how routing information about the Oracle cloud is shared over a + * public virtual circuit. Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code + * REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. See [Route + * Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) + * for details. By default, routing information is shared for all routes in the same market. + * + * @param routingPolicy the value to set + * @return this builder + */ + public Builder routingPolicy(java.util.List routingPolicy) { + this.routingPolicy = routingPolicy; + this.__explicitlySet__.add("routingPolicy"); + return this; + } + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, + * set to {@code DISABLED} to deactivate the virtual circuit. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpAdminState") + private BgpAdminState bgpAdminState; + + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, + * set to {@code DISABLED} to deactivate the virtual circuit. + * + * @param bgpAdminState the value to set + * @return this builder + */ + public Builder bgpAdminState(BgpAdminState bgpAdminState) { + this.bgpAdminState = bgpAdminState; + this.__explicitlySet__.add("bgpAdminState"); + return this; + } + /** + * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to + * disable BFD. If this is not set, the default is {@code false}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isBfdEnabled") + private Boolean isBfdEnabled; + + /** + * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to + * disable BFD. If this is not set, the default is {@code false}. + * + * @param isBfdEnabled the value to set + * @return this builder + */ + public Builder isBfdEnabled(Boolean isBfdEnabled) { + this.isBfdEnabled = isBfdEnabled; + this.__explicitlySet__.add("isBfdEnabled"); + return this; + } + /** + * Deprecated. Instead use {@code customerAsn}. If you specify values for both, the request + * will be rejected. */ @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") private Integer customerBgpAsn; /** - * The BGP ASN of the network at the other end of the BGP session from Oracle. If the - * session is between the customer's edge router and Oracle, the value is the customer's - * ASN. If the BGP session is between the provider's edge router and Oracle, the value is - * the provider's ASN. + * Deprecated. Instead use {@code customerAsn}. If you specify values for both, the request + * will be rejected. * * @param customerBgpAsn the value to set * @return this builder @@ -233,6 +334,49 @@ public Builder customerBgpAsn(Integer customerBgpAsn) { this.__explicitlySet__.add("customerBgpAsn"); return this; } + /** + * The BGP ASN of the network at the other end of the BGP session from Oracle. If the + * session is between the customer's edge router and Oracle, the value is the customer's + * ASN. If the BGP session is between the provider's edge router and Oracle, the value is + * the provider's ASN. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerAsn") + private Long customerAsn; + + /** + * The BGP ASN of the network at the other end of the BGP session from Oracle. If the + * session is between the customer's edge router and Oracle, the value is the customer's + * ASN. If the BGP session is between the provider's edge router and Oracle, the value is + * the provider's ASN. Can be a 2-byte or 4-byte ASN. Uses "asplain" format. + * + * @param customerAsn the value to set + * @return this builder + */ + public Builder customerAsn(Long customerAsn) { + this.customerAsn = customerAsn; + this.__explicitlySet__.add("customerAsn"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering * confidential information. @@ -252,6 +396,25 @@ public Builder displayName(String displayName) { this.__explicitlySet__.add("displayName"); return this; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) * of the customer's {@link Drg} that this virtual circuit uses. Applicable only to private @@ -362,6 +525,25 @@ public Builder providerServiceId(String providerServiceId) { this.__explicitlySet__.add("providerServiceId"); return this; } + /** + * The service key name offered by the provider (if the customer is connecting via a + * provider). + */ + @com.fasterxml.jackson.annotation.JsonProperty("providerServiceKeyName") + private String providerServiceKeyName; + + /** + * The service key name offered by the provider (if the customer is connecting via a + * provider). + * + * @param providerServiceKeyName the value to set + * @return this builder + */ + public Builder providerServiceKeyName(String providerServiceKeyName) { + this.providerServiceKeyName = providerServiceKeyName; + this.__explicitlySet__.add("providerServiceKeyName"); + return this; + } /** Deprecated. Instead use {@code providerServiceId}. */ @com.fasterxml.jackson.annotation.JsonProperty("providerServiceName") private String providerServiceName; @@ -512,6 +694,21 @@ public Builder type(Type type) { this.__explicitlySet__.add("type"); return this; } + /** The layer 3 IP MTU to use on this virtual circuit. */ + @com.fasterxml.jackson.annotation.JsonProperty("ipMtu") + private VirtualCircuitIpMtu ipMtu; + + /** + * The layer 3 IP MTU to use on this virtual circuit. + * + * @param ipMtu the value to set + * @return this builder + */ + public Builder ipMtu(VirtualCircuitIpMtu ipMtu) { + this.ipMtu = ipMtu; + this.__explicitlySet__.add("ipMtu"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -522,16 +719,24 @@ public VirtualCircuit build() { this.bandwidthShapeName, this.bgpManagement, this.bgpSessionState, + this.bgpIpv6SessionState, this.compartmentId, this.crossConnectMappings, + this.routingPolicy, + this.bgpAdminState, + this.isBfdEnabled, this.customerBgpAsn, + this.customerAsn, + this.definedTags, this.displayName, + this.freeformTags, this.gatewayId, this.id, this.lifecycleState, this.oracleBgpAsn, this.providerName, this.providerServiceId, + this.providerServiceKeyName, this.providerServiceName, this.providerState, this.publicPrefixes, @@ -539,7 +744,8 @@ public VirtualCircuit build() { this.region, this.serviceType, this.timeCreated, - this.type); + this.type, + this.ipMtu); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -557,18 +763,39 @@ public Builder copy(VirtualCircuit model) { if (model.wasPropertyExplicitlySet("bgpSessionState")) { this.bgpSessionState(model.getBgpSessionState()); } + if (model.wasPropertyExplicitlySet("bgpIpv6SessionState")) { + this.bgpIpv6SessionState(model.getBgpIpv6SessionState()); + } if (model.wasPropertyExplicitlySet("compartmentId")) { this.compartmentId(model.getCompartmentId()); } if (model.wasPropertyExplicitlySet("crossConnectMappings")) { this.crossConnectMappings(model.getCrossConnectMappings()); } + if (model.wasPropertyExplicitlySet("routingPolicy")) { + this.routingPolicy(model.getRoutingPolicy()); + } + if (model.wasPropertyExplicitlySet("bgpAdminState")) { + this.bgpAdminState(model.getBgpAdminState()); + } + if (model.wasPropertyExplicitlySet("isBfdEnabled")) { + this.isBfdEnabled(model.getIsBfdEnabled()); + } if (model.wasPropertyExplicitlySet("customerBgpAsn")) { this.customerBgpAsn(model.getCustomerBgpAsn()); } + if (model.wasPropertyExplicitlySet("customerAsn")) { + this.customerAsn(model.getCustomerAsn()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } if (model.wasPropertyExplicitlySet("displayName")) { this.displayName(model.getDisplayName()); } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } if (model.wasPropertyExplicitlySet("gatewayId")) { this.gatewayId(model.getGatewayId()); } @@ -587,6 +814,9 @@ public Builder copy(VirtualCircuit model) { if (model.wasPropertyExplicitlySet("providerServiceId")) { this.providerServiceId(model.getProviderServiceId()); } + if (model.wasPropertyExplicitlySet("providerServiceKeyName")) { + this.providerServiceKeyName(model.getProviderServiceKeyName()); + } if (model.wasPropertyExplicitlySet("providerServiceName")) { this.providerServiceName(model.getProviderServiceName()); } @@ -611,6 +841,9 @@ public Builder copy(VirtualCircuit model) { if (model.wasPropertyExplicitlySet("type")) { this.type(model.getType()); } + if (model.wasPropertyExplicitlySet("ipMtu")) { + this.ipMtu(model.getIpMtu()); + } return this; } } @@ -649,7 +882,7 @@ public String getBandwidthShapeName() { return bandwidthShapeName; } - /** BGP management option. */ + /** Deprecated. Instead use the information in {@link FastConnectProviderService}. */ public enum BgpManagement implements com.oracle.bmc.http.internal.BmcEnum { CustomerManaged("CUSTOMER_MANAGED"), ProviderManaged("PROVIDER_MANAGED"), @@ -683,12 +916,12 @@ public static BgpManagement create(String key) { throw new IllegalArgumentException("Invalid BgpManagement: " + key); } }; - /** BGP management option. */ + /** Deprecated. Instead use the information in {@link FastConnectProviderService}. */ @com.fasterxml.jackson.annotation.JsonProperty("bgpManagement") private final BgpManagement bgpManagement; /** - * BGP management option. + * Deprecated. Instead use the information in {@link FastConnectProviderService}. * * @return the value */ @@ -696,7 +929,7 @@ public BgpManagement getBgpManagement() { return bgpManagement; } - /** The state of the BGP session associated with the virtual circuit. */ + /** The state of the Ipv4 BGP session associated with the virtual circuit. */ public enum BgpSessionState implements com.oracle.bmc.http.internal.BmcEnum { Up("UP"), Down("DOWN"), @@ -729,12 +962,12 @@ public static BgpSessionState create(String key) { throw new IllegalArgumentException("Invalid BgpSessionState: " + key); } }; - /** The state of the BGP session associated with the virtual circuit. */ + /** The state of the Ipv4 BGP session associated with the virtual circuit. */ @com.fasterxml.jackson.annotation.JsonProperty("bgpSessionState") private final BgpSessionState bgpSessionState; /** - * The state of the BGP session associated with the virtual circuit. + * The state of the Ipv4 BGP session associated with the virtual circuit. * * @return the value */ @@ -742,6 +975,52 @@ public BgpSessionState getBgpSessionState() { return bgpSessionState; } + /** The state of the Ipv6 BGP session associated with the virtual circuit. */ + public enum BgpIpv6SessionState implements com.oracle.bmc.http.internal.BmcEnum { + Up("UP"), + Down("DOWN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (BgpIpv6SessionState v : BgpIpv6SessionState.values()) { + map.put(v.getValue(), v); + } + } + + BgpIpv6SessionState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static BgpIpv6SessionState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid BgpIpv6SessionState: " + key); + } + }; + /** The state of the Ipv6 BGP session associated with the virtual circuit. */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpIpv6SessionState") + private final BgpIpv6SessionState bgpIpv6SessionState; + + /** + * The state of the Ipv6 BGP session associated with the virtual circuit. + * + * @return the value + */ + public BgpIpv6SessionState getBgpIpv6SessionState() { + return bgpIpv6SessionState; + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the compartment containing the virtual circuit. @@ -776,23 +1055,187 @@ public java.util.List getCrossConnectMappings() { return crossConnectMappings; } + /** */ + public enum RoutingPolicy implements com.oracle.bmc.http.internal.BmcEnum { + OracleServiceNetwork("ORACLE_SERVICE_NETWORK"), + Regional("REGIONAL"), + MarketLevel("MARKET_LEVEL"), + Global("GLOBAL"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (RoutingPolicy v : RoutingPolicy.values()) { + map.put(v.getValue(), v); + } + } + + RoutingPolicy(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static RoutingPolicy create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid RoutingPolicy: " + key); + } + }; + /** + * The routing policy sets how routing information about the Oracle cloud is shared over a + * public virtual circuit. Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code + * REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. See [Route + * Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) + * for details. By default, routing information is shared for all routes in the same market. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routingPolicy") + private final java.util.List routingPolicy; + + /** + * The routing policy sets how routing information about the Oracle cloud is shared over a + * public virtual circuit. Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code + * REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. See [Route + * Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) + * for details. By default, routing information is shared for all routes in the same market. + * + * @return the value + */ + public java.util.List getRoutingPolicy() { + return routingPolicy; + } + + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set + * to {@code DISABLED} to deactivate the virtual circuit. + */ + public enum BgpAdminState implements com.oracle.bmc.http.internal.BmcEnum { + Enabled("ENABLED"), + Disabled("DISABLED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (BgpAdminState v : BgpAdminState.values()) { + map.put(v.getValue(), v); + } + } + + BgpAdminState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static BgpAdminState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid BgpAdminState: " + key); + } + }; + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set + * to {@code DISABLED} to deactivate the virtual circuit. + */ + @com.fasterxml.jackson.annotation.JsonProperty("bgpAdminState") + private final BgpAdminState bgpAdminState; + + /** + * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set + * to {@code DISABLED} to deactivate the virtual circuit. + * + * @return the value + */ + public BgpAdminState getBgpAdminState() { + return bgpAdminState; + } + + /** + * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to disable + * BFD. If this is not set, the default is {@code false}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isBfdEnabled") + private final Boolean isBfdEnabled; + + /** + * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to disable + * BFD. If this is not set, the default is {@code false}. + * + * @return the value + */ + public Boolean getIsBfdEnabled() { + return isBfdEnabled; + } + + /** + * Deprecated. Instead use {@code customerAsn}. If you specify values for both, the request will + * be rejected. + */ + @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") + private final Integer customerBgpAsn; + + /** + * Deprecated. Instead use {@code customerAsn}. If you specify values for both, the request will + * be rejected. + * + * @return the value + */ + public Integer getCustomerBgpAsn() { + return customerBgpAsn; + } + /** * The BGP ASN of the network at the other end of the BGP session from Oracle. If the session is * between the customer's edge router and Oracle, the value is the customer's ASN. If the BGP * session is between the provider's edge router and Oracle, the value is the provider's ASN. + * Can be a 2-byte or 4-byte ASN. Uses "asplain" format. */ - @com.fasterxml.jackson.annotation.JsonProperty("customerBgpAsn") - private final Integer customerBgpAsn; + @com.fasterxml.jackson.annotation.JsonProperty("customerAsn") + private final Long customerAsn; /** * The BGP ASN of the network at the other end of the BGP session from Oracle. If the session is * between the customer's edge router and Oracle, the value is the customer's ASN. If the BGP * session is between the provider's edge router and Oracle, the value is the provider's ASN. + * Can be a 2-byte or 4-byte ASN. Uses "asplain" format. * * @return the value */ - public Integer getCustomerBgpAsn() { - return customerBgpAsn; + public Long getCustomerAsn() { + return customerAsn; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; } /** @@ -812,6 +1255,23 @@ public String getDisplayName() { return displayName; } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of * the customer's {@link Drg} that this virtual circuit uses. Applicable only to private virtual @@ -953,6 +1413,21 @@ public String getProviderServiceId() { return providerServiceId; } + /** + * The service key name offered by the provider (if the customer is connecting via a provider). + */ + @com.fasterxml.jackson.annotation.JsonProperty("providerServiceKeyName") + private final String providerServiceKeyName; + + /** + * The service key name offered by the provider (if the customer is connecting via a provider). + * + * @return the value + */ + public String getProviderServiceKeyName() { + return providerServiceKeyName; + } + /** Deprecated. Instead use {@code providerServiceId}. */ @com.fasterxml.jackson.annotation.JsonProperty("providerServiceName") private final String providerServiceName; @@ -1196,6 +1671,19 @@ public Type getType() { return type; } + /** The layer 3 IP MTU to use on this virtual circuit. */ + @com.fasterxml.jackson.annotation.JsonProperty("ipMtu") + private final VirtualCircuitIpMtu ipMtu; + + /** + * The layer 3 IP MTU to use on this virtual circuit. + * + * @return the value + */ + public VirtualCircuitIpMtu getIpMtu() { + return ipMtu; + } + @Override public String toString() { return this.toString(true); @@ -1214,16 +1702,24 @@ public String toString(boolean includeByteArrayContents) { sb.append("bandwidthShapeName=").append(String.valueOf(this.bandwidthShapeName)); sb.append(", bgpManagement=").append(String.valueOf(this.bgpManagement)); sb.append(", bgpSessionState=").append(String.valueOf(this.bgpSessionState)); + sb.append(", bgpIpv6SessionState=").append(String.valueOf(this.bgpIpv6SessionState)); sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); sb.append(", crossConnectMappings=").append(String.valueOf(this.crossConnectMappings)); + sb.append(", routingPolicy=").append(String.valueOf(this.routingPolicy)); + sb.append(", bgpAdminState=").append(String.valueOf(this.bgpAdminState)); + sb.append(", isBfdEnabled=").append(String.valueOf(this.isBfdEnabled)); sb.append(", customerBgpAsn=").append(String.valueOf(this.customerBgpAsn)); + sb.append(", customerAsn=").append(String.valueOf(this.customerAsn)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); sb.append(", gatewayId=").append(String.valueOf(this.gatewayId)); sb.append(", id=").append(String.valueOf(this.id)); sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", oracleBgpAsn=").append(String.valueOf(this.oracleBgpAsn)); sb.append(", providerName=").append(String.valueOf(this.providerName)); sb.append(", providerServiceId=").append(String.valueOf(this.providerServiceId)); + sb.append(", providerServiceKeyName=").append(String.valueOf(this.providerServiceKeyName)); sb.append(", providerServiceName=").append(String.valueOf(this.providerServiceName)); sb.append(", providerState=").append(String.valueOf(this.providerState)); sb.append(", publicPrefixes=").append(String.valueOf(this.publicPrefixes)); @@ -1232,6 +1728,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", serviceType=").append(String.valueOf(this.serviceType)); sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); sb.append(", type=").append(String.valueOf(this.type)); + sb.append(", ipMtu=").append(String.valueOf(this.ipMtu)); sb.append(")"); return sb.toString(); } @@ -1249,16 +1746,25 @@ public boolean equals(Object o) { return java.util.Objects.equals(this.bandwidthShapeName, other.bandwidthShapeName) && java.util.Objects.equals(this.bgpManagement, other.bgpManagement) && java.util.Objects.equals(this.bgpSessionState, other.bgpSessionState) + && java.util.Objects.equals(this.bgpIpv6SessionState, other.bgpIpv6SessionState) && java.util.Objects.equals(this.compartmentId, other.compartmentId) && java.util.Objects.equals(this.crossConnectMappings, other.crossConnectMappings) + && java.util.Objects.equals(this.routingPolicy, other.routingPolicy) + && java.util.Objects.equals(this.bgpAdminState, other.bgpAdminState) + && java.util.Objects.equals(this.isBfdEnabled, other.isBfdEnabled) && java.util.Objects.equals(this.customerBgpAsn, other.customerBgpAsn) + && java.util.Objects.equals(this.customerAsn, other.customerAsn) + && java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) && java.util.Objects.equals(this.gatewayId, other.gatewayId) && java.util.Objects.equals(this.id, other.id) && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.oracleBgpAsn, other.oracleBgpAsn) && java.util.Objects.equals(this.providerName, other.providerName) && java.util.Objects.equals(this.providerServiceId, other.providerServiceId) + && java.util.Objects.equals( + this.providerServiceKeyName, other.providerServiceKeyName) && java.util.Objects.equals(this.providerServiceName, other.providerServiceName) && java.util.Objects.equals(this.providerState, other.providerState) && java.util.Objects.equals(this.publicPrefixes, other.publicPrefixes) @@ -1267,6 +1773,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.serviceType, other.serviceType) && java.util.Objects.equals(this.timeCreated, other.timeCreated) && java.util.Objects.equals(this.type, other.type) + && java.util.Objects.equals(this.ipMtu, other.ipMtu) && super.equals(other); } @@ -1285,6 +1792,11 @@ public int hashCode() { result = (result * PRIME) + (this.bgpSessionState == null ? 43 : this.bgpSessionState.hashCode()); + result = + (result * PRIME) + + (this.bgpIpv6SessionState == null + ? 43 + : this.bgpIpv6SessionState.hashCode()); result = (result * PRIME) + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); @@ -1293,10 +1805,20 @@ public int hashCode() { + (this.crossConnectMappings == null ? 43 : this.crossConnectMappings.hashCode()); + result = + (result * PRIME) + + (this.routingPolicy == null ? 43 : this.routingPolicy.hashCode()); + result = + (result * PRIME) + + (this.bgpAdminState == null ? 43 : this.bgpAdminState.hashCode()); + result = (result * PRIME) + (this.isBfdEnabled == null ? 43 : this.isBfdEnabled.hashCode()); result = (result * PRIME) + (this.customerBgpAsn == null ? 43 : this.customerBgpAsn.hashCode()); + result = (result * PRIME) + (this.customerAsn == null ? 43 : this.customerAsn.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); result = (result * PRIME) + (this.gatewayId == null ? 43 : this.gatewayId.hashCode()); result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); result = @@ -1307,6 +1829,11 @@ public int hashCode() { result = (result * PRIME) + (this.providerServiceId == null ? 43 : this.providerServiceId.hashCode()); + result = + (result * PRIME) + + (this.providerServiceKeyName == null + ? 43 + : this.providerServiceKeyName.hashCode()); result = (result * PRIME) + (this.providerServiceName == null @@ -1325,6 +1852,7 @@ public int hashCode() { result = (result * PRIME) + (this.serviceType == null ? 43 : this.serviceType.hashCode()); result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); result = (result * PRIME) + (this.type == null ? 43 : this.type.hashCode()); + result = (result * PRIME) + (this.ipMtu == null ? 43 : this.ipMtu.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VirtualCircuitIpMtu.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VirtualCircuitIpMtu.java new file mode 100644 index 00000000000..d771855afbc --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VirtualCircuitIpMtu.java @@ -0,0 +1,40 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** The layer 3 IP MTU to use with this virtual circuit. */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +public enum VirtualCircuitIpMtu implements com.oracle.bmc.http.internal.BmcEnum { + Mtu1500("MTU_1500"), + Mtu9000("MTU_9000"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (VirtualCircuitIpMtu v : VirtualCircuitIpMtu.values()) { + map.put(v.getValue(), v); + } + } + + VirtualCircuitIpMtu(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static VirtualCircuitIpMtu create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid VirtualCircuitIpMtu: " + key); + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vlan.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vlan.java new file mode 100644 index 00000000000..51984d56a35 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vlan.java @@ -0,0 +1,774 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * A resource to be used only with the Oracle Cloud VMware Solution. + * + *

Conceptually, a virtual LAN (VLAN) is a broadcast domain that is created by partitioning and + * isolating a network at the data link layer (a *layer 2 network*). VLANs work by using IEEE 802.1Q + * VLAN tags. Layer 2 traffic is forwarded within the VLAN based on MAC learning. + * + *

In the Networking service, a VLAN is an object within a VCN. You use VLANs to partition the + * VCN at the data link layer (layer 2). A VLAN is analagous to a subnet, which is an object for + * partitioning the VCN at the IP layer (layer 3).
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = Vlan.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class Vlan extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "availabilityDomain", + "cidrBlock", + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "id", + "lifecycleState", + "nsgIds", + "vlanTag", + "routeTableId", + "timeCreated", + "vcnId" + }) + public Vlan( + String availabilityDomain, + String cidrBlock, + String compartmentId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + String id, + LifecycleState lifecycleState, + java.util.List nsgIds, + Integer vlanTag, + String routeTableId, + java.util.Date timeCreated, + String vcnId) { + super(); + this.availabilityDomain = availabilityDomain; + this.cidrBlock = cidrBlock; + this.compartmentId = compartmentId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.id = id; + this.lifecycleState = lifecycleState; + this.nsgIds = nsgIds; + this.vlanTag = vlanTag; + this.routeTableId = routeTableId; + this.timeCreated = timeCreated; + this.vcnId = vcnId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The VLAN's availability domain. This attribute will be null if this is a regional VLAN + * rather than an AD-specific VLAN. + * + *

Example: {@code Uocm:PHX-AD-1} + */ + @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain") + private String availabilityDomain; + + /** + * The VLAN's availability domain. This attribute will be null if this is a regional VLAN + * rather than an AD-specific VLAN. + * + *

Example: {@code Uocm:PHX-AD-1} + * + * @param availabilityDomain the value to set + * @return this builder + */ + public Builder availabilityDomain(String availabilityDomain) { + this.availabilityDomain = availabilityDomain; + this.__explicitlySet__.add("availabilityDomain"); + return this; + } + /** + * The range of IPv4 addresses that will be used for layer 3 communication with hosts + * outside the VLAN. + * + *

Example: {@code 192.168.1.0/24} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private String cidrBlock; + + /** + * The range of IPv4 addresses that will be used for layer 3 communication with hosts + * outside the VLAN. + * + *

Example: {@code 192.168.1.0/24} + * + * @param cidrBlock the value to set + * @return this builder + */ + public Builder cidrBlock(String cidrBlock) { + this.cidrBlock = cidrBlock; + this.__explicitlySet__.add("cidrBlock"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the VLAN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the VLAN. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * The VLAN's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The VLAN's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** The VLAN's current state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private LifecycleState lifecycleState; + + /** + * The VLAN's current state. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** + * A list of the OCIDs of the network security groups (NSGs) to use with this VLAN. All + * VNICs in the VLAN belong to these NSGs. For more information about NSGs, see {@link + * NetworkSecurityGroup}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") + private java.util.List nsgIds; + + /** + * A list of the OCIDs of the network security groups (NSGs) to use with this VLAN. All + * VNICs in the VLAN belong to these NSGs. For more information about NSGs, see {@link + * NetworkSecurityGroup}. + * + * @param nsgIds the value to set + * @return this builder + */ + public Builder nsgIds(java.util.List nsgIds) { + this.nsgIds = nsgIds; + this.__explicitlySet__.add("nsgIds"); + return this; + } + /** + * The IEEE 802.1Q VLAN tag of this VLAN. + * + *

Example: {@code 100} + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlanTag") + private Integer vlanTag; + + /** + * The IEEE 802.1Q VLAN tag of this VLAN. + * + *

Example: {@code 100} + * + * @param vlanTag the value to set + * @return this builder + */ + public Builder vlanTag(Integer vlanTag) { + this.vlanTag = vlanTag; + this.__explicitlySet__.add("vlanTag"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table that the VLAN uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the route table that the VLAN uses. + * + * @param routeTableId the value to set + * @return this builder + */ + public Builder routeTableId(String routeTableId) { + this.routeTableId = routeTableId; + this.__explicitlySet__.add("routeTableId"); + return this; + } + /** + * The date and time the VLAN was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the VLAN was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @param timeCreated the value to set + * @return this builder + */ + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN the VLAN is in. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN the VLAN is in. + * + * @param vcnId the value to set + * @return this builder + */ + public Builder vcnId(String vcnId) { + this.vcnId = vcnId; + this.__explicitlySet__.add("vcnId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public Vlan build() { + Vlan model = + new Vlan( + this.availabilityDomain, + this.cidrBlock, + this.compartmentId, + this.definedTags, + this.displayName, + this.freeformTags, + this.id, + this.lifecycleState, + this.nsgIds, + this.vlanTag, + this.routeTableId, + this.timeCreated, + this.vcnId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(Vlan model) { + if (model.wasPropertyExplicitlySet("availabilityDomain")) { + this.availabilityDomain(model.getAvailabilityDomain()); + } + if (model.wasPropertyExplicitlySet("cidrBlock")) { + this.cidrBlock(model.getCidrBlock()); + } + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("nsgIds")) { + this.nsgIds(model.getNsgIds()); + } + if (model.wasPropertyExplicitlySet("vlanTag")) { + this.vlanTag(model.getVlanTag()); + } + if (model.wasPropertyExplicitlySet("routeTableId")) { + this.routeTableId(model.getRouteTableId()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("vcnId")) { + this.vcnId(model.getVcnId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The VLAN's availability domain. This attribute will be null if this is a regional VLAN rather + * than an AD-specific VLAN. + * + *

Example: {@code Uocm:PHX-AD-1} + */ + @com.fasterxml.jackson.annotation.JsonProperty("availabilityDomain") + private final String availabilityDomain; + + /** + * The VLAN's availability domain. This attribute will be null if this is a regional VLAN rather + * than an AD-specific VLAN. + * + *

Example: {@code Uocm:PHX-AD-1} + * + * @return the value + */ + public String getAvailabilityDomain() { + return availabilityDomain; + } + + /** + * The range of IPv4 addresses that will be used for layer 3 communication with hosts outside + * the VLAN. + * + *

Example: {@code 192.168.1.0/24} + */ + @com.fasterxml.jackson.annotation.JsonProperty("cidrBlock") + private final String cidrBlock; + + /** + * The range of IPv4 addresses that will be used for layer 3 communication with hosts outside + * the VLAN. + * + *

Example: {@code 192.168.1.0/24} + * + * @return the value + */ + public String getCidrBlock() { + return cidrBlock; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the VLAN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the VLAN. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * The VLAN's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The VLAN's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + * + * @return the value + */ + public String getId() { + return id; + } + + /** The VLAN's current state. */ + public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { + Provisioning("PROVISIONING"), + Available("AVAILABLE"), + Terminating("TERMINATING"), + Terminated("TERMINATED"), + Updating("UPDATING"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (LifecycleState v : LifecycleState.values()) { + map.put(v.getValue(), v); + } + } + + LifecycleState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static LifecycleState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid LifecycleState: " + key); + } + }; + /** The VLAN's current state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final LifecycleState lifecycleState; + + /** + * The VLAN's current state. + * + * @return the value + */ + public LifecycleState getLifecycleState() { + return lifecycleState; + } + + /** + * A list of the OCIDs of the network security groups (NSGs) to use with this VLAN. All VNICs in + * the VLAN belong to these NSGs. For more information about NSGs, see {@link + * NetworkSecurityGroup}. + */ + @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") + private final java.util.List nsgIds; + + /** + * A list of the OCIDs of the network security groups (NSGs) to use with this VLAN. All VNICs in + * the VLAN belong to these NSGs. For more information about NSGs, see {@link + * NetworkSecurityGroup}. + * + * @return the value + */ + public java.util.List getNsgIds() { + return nsgIds; + } + + /** + * The IEEE 802.1Q VLAN tag of this VLAN. + * + *

Example: {@code 100} + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlanTag") + private final Integer vlanTag; + + /** + * The IEEE 802.1Q VLAN tag of this VLAN. + * + *

Example: {@code 100} + * + * @return the value + */ + public Integer getVlanTag() { + return vlanTag; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table that the VLAN uses. + */ + @com.fasterxml.jackson.annotation.JsonProperty("routeTableId") + private final String routeTableId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the route table that the VLAN uses. + * + * @return the value + */ + public String getRouteTableId() { + return routeTableId; + } + + /** + * The date and time the VLAN was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the VLAN was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2016-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN the VLAN is in. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private final String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN the VLAN is in. + * + * @return the value + */ + public String getVcnId() { + return vcnId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("Vlan("); + sb.append("super=").append(super.toString()); + sb.append("availabilityDomain=").append(String.valueOf(this.availabilityDomain)); + sb.append(", cidrBlock=").append(String.valueOf(this.cidrBlock)); + sb.append(", compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", id=").append(String.valueOf(this.id)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", nsgIds=").append(String.valueOf(this.nsgIds)); + sb.append(", vlanTag=").append(String.valueOf(this.vlanTag)); + sb.append(", routeTableId=").append(String.valueOf(this.routeTableId)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", vcnId=").append(String.valueOf(this.vcnId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof Vlan)) { + return false; + } + + Vlan other = (Vlan) o; + return java.util.Objects.equals(this.availabilityDomain, other.availabilityDomain) + && java.util.Objects.equals(this.cidrBlock, other.cidrBlock) + && java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.nsgIds, other.nsgIds) + && java.util.Objects.equals(this.vlanTag, other.vlanTag) + && java.util.Objects.equals(this.routeTableId, other.routeTableId) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals(this.vcnId, other.vcnId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.availabilityDomain == null + ? 43 + : this.availabilityDomain.hashCode()); + result = (result * PRIME) + (this.cidrBlock == null ? 43 : this.cidrBlock.hashCode()); + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = (result * PRIME) + (this.nsgIds == null ? 43 : this.nsgIds.hashCode()); + result = (result * PRIME) + (this.vlanTag == null ? 43 : this.vlanTag.hashCode()); + result = (result * PRIME) + (this.routeTableId == null ? 43 : this.routeTableId.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vnic.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vnic.java index 8f34c681eba..fa647f3372d 100644 --- a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vnic.java +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vnic.java @@ -16,6 +16,10 @@ * #createPrivateIp(CreatePrivateIpRequest) createPrivateIp} and [IP * Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). * + *

If you are an Oracle Cloud VMware Solution customer, you will have secondary VNICs that reside + * in a VLAN instead of a subnet. These VNICs have other differences, which are called out in the + * descriptions of the relevant attributes in the {@code Vnic} object. Also see {@link Vlan}. + * *

To use any of the API operations, you must be authorized in an IAM policy. If you're not * authorized, talk to an administrator. If you're an administrator who needs to write policies to * give users access, see [Getting Started with @@ -48,6 +52,7 @@ public final class Vnic extends com.oracle.bmc.http.client.internal.ExplicitlySe "lifecycleState", "macAddress", "nsgIds", + "vlanId", "privateIp", "publicIp", "skipSourceDestCheck", @@ -66,6 +71,7 @@ public Vnic( LifecycleState lifecycleState, String macAddress, java.util.List nsgIds, + String vlanId, String privateIp, String publicIp, Boolean skipSourceDestCheck, @@ -83,6 +89,7 @@ public Vnic( this.lifecycleState = lifecycleState; this.macAddress = macAddress; this.nsgIds = nsgIds; + this.vlanId = vlanId; this.privateIp = privateIp; this.publicIp = publicIp; this.skipSourceDestCheck = skipSourceDestCheck; @@ -193,7 +200,7 @@ public Builder freeformTags(java.util.Map freeformTags) { /** * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname * portion of the primary private IP's fully qualified domain name (FQDN) (for example, - * {@code bminstance-1} in FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be + * {@code bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be * unique across all VNICs in the subnet and comply with [RFC * 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). @@ -201,7 +208,7 @@ public Builder freeformTags(java.util.Map freeformTags) { *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} */ @com.fasterxml.jackson.annotation.JsonProperty("hostnameLabel") private String hostnameLabel; @@ -209,7 +216,7 @@ public Builder freeformTags(java.util.Map freeformTags) { /** * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname * portion of the primary private IP's fully qualified domain name (FQDN) (for example, - * {@code bminstance-1} in FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be + * {@code bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be * unique across all VNICs in the subnet and comply with [RFC * 952](https://tools.ietf.org/html/rfc952) and [RFC * 1123](https://tools.ietf.org/html/rfc1123). @@ -217,7 +224,7 @@ public Builder freeformTags(java.util.Map freeformTags) { *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} * * @param hostnameLabel the value to set * @return this builder @@ -283,6 +290,10 @@ public Builder lifecycleState(LifecycleState lifecycleState) { /** * The MAC address of the VNIC. * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution, the MAC + * address is learned. If the VNIC belongs to a subnet, the MAC address is a static, + * Oracle-provided value. + * *

Example: {@code 00:00:00:00:00:01} */ @com.fasterxml.jackson.annotation.JsonProperty("macAddress") @@ -291,6 +302,10 @@ public Builder lifecycleState(LifecycleState lifecycleState) { /** * The MAC address of the VNIC. * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution, the MAC + * address is learned. If the VNIC belongs to a subnet, the MAC address is a static, + * Oracle-provided value. + * *

Example: {@code 00:00:00:00:00:01} * * @param macAddress the value to set @@ -304,6 +319,10 @@ public Builder macAddress(String macAddress) { /** * A list of the OCIDs of the network security groups that the VNIC belongs to. * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the value of the {@code nsgIds} attribute is ignored. Instead, + * the VNIC belongs to the NSGs that are associated with the VLAN itself. See {@link Vlan}. + * *

For more information about NSGs, see {@link NetworkSecurityGroup}. */ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") @@ -312,6 +331,10 @@ public Builder macAddress(String macAddress) { /** * A list of the OCIDs of the network security groups that the VNIC belongs to. * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the value of the {@code nsgIds} attribute is ignored. Instead, + * the VNIC belongs to the NSGs that are associated with the VLAN itself. See {@link Vlan}. + * *

For more information about NSGs, see {@link NetworkSecurityGroup}. * * @param nsgIds the value to set @@ -322,6 +345,31 @@ public Builder nsgIds(java.util.List nsgIds) { this.__explicitlySet__.add("nsgIds"); return this; } + /** + * If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the {@code vlanId} is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VLAN the VNIC is in. See {@link Vlan}. If the VNIC is instead in a subnet, {@code + * subnetId} has a value. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlanId") + private String vlanId; + + /** + * If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the {@code vlanId} is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VLAN the VNIC is in. See {@link Vlan}. If the VNIC is instead in a subnet, {@code + * subnetId} has a value. + * + * @param vlanId the value to set + * @return this builder + */ + public Builder vlanId(String vlanId) { + this.vlanId = vlanId; + this.__explicitlySet__.add("vlanId"); + return this; + } /** * The private IP address of the primary {@code privateIp} object on the VNIC. The address * is within the CIDR of the VNIC's subnet. @@ -366,6 +414,10 @@ public Builder publicIp(String publicIp) { * source/destination check, see [Using a Private IP as a Route * Target](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the {@code skipSourceDestCheck} attribute is {@code true}. This + * is because the source/destination check is always disabled for VNICs in a VLAN. + * *

Example: {@code true} */ @com.fasterxml.jackson.annotation.JsonProperty("skipSourceDestCheck") @@ -377,6 +429,10 @@ public Builder publicIp(String publicIp) { * source/destination check, see [Using a Private IP as a Route * Target](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the {@code skipSourceDestCheck} attribute is {@code true}. This + * is because the source/destination check is always disabled for VNICs in a VLAN. + * *

Example: {@code true} * * @param skipSourceDestCheck the value to set @@ -447,6 +503,7 @@ public Vnic build() { this.lifecycleState, this.macAddress, this.nsgIds, + this.vlanId, this.privateIp, this.publicIp, this.skipSourceDestCheck, @@ -493,6 +550,9 @@ public Builder copy(Vnic model) { if (model.wasPropertyExplicitlySet("nsgIds")) { this.nsgIds(model.getNsgIds()); } + if (model.wasPropertyExplicitlySet("vlanId")) { + this.vlanId(model.getVlanId()); + } if (model.wasPropertyExplicitlySet("privateIp")) { this.privateIp(model.getPrivateIp()); } @@ -611,14 +671,14 @@ public java.util.Map getFreeformTags() { /** * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname * portion of the primary private IP's fully qualified domain name (FQDN) (for example, {@code - * bminstance-1} in FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique - * across all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) - * and [RFC 1123](https://tools.ietf.org/html/rfc1123). + * bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across + * all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and + * [RFC 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} */ @com.fasterxml.jackson.annotation.JsonProperty("hostnameLabel") private final String hostnameLabel; @@ -626,14 +686,14 @@ public java.util.Map getFreeformTags() { /** * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname * portion of the primary private IP's fully qualified domain name (FQDN) (for example, {@code - * bminstance-1} in FQDN {@code bminstance-1.subnet123.vcn1.oraclevcn.com}). Must be unique - * across all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) - * and [RFC 1123](https://tools.ietf.org/html/rfc1123). + * bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). Must be unique across + * all VNICs in the subnet and comply with [RFC 952](https://tools.ietf.org/html/rfc952) and + * [RFC 1123](https://tools.ietf.org/html/rfc1123). * *

For more information, see [DNS in Your Virtual Cloud * Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * - *

Example: {@code bminstance-1} + *

Example: {@code bminstance1} * * @return the value */ @@ -726,6 +786,10 @@ public LifecycleState getLifecycleState() { /** * The MAC address of the VNIC. * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution, the MAC address + * is learned. If the VNIC belongs to a subnet, the MAC address is a static, Oracle-provided + * value. + * *

Example: {@code 00:00:00:00:00:01} */ @com.fasterxml.jackson.annotation.JsonProperty("macAddress") @@ -734,6 +798,10 @@ public LifecycleState getLifecycleState() { /** * The MAC address of the VNIC. * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution, the MAC address + * is learned. If the VNIC belongs to a subnet, the MAC address is a static, Oracle-provided + * value. + * *

Example: {@code 00:00:00:00:00:01} * * @return the value @@ -745,6 +813,10 @@ public String getMacAddress() { /** * A list of the OCIDs of the network security groups that the VNIC belongs to. * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the value of the {@code nsgIds} attribute is ignored. Instead, the + * VNIC belongs to the NSGs that are associated with the VLAN itself. See {@link Vlan}. + * *

For more information about NSGs, see {@link NetworkSecurityGroup}. */ @com.fasterxml.jackson.annotation.JsonProperty("nsgIds") @@ -753,6 +825,10 @@ public String getMacAddress() { /** * A list of the OCIDs of the network security groups that the VNIC belongs to. * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the value of the {@code nsgIds} attribute is ignored. Instead, the + * VNIC belongs to the NSGs that are associated with the VLAN itself. See {@link Vlan}. + * *

For more information about NSGs, see {@link NetworkSecurityGroup}. * * @return the value @@ -761,6 +837,29 @@ public java.util.List getNsgIds() { return nsgIds; } + /** + * If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the {@code vlanId} is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * VLAN the VNIC is in. See {@link Vlan}. If the VNIC is instead in a subnet, {@code subnetId} + * has a value. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vlanId") + private final String vlanId; + + /** + * If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the {@code vlanId} is the + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * VLAN the VNIC is in. See {@link Vlan}. If the VNIC is instead in a subnet, {@code subnetId} + * has a value. + * + * @return the value + */ + public String getVlanId() { + return vlanId; + } + /** * The private IP address of the primary {@code privateIp} object on the VNIC. The address is * within the CIDR of the VNIC's subnet. @@ -801,6 +900,10 @@ public String getPublicIp() { * source/destination check, see [Using a Private IP as a Route * Target](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the {@code skipSourceDestCheck} attribute is {@code true}. This is + * because the source/destination check is always disabled for VNICs in a VLAN. + * *

Example: {@code true} */ @com.fasterxml.jackson.annotation.JsonProperty("skipSourceDestCheck") @@ -812,6 +915,10 @@ public String getPublicIp() { * source/destination check, see [Using a Private IP as a Route * Target](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). * + *

If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of + * belonging to a subnet), the {@code skipSourceDestCheck} attribute is {@code true}. This is + * because the source/destination check is always disabled for VNICs in a VLAN. + * *

Example: {@code true} * * @return the value @@ -884,6 +991,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); sb.append(", macAddress=").append(String.valueOf(this.macAddress)); sb.append(", nsgIds=").append(String.valueOf(this.nsgIds)); + sb.append(", vlanId=").append(String.valueOf(this.vlanId)); sb.append(", privateIp=").append(String.valueOf(this.privateIp)); sb.append(", publicIp=").append(String.valueOf(this.publicIp)); sb.append(", skipSourceDestCheck=").append(String.valueOf(this.skipSourceDestCheck)); @@ -914,6 +1022,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) && java.util.Objects.equals(this.macAddress, other.macAddress) && java.util.Objects.equals(this.nsgIds, other.nsgIds) + && java.util.Objects.equals(this.vlanId, other.vlanId) && java.util.Objects.equals(this.privateIp, other.privateIp) && java.util.Objects.equals(this.publicIp, other.publicIp) && java.util.Objects.equals(this.skipSourceDestCheck, other.skipSourceDestCheck) @@ -947,6 +1056,7 @@ public int hashCode() { + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); result = (result * PRIME) + (this.macAddress == null ? 43 : this.macAddress.hashCode()); result = (result * PRIME) + (this.nsgIds == null ? 43 : this.nsgIds.hashCode()); + result = (result * PRIME) + (this.vlanId == null ? 43 : this.vlanId.hashCode()); result = (result * PRIME) + (this.privateIp == null ? 43 : this.privateIp.hashCode()); result = (result * PRIME) + (this.publicIp == null ? 43 : this.publicIp.hashCode()); result = diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vtap.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vtap.java new file mode 100644 index 00000000000..91b1618fe35 --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/Vtap.java @@ -0,0 +1,1314 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * A virtual test access point (VTAP) provides a way to mirror all traffic from a designated source + * to a selected target in order to facilitate troubleshooting, security analysis, and data + * monitoring. A VTAP is functionally similar to a test access point (TAP) you might deploy in your + * on-premises network. + * + *

A *{@link CaptureFilter}* contains a set of *{@link + * #captureFilterRuleDetails(CaptureFilterRuleDetailsRequest) captureFilterRuleDetails}* governing + * what traffic a VTAP mirrors.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = Vtap.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class Vtap extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "compartmentId", + "vcnId", + "definedTags", + "displayName", + "freeformTags", + "id", + "lifecycleState", + "lifecycleStateDetails", + "timeCreated", + "sourceId", + "targetId", + "targetIp", + "captureFilterId", + "encapsulationProtocol", + "vxlanNetworkIdentifier", + "isVtapEnabled", + "sourceType", + "trafficMode", + "maxPacketSize", + "targetType", + "sourcePrivateEndpointIp", + "sourcePrivateEndpointSubnetId" + }) + public Vtap( + String compartmentId, + String vcnId, + java.util.Map> definedTags, + String displayName, + java.util.Map freeformTags, + String id, + LifecycleState lifecycleState, + LifecycleStateDetails lifecycleStateDetails, + java.util.Date timeCreated, + String sourceId, + String targetId, + String targetIp, + String captureFilterId, + EncapsulationProtocol encapsulationProtocol, + Long vxlanNetworkIdentifier, + Boolean isVtapEnabled, + SourceType sourceType, + TrafficMode trafficMode, + Integer maxPacketSize, + TargetType targetType, + String sourcePrivateEndpointIp, + String sourcePrivateEndpointSubnetId) { + super(); + this.compartmentId = compartmentId; + this.vcnId = vcnId; + this.definedTags = definedTags; + this.displayName = displayName; + this.freeformTags = freeformTags; + this.id = id; + this.lifecycleState = lifecycleState; + this.lifecycleStateDetails = lifecycleStateDetails; + this.timeCreated = timeCreated; + this.sourceId = sourceId; + this.targetId = targetId; + this.targetIp = targetIp; + this.captureFilterId = captureFilterId; + this.encapsulationProtocol = encapsulationProtocol; + this.vxlanNetworkIdentifier = vxlanNetworkIdentifier; + this.isVtapEnabled = isVtapEnabled; + this.sourceType = sourceType; + this.trafficMode = trafficMode; + this.maxPacketSize = maxPacketSize; + this.targetType = targetType; + this.sourcePrivateEndpointIp = sourcePrivateEndpointIp; + this.sourcePrivateEndpointSubnetId = sourcePrivateEndpointSubnetId; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the {@code Vtap} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment containing the {@code Vtap} resource. + * + * @param compartmentId the value to set + * @return this builder + */ + public Builder compartmentId(String compartmentId) { + this.compartmentId = compartmentId; + this.__explicitlySet__.add("compartmentId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN containing the {@code Vtap} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the VCN containing the {@code Vtap} resource. + * + * @param vcnId the value to set + * @return this builder + */ + public Builder vcnId(String vcnId) { + this.vcnId = vcnId; + this.__explicitlySet__.add("vcnId"); + return this; + } + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @param definedTags the value to set + * @return this builder + */ + public Builder definedTags( + java.util.Map> definedTags) { + this.definedTags = definedTags; + this.__explicitlySet__.add("definedTags"); + return this; + } + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists + * for cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @param freeformTags the value to set + * @return this builder + */ + public Builder freeformTags(java.util.Map freeformTags) { + this.freeformTags = freeformTags; + this.__explicitlySet__.add("freeformTags"); + return this; + } + /** + * The VTAP's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * The VTAP's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** The VTAP's administrative lifecycle state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private LifecycleState lifecycleState; + + /** + * The VTAP's administrative lifecycle state. + * + * @param lifecycleState the value to set + * @return this builder + */ + public Builder lifecycleState(LifecycleState lifecycleState) { + this.lifecycleState = lifecycleState; + this.__explicitlySet__.add("lifecycleState"); + return this; + } + /** The VTAP's current running state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleStateDetails") + private LifecycleStateDetails lifecycleStateDetails; + + /** + * The VTAP's current running state. + * + * @param lifecycleStateDetails the value to set + * @return this builder + */ + public Builder lifecycleStateDetails(LifecycleStateDetails lifecycleStateDetails) { + this.lifecycleStateDetails = lifecycleStateDetails; + this.__explicitlySet__.add("lifecycleStateDetails"); + return this; + } + /** + * The date and time the VTAP was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2020-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private java.util.Date timeCreated; + + /** + * The date and time the VTAP was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2020-08-25T21:10:29.600Z} + * + * @param timeCreated the value to set + * @return this builder + */ + public Builder timeCreated(java.util.Date timeCreated) { + this.timeCreated = timeCreated; + this.__explicitlySet__.add("timeCreated"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the source point where packets are captured. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceId") + private String sourceId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the source point where packets are captured. + * + * @param sourceId the value to set + * @return this builder + */ + public Builder sourceId(String sourceId) { + this.sourceId = sourceId; + this.__explicitlySet__.add("sourceId"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination resource where mirrored packets are sent. + */ + @com.fasterxml.jackson.annotation.JsonProperty("targetId") + private String targetId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the destination resource where mirrored packets are sent. + * + * @param targetId the value to set + * @return this builder + */ + public Builder targetId(String targetId) { + this.targetId = targetId; + this.__explicitlySet__.add("targetId"); + return this; + } + /** The IP address of the destination resource where mirrored packets are sent. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetIp") + private String targetIp; + + /** + * The IP address of the destination resource where mirrored packets are sent. + * + * @param targetIp the value to set + * @return this builder + */ + public Builder targetIp(String targetIp) { + this.targetIp = targetIp; + this.__explicitlySet__.add("targetIp"); + return this; + } + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + */ + @com.fasterxml.jackson.annotation.JsonProperty("captureFilterId") + private String captureFilterId; + + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + * + * @param captureFilterId the value to set + * @return this builder + */ + public Builder captureFilterId(String captureFilterId) { + this.captureFilterId = captureFilterId; + this.__explicitlySet__.add("captureFilterId"); + return this; + } + /** Defines an encapsulation header type for the VTAP's mirrored traffic. */ + @com.fasterxml.jackson.annotation.JsonProperty("encapsulationProtocol") + private EncapsulationProtocol encapsulationProtocol; + + /** + * Defines an encapsulation header type for the VTAP's mirrored traffic. + * + * @param encapsulationProtocol the value to set + * @return this builder + */ + public Builder encapsulationProtocol(EncapsulationProtocol encapsulationProtocol) { + this.encapsulationProtocol = encapsulationProtocol; + this.__explicitlySet__.add("encapsulationProtocol"); + return this; + } + /** + * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely + * identifies the VXLAN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vxlanNetworkIdentifier") + private Long vxlanNetworkIdentifier; + + /** + * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely + * identifies the VXLAN. + * + * @param vxlanNetworkIdentifier the value to set + * @return this builder + */ + public Builder vxlanNetworkIdentifier(Long vxlanNetworkIdentifier) { + this.vxlanNetworkIdentifier = vxlanNetworkIdentifier; + this.__explicitlySet__.add("vxlanNetworkIdentifier"); + return this; + } + /** + * Used to start or stop a {@code Vtap} resource. + * + *

{@code TRUE} directs the VTAP to start mirroring traffic. * {@code FALSE} (Default) + * directs the VTAP to stop mirroring traffic. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isVtapEnabled") + private Boolean isVtapEnabled; + + /** + * Used to start or stop a {@code Vtap} resource. + * + *

{@code TRUE} directs the VTAP to start mirroring traffic. * {@code FALSE} (Default) + * directs the VTAP to stop mirroring traffic. + * + * @param isVtapEnabled the value to set + * @return this builder + */ + public Builder isVtapEnabled(Boolean isVtapEnabled) { + this.isVtapEnabled = isVtapEnabled; + this.__explicitlySet__.add("isVtapEnabled"); + return this; + } + /** The source type for the VTAP. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceType") + private SourceType sourceType; + + /** + * The source type for the VTAP. + * + * @param sourceType the value to set + * @return this builder + */ + public Builder sourceType(SourceType sourceType) { + this.sourceType = sourceType; + this.__explicitlySet__.add("sourceType"); + return this; + } + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the + * value is DEFAULT + */ + @com.fasterxml.jackson.annotation.JsonProperty("trafficMode") + private TrafficMode trafficMode; + + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the + * value is DEFAULT + * + * @param trafficMode the value to set + * @return this builder + */ + public Builder trafficMode(TrafficMode trafficMode) { + this.trafficMode = trafficMode; + this.__explicitlySet__.add("trafficMode"); + return this; + } + /** The maximum size of the packets to be included in the filter. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxPacketSize") + private Integer maxPacketSize; + + /** + * The maximum size of the packets to be included in the filter. + * + * @param maxPacketSize the value to set + * @return this builder + */ + public Builder maxPacketSize(Integer maxPacketSize) { + this.maxPacketSize = maxPacketSize; + this.__explicitlySet__.add("maxPacketSize"); + return this; + } + /** The target type for the VTAP. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetType") + private TargetType targetType; + + /** + * The target type for the VTAP. + * + * @param targetType the value to set + * @return this builder + */ + public Builder targetType(TargetType targetType) { + this.targetType = targetType; + this.__explicitlySet__.add("targetType"); + return this; + } + /** The IP Address of the source private endpoint. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePrivateEndpointIp") + private String sourcePrivateEndpointIp; + + /** + * The IP Address of the source private endpoint. + * + * @param sourcePrivateEndpointIp the value to set + * @return this builder + */ + public Builder sourcePrivateEndpointIp(String sourcePrivateEndpointIp) { + this.sourcePrivateEndpointIp = sourcePrivateEndpointIp; + this.__explicitlySet__.add("sourcePrivateEndpointIp"); + return this; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the subnet that source private endpoint belongs to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePrivateEndpointSubnetId") + private String sourcePrivateEndpointSubnetId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the subnet that source private endpoint belongs to. + * + * @param sourcePrivateEndpointSubnetId the value to set + * @return this builder + */ + public Builder sourcePrivateEndpointSubnetId(String sourcePrivateEndpointSubnetId) { + this.sourcePrivateEndpointSubnetId = sourcePrivateEndpointSubnetId; + this.__explicitlySet__.add("sourcePrivateEndpointSubnetId"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public Vtap build() { + Vtap model = + new Vtap( + this.compartmentId, + this.vcnId, + this.definedTags, + this.displayName, + this.freeformTags, + this.id, + this.lifecycleState, + this.lifecycleStateDetails, + this.timeCreated, + this.sourceId, + this.targetId, + this.targetIp, + this.captureFilterId, + this.encapsulationProtocol, + this.vxlanNetworkIdentifier, + this.isVtapEnabled, + this.sourceType, + this.trafficMode, + this.maxPacketSize, + this.targetType, + this.sourcePrivateEndpointIp, + this.sourcePrivateEndpointSubnetId); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(Vtap model) { + if (model.wasPropertyExplicitlySet("compartmentId")) { + this.compartmentId(model.getCompartmentId()); + } + if (model.wasPropertyExplicitlySet("vcnId")) { + this.vcnId(model.getVcnId()); + } + if (model.wasPropertyExplicitlySet("definedTags")) { + this.definedTags(model.getDefinedTags()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("freeformTags")) { + this.freeformTags(model.getFreeformTags()); + } + if (model.wasPropertyExplicitlySet("id")) { + this.id(model.getId()); + } + if (model.wasPropertyExplicitlySet("lifecycleState")) { + this.lifecycleState(model.getLifecycleState()); + } + if (model.wasPropertyExplicitlySet("lifecycleStateDetails")) { + this.lifecycleStateDetails(model.getLifecycleStateDetails()); + } + if (model.wasPropertyExplicitlySet("timeCreated")) { + this.timeCreated(model.getTimeCreated()); + } + if (model.wasPropertyExplicitlySet("sourceId")) { + this.sourceId(model.getSourceId()); + } + if (model.wasPropertyExplicitlySet("targetId")) { + this.targetId(model.getTargetId()); + } + if (model.wasPropertyExplicitlySet("targetIp")) { + this.targetIp(model.getTargetIp()); + } + if (model.wasPropertyExplicitlySet("captureFilterId")) { + this.captureFilterId(model.getCaptureFilterId()); + } + if (model.wasPropertyExplicitlySet("encapsulationProtocol")) { + this.encapsulationProtocol(model.getEncapsulationProtocol()); + } + if (model.wasPropertyExplicitlySet("vxlanNetworkIdentifier")) { + this.vxlanNetworkIdentifier(model.getVxlanNetworkIdentifier()); + } + if (model.wasPropertyExplicitlySet("isVtapEnabled")) { + this.isVtapEnabled(model.getIsVtapEnabled()); + } + if (model.wasPropertyExplicitlySet("sourceType")) { + this.sourceType(model.getSourceType()); + } + if (model.wasPropertyExplicitlySet("trafficMode")) { + this.trafficMode(model.getTrafficMode()); + } + if (model.wasPropertyExplicitlySet("maxPacketSize")) { + this.maxPacketSize(model.getMaxPacketSize()); + } + if (model.wasPropertyExplicitlySet("targetType")) { + this.targetType(model.getTargetType()); + } + if (model.wasPropertyExplicitlySet("sourcePrivateEndpointIp")) { + this.sourcePrivateEndpointIp(model.getSourcePrivateEndpointIp()); + } + if (model.wasPropertyExplicitlySet("sourcePrivateEndpointSubnetId")) { + this.sourcePrivateEndpointSubnetId(model.getSourcePrivateEndpointSubnetId()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the {@code Vtap} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") + private final String compartmentId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment containing the {@code Vtap} resource. + * + * @return the value + */ + public String getCompartmentId() { + return compartmentId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN containing the {@code Vtap} resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vcnId") + private final String vcnId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the VCN containing the {@code Vtap} resource. + * + * @return the value + */ + public String getVcnId() { + return vcnId; + } + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("definedTags") + private final java.util.Map> definedTags; + + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: + * {@code {"foo-namespace": {"bar-key": "value"}}} + * + * @return the value + */ + public java.util.Map> getDefinedTags() { + return definedTags; + } + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering + * confidential information. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + */ + @com.fasterxml.jackson.annotation.JsonProperty("freeformTags") + private final java.util.Map freeformTags; + + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for + * cross-compatibility only. Example: {@code {"bar-key": "value"}} + * + * @return the value + */ + public java.util.Map getFreeformTags() { + return freeformTags; + } + + /** + * The VTAP's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * The VTAP's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + * + * @return the value + */ + public String getId() { + return id; + } + + /** The VTAP's administrative lifecycle state. */ + public enum LifecycleState implements com.oracle.bmc.http.internal.BmcEnum { + Provisioning("PROVISIONING"), + Available("AVAILABLE"), + Updating("UPDATING"), + Terminating("TERMINATING"), + Terminated("TERMINATED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (LifecycleState v : LifecycleState.values()) { + map.put(v.getValue(), v); + } + } + + LifecycleState(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static LifecycleState create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid LifecycleState: " + key); + } + }; + /** The VTAP's administrative lifecycle state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleState") + private final LifecycleState lifecycleState; + + /** + * The VTAP's administrative lifecycle state. + * + * @return the value + */ + public LifecycleState getLifecycleState() { + return lifecycleState; + } + + /** The VTAP's current running state. */ + public enum LifecycleStateDetails implements com.oracle.bmc.http.internal.BmcEnum { + Running("RUNNING"), + Stopped("STOPPED"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (LifecycleStateDetails v : LifecycleStateDetails.values()) { + map.put(v.getValue(), v); + } + } + + LifecycleStateDetails(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static LifecycleStateDetails create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid LifecycleStateDetails: " + key); + } + }; + /** The VTAP's current running state. */ + @com.fasterxml.jackson.annotation.JsonProperty("lifecycleStateDetails") + private final LifecycleStateDetails lifecycleStateDetails; + + /** + * The VTAP's current running state. + * + * @return the value + */ + public LifecycleStateDetails getLifecycleStateDetails() { + return lifecycleStateDetails; + } + + /** + * The date and time the VTAP was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2020-08-25T21:10:29.600Z} + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") + private final java.util.Date timeCreated; + + /** + * The date and time the VTAP was created, in the format defined by + * [RFC3339](https://tools.ietf.org/html/rfc3339). + * + *

Example: {@code 2020-08-25T21:10:29.600Z} + * + * @return the value + */ + public java.util.Date getTimeCreated() { + return timeCreated; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the source point where packets are captured. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceId") + private final String sourceId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the source point where packets are captured. + * + * @return the value + */ + public String getSourceId() { + return sourceId; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination resource where mirrored packets are sent. + */ + @com.fasterxml.jackson.annotation.JsonProperty("targetId") + private final String targetId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the destination resource where mirrored packets are sent. + * + * @return the value + */ + public String getTargetId() { + return targetId; + } + + /** The IP address of the destination resource where mirrored packets are sent. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetIp") + private final String targetIp; + + /** + * The IP address of the destination resource where mirrored packets are sent. + * + * @return the value + */ + public String getTargetIp() { + return targetIp; + } + + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + */ + @com.fasterxml.jackson.annotation.JsonProperty("captureFilterId") + private final String captureFilterId; + + /** + * The capture filter's Oracle ID + * ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + * + * @return the value + */ + public String getCaptureFilterId() { + return captureFilterId; + } + + /** Defines an encapsulation header type for the VTAP's mirrored traffic. */ + public enum EncapsulationProtocol implements com.oracle.bmc.http.internal.BmcEnum { + Vxlan("VXLAN"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (EncapsulationProtocol v : EncapsulationProtocol.values()) { + map.put(v.getValue(), v); + } + } + + EncapsulationProtocol(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static EncapsulationProtocol create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid EncapsulationProtocol: " + key); + } + }; + /** Defines an encapsulation header type for the VTAP's mirrored traffic. */ + @com.fasterxml.jackson.annotation.JsonProperty("encapsulationProtocol") + private final EncapsulationProtocol encapsulationProtocol; + + /** + * Defines an encapsulation header type for the VTAP's mirrored traffic. + * + * @return the value + */ + public EncapsulationProtocol getEncapsulationProtocol() { + return encapsulationProtocol; + } + + /** + * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely + * identifies the VXLAN. + */ + @com.fasterxml.jackson.annotation.JsonProperty("vxlanNetworkIdentifier") + private final Long vxlanNetworkIdentifier; + + /** + * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely + * identifies the VXLAN. + * + * @return the value + */ + public Long getVxlanNetworkIdentifier() { + return vxlanNetworkIdentifier; + } + + /** + * Used to start or stop a {@code Vtap} resource. + * + *

{@code TRUE} directs the VTAP to start mirroring traffic. * {@code FALSE} (Default) + * directs the VTAP to stop mirroring traffic. + */ + @com.fasterxml.jackson.annotation.JsonProperty("isVtapEnabled") + private final Boolean isVtapEnabled; + + /** + * Used to start or stop a {@code Vtap} resource. + * + *

{@code TRUE} directs the VTAP to start mirroring traffic. * {@code FALSE} (Default) + * directs the VTAP to stop mirroring traffic. + * + * @return the value + */ + public Boolean getIsVtapEnabled() { + return isVtapEnabled; + } + + /** The source type for the VTAP. */ + public enum SourceType implements com.oracle.bmc.http.internal.BmcEnum { + Vnic("VNIC"), + Subnet("SUBNET"), + LoadBalancer("LOAD_BALANCER"), + DbSystem("DB_SYSTEM"), + ExadataVmCluster("EXADATA_VM_CLUSTER"), + AutonomousDataWarehouse("AUTONOMOUS_DATA_WAREHOUSE"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (SourceType v : SourceType.values()) { + map.put(v.getValue(), v); + } + } + + SourceType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static SourceType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid SourceType: " + key); + } + }; + /** The source type for the VTAP. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceType") + private final SourceType sourceType; + + /** + * The source type for the VTAP. + * + * @return the value + */ + public SourceType getSourceType() { + return sourceType; + } + + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the value + * is DEFAULT + */ + public enum TrafficMode implements com.oracle.bmc.http.internal.BmcEnum { + Default("DEFAULT"), + Priority("PRIORITY"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (TrafficMode v : TrafficMode.values()) { + map.put(v.getValue(), v); + } + } + + TrafficMode(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static TrafficMode create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid TrafficMode: " + key); + } + }; + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the value + * is DEFAULT + */ + @com.fasterxml.jackson.annotation.JsonProperty("trafficMode") + private final TrafficMode trafficMode; + + /** + * Used to control the priority of traffic. It is an optional field. If it not passed, the value + * is DEFAULT + * + * @return the value + */ + public TrafficMode getTrafficMode() { + return trafficMode; + } + + /** The maximum size of the packets to be included in the filter. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxPacketSize") + private final Integer maxPacketSize; + + /** + * The maximum size of the packets to be included in the filter. + * + * @return the value + */ + public Integer getMaxPacketSize() { + return maxPacketSize; + } + + /** The target type for the VTAP. */ + public enum TargetType implements com.oracle.bmc.http.internal.BmcEnum { + Vnic("VNIC"), + NetworkLoadBalancer("NETWORK_LOAD_BALANCER"), + IpAddress("IP_ADDRESS"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (TargetType v : TargetType.values()) { + map.put(v.getValue(), v); + } + } + + TargetType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static TargetType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid TargetType: " + key); + } + }; + /** The target type for the VTAP. */ + @com.fasterxml.jackson.annotation.JsonProperty("targetType") + private final TargetType targetType; + + /** + * The target type for the VTAP. + * + * @return the value + */ + public TargetType getTargetType() { + return targetType; + } + + /** The IP Address of the source private endpoint. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePrivateEndpointIp") + private final String sourcePrivateEndpointIp; + + /** + * The IP Address of the source private endpoint. + * + * @return the value + */ + public String getSourcePrivateEndpointIp() { + return sourcePrivateEndpointIp; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the subnet that source private endpoint belongs to. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sourcePrivateEndpointSubnetId") + private final String sourcePrivateEndpointSubnetId; + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the subnet that source private endpoint belongs to. + * + * @return the value + */ + public String getSourcePrivateEndpointSubnetId() { + return sourcePrivateEndpointSubnetId; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("Vtap("); + sb.append("super=").append(super.toString()); + sb.append("compartmentId=").append(String.valueOf(this.compartmentId)); + sb.append(", vcnId=").append(String.valueOf(this.vcnId)); + sb.append(", definedTags=").append(String.valueOf(this.definedTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", id=").append(String.valueOf(this.id)); + sb.append(", lifecycleState=").append(String.valueOf(this.lifecycleState)); + sb.append(", lifecycleStateDetails=").append(String.valueOf(this.lifecycleStateDetails)); + sb.append(", timeCreated=").append(String.valueOf(this.timeCreated)); + sb.append(", sourceId=").append(String.valueOf(this.sourceId)); + sb.append(", targetId=").append(String.valueOf(this.targetId)); + sb.append(", targetIp=").append(String.valueOf(this.targetIp)); + sb.append(", captureFilterId=").append(String.valueOf(this.captureFilterId)); + sb.append(", encapsulationProtocol=").append(String.valueOf(this.encapsulationProtocol)); + sb.append(", vxlanNetworkIdentifier=").append(String.valueOf(this.vxlanNetworkIdentifier)); + sb.append(", isVtapEnabled=").append(String.valueOf(this.isVtapEnabled)); + sb.append(", sourceType=").append(String.valueOf(this.sourceType)); + sb.append(", trafficMode=").append(String.valueOf(this.trafficMode)); + sb.append(", maxPacketSize=").append(String.valueOf(this.maxPacketSize)); + sb.append(", targetType=").append(String.valueOf(this.targetType)); + sb.append(", sourcePrivateEndpointIp=") + .append(String.valueOf(this.sourcePrivateEndpointIp)); + sb.append(", sourcePrivateEndpointSubnetId=") + .append(String.valueOf(this.sourcePrivateEndpointSubnetId)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof Vtap)) { + return false; + } + + Vtap other = (Vtap) o; + return java.util.Objects.equals(this.compartmentId, other.compartmentId) + && java.util.Objects.equals(this.vcnId, other.vcnId) + && java.util.Objects.equals(this.definedTags, other.definedTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.id, other.id) + && java.util.Objects.equals(this.lifecycleState, other.lifecycleState) + && java.util.Objects.equals(this.lifecycleStateDetails, other.lifecycleStateDetails) + && java.util.Objects.equals(this.timeCreated, other.timeCreated) + && java.util.Objects.equals(this.sourceId, other.sourceId) + && java.util.Objects.equals(this.targetId, other.targetId) + && java.util.Objects.equals(this.targetIp, other.targetIp) + && java.util.Objects.equals(this.captureFilterId, other.captureFilterId) + && java.util.Objects.equals(this.encapsulationProtocol, other.encapsulationProtocol) + && java.util.Objects.equals( + this.vxlanNetworkIdentifier, other.vxlanNetworkIdentifier) + && java.util.Objects.equals(this.isVtapEnabled, other.isVtapEnabled) + && java.util.Objects.equals(this.sourceType, other.sourceType) + && java.util.Objects.equals(this.trafficMode, other.trafficMode) + && java.util.Objects.equals(this.maxPacketSize, other.maxPacketSize) + && java.util.Objects.equals(this.targetType, other.targetType) + && java.util.Objects.equals( + this.sourcePrivateEndpointIp, other.sourcePrivateEndpointIp) + && java.util.Objects.equals( + this.sourcePrivateEndpointSubnetId, other.sourcePrivateEndpointSubnetId) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.compartmentId == null ? 43 : this.compartmentId.hashCode()); + result = (result * PRIME) + (this.vcnId == null ? 43 : this.vcnId.hashCode()); + result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.hashCode()); + result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.hashCode()); + result = (result * PRIME) + (this.id == null ? 43 : this.id.hashCode()); + result = + (result * PRIME) + + (this.lifecycleState == null ? 43 : this.lifecycleState.hashCode()); + result = + (result * PRIME) + + (this.lifecycleStateDetails == null + ? 43 + : this.lifecycleStateDetails.hashCode()); + result = (result * PRIME) + (this.timeCreated == null ? 43 : this.timeCreated.hashCode()); + result = (result * PRIME) + (this.sourceId == null ? 43 : this.sourceId.hashCode()); + result = (result * PRIME) + (this.targetId == null ? 43 : this.targetId.hashCode()); + result = (result * PRIME) + (this.targetIp == null ? 43 : this.targetIp.hashCode()); + result = + (result * PRIME) + + (this.captureFilterId == null ? 43 : this.captureFilterId.hashCode()); + result = + (result * PRIME) + + (this.encapsulationProtocol == null + ? 43 + : this.encapsulationProtocol.hashCode()); + result = + (result * PRIME) + + (this.vxlanNetworkIdentifier == null + ? 43 + : this.vxlanNetworkIdentifier.hashCode()); + result = + (result * PRIME) + + (this.isVtapEnabled == null ? 43 : this.isVtapEnabled.hashCode()); + result = (result * PRIME) + (this.sourceType == null ? 43 : this.sourceType.hashCode()); + result = (result * PRIME) + (this.trafficMode == null ? 43 : this.trafficMode.hashCode()); + result = + (result * PRIME) + + (this.maxPacketSize == null ? 43 : this.maxPacketSize.hashCode()); + result = (result * PRIME) + (this.targetType == null ? 43 : this.targetType.hashCode()); + result = + (result * PRIME) + + (this.sourcePrivateEndpointIp == null + ? 43 + : this.sourcePrivateEndpointIp.hashCode()); + result = + (result * PRIME) + + (this.sourcePrivateEndpointSubnetId == null + ? 43 + : this.sourcePrivateEndpointSubnetId.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VtapCaptureFilterRuleDetails.java b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VtapCaptureFilterRuleDetails.java new file mode 100644 index 00000000000..6dc464ae88a --- /dev/null +++ b/bmc-vnmonitoring/src/main/java/com/oracle/bmc/vnmonitoring/model/VtapCaptureFilterRuleDetails.java @@ -0,0 +1,453 @@ +/** + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.vnmonitoring.model; + +/** + * This resource contains the rules governing what traffic a VTAP mirrors.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are unset from fields that are explicitly + * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a + * set of all explicitly set fields called {@link Builder#__explicitlySet__}. The {@link + * #hashCode()} and {@link #equals(Object)} methods are implemented to take the explicitly set + * fields into account. The constructor, on the other hand, does not take the explicitly set fields + * into account (since the constructor cannot distinguish explicit {@code null} from unset {@code + * null}). + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20160918") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize( + builder = VtapCaptureFilterRuleDetails.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class VtapCaptureFilterRuleDetails + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "trafficDirection", + "ruleAction", + "sourceCidr", + "destinationCidr", + "protocol", + "icmpOptions", + "tcpOptions", + "udpOptions" + }) + public VtapCaptureFilterRuleDetails( + TrafficDirection trafficDirection, + RuleAction ruleAction, + String sourceCidr, + String destinationCidr, + String protocol, + IcmpOptions icmpOptions, + TcpOptions tcpOptions, + UdpOptions udpOptions) { + super(); + this.trafficDirection = trafficDirection; + this.ruleAction = ruleAction; + this.sourceCidr = sourceCidr; + this.destinationCidr = destinationCidr; + this.protocol = protocol; + this.icmpOptions = icmpOptions; + this.tcpOptions = tcpOptions; + this.udpOptions = udpOptions; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** The traffic direction the VTAP is configured to mirror. */ + @com.fasterxml.jackson.annotation.JsonProperty("trafficDirection") + private TrafficDirection trafficDirection; + + /** + * The traffic direction the VTAP is configured to mirror. + * + * @param trafficDirection the value to set + * @return this builder + */ + public Builder trafficDirection(TrafficDirection trafficDirection) { + this.trafficDirection = trafficDirection; + this.__explicitlySet__.add("trafficDirection"); + return this; + } + /** Include or exclude packets meeting this definition from mirrored traffic. */ + @com.fasterxml.jackson.annotation.JsonProperty("ruleAction") + private RuleAction ruleAction; + + /** + * Include or exclude packets meeting this definition from mirrored traffic. + * + * @param ruleAction the value to set + * @return this builder + */ + public Builder ruleAction(RuleAction ruleAction) { + this.ruleAction = ruleAction; + this.__explicitlySet__.add("ruleAction"); + return this; + } + /** Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceCidr") + private String sourceCidr; + + /** + * Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target. + * + * @param sourceCidr the value to set + * @return this builder + */ + public Builder sourceCidr(String sourceCidr) { + this.sourceCidr = sourceCidr; + this.__explicitlySet__.add("sourceCidr"); + return this; + } + /** + * Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP + * target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("destinationCidr") + private String destinationCidr; + + /** + * Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP + * target. + * + * @param destinationCidr the value to set + * @return this builder + */ + public Builder destinationCidr(String destinationCidr) { + this.destinationCidr = destinationCidr; + this.__explicitlySet__.add("destinationCidr"); + return this; + } + /** + * The transport protocol used in the filter. If do not choose a protocol, all protocols + * will be used in the filter. Supported options are: * 1 = ICMP * 6 = TCP * 17 = UDP + */ + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + private String protocol; + + /** + * The transport protocol used in the filter. If do not choose a protocol, all protocols + * will be used in the filter. Supported options are: * 1 = ICMP * 6 = TCP * 17 = UDP + * + * @param protocol the value to set + * @return this builder + */ + public Builder protocol(String protocol) { + this.protocol = protocol; + this.__explicitlySet__.add("protocol"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("icmpOptions") + private IcmpOptions icmpOptions; + + public Builder icmpOptions(IcmpOptions icmpOptions) { + this.icmpOptions = icmpOptions; + this.__explicitlySet__.add("icmpOptions"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpOptions") + private TcpOptions tcpOptions; + + public Builder tcpOptions(TcpOptions tcpOptions) { + this.tcpOptions = tcpOptions; + this.__explicitlySet__.add("tcpOptions"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("udpOptions") + private UdpOptions udpOptions; + + public Builder udpOptions(UdpOptions udpOptions) { + this.udpOptions = udpOptions; + this.__explicitlySet__.add("udpOptions"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public VtapCaptureFilterRuleDetails build() { + VtapCaptureFilterRuleDetails model = + new VtapCaptureFilterRuleDetails( + this.trafficDirection, + this.ruleAction, + this.sourceCidr, + this.destinationCidr, + this.protocol, + this.icmpOptions, + this.tcpOptions, + this.udpOptions); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(VtapCaptureFilterRuleDetails model) { + if (model.wasPropertyExplicitlySet("trafficDirection")) { + this.trafficDirection(model.getTrafficDirection()); + } + if (model.wasPropertyExplicitlySet("ruleAction")) { + this.ruleAction(model.getRuleAction()); + } + if (model.wasPropertyExplicitlySet("sourceCidr")) { + this.sourceCidr(model.getSourceCidr()); + } + if (model.wasPropertyExplicitlySet("destinationCidr")) { + this.destinationCidr(model.getDestinationCidr()); + } + if (model.wasPropertyExplicitlySet("protocol")) { + this.protocol(model.getProtocol()); + } + if (model.wasPropertyExplicitlySet("icmpOptions")) { + this.icmpOptions(model.getIcmpOptions()); + } + if (model.wasPropertyExplicitlySet("tcpOptions")) { + this.tcpOptions(model.getTcpOptions()); + } + if (model.wasPropertyExplicitlySet("udpOptions")) { + this.udpOptions(model.getUdpOptions()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** The traffic direction the VTAP is configured to mirror. */ + public enum TrafficDirection implements com.oracle.bmc.http.internal.BmcEnum { + Ingress("INGRESS"), + Egress("EGRESS"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (TrafficDirection v : TrafficDirection.values()) { + map.put(v.getValue(), v); + } + } + + TrafficDirection(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static TrafficDirection create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid TrafficDirection: " + key); + } + }; + /** The traffic direction the VTAP is configured to mirror. */ + @com.fasterxml.jackson.annotation.JsonProperty("trafficDirection") + private final TrafficDirection trafficDirection; + + /** + * The traffic direction the VTAP is configured to mirror. + * + * @return the value + */ + public TrafficDirection getTrafficDirection() { + return trafficDirection; + } + + /** Include or exclude packets meeting this definition from mirrored traffic. */ + public enum RuleAction implements com.oracle.bmc.http.internal.BmcEnum { + Include("INCLUDE"), + Exclude("EXCLUDE"), + ; + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (RuleAction v : RuleAction.values()) { + map.put(v.getValue(), v); + } + } + + RuleAction(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static RuleAction create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + throw new IllegalArgumentException("Invalid RuleAction: " + key); + } + }; + /** Include or exclude packets meeting this definition from mirrored traffic. */ + @com.fasterxml.jackson.annotation.JsonProperty("ruleAction") + private final RuleAction ruleAction; + + /** + * Include or exclude packets meeting this definition from mirrored traffic. + * + * @return the value + */ + public RuleAction getRuleAction() { + return ruleAction; + } + + /** Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target. */ + @com.fasterxml.jackson.annotation.JsonProperty("sourceCidr") + private final String sourceCidr; + + /** + * Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target. + * + * @return the value + */ + public String getSourceCidr() { + return sourceCidr; + } + + /** + * Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target. + */ + @com.fasterxml.jackson.annotation.JsonProperty("destinationCidr") + private final String destinationCidr; + + /** + * Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target. + * + * @return the value + */ + public String getDestinationCidr() { + return destinationCidr; + } + + /** + * The transport protocol used in the filter. If do not choose a protocol, all protocols will be + * used in the filter. Supported options are: * 1 = ICMP * 6 = TCP * 17 = UDP + */ + @com.fasterxml.jackson.annotation.JsonProperty("protocol") + private final String protocol; + + /** + * The transport protocol used in the filter. If do not choose a protocol, all protocols will be + * used in the filter. Supported options are: * 1 = ICMP * 6 = TCP * 17 = UDP + * + * @return the value + */ + public String getProtocol() { + return protocol; + } + + @com.fasterxml.jackson.annotation.JsonProperty("icmpOptions") + private final IcmpOptions icmpOptions; + + public IcmpOptions getIcmpOptions() { + return icmpOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("tcpOptions") + private final TcpOptions tcpOptions; + + public TcpOptions getTcpOptions() { + return tcpOptions; + } + + @com.fasterxml.jackson.annotation.JsonProperty("udpOptions") + private final UdpOptions udpOptions; + + public UdpOptions getUdpOptions() { + return udpOptions; + } + + @Override + public String toString() { + return this.toString(true); + } + + /** + * Return a string representation of the object. + * + * @param includeByteArrayContents true to include the full contents of byte arrays + * @return string representation + */ + public String toString(boolean includeByteArrayContents) { + java.lang.StringBuilder sb = new java.lang.StringBuilder(); + sb.append("VtapCaptureFilterRuleDetails("); + sb.append("super=").append(super.toString()); + sb.append("trafficDirection=").append(String.valueOf(this.trafficDirection)); + sb.append(", ruleAction=").append(String.valueOf(this.ruleAction)); + sb.append(", sourceCidr=").append(String.valueOf(this.sourceCidr)); + sb.append(", destinationCidr=").append(String.valueOf(this.destinationCidr)); + sb.append(", protocol=").append(String.valueOf(this.protocol)); + sb.append(", icmpOptions=").append(String.valueOf(this.icmpOptions)); + sb.append(", tcpOptions=").append(String.valueOf(this.tcpOptions)); + sb.append(", udpOptions=").append(String.valueOf(this.udpOptions)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof VtapCaptureFilterRuleDetails)) { + return false; + } + + VtapCaptureFilterRuleDetails other = (VtapCaptureFilterRuleDetails) o; + return java.util.Objects.equals(this.trafficDirection, other.trafficDirection) + && java.util.Objects.equals(this.ruleAction, other.ruleAction) + && java.util.Objects.equals(this.sourceCidr, other.sourceCidr) + && java.util.Objects.equals(this.destinationCidr, other.destinationCidr) + && java.util.Objects.equals(this.protocol, other.protocol) + && java.util.Objects.equals(this.icmpOptions, other.icmpOptions) + && java.util.Objects.equals(this.tcpOptions, other.tcpOptions) + && java.util.Objects.equals(this.udpOptions, other.udpOptions) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.trafficDirection == null ? 43 : this.trafficDirection.hashCode()); + result = (result * PRIME) + (this.ruleAction == null ? 43 : this.ruleAction.hashCode()); + result = (result * PRIME) + (this.sourceCidr == null ? 43 : this.sourceCidr.hashCode()); + result = + (result * PRIME) + + (this.destinationCidr == null ? 43 : this.destinationCidr.hashCode()); + result = (result * PRIME) + (this.protocol == null ? 43 : this.protocol.hashCode()); + result = (result * PRIME) + (this.icmpOptions == null ? 43 : this.icmpOptions.hashCode()); + result = (result * PRIME) + (this.tcpOptions == null ? 43 : this.tcpOptions.hashCode()); + result = (result * PRIME) + (this.udpOptions == null ? 43 : this.udpOptions.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-vulnerabilityscanning/pom.xml b/bmc-vulnerabilityscanning/pom.xml index e1e9f0c8a99..c96574bbf0d 100644 --- a/bmc-vulnerabilityscanning/pom.xml +++ b/bmc-vulnerabilityscanning/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-vulnerabilityscanning @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-waa/pom.xml b/bmc-waa/pom.xml index 0751deaea4c..cc303d01d95 100644 --- a/bmc-waa/pom.xml +++ b/bmc-waa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-waa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-waas/pom.xml b/bmc-waas/pom.xml index 2d185807d47..274fa964911 100644 --- a/bmc-waas/pom.xml +++ b/bmc-waas/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-waas @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/Waas.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/Waas.java index bb52a3470e0..783c2653b34 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/Waas.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/Waas.java @@ -72,8 +72,7 @@ public interface Waas extends AutoCloseable { * *

Use the `GET /waasPolicies/{waasPolicyId}/wafConfig/recommendations` method to view a list * of recommended Web Application Firewall protection rules. For more information, see [WAF - * Protection - * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). + * Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -229,8 +228,7 @@ ChangeWaasPolicyCompartmentResponse changeWaasPolicyCompartment( * the Web Application Firewall service, including rules from * [ModSecurity](https://modsecurity.org/). The syntax for custom rules is based on the * ModSecurity syntax. For more information about custom protection rules, see [Custom - * Protection - * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). + * Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -731,9 +729,8 @@ ListCustomProtectionRulesResponse listCustomProtectionRules( * *

Use the `POST /waasPolicies/{waasPolicyId}/actions/acceptWafConfigRecommendations` method * to accept recommended Web Application Firewall protection rules. For more information, see - * [WAF Protection - * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). The list - * is sorted by `key`, in ascending order. + * [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). The + * list is sorted by `key`, in ascending order. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1169,10 +1166,10 @@ UpdateHumanInteractionChallengeResponse updateHumanInteractionChallenge( * Updates the action for each specified protection rule. Requests can either be allowed, * blocked, or trigger an alert if they meet the parameters of an applied rule. For more * information on protection rules, see [WAF Protection - * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). This - * operation can update or disable protection rules depending on the structure of the request - * body. Protection rules can be updated by changing the properties of the protection rule - * object with the rule's key specified in the key field. + * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). This operation can + * update or disable protection rules depending on the structure of the request body. Protection + * rules can be updated by changing the properties of the protection rule object with the rule's + * key specified in the key field. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/WaasAsync.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/WaasAsync.java index b2a8ad8584f..e900b00ceec 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/WaasAsync.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/WaasAsync.java @@ -68,8 +68,7 @@ public interface WaasAsync extends AutoCloseable { * *

Use the `GET /waasPolicies/{waasPolicyId}/wafConfig/recommendations` method to view a list * of recommended Web Application Firewall protection rules. For more information, see [WAF - * Protection - * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). + * Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -225,8 +224,7 @@ java.util.concurrent.Future createCertificate( * the Web Application Firewall service, including rules from * [ModSecurity](https://modsecurity.org/). The syntax for custom rules is based on the * ModSecurity syntax. For more information about custom protection rules, see [Custom - * Protection - * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). + * Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -716,9 +714,8 @@ java.util.concurrent.Future listProtectionRules( * *

Use the `POST /waasPolicies/{waasPolicyId}/actions/acceptWafConfigRecommendations` method * to accept recommended Web Application Firewall protection rules. For more information, see - * [WAF Protection - * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). The list - * is sorted by `key`, in ascending order. + * [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). The + * list is sorted by `key`, in ascending order. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1150,10 +1147,10 @@ java.util.concurrent.Future updatePolicyConfig( * Updates the action for each specified protection rule. Requests can either be allowed, * blocked, or trigger an alert if they meet the parameters of an applied rule. For more * information on protection rules, see [WAF Protection - * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). This - * operation can update or disable protection rules depending on the structure of the request - * body. Protection rules can be updated by changing the properties of the protection rule - * object with the rule's key specified in the key field. + * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). This operation can + * update or disable protection rules depending on the structure of the request body. Protection + * rules can be updated by changing the properties of the protection rule object with the rule's + * key specified in the key field. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressList.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressList.java index d06ae0f0642..273f9d37a59 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressList.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressList.java @@ -57,15 +57,15 @@ public AddressList( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list. * * @param id the value to set * @return this builder @@ -76,15 +76,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list's compartment. * * @param compartmentId the value to set * @return this builder @@ -287,15 +287,13 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. * * @return the value */ @@ -304,15 +302,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list's + * compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list's + * compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressListSummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressListSummary.java index 5c8c2445c5b..1af5312ccad 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressListSummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressListSummary.java @@ -56,15 +56,15 @@ public AddressListSummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list. * * @param id the value to set * @return this builder @@ -75,15 +75,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list's compartment. * * @param compartmentId the value to set * @return this builder @@ -265,15 +265,13 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. * * @return the value */ @@ -282,15 +280,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list's + * compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list's + * compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Certificate.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Certificate.java index e9c095d60b7..99639ccdf9e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Certificate.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Certificate.java @@ -508,15 +508,13 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * certificate. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the certificate. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * certificate. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the certificate. * * @return the value */ @@ -525,15 +523,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * certificate's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the certificate's + * compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * certificate's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the certificate's + * compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CertificateSummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CertificateSummary.java index 2b2afd39b40..d4d636217f6 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CertificateSummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CertificateSummary.java @@ -57,15 +57,15 @@ public CertificateSummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * SSL certificate. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL + * certificate. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * SSL certificate. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL + * certificate. * * @param id the value to set * @return this builder @@ -76,15 +76,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * SSL certificate's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL + * certificate's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * SSL certificate's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL + * certificate's compartment. * * @param compartmentId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeAddressListCompartmentDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeAddressListCompartmentDetails.java index 1148584f5d0..62a0a6733ef 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeAddressListCompartmentDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeAddressListCompartmentDetails.java @@ -86,18 +86,18 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment into which the resource should be moved. For information about moving resources - * between compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * into which the resource should be moved. For information about moving resources between + * compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment into which the resource should be moved. For information about moving resources - * between compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * into which the resource should be moved. For information about moving resources between + * compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * * @return the value diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCertificateCompartmentDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCertificateCompartmentDetails.java index 0d59584978a..6598f5fa2c3 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCertificateCompartmentDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCertificateCompartmentDetails.java @@ -86,18 +86,18 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment into which the resource should be moved. For information about moving resources - * between compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * into which the resource should be moved. For information about moving resources between + * compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment into which the resource should be moved. For information about moving resources - * between compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * into which the resource should be moved. For information about moving resources between + * compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * * @return the value diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCustomProtectionRuleCompartmentDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCustomProtectionRuleCompartmentDetails.java index 41685a9b861..78f5efa6360 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCustomProtectionRuleCompartmentDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCustomProtectionRuleCompartmentDetails.java @@ -86,18 +86,18 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment into which the resource should be moved. For information about moving resources - * between compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * into which the resource should be moved. For information about moving resources between + * compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment into which the resource should be moved. For information about moving resources - * between compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * into which the resource should be moved. For information about moving resources between + * compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * * @return the value diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeHttpRedirectCompartmentDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeHttpRedirectCompartmentDetails.java index 39c7a589d63..a1e4f9a4770 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeHttpRedirectCompartmentDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeHttpRedirectCompartmentDetails.java @@ -82,15 +82,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment into which the resource should be moved. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * into which the resource should be moved. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment into which the resource should be moved. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * into which the resource should be moved. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeWaasPolicyCompartmentDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeWaasPolicyCompartmentDetails.java index baad40ded05..345c25a3daf 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeWaasPolicyCompartmentDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeWaasPolicyCompartmentDetails.java @@ -86,18 +86,18 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment into which the resource should be moved. For information about moving resources - * between compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * into which the resource should be moved. For information about moving resources between + * compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment into which the resource should be moved. For information about moving resources - * between compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * into which the resource should be moved. For information about moving resources between + * compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * * @return the value diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateAddressListDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateAddressListDetails.java index 949b9ce90f0..5335833fd5c 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateAddressListDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateAddressListDetails.java @@ -195,15 +195,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment in which to create the address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in + * which to create the address list. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment in which to create the address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in + * which to create the address list. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCertificateDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCertificateDetails.java index 25ab840c66d..f31a736a930 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCertificateDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCertificateDetails.java @@ -266,15 +266,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment in which to create the SSL certificate. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in + * which to create the SSL certificate. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment in which to create the SSL certificate. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in + * which to create the SSL certificate. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCustomProtectionRuleDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCustomProtectionRuleDetails.java index 9052afdb2f7..b94dd7db1b5 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCustomProtectionRuleDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCustomProtectionRuleDetails.java @@ -7,9 +7,9 @@ /** * The required data to create a custom protection rule. For more information about custom * protection rules, see [Custom Protection - * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). - * **Warning:** Oracle recommends that you avoid using any confidential information when you supply - * string values using the API.
+ * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). **Warning:** Oracle + * recommends that you avoid using any confidential information when you supply string values using + * the API.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -291,15 +291,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment in which to create the custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in + * which to create the custom protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment in which to create the custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in + * which to create the custom protection rule. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateHttpRedirectDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateHttpRedirectDetails.java index 53ee58d5865..f751100e342 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateHttpRedirectDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateHttpRedirectDetails.java @@ -55,15 +55,15 @@ public CreateHttpRedirectDetails( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirects compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirects compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirects compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirects compartment. * * @param compartmentId the value to set * @return this builder @@ -249,15 +249,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirects compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirects + * compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirects compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirects + * compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateWaasPolicyDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateWaasPolicyDetails.java index 475b6858c81..d85c74a897a 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateWaasPolicyDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateWaasPolicyDetails.java @@ -314,15 +314,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment in which to create the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in + * which to create the WAAS policy. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment in which to create the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in + * which to create the WAAS policy. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRule.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRule.java index 72167b71921..6bbe064ffa8 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRule.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRule.java @@ -62,15 +62,15 @@ public CustomProtectionRule( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. * * @param id the value to set * @return this builder @@ -81,15 +81,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule's compartment. * * @param compartmentId the value to set * @return this builder @@ -385,15 +385,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. * * @return the value */ @@ -402,15 +402,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSetting.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSetting.java index 54217addb70..8ee39460ca5 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSetting.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSetting.java @@ -35,15 +35,15 @@ public CustomProtectionRuleSetting( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. * * @param id the value to set * @return this builder @@ -121,15 +121,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSummary.java index 36476f9bd21..e829aba17c3 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSummary.java @@ -56,15 +56,15 @@ public CustomProtectionRuleSummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. * * @param id the value to set * @return this builder @@ -75,15 +75,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule's compartment. * * @param compartmentId the value to set * @return this builder @@ -271,15 +271,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. * * @return the value */ @@ -288,15 +288,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirect.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirect.java index 555b7916fdc..e491f61dd13 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirect.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirect.java @@ -64,15 +64,15 @@ public HttpRedirect( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect. * * @param id the value to set * @return this builder @@ -83,15 +83,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect's compartment. * * @param compartmentId the value to set * @return this builder @@ -319,15 +319,13 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. * * @return the value */ @@ -336,15 +334,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirectSummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirectSummary.java index 36ee51be130..50337b38b52 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirectSummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirectSummary.java @@ -66,15 +66,15 @@ public HttpRedirectSummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect. * * @param id the value to set * @return this builder @@ -85,15 +85,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect's compartment. * * @param compartmentId the value to set * @return this builder @@ -321,15 +321,13 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. * * @return the value */ @@ -338,15 +336,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicy.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicy.java index 7f4be9470cf..d37f6045665 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicy.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicy.java @@ -76,15 +76,15 @@ public WaasPolicy( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param id the value to set * @return this builder @@ -95,15 +95,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy's compartment. * * @param compartmentId the value to set * @return this builder @@ -409,15 +409,13 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. * * @return the value */ @@ -426,15 +424,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy's + * compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy's + * compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicyCustomProtectionRuleSummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicyCustomProtectionRuleSummary.java index 4c77d630600..3f148e17e4e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicyCustomProtectionRuleSummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicyCustomProtectionRuleSummary.java @@ -47,15 +47,15 @@ public WaasPolicyCustomProtectionRuleSummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. * * @param id the value to set * @return this builder @@ -180,15 +180,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicySummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicySummary.java index 02256a934f1..bdbeb2e31d6 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicySummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicySummary.java @@ -59,15 +59,15 @@ public WaasPolicySummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param id the value to set * @return this builder @@ -78,15 +78,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy's compartment. * * @param compartmentId the value to set * @return this builder @@ -272,15 +272,13 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. * * @return the value */ @@ -289,15 +287,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy's + * compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy's + * compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Whitelist.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Whitelist.java index 04b8d3b35b1..23483350c4c 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Whitelist.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Whitelist.java @@ -64,15 +64,15 @@ public Builder addresses(java.util.List addresses) { return this; } /** - * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) - * of IP address lists to include in the whitelist. + * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of IP + * address lists to include in the whitelist. */ @com.fasterxml.jackson.annotation.JsonProperty("addressLists") private java.util.List addressLists; /** - * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) - * of IP address lists to include in the whitelist. + * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of IP + * address lists to include in the whitelist. * * @param addressLists the value to set * @return this builder @@ -145,15 +145,15 @@ public java.util.List getAddresses() { } /** - * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of - * IP address lists to include in the whitelist. + * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of IP address + * lists to include in the whitelist. */ @com.fasterxml.jackson.annotation.JsonProperty("addressLists") private final java.util.List addressLists; /** - * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of - * IP address lists to include in the whitelist. + * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of IP address + * lists to include in the whitelist. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequest.java index 43719bfcdeb..6ac05c339e9 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequest.java @@ -67,15 +67,15 @@ public WorkRequest( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param id the value to set * @return this builder @@ -320,15 +320,13 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -363,15 +361,15 @@ public WorkRequestStatusValues getStatus() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment that contains the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * that contains the work request. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment that contains the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * that contains the work request. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestResource.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestResource.java index eaee671d1d1..80ebc409243 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestResource.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestResource.java @@ -66,15 +66,15 @@ public Builder entityType(String entityType) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * resource that the work request affects. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource + * that the work request affects. */ @com.fasterxml.jackson.annotation.JsonProperty("identifier") private String identifier; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * resource that the work request affects. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource + * that the work request affects. * * @param identifier the value to set * @return this builder @@ -217,15 +217,15 @@ public String getEntityType() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * resource that the work request affects. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource that + * the work request affects. */ @com.fasterxml.jackson.annotation.JsonProperty("identifier") private final String identifier; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * resource that the work request affects. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource that + * the work request affects. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestSummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestSummary.java index b2eb0866175..6e1306a5ca4 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestSummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestSummary.java @@ -59,15 +59,15 @@ public WorkRequestSummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param id the value to set * @return this builder @@ -276,15 +276,13 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -319,15 +317,15 @@ public WorkRequestStatusValues getStatus() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment that contains the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * that contains the work request. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * compartment that contains the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + * that contains the work request. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/AcceptRecommendationsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/AcceptRecommendationsRequest.java index f51f018bac3..40cb6ddf4ec 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/AcceptRecommendationsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/AcceptRecommendationsRequest.java @@ -16,14 +16,12 @@ public class AcceptRecommendationsRequest extends com.oracle.bmc.requests.BmcRequest> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -83,14 +81,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/CancelWorkRequestRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/CancelWorkRequestRequest.java index 5fda3b40865..8235e66d050 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/CancelWorkRequestRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/CancelWorkRequestRequest.java @@ -14,14 +14,14 @@ public class CancelWorkRequestRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * This number is generated when work request is created. */ private String workRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * This number is generated when work request is created. */ public String getWorkRequestId() { return workRequestId; @@ -83,14 +83,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. This number is generated when work request is created. */ private String workRequestId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. This number is generated when work request is created. * * @param workRequestId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeAddressListCompartmentRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeAddressListCompartmentRequest.java index f0df4ff1f1b..6cfe2f314ca 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeAddressListCompartmentRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeAddressListCompartmentRequest.java @@ -17,14 +17,14 @@ public class ChangeAddressListCompartmentRequest com.oracle.bmc.waas.model.ChangeAddressListCompartmentDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. + * This number is generated when the address list is added to the compartment. */ private String addressListId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. + * This number is generated when the address list is added to the compartment. */ public String getAddressListId() { return addressListId; @@ -106,14 +106,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list. This number is generated when the address list is added to the compartment. */ private String addressListId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list. This number is generated when the address list is added to the compartment. * * @param addressListId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCertificateCompartmentRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCertificateCompartmentRequest.java index 4278f5d5bb1..f2a1860b470 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCertificateCompartmentRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCertificateCompartmentRequest.java @@ -108,15 +108,15 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * SSL certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL + * certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. */ private String certificateId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * SSL certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL + * certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. * * @param certificateId the value to set diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCustomProtectionRuleCompartmentRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCustomProtectionRuleCompartmentRequest.java index 184fdd92c7f..63cf8991328 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCustomProtectionRuleCompartmentRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCustomProtectionRuleCompartmentRequest.java @@ -17,16 +17,16 @@ public class ChangeCustomProtectionRuleCompartmentRequest com.oracle.bmc.waas.model.ChangeCustomProtectionRuleCompartmentDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added to - * the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. */ private String customProtectionRuleId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added to - * the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. */ public String getCustomProtectionRuleId() { return customProtectionRuleId; @@ -108,16 +108,16 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added - * to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. */ private String customProtectionRuleId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added - * to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. * * @param customProtectionRuleId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeHttpRedirectCompartmentRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeHttpRedirectCompartmentRequest.java index 9b8a3301501..413a0410fdf 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeHttpRedirectCompartmentRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeHttpRedirectCompartmentRequest.java @@ -17,14 +17,12 @@ public class ChangeHttpRedirectCompartmentRequest com.oracle.bmc.waas.model.ChangeHttpRedirectCompartmentDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ private String httpRedirectId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ public String getHttpRedirectId() { return httpRedirectId; @@ -106,14 +104,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect. */ private String httpRedirectId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect. * * @param httpRedirectId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeWaasPolicyCompartmentRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeWaasPolicyCompartmentRequest.java index 24c23d4ac5a..5b541d3c9fc 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeWaasPolicyCompartmentRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeWaasPolicyCompartmentRequest.java @@ -17,14 +17,12 @@ public class ChangeWaasPolicyCompartmentRequest com.oracle.bmc.waas.model.ChangeWaasPolicyCompartmentDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -106,14 +104,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteAddressListRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteAddressListRequest.java index 5a3aa5cd25b..b303af954ef 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteAddressListRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteAddressListRequest.java @@ -14,14 +14,14 @@ public class DeleteAddressListRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. + * This number is generated when the address list is added to the compartment. */ private String addressListId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. + * This number is generated when the address list is added to the compartment. */ public String getAddressListId() { return addressListId; @@ -83,14 +83,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list. This number is generated when the address list is added to the compartment. */ private String addressListId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list. This number is generated when the address list is added to the compartment. * * @param addressListId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCertificateRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCertificateRequest.java index b81ffa31cc4..d1a27f6d0fb 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCertificateRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCertificateRequest.java @@ -85,15 +85,15 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * SSL certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL + * certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. */ private String certificateId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * SSL certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL + * certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. * * @param certificateId the value to set diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCustomProtectionRuleRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCustomProtectionRuleRequest.java index 51375d1bb66..8c0853f84e7 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCustomProtectionRuleRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCustomProtectionRuleRequest.java @@ -16,16 +16,16 @@ public class DeleteCustomProtectionRuleRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added to - * the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. */ private String customProtectionRuleId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added to - * the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. */ public String getCustomProtectionRuleId() { return customProtectionRuleId; @@ -87,16 +87,16 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added - * to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. */ private String customProtectionRuleId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added - * to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. * * @param customProtectionRuleId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteHttpRedirectRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteHttpRedirectRequest.java index 7b9cf64376f..6ab4c4c450b 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteHttpRedirectRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteHttpRedirectRequest.java @@ -14,14 +14,12 @@ public class DeleteHttpRedirectRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ private String httpRedirectId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ public String getHttpRedirectId() { return httpRedirectId; @@ -83,14 +81,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect. */ private String httpRedirectId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect. * * @param httpRedirectId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteWaasPolicyRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteWaasPolicyRequest.java index ad5bea2f0c5..fae11acdd4f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteWaasPolicyRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteWaasPolicyRequest.java @@ -14,14 +14,12 @@ public class DeleteWaasPolicyRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -83,14 +81,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetAddressListRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetAddressListRequest.java index ec4d9698dd8..8f38f88ddbe 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetAddressListRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetAddressListRequest.java @@ -14,14 +14,14 @@ public class GetAddressListRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. + * This number is generated when the address list is added to the compartment. */ private String addressListId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. + * This number is generated when the address list is added to the compartment. */ public String getAddressListId() { return addressListId; @@ -47,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list. This number is generated when the address list is added to the compartment. */ private String addressListId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list. This number is generated when the address list is added to the compartment. * * @param addressListId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCertificateRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCertificateRequest.java index edf5757a007..b7a23f9f51e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCertificateRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCertificateRequest.java @@ -49,15 +49,15 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * SSL certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL + * certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. */ private String certificateId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * SSL certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL + * certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. * * @param certificateId the value to set diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCustomProtectionRuleRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCustomProtectionRuleRequest.java index 39149644aec..5bbdedc59d2 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCustomProtectionRuleRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCustomProtectionRuleRequest.java @@ -16,16 +16,16 @@ public class GetCustomProtectionRuleRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added to - * the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. */ private String customProtectionRuleId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added to - * the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. */ public String getCustomProtectionRuleId() { return customProtectionRuleId; @@ -51,16 +51,16 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added - * to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. */ private String customProtectionRuleId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added - * to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. * * @param customProtectionRuleId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetDeviceFingerprintChallengeRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetDeviceFingerprintChallengeRequest.java index bbf65f74eb0..d57c9484922 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetDeviceFingerprintChallengeRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetDeviceFingerprintChallengeRequest.java @@ -16,14 +16,12 @@ public class GetDeviceFingerprintChallengeRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -49,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHttpRedirectRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHttpRedirectRequest.java index 29677ddfe13..5a8b7582af1 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHttpRedirectRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHttpRedirectRequest.java @@ -14,14 +14,12 @@ public class GetHttpRedirectRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ private String httpRedirectId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ public String getHttpRedirectId() { return httpRedirectId; @@ -47,14 +45,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect. */ private String httpRedirectId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect. * * @param httpRedirectId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHumanInteractionChallengeRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHumanInteractionChallengeRequest.java index 26c25c0611e..6b36d1d297e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHumanInteractionChallengeRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHumanInteractionChallengeRequest.java @@ -16,14 +16,12 @@ public class GetHumanInteractionChallengeRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -49,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetJsChallengeRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetJsChallengeRequest.java index f776c3ea0d4..b4ee6d6fcb1 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetJsChallengeRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetJsChallengeRequest.java @@ -14,14 +14,12 @@ public class GetJsChallengeRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -47,14 +45,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetPolicyConfigRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetPolicyConfigRequest.java index bcc11af6e4b..48e24a1368c 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetPolicyConfigRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetPolicyConfigRequest.java @@ -14,14 +14,12 @@ public class GetPolicyConfigRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -47,14 +45,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionRuleRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionRuleRequest.java index 12d823297db..ec095cafcf9 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionRuleRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionRuleRequest.java @@ -14,14 +14,12 @@ public class GetProtectionRuleRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -54,14 +52,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionSettingsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionSettingsRequest.java index 4bca82c9a88..1e8e635e54e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionSettingsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionSettingsRequest.java @@ -16,14 +16,12 @@ public class GetProtectionSettingsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -49,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWaasPolicyRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWaasPolicyRequest.java index f1121f728a5..3a63ff9ee82 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWaasPolicyRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWaasPolicyRequest.java @@ -14,14 +14,12 @@ public class GetWaasPolicyRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -47,14 +45,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafAddressRateLimitingRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafAddressRateLimitingRequest.java index c8267d26d29..a8b8a67b04b 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafAddressRateLimitingRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafAddressRateLimitingRequest.java @@ -16,14 +16,12 @@ public class GetWafAddressRateLimitingRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -49,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafConfigRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafConfigRequest.java index 88733198b6b..8c2129e0207 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafConfigRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafConfigRequest.java @@ -14,14 +14,12 @@ public class GetWafConfigRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -47,14 +45,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWorkRequestRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWorkRequestRequest.java index 13b81a327b2..61c8668e659 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWorkRequestRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWorkRequestRequest.java @@ -14,14 +14,14 @@ public class GetWorkRequestRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * This number is generated when work request is created. */ private String workRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * This number is generated when work request is created. */ public String getWorkRequestId() { return workRequestId; @@ -47,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. This number is generated when work request is created. */ private String workRequestId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. This number is generated when work request is created. * * @param workRequestId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAccessRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAccessRulesRequest.java index 86bcdcc9aa2..ce434e9c572 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAccessRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAccessRulesRequest.java @@ -14,14 +14,12 @@ public class ListAccessRulesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -67,14 +65,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAddressListsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAddressListsRequest.java index d27a88e03d0..4104bf728f9 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAddressListsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAddressListsRequest.java @@ -14,14 +14,14 @@ public class ListAddressListsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ public String getCompartmentId() { return compartmentId; @@ -203,14 +203,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ private String compartmentId = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. * * @param compartmentId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCachingRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCachingRulesRequest.java index 3ad1bb0cb26..ff88e90b5f2 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCachingRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCachingRulesRequest.java @@ -14,14 +14,12 @@ public class ListCachingRulesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -67,14 +65,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCaptchasRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCaptchasRequest.java index f46f5b50891..7204400d696 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCaptchasRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCaptchasRequest.java @@ -14,14 +14,12 @@ public class ListCaptchasRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -67,14 +65,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCertificatesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCertificatesRequest.java index 5b28ae054fe..695c566baff 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCertificatesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCertificatesRequest.java @@ -14,14 +14,14 @@ public class ListCertificatesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ public String getCompartmentId() { return compartmentId; @@ -205,14 +205,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ private String compartmentId = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. * * @param compartmentId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCustomProtectionRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCustomProtectionRulesRequest.java index 25d8e0c697f..d3eaae35ec9 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCustomProtectionRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCustomProtectionRulesRequest.java @@ -16,14 +16,14 @@ public class ListCustomProtectionRulesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ public String getCompartmentId() { return compartmentId; @@ -211,14 +211,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ private String compartmentId = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. * * @param compartmentId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListGoodBotsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListGoodBotsRequest.java index b52882479ae..162f234449e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListGoodBotsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListGoodBotsRequest.java @@ -14,14 +14,12 @@ public class ListGoodBotsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -67,14 +65,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListHttpRedirectsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListHttpRedirectsRequest.java index b00724ab54d..44e7a03bdc8 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListHttpRedirectsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListHttpRedirectsRequest.java @@ -14,14 +14,14 @@ public class ListHttpRedirectsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ public String getCompartmentId() { return compartmentId; @@ -201,14 +201,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ private String compartmentId = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. * * @param compartmentId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListProtectionRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListProtectionRulesRequest.java index 276f2f3fc2c..5dd587b4540 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListProtectionRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListProtectionRulesRequest.java @@ -14,14 +14,12 @@ public class ListProtectionRulesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -116,14 +114,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListRecommendationsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListRecommendationsRequest.java index b3f5c8c56c0..f6a8d52e842 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListRecommendationsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListRecommendationsRequest.java @@ -14,14 +14,12 @@ public class ListRecommendationsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -117,14 +115,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListThreatFeedsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListThreatFeedsRequest.java index ea5a723c6cd..aeffb1f44a1 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListThreatFeedsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListThreatFeedsRequest.java @@ -14,14 +14,12 @@ public class ListThreatFeedsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -67,14 +65,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPoliciesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPoliciesRequest.java index bbe170d72f6..b875554659e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPoliciesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPoliciesRequest.java @@ -14,14 +14,14 @@ public class ListWaasPoliciesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ public String getCompartmentId() { return compartmentId; @@ -203,14 +203,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ private String compartmentId = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. * * @param compartmentId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPolicyCustomProtectionRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPolicyCustomProtectionRulesRequest.java index cf00a1bdbdf..30081e67c27 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPolicyCustomProtectionRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPolicyCustomProtectionRulesRequest.java @@ -16,14 +16,12 @@ public class ListWaasPolicyCustomProtectionRulesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -117,14 +115,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafBlockedRequestsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafBlockedRequestsRequest.java index 05d65bb2241..b2c537a033e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafBlockedRequestsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafBlockedRequestsRequest.java @@ -16,14 +16,12 @@ public class ListWafBlockedRequestsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -153,14 +151,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafLogsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafLogsRequest.java index f4f33f5165e..61741154958 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafLogsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafLogsRequest.java @@ -14,14 +14,12 @@ public class ListWafLogsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -347,14 +345,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafRequestsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafRequestsRequest.java index 4334d0368e6..ed4b521e80a 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafRequestsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafRequestsRequest.java @@ -14,14 +14,12 @@ public class ListWafRequestsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -95,14 +93,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafTrafficRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafTrafficRequest.java index 720015f8b37..41d5dd15532 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafTrafficRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafTrafficRequest.java @@ -14,14 +14,12 @@ public class ListWafTrafficRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -95,14 +93,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWhitelistsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWhitelistsRequest.java index 1546e677e93..e82bd08f5ad 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWhitelistsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWhitelistsRequest.java @@ -14,14 +14,12 @@ public class ListWhitelistsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -67,14 +65,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWorkRequestsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWorkRequestsRequest.java index 2689532dadf..3a6f407582f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWorkRequestsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWorkRequestsRequest.java @@ -13,28 +13,22 @@ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181116") public class ListWorkRequestsRequest extends com.oracle.bmc.requests.BmcRequest { - /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * policy. - */ + /** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the policy. */ private String waasPolicyId; - /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * policy. - */ + /** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the policy. */ public String getWaasPolicyId() { return waasPolicyId; } /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of - * the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ public String getCompartmentId() { return compartmentId; @@ -184,14 +178,12 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the policy. * * @param waasPolicyId the value to set * @return this builder instance @@ -202,14 +194,14 @@ public Builder waasPolicyId(String waasPolicyId) { } /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. */ private String compartmentId = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) - * of the compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + * compartment. This number is generated when the compartment is created. * * @param compartmentId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/PurgeCacheRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/PurgeCacheRequest.java index aa0bdf5eccb..dab46a2938b 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/PurgeCacheRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/PurgeCacheRequest.java @@ -15,14 +15,12 @@ public class PurgeCacheRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -82,14 +80,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAccessRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAccessRulesRequest.java index dc4c4254aa5..a4002264116 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAccessRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAccessRulesRequest.java @@ -16,14 +16,12 @@ public class UpdateAccessRulesRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -103,14 +101,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAddressListRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAddressListRequest.java index fc974a9089e..2bb165340e0 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAddressListRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAddressListRequest.java @@ -16,14 +16,14 @@ public class UpdateAddressListRequest com.oracle.bmc.waas.model.UpdateAddressListDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. + * This number is generated when the address list is added to the compartment. */ private String addressListId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. + * This number is generated when the address list is added to the compartment. */ public String getAddressListId() { return addressListId; @@ -84,14 +84,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list. This number is generated when the address list is added to the compartment. */ private String addressListId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * address list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address + * list. This number is generated when the address list is added to the compartment. * * @param addressListId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCachingRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCachingRulesRequest.java index 5beef94cde8..165271473b2 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCachingRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCachingRulesRequest.java @@ -16,14 +16,12 @@ public class UpdateCachingRulesRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -103,14 +101,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCaptchasRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCaptchasRequest.java index bed4126659f..63d955ea01f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCaptchasRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCaptchasRequest.java @@ -16,14 +16,12 @@ public class UpdateCaptchasRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -103,14 +101,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCertificateRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCertificateRequest.java index f36b097df48..2ba348ca18e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCertificateRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCertificateRequest.java @@ -86,15 +86,15 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * SSL certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL + * certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. */ private String certificateId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * SSL certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL + * certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. * * @param certificateId the value to set diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCustomProtectionRuleRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCustomProtectionRuleRequest.java index 2a931f9c9a2..6fcee8afb5d 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCustomProtectionRuleRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCustomProtectionRuleRequest.java @@ -17,16 +17,16 @@ public class UpdateCustomProtectionRuleRequest com.oracle.bmc.waas.model.UpdateCustomProtectionRuleDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added to - * the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. */ private String customProtectionRuleId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added to - * the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. */ public String getCustomProtectionRuleId() { return customProtectionRuleId; @@ -109,16 +109,16 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added - * to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. */ private String customProtectionRuleId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * custom protection rule. This number is generated when the custom protection rule is added - * to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom + * protection rule. This number is generated when the custom protection rule is added to the + * compartment. * * @param customProtectionRuleId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateDeviceFingerprintChallengeRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateDeviceFingerprintChallengeRequest.java index f6ad85e7535..f69ee6c36a8 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateDeviceFingerprintChallengeRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateDeviceFingerprintChallengeRequest.java @@ -17,14 +17,12 @@ public class UpdateDeviceFingerprintChallengeRequest com.oracle.bmc.waas.model.DeviceFingerprintChallenge> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -107,14 +105,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateGoodBotsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateGoodBotsRequest.java index 6e2c1b74c01..4d3ca1d7bee 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateGoodBotsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateGoodBotsRequest.java @@ -16,14 +16,12 @@ public class UpdateGoodBotsRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -102,14 +100,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHttpRedirectRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHttpRedirectRequest.java index 0bd9332f3f4..4390f4e644f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHttpRedirectRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHttpRedirectRequest.java @@ -16,14 +16,12 @@ public class UpdateHttpRedirectRequest com.oracle.bmc.waas.model.UpdateHttpRedirectDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ private String httpRedirectId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. */ public String getHttpRedirectId() { return httpRedirectId; @@ -104,14 +102,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect. */ private String httpRedirectId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP + * Redirect. * * @param httpRedirectId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHumanInteractionChallengeRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHumanInteractionChallengeRequest.java index 30fbe30c144..788373341ae 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHumanInteractionChallengeRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHumanInteractionChallengeRequest.java @@ -17,14 +17,12 @@ public class UpdateHumanInteractionChallengeRequest com.oracle.bmc.waas.model.HumanInteractionChallenge> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -107,14 +105,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateJsChallengeRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateJsChallengeRequest.java index 84463e77139..b0c37a8d53d 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateJsChallengeRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateJsChallengeRequest.java @@ -15,14 +15,12 @@ public class UpdateJsChallengeRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -102,14 +100,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdatePolicyConfigRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdatePolicyConfigRequest.java index 9250ae341f9..84dac909d49 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdatePolicyConfigRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdatePolicyConfigRequest.java @@ -15,14 +15,12 @@ public class UpdatePolicyConfigRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -102,14 +100,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionRulesRequest.java index c8e8cf02fe3..3dc71812592 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionRulesRequest.java @@ -17,14 +17,12 @@ public class UpdateProtectionRulesRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -85,14 +83,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionSettingsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionSettingsRequest.java index e063f2c0d1f..93e3dd06c94 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionSettingsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionSettingsRequest.java @@ -16,14 +16,12 @@ public class UpdateProtectionSettingsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -103,14 +101,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateThreatFeedsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateThreatFeedsRequest.java index 819edc4550a..17432700faa 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateThreatFeedsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateThreatFeedsRequest.java @@ -16,14 +16,12 @@ public class UpdateThreatFeedsRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -85,14 +83,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyCustomProtectionRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyCustomProtectionRulesRequest.java index ecb0cf89606..89c34df5348 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyCustomProtectionRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyCustomProtectionRulesRequest.java @@ -17,14 +17,12 @@ public class UpdateWaasPolicyCustomProtectionRulesRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -106,14 +104,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyRequest.java index 4192232b4c9..23a5f90d097 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyRequest.java @@ -16,14 +16,12 @@ public class UpdateWaasPolicyRequest com.oracle.bmc.waas.model.UpdateWaasPolicyDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -103,14 +101,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafAddressRateLimitingRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafAddressRateLimitingRequest.java index b03aa3dd3e0..4cc6cf5a3a6 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafAddressRateLimitingRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafAddressRateLimitingRequest.java @@ -16,14 +16,12 @@ public class UpdateWafAddressRateLimitingRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -104,14 +102,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafConfigRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafConfigRequest.java index b898c0a7f9a..1ef1a510eb5 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafConfigRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafConfigRequest.java @@ -15,14 +15,12 @@ public class UpdateWafConfigRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -102,14 +100,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWhitelistsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWhitelistsRequest.java index 145f35ed9c8..200afad10e0 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWhitelistsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWhitelistsRequest.java @@ -16,14 +16,12 @@ public class UpdateWhitelistsRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -102,14 +100,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS + * policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/AcceptRecommendationsResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/AcceptRecommendationsResponse.java index 8b44d749bf1..e5b3ec4a74f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/AcceptRecommendationsResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/AcceptRecommendationsResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateHttpRedirectResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateHttpRedirectResponse.java index d7bcfee2a24..1e7dff07848 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateHttpRedirectResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateHttpRedirectResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateWaasPolicyResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateWaasPolicyResponse.java index 24e41d17bd1..12f2d6ba7e2 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateWaasPolicyResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateWaasPolicyResponse.java @@ -37,14 +37,12 @@ public String getEtag() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -122,14 +120,14 @@ public Builder etag(String etag) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteHttpRedirectResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteHttpRedirectResponse.java index 0d6cdb1f45b..8b59de798d9 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteHttpRedirectResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteHttpRedirectResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteWaasPolicyResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteWaasPolicyResponse.java index 48162c7e147..a5ebf8dd2e3 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteWaasPolicyResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteWaasPolicyResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/PurgeCacheResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/PurgeCacheResponse.java index f20cadb6785..b83d72c113d 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/PurgeCacheResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/PurgeCacheResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateAccessRulesResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateAccessRulesResponse.java index 1b9af5c1f11..c8653db3fea 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateAccessRulesResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateAccessRulesResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCachingRulesResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCachingRulesResponse.java index db56aabb5af..112aec3ab26 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCachingRulesResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCachingRulesResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCaptchasResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCaptchasResponse.java index 95662b50cca..ed662c65a7e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCaptchasResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCaptchasResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateDeviceFingerprintChallengeResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateDeviceFingerprintChallengeResponse.java index 8789ef0745d..aa7a53d0abd 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateDeviceFingerprintChallengeResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateDeviceFingerprintChallengeResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -94,14 +92,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateGoodBotsResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateGoodBotsResponse.java index 33d2a4b0b46..99627519cb8 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateGoodBotsResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateGoodBotsResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHttpRedirectResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHttpRedirectResponse.java index cb0fa245c8b..fbe70223703 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHttpRedirectResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHttpRedirectResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHumanInteractionChallengeResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHumanInteractionChallengeResponse.java index 685fccb0c06..06ecb77cd3f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHumanInteractionChallengeResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHumanInteractionChallengeResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -94,14 +92,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateJsChallengeResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateJsChallengeResponse.java index 73767558006..bf75929c050 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateJsChallengeResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateJsChallengeResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdatePolicyConfigResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdatePolicyConfigResponse.java index 789cbdeb33e..a75769f0fbd 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdatePolicyConfigResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdatePolicyConfigResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionRulesResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionRulesResponse.java index bff9a149089..c680ffde75c 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionRulesResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionRulesResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionSettingsResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionSettingsResponse.java index ddb62a2dd35..c64cf2f97c0 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionSettingsResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionSettingsResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -94,14 +92,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateThreatFeedsResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateThreatFeedsResponse.java index 033fe0b0dcf..8009fa57add 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateThreatFeedsResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateThreatFeedsResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyCustomProtectionRulesResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyCustomProtectionRulesResponse.java index d589e678d27..0f6fbed6f69 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyCustomProtectionRulesResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyCustomProtectionRulesResponse.java @@ -26,14 +26,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -95,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyResponse.java index 2208c4bb682..86b42ae31d1 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafAddressRateLimitingResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafAddressRateLimitingResponse.java index c12a42ae954..6d843bed08f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafAddressRateLimitingResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafAddressRateLimitingResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -94,14 +92,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafConfigResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafConfigResponse.java index 9d02e23ec55..f5aed17315b 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafConfigResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafConfigResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWhitelistsResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWhitelistsResponse.java index 9ea471e4660..9b9d89b48eb 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWhitelistsResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWhitelistsResponse.java @@ -25,14 +25,12 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. * * @return the value */ @@ -93,14 +91,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the - * work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work + * request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waf/pom.xml b/bmc-waf/pom.xml index 73c4d20c15d..460c6bf1607 100644 --- a/bmc-waf/pom.xml +++ b/bmc-waf/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-waf @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 \ No newline at end of file diff --git a/bmc-workrequests/pom.xml b/bmc-workrequests/pom.xml index b56b697b146..76be084a3c4 100644 --- a/bmc-workrequests/pom.xml +++ b/bmc-workrequests/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 ../pom.xml oci-java-sdk-workrequests @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.22.0 + 3.23.0 diff --git a/pom.xml b/pom.xml index ac4a895ed70..066262b9124 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk - 3.22.0 + 3.23.0 pom Oracle Cloud Infrastructure SDK This project contains the SDK used for Oracle Cloud Infrastructure From 6de9dc3b67b95de766f80db8e3754ae58c9df0a6 Mon Sep 17 00:00:00 2001 From: DEXREQ Automation Date: Tue, 8 Aug 2023 23:55:25 +0000 Subject: [PATCH 2/2] Committing source formatting changes. Automatically performed, see TeamCity build log: https://teamcity.oci.oraclecorp.com/viewLog.html?buildId=41294587&buildTypeId=Sdk_OCI_Testing_Service_BuildPullRequest&tab=buildResultsDiv --- .../main/java/com/oracle/bmc/waas/Waas.java | 19 ++++++----- .../java/com/oracle/bmc/waas/WaasAsync.java | 19 ++++++----- .../oracle/bmc/waas/model/AddressList.java | 30 +++++++++-------- .../bmc/waas/model/AddressListSummary.java | 30 +++++++++-------- .../oracle/bmc/waas/model/Certificate.java | 14 ++++---- .../bmc/waas/model/CertificateSummary.java | 16 +++++----- .../ChangeAddressListCompartmentDetails.java | 12 +++---- .../ChangeCertificateCompartmentDetails.java | 12 +++---- ...ustomProtectionRuleCompartmentDetails.java | 12 +++---- .../ChangeHttpRedirectCompartmentDetails.java | 8 ++--- .../ChangeWaasPolicyCompartmentDetails.java | 12 +++---- .../waas/model/CreateAddressListDetails.java | 8 ++--- .../waas/model/CreateCertificateDetails.java | 8 ++--- .../CreateCustomProtectionRuleDetails.java | 14 ++++---- .../waas/model/CreateHttpRedirectDetails.java | 16 +++++----- .../waas/model/CreateWaasPolicyDetails.java | 8 ++--- .../bmc/waas/model/CustomProtectionRule.java | 32 +++++++++---------- .../model/CustomProtectionRuleSetting.java | 16 +++++----- .../model/CustomProtectionRuleSummary.java | 32 +++++++++---------- .../oracle/bmc/waas/model/HttpRedirect.java | 30 +++++++++-------- .../bmc/waas/model/HttpRedirectSummary.java | 30 +++++++++-------- .../com/oracle/bmc/waas/model/WaasPolicy.java | 30 +++++++++-------- ...WaasPolicyCustomProtectionRuleSummary.java | 16 +++++----- .../bmc/waas/model/WaasPolicySummary.java | 30 +++++++++-------- .../com/oracle/bmc/waas/model/Whitelist.java | 16 +++++----- .../oracle/bmc/waas/model/WorkRequest.java | 22 +++++++------ .../bmc/waas/model/WorkRequestResource.java | 16 +++++----- .../bmc/waas/model/WorkRequestSummary.java | 22 +++++++------ .../AcceptRecommendationsRequest.java | 14 ++++---- .../requests/CancelWorkRequestRequest.java | 16 +++++----- .../ChangeAddressListCompartmentRequest.java | 16 +++++----- .../ChangeCertificateCompartmentRequest.java | 8 ++--- ...ustomProtectionRuleCompartmentRequest.java | 24 +++++++------- .../ChangeHttpRedirectCompartmentRequest.java | 14 ++++---- .../ChangeWaasPolicyCompartmentRequest.java | 14 ++++---- .../requests/DeleteAddressListRequest.java | 16 +++++----- .../requests/DeleteCertificateRequest.java | 8 ++--- .../DeleteCustomProtectionRuleRequest.java | 24 +++++++------- .../requests/DeleteHttpRedirectRequest.java | 14 ++++---- .../requests/DeleteWaasPolicyRequest.java | 14 ++++---- .../waas/requests/GetAddressListRequest.java | 16 +++++----- .../waas/requests/GetCertificateRequest.java | 8 ++--- .../GetCustomProtectionRuleRequest.java | 24 +++++++------- .../GetDeviceFingerprintChallengeRequest.java | 14 ++++---- .../waas/requests/GetHttpRedirectRequest.java | 14 ++++---- .../GetHumanInteractionChallengeRequest.java | 14 ++++---- .../waas/requests/GetJsChallengeRequest.java | 14 ++++---- .../waas/requests/GetPolicyConfigRequest.java | 14 ++++---- .../requests/GetProtectionRuleRequest.java | 14 ++++---- .../GetProtectionSettingsRequest.java | 14 ++++---- .../waas/requests/GetWaasPolicyRequest.java | 14 ++++---- .../GetWafAddressRateLimitingRequest.java | 14 ++++---- .../waas/requests/GetWafConfigRequest.java | 14 ++++---- .../waas/requests/GetWorkRequestRequest.java | 16 +++++----- .../waas/requests/ListAccessRulesRequest.java | 14 ++++---- .../requests/ListAddressListsRequest.java | 16 +++++----- .../requests/ListCachingRulesRequest.java | 14 ++++---- .../waas/requests/ListCaptchasRequest.java | 14 ++++---- .../requests/ListCertificatesRequest.java | 16 +++++----- .../ListCustomProtectionRulesRequest.java | 16 +++++----- .../waas/requests/ListGoodBotsRequest.java | 14 ++++---- .../requests/ListHttpRedirectsRequest.java | 16 +++++----- .../requests/ListProtectionRulesRequest.java | 14 ++++---- .../requests/ListRecommendationsRequest.java | 14 ++++---- .../waas/requests/ListThreatFeedsRequest.java | 14 ++++---- .../requests/ListWaasPoliciesRequest.java | 16 +++++----- ...aasPolicyCustomProtectionRulesRequest.java | 14 ++++---- .../ListWafBlockedRequestsRequest.java | 14 ++++---- .../bmc/waas/requests/ListWafLogsRequest.java | 14 ++++---- .../waas/requests/ListWafRequestsRequest.java | 14 ++++---- .../waas/requests/ListWafTrafficRequest.java | 14 ++++---- .../waas/requests/ListWhitelistsRequest.java | 14 ++++---- .../requests/ListWorkRequestsRequest.java | 32 ++++++++++++------- .../bmc/waas/requests/PurgeCacheRequest.java | 14 ++++---- .../requests/UpdateAccessRulesRequest.java | 14 ++++---- .../requests/UpdateAddressListRequest.java | 16 +++++----- .../requests/UpdateCachingRulesRequest.java | 14 ++++---- .../waas/requests/UpdateCaptchasRequest.java | 14 ++++---- .../requests/UpdateCertificateRequest.java | 8 ++--- .../UpdateCustomProtectionRuleRequest.java | 24 +++++++------- ...dateDeviceFingerprintChallengeRequest.java | 14 ++++---- .../waas/requests/UpdateGoodBotsRequest.java | 14 ++++---- .../requests/UpdateHttpRedirectRequest.java | 14 ++++---- ...pdateHumanInteractionChallengeRequest.java | 14 ++++---- .../requests/UpdateJsChallengeRequest.java | 14 ++++---- .../requests/UpdatePolicyConfigRequest.java | 14 ++++---- .../UpdateProtectionRulesRequest.java | 14 ++++---- .../UpdateProtectionSettingsRequest.java | 14 ++++---- .../requests/UpdateThreatFeedsRequest.java | 14 ++++---- ...aasPolicyCustomProtectionRulesRequest.java | 14 ++++---- .../requests/UpdateWaasPolicyRequest.java | 14 ++++---- .../UpdateWafAddressRateLimitingRequest.java | 14 ++++---- .../waas/requests/UpdateWafConfigRequest.java | 14 ++++---- .../requests/UpdateWhitelistsRequest.java | 14 ++++---- .../AcceptRecommendationsResponse.java | 14 ++++---- .../responses/CreateHttpRedirectResponse.java | 14 ++++---- .../responses/CreateWaasPolicyResponse.java | 14 ++++---- .../responses/DeleteHttpRedirectResponse.java | 14 ++++---- .../responses/DeleteWaasPolicyResponse.java | 14 ++++---- .../waas/responses/PurgeCacheResponse.java | 14 ++++---- .../responses/UpdateAccessRulesResponse.java | 14 ++++---- .../responses/UpdateCachingRulesResponse.java | 14 ++++---- .../responses/UpdateCaptchasResponse.java | 14 ++++---- ...ateDeviceFingerprintChallengeResponse.java | 14 ++++---- .../responses/UpdateGoodBotsResponse.java | 14 ++++---- .../responses/UpdateHttpRedirectResponse.java | 14 ++++---- ...dateHumanInteractionChallengeResponse.java | 14 ++++---- .../responses/UpdateJsChallengeResponse.java | 14 ++++---- .../responses/UpdatePolicyConfigResponse.java | 14 ++++---- .../UpdateProtectionRulesResponse.java | 14 ++++---- .../UpdateProtectionSettingsResponse.java | 14 ++++---- .../responses/UpdateThreatFeedsResponse.java | 14 ++++---- ...asPolicyCustomProtectionRulesResponse.java | 14 ++++---- .../responses/UpdateWaasPolicyResponse.java | 14 ++++---- .../UpdateWafAddressRateLimitingResponse.java | 14 ++++---- .../responses/UpdateWafConfigResponse.java | 14 ++++---- .../responses/UpdateWhitelistsResponse.java | 14 ++++---- 117 files changed, 1001 insertions(+), 831 deletions(-) diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/Waas.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/Waas.java index 783c2653b34..bb52a3470e0 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/Waas.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/Waas.java @@ -72,7 +72,8 @@ public interface Waas extends AutoCloseable { * *

Use the `GET /waasPolicies/{waasPolicyId}/wafConfig/recommendations` method to view a list * of recommended Web Application Firewall protection rules. For more information, see [WAF - * Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). + * Protection + * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -228,7 +229,8 @@ ChangeWaasPolicyCompartmentResponse changeWaasPolicyCompartment( * the Web Application Firewall service, including rules from * [ModSecurity](https://modsecurity.org/). The syntax for custom rules is based on the * ModSecurity syntax. For more information about custom protection rules, see [Custom - * Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). + * Protection + * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -729,8 +731,9 @@ ListCustomProtectionRulesResponse listCustomProtectionRules( * *

Use the `POST /waasPolicies/{waasPolicyId}/actions/acceptWafConfigRecommendations` method * to accept recommended Web Application Firewall protection rules. For more information, see - * [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). The - * list is sorted by `key`, in ascending order. + * [WAF Protection + * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). The list + * is sorted by `key`, in ascending order. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1166,10 +1169,10 @@ UpdateHumanInteractionChallengeResponse updateHumanInteractionChallenge( * Updates the action for each specified protection rule. Requests can either be allowed, * blocked, or trigger an alert if they meet the parameters of an applied rule. For more * information on protection rules, see [WAF Protection - * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). This operation can - * update or disable protection rules depending on the structure of the request body. Protection - * rules can be updated by changing the properties of the protection rule object with the rule's - * key specified in the key field. + * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). This + * operation can update or disable protection rules depending on the structure of the request + * body. Protection rules can be updated by changing the properties of the protection rule + * object with the rule's key specified in the key field. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/WaasAsync.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/WaasAsync.java index e900b00ceec..b2a8ad8584f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/WaasAsync.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/WaasAsync.java @@ -68,7 +68,8 @@ public interface WaasAsync extends AutoCloseable { * *

Use the `GET /waasPolicies/{waasPolicyId}/wafConfig/recommendations` method to view a list * of recommended Web Application Firewall protection rules. For more information, see [WAF - * Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). + * Protection + * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -224,7 +225,8 @@ java.util.concurrent.Future createCertificate( * the Web Application Firewall service, including rules from * [ModSecurity](https://modsecurity.org/). The syntax for custom rules is based on the * ModSecurity syntax. For more information about custom protection rules, see [Custom - * Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). + * Protection + * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -714,8 +716,9 @@ java.util.concurrent.Future listProtectionRules( * *

Use the `POST /waasPolicies/{waasPolicyId}/actions/acceptWafConfigRecommendations` method * to accept recommended Web Application Firewall protection rules. For more information, see - * [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). The - * list is sorted by `key`, in ascending order. + * [WAF Protection + * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). The list + * is sorted by `key`, in ascending order. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1147,10 +1150,10 @@ java.util.concurrent.Future updatePolicyConfig( * Updates the action for each specified protection rule. Requests can either be allowed, * blocked, or trigger an alert if they meet the parameters of an applied rule. For more * information on protection rules, see [WAF Protection - * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). This operation can - * update or disable protection rules depending on the structure of the request body. Protection - * rules can be updated by changing the properties of the protection rule object with the rule's - * key specified in the key field. + * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm). This + * operation can update or disable protection rules depending on the structure of the request + * body. Protection rules can be updated by changing the properties of the protection rule + * object with the rule's key specified in the key field. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressList.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressList.java index 273f9d37a59..d06ae0f0642 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressList.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressList.java @@ -57,15 +57,15 @@ public AddressList( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. * * @param id the value to set * @return this builder @@ -76,15 +76,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list's compartment. * * @param compartmentId the value to set * @return this builder @@ -287,13 +287,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. * * @return the value */ @@ -302,15 +304,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list's - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list's - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressListSummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressListSummary.java index 1af5312ccad..5c8c2445c5b 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressListSummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/AddressListSummary.java @@ -56,15 +56,15 @@ public AddressListSummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. * * @param id the value to set * @return this builder @@ -75,15 +75,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list's compartment. * * @param compartmentId the value to set * @return this builder @@ -265,13 +265,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. * * @return the value */ @@ -280,15 +282,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list's - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list's - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Certificate.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Certificate.java index 99639ccdf9e..e9c095d60b7 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Certificate.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Certificate.java @@ -508,13 +508,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the certificate. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * certificate. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the certificate. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * certificate. * * @return the value */ @@ -523,15 +525,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the certificate's - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * certificate's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the certificate's - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * certificate's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CertificateSummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CertificateSummary.java index d4d636217f6..2b2afd39b40 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CertificateSummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CertificateSummary.java @@ -57,15 +57,15 @@ public CertificateSummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL - * certificate. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * SSL certificate. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL - * certificate. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * SSL certificate. * * @param id the value to set * @return this builder @@ -76,15 +76,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL - * certificate's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * SSL certificate's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL - * certificate's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * SSL certificate's compartment. * * @param compartmentId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeAddressListCompartmentDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeAddressListCompartmentDetails.java index 62a0a6733ef..1148584f5d0 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeAddressListCompartmentDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeAddressListCompartmentDetails.java @@ -86,18 +86,18 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * into which the resource should be moved. For information about moving resources between - * compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment into which the resource should be moved. For information about moving resources + * between compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * into which the resource should be moved. For information about moving resources between - * compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment into which the resource should be moved. For information about moving resources + * between compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * * @return the value diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCertificateCompartmentDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCertificateCompartmentDetails.java index 6598f5fa2c3..0d59584978a 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCertificateCompartmentDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCertificateCompartmentDetails.java @@ -86,18 +86,18 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * into which the resource should be moved. For information about moving resources between - * compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment into which the resource should be moved. For information about moving resources + * between compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * into which the resource should be moved. For information about moving resources between - * compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment into which the resource should be moved. For information about moving resources + * between compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * * @return the value diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCustomProtectionRuleCompartmentDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCustomProtectionRuleCompartmentDetails.java index 78f5efa6360..41685a9b861 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCustomProtectionRuleCompartmentDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeCustomProtectionRuleCompartmentDetails.java @@ -86,18 +86,18 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * into which the resource should be moved. For information about moving resources between - * compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment into which the resource should be moved. For information about moving resources + * between compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * into which the resource should be moved. For information about moving resources between - * compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment into which the resource should be moved. For information about moving resources + * between compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * * @return the value diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeHttpRedirectCompartmentDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeHttpRedirectCompartmentDetails.java index a1e4f9a4770..39c7a589d63 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeHttpRedirectCompartmentDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeHttpRedirectCompartmentDetails.java @@ -82,15 +82,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * into which the resource should be moved. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment into which the resource should be moved. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * into which the resource should be moved. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment into which the resource should be moved. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeWaasPolicyCompartmentDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeWaasPolicyCompartmentDetails.java index 345c25a3daf..baad40ded05 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeWaasPolicyCompartmentDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/ChangeWaasPolicyCompartmentDetails.java @@ -86,18 +86,18 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * into which the resource should be moved. For information about moving resources between - * compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment into which the resource should be moved. For information about moving resources + * between compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * into which the resource should be moved. For information about moving resources between - * compartments, see [Moving Resources to a Different + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment into which the resource should be moved. For information about moving resources + * between compartments, see [Moving Resources to a Different * Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * * @return the value diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateAddressListDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateAddressListDetails.java index 5335833fd5c..949b9ce90f0 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateAddressListDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateAddressListDetails.java @@ -195,15 +195,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in - * which to create the address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment in which to create the address list. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in - * which to create the address list. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment in which to create the address list. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCertificateDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCertificateDetails.java index f31a736a930..25ab840c66d 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCertificateDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCertificateDetails.java @@ -266,15 +266,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in - * which to create the SSL certificate. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment in which to create the SSL certificate. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in - * which to create the SSL certificate. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment in which to create the SSL certificate. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCustomProtectionRuleDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCustomProtectionRuleDetails.java index b94dd7db1b5..9052afdb2f7 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCustomProtectionRuleDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateCustomProtectionRuleDetails.java @@ -7,9 +7,9 @@ /** * The required data to create a custom protection rule. For more information about custom * protection rules, see [Custom Protection - * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). **Warning:** Oracle - * recommends that you avoid using any confidential information when you supply string values using - * the API.
+ * Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). + * **Warning:** Oracle recommends that you avoid using any confidential information when you supply + * string values using the API.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -291,15 +291,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in - * which to create the custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment in which to create the custom protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in - * which to create the custom protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment in which to create the custom protection rule. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateHttpRedirectDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateHttpRedirectDetails.java index f751100e342..53ee58d5865 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateHttpRedirectDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateHttpRedirectDetails.java @@ -55,15 +55,15 @@ public CreateHttpRedirectDetails( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirects compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirects compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirects compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirects compartment. * * @param compartmentId the value to set * @return this builder @@ -249,15 +249,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirects - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirects compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirects - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirects compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateWaasPolicyDetails.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateWaasPolicyDetails.java index d85c74a897a..475b6858c81 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateWaasPolicyDetails.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CreateWaasPolicyDetails.java @@ -314,15 +314,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in - * which to create the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment in which to create the WAAS policy. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in - * which to create the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment in which to create the WAAS policy. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRule.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRule.java index 6bbe064ffa8..72167b71921 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRule.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRule.java @@ -62,15 +62,15 @@ public CustomProtectionRule( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. * * @param id the value to set * @return this builder @@ -81,15 +81,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule's compartment. * * @param compartmentId the value to set * @return this builder @@ -385,15 +385,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. * * @return the value */ @@ -402,15 +402,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSetting.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSetting.java index 8ee39460ca5..54217addb70 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSetting.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSetting.java @@ -35,15 +35,15 @@ public CustomProtectionRuleSetting( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. * * @param id the value to set * @return this builder @@ -121,15 +121,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSummary.java index e829aba17c3..36476f9bd21 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/CustomProtectionRuleSummary.java @@ -56,15 +56,15 @@ public CustomProtectionRuleSummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. * * @param id the value to set * @return this builder @@ -75,15 +75,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule's compartment. * * @param compartmentId the value to set * @return this builder @@ -271,15 +271,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. * * @return the value */ @@ -288,15 +288,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirect.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirect.java index e491f61dd13..555b7916fdc 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirect.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirect.java @@ -64,15 +64,15 @@ public HttpRedirect( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. * * @param id the value to set * @return this builder @@ -83,15 +83,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect's compartment. * * @param compartmentId the value to set * @return this builder @@ -319,13 +319,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. * * @return the value */ @@ -334,15 +336,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirectSummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirectSummary.java index 50337b38b52..36ee51be130 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirectSummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/HttpRedirectSummary.java @@ -66,15 +66,15 @@ public HttpRedirectSummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. * * @param id the value to set * @return this builder @@ -85,15 +85,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect's compartment. * * @param compartmentId the value to set * @return this builder @@ -321,13 +321,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. * * @return the value */ @@ -336,15 +338,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicy.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicy.java index d37f6045665..7f4be9470cf 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicy.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicy.java @@ -76,15 +76,15 @@ public WaasPolicy( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param id the value to set * @return this builder @@ -95,15 +95,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy's compartment. * * @param compartmentId the value to set * @return this builder @@ -409,13 +409,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @return the value */ @@ -424,15 +426,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy's - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy's - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicyCustomProtectionRuleSummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicyCustomProtectionRuleSummary.java index 3f148e17e4e..4c77d630600 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicyCustomProtectionRuleSummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicyCustomProtectionRuleSummary.java @@ -47,15 +47,15 @@ public WaasPolicyCustomProtectionRuleSummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. * * @param id the value to set * @return this builder @@ -180,15 +180,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicySummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicySummary.java index bdbeb2e31d6..02256a934f1 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicySummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WaasPolicySummary.java @@ -59,15 +59,15 @@ public WaasPolicySummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param id the value to set * @return this builder @@ -78,15 +78,15 @@ public Builder id(String id) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy's compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy's compartment. * * @param compartmentId the value to set * @return this builder @@ -272,13 +272,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @return the value */ @@ -287,15 +289,15 @@ public String getId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy's - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy's compartment. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy's - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy's compartment. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Whitelist.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Whitelist.java index 23483350c4c..04b8d3b35b1 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Whitelist.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/Whitelist.java @@ -64,15 +64,15 @@ public Builder addresses(java.util.List addresses) { return this; } /** - * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of IP - * address lists to include in the whitelist. + * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) + * of IP address lists to include in the whitelist. */ @com.fasterxml.jackson.annotation.JsonProperty("addressLists") private java.util.List addressLists; /** - * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of IP - * address lists to include in the whitelist. + * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) + * of IP address lists to include in the whitelist. * * @param addressLists the value to set * @return this builder @@ -145,15 +145,15 @@ public java.util.List getAddresses() { } /** - * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of IP address - * lists to include in the whitelist. + * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of + * IP address lists to include in the whitelist. */ @com.fasterxml.jackson.annotation.JsonProperty("addressLists") private final java.util.List addressLists; /** - * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of IP address - * lists to include in the whitelist. + * A list of [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of + * IP address lists to include in the whitelist. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequest.java index 6ac05c339e9..43719bfcdeb 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequest.java @@ -67,15 +67,15 @@ public WorkRequest( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param id the value to set * @return this builder @@ -320,13 +320,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -361,15 +363,15 @@ public WorkRequestStatusValues getStatus() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * that contains the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment that contains the work request. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * that contains the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment that contains the work request. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestResource.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestResource.java index 80ebc409243..eaee671d1d1 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestResource.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestResource.java @@ -66,15 +66,15 @@ public Builder entityType(String entityType) { return this; } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource - * that the work request affects. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * resource that the work request affects. */ @com.fasterxml.jackson.annotation.JsonProperty("identifier") private String identifier; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource - * that the work request affects. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * resource that the work request affects. * * @param identifier the value to set * @return this builder @@ -217,15 +217,15 @@ public String getEntityType() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource that - * the work request affects. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * resource that the work request affects. */ @com.fasterxml.jackson.annotation.JsonProperty("identifier") private final String identifier; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource that - * the work request affects. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * resource that the work request affects. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestSummary.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestSummary.java index 6e1306a5ca4..b2eb0866175 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestSummary.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/model/WorkRequestSummary.java @@ -59,15 +59,15 @@ public WorkRequestSummary( @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param id the value to set * @return this builder @@ -276,13 +276,15 @@ public Builder toBuilder() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ @com.fasterxml.jackson.annotation.JsonProperty("id") private final String id; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -317,15 +319,15 @@ public WorkRequestStatusValues getStatus() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * that contains the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment that contains the work request. */ @com.fasterxml.jackson.annotation.JsonProperty("compartmentId") private final String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment - * that contains the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * compartment that contains the work request. * * @return the value */ diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/AcceptRecommendationsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/AcceptRecommendationsRequest.java index 40cb6ddf4ec..f51f018bac3 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/AcceptRecommendationsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/AcceptRecommendationsRequest.java @@ -16,12 +16,14 @@ public class AcceptRecommendationsRequest extends com.oracle.bmc.requests.BmcRequest> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -81,14 +83,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/CancelWorkRequestRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/CancelWorkRequestRequest.java index 8235e66d050..5fda3b40865 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/CancelWorkRequestRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/CancelWorkRequestRequest.java @@ -14,14 +14,14 @@ public class CancelWorkRequestRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. - * This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. This number is generated when work request is created. */ private String workRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. - * This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. This number is generated when work request is created. */ public String getWorkRequestId() { return workRequestId; @@ -83,14 +83,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. This number is generated when work request is created. */ private String workRequestId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. This number is generated when work request is created. * * @param workRequestId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeAddressListCompartmentRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeAddressListCompartmentRequest.java index 6cfe2f314ca..f0df4ff1f1b 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeAddressListCompartmentRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeAddressListCompartmentRequest.java @@ -17,14 +17,14 @@ public class ChangeAddressListCompartmentRequest com.oracle.bmc.waas.model.ChangeAddressListCompartmentDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. - * This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. */ private String addressListId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. - * This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. */ public String getAddressListId() { return addressListId; @@ -106,14 +106,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. */ private String addressListId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. * * @param addressListId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCertificateCompartmentRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCertificateCompartmentRequest.java index f2a1860b470..4278f5d5bb1 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCertificateCompartmentRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCertificateCompartmentRequest.java @@ -108,15 +108,15 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL - * certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * SSL certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. */ private String certificateId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL - * certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * SSL certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. * * @param certificateId the value to set diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCustomProtectionRuleCompartmentRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCustomProtectionRuleCompartmentRequest.java index 63cf8991328..184fdd92c7f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCustomProtectionRuleCompartmentRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeCustomProtectionRuleCompartmentRequest.java @@ -17,16 +17,16 @@ public class ChangeCustomProtectionRuleCompartmentRequest com.oracle.bmc.waas.model.ChangeCustomProtectionRuleCompartmentDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added to + * the compartment. */ private String customProtectionRuleId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added to + * the compartment. */ public String getCustomProtectionRuleId() { return customProtectionRuleId; @@ -108,16 +108,16 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added + * to the compartment. */ private String customProtectionRuleId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added + * to the compartment. * * @param customProtectionRuleId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeHttpRedirectCompartmentRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeHttpRedirectCompartmentRequest.java index 413a0410fdf..9b8a3301501 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeHttpRedirectCompartmentRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeHttpRedirectCompartmentRequest.java @@ -17,12 +17,14 @@ public class ChangeHttpRedirectCompartmentRequest com.oracle.bmc.waas.model.ChangeHttpRedirectCompartmentDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ private String httpRedirectId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ public String getHttpRedirectId() { return httpRedirectId; @@ -104,14 +106,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ private String httpRedirectId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. * * @param httpRedirectId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeWaasPolicyCompartmentRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeWaasPolicyCompartmentRequest.java index 5b541d3c9fc..24c23d4ac5a 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeWaasPolicyCompartmentRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ChangeWaasPolicyCompartmentRequest.java @@ -17,12 +17,14 @@ public class ChangeWaasPolicyCompartmentRequest com.oracle.bmc.waas.model.ChangeWaasPolicyCompartmentDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -104,14 +106,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteAddressListRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteAddressListRequest.java index b303af954ef..5a3aa5cd25b 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteAddressListRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteAddressListRequest.java @@ -14,14 +14,14 @@ public class DeleteAddressListRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. - * This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. */ private String addressListId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. - * This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. */ public String getAddressListId() { return addressListId; @@ -83,14 +83,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. */ private String addressListId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. * * @param addressListId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCertificateRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCertificateRequest.java index d1a27f6d0fb..b81ffa31cc4 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCertificateRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCertificateRequest.java @@ -85,15 +85,15 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL - * certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * SSL certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. */ private String certificateId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL - * certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * SSL certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. * * @param certificateId the value to set diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCustomProtectionRuleRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCustomProtectionRuleRequest.java index 8c0853f84e7..51375d1bb66 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCustomProtectionRuleRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteCustomProtectionRuleRequest.java @@ -16,16 +16,16 @@ public class DeleteCustomProtectionRuleRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added to + * the compartment. */ private String customProtectionRuleId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added to + * the compartment. */ public String getCustomProtectionRuleId() { return customProtectionRuleId; @@ -87,16 +87,16 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added + * to the compartment. */ private String customProtectionRuleId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added + * to the compartment. * * @param customProtectionRuleId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteHttpRedirectRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteHttpRedirectRequest.java index 6ab4c4c450b..7b9cf64376f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteHttpRedirectRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteHttpRedirectRequest.java @@ -14,12 +14,14 @@ public class DeleteHttpRedirectRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ private String httpRedirectId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ public String getHttpRedirectId() { return httpRedirectId; @@ -81,14 +83,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ private String httpRedirectId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. * * @param httpRedirectId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteWaasPolicyRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteWaasPolicyRequest.java index fae11acdd4f..ad5bea2f0c5 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteWaasPolicyRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/DeleteWaasPolicyRequest.java @@ -14,12 +14,14 @@ public class DeleteWaasPolicyRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -81,14 +83,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetAddressListRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetAddressListRequest.java index 8f38f88ddbe..ec4d9698dd8 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetAddressListRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetAddressListRequest.java @@ -14,14 +14,14 @@ public class GetAddressListRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. - * This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. */ private String addressListId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. - * This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. */ public String getAddressListId() { return addressListId; @@ -47,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. */ private String addressListId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. * * @param addressListId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCertificateRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCertificateRequest.java index b7a23f9f51e..edf5757a007 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCertificateRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCertificateRequest.java @@ -49,15 +49,15 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL - * certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * SSL certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. */ private String certificateId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL - * certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * SSL certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. * * @param certificateId the value to set diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCustomProtectionRuleRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCustomProtectionRuleRequest.java index 5bbdedc59d2..39149644aec 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCustomProtectionRuleRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetCustomProtectionRuleRequest.java @@ -16,16 +16,16 @@ public class GetCustomProtectionRuleRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added to + * the compartment. */ private String customProtectionRuleId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added to + * the compartment. */ public String getCustomProtectionRuleId() { return customProtectionRuleId; @@ -51,16 +51,16 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added + * to the compartment. */ private String customProtectionRuleId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added + * to the compartment. * * @param customProtectionRuleId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetDeviceFingerprintChallengeRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetDeviceFingerprintChallengeRequest.java index d57c9484922..bbf65f74eb0 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetDeviceFingerprintChallengeRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetDeviceFingerprintChallengeRequest.java @@ -16,12 +16,14 @@ public class GetDeviceFingerprintChallengeRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -47,14 +49,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHttpRedirectRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHttpRedirectRequest.java index 5a8b7582af1..29677ddfe13 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHttpRedirectRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHttpRedirectRequest.java @@ -14,12 +14,14 @@ public class GetHttpRedirectRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ private String httpRedirectId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ public String getHttpRedirectId() { return httpRedirectId; @@ -45,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ private String httpRedirectId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. * * @param httpRedirectId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHumanInteractionChallengeRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHumanInteractionChallengeRequest.java index 6b36d1d297e..26c25c0611e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHumanInteractionChallengeRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetHumanInteractionChallengeRequest.java @@ -16,12 +16,14 @@ public class GetHumanInteractionChallengeRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -47,14 +49,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetJsChallengeRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetJsChallengeRequest.java index b4ee6d6fcb1..f776c3ea0d4 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetJsChallengeRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetJsChallengeRequest.java @@ -14,12 +14,14 @@ public class GetJsChallengeRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -45,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetPolicyConfigRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetPolicyConfigRequest.java index 48e24a1368c..bcc11af6e4b 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetPolicyConfigRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetPolicyConfigRequest.java @@ -14,12 +14,14 @@ public class GetPolicyConfigRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -45,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionRuleRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionRuleRequest.java index ec095cafcf9..12d823297db 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionRuleRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionRuleRequest.java @@ -14,12 +14,14 @@ public class GetProtectionRuleRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -52,14 +54,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionSettingsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionSettingsRequest.java index 1e8e635e54e..4bca82c9a88 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionSettingsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetProtectionSettingsRequest.java @@ -16,12 +16,14 @@ public class GetProtectionSettingsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -47,14 +49,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWaasPolicyRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWaasPolicyRequest.java index 3a63ff9ee82..f1121f728a5 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWaasPolicyRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWaasPolicyRequest.java @@ -14,12 +14,14 @@ public class GetWaasPolicyRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -45,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafAddressRateLimitingRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafAddressRateLimitingRequest.java index a8b8a67b04b..c8267d26d29 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafAddressRateLimitingRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafAddressRateLimitingRequest.java @@ -16,12 +16,14 @@ public class GetWafAddressRateLimitingRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -47,14 +49,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafConfigRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafConfigRequest.java index 8c2129e0207..88733198b6b 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafConfigRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWafConfigRequest.java @@ -14,12 +14,14 @@ public class GetWafConfigRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -45,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWorkRequestRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWorkRequestRequest.java index 61c8668e659..13b81a327b2 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWorkRequestRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/GetWorkRequestRequest.java @@ -14,14 +14,14 @@ public class GetWorkRequestRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. - * This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. This number is generated when work request is created. */ private String workRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. - * This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. This number is generated when work request is created. */ public String getWorkRequestId() { return workRequestId; @@ -47,14 +47,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. This number is generated when work request is created. */ private String workRequestId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. This number is generated when work request is created. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. This number is generated when work request is created. * * @param workRequestId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAccessRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAccessRulesRequest.java index ce434e9c572..86bcdcc9aa2 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAccessRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAccessRulesRequest.java @@ -14,12 +14,14 @@ public class ListAccessRulesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -65,14 +67,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAddressListsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAddressListsRequest.java index 4104bf728f9..d27a88e03d0 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAddressListsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListAddressListsRequest.java @@ -14,14 +14,14 @@ public class ListAddressListsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. This number is generated when the compartment is created. */ private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. This number is generated when the compartment is created. */ public String getCompartmentId() { return compartmentId; @@ -203,14 +203,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. This number is generated when the compartment is created. */ private String compartmentId = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. This number is generated when the compartment is created. * * @param compartmentId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCachingRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCachingRulesRequest.java index ff88e90b5f2..3ad1bb0cb26 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCachingRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCachingRulesRequest.java @@ -14,12 +14,14 @@ public class ListCachingRulesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -65,14 +67,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCaptchasRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCaptchasRequest.java index 7204400d696..f46f5b50891 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCaptchasRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCaptchasRequest.java @@ -14,12 +14,14 @@ public class ListCaptchasRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -65,14 +67,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCertificatesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCertificatesRequest.java index 695c566baff..5b28ae054fe 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCertificatesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCertificatesRequest.java @@ -14,14 +14,14 @@ public class ListCertificatesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. This number is generated when the compartment is created. */ private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. This number is generated when the compartment is created. */ public String getCompartmentId() { return compartmentId; @@ -205,14 +205,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. This number is generated when the compartment is created. */ private String compartmentId = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. This number is generated when the compartment is created. * * @param compartmentId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCustomProtectionRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCustomProtectionRulesRequest.java index d3eaae35ec9..25d8e0c697f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCustomProtectionRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListCustomProtectionRulesRequest.java @@ -16,14 +16,14 @@ public class ListCustomProtectionRulesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. This number is generated when the compartment is created. */ private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. This number is generated when the compartment is created. */ public String getCompartmentId() { return compartmentId; @@ -211,14 +211,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. This number is generated when the compartment is created. */ private String compartmentId = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. This number is generated when the compartment is created. * * @param compartmentId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListGoodBotsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListGoodBotsRequest.java index 162f234449e..b52882479ae 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListGoodBotsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListGoodBotsRequest.java @@ -14,12 +14,14 @@ public class ListGoodBotsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -65,14 +67,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListHttpRedirectsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListHttpRedirectsRequest.java index 44e7a03bdc8..b00724ab54d 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListHttpRedirectsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListHttpRedirectsRequest.java @@ -14,14 +14,14 @@ public class ListHttpRedirectsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. This number is generated when the compartment is created. */ private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. This number is generated when the compartment is created. */ public String getCompartmentId() { return compartmentId; @@ -201,14 +201,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. This number is generated when the compartment is created. */ private String compartmentId = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. This number is generated when the compartment is created. * * @param compartmentId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListProtectionRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListProtectionRulesRequest.java index 5dd587b4540..276f2f3fc2c 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListProtectionRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListProtectionRulesRequest.java @@ -14,12 +14,14 @@ public class ListProtectionRulesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -114,14 +116,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListRecommendationsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListRecommendationsRequest.java index f6a8d52e842..b3f5c8c56c0 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListRecommendationsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListRecommendationsRequest.java @@ -14,12 +14,14 @@ public class ListRecommendationsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -115,14 +117,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListThreatFeedsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListThreatFeedsRequest.java index aeffb1f44a1..ea5a723c6cd 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListThreatFeedsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListThreatFeedsRequest.java @@ -14,12 +14,14 @@ public class ListThreatFeedsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -65,14 +67,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPoliciesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPoliciesRequest.java index b875554659e..bbe170d72f6 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPoliciesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPoliciesRequest.java @@ -14,14 +14,14 @@ public class ListWaasPoliciesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. This number is generated when the compartment is created. */ private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. This number is generated when the compartment is created. */ public String getCompartmentId() { return compartmentId; @@ -203,14 +203,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. This number is generated when the compartment is created. */ private String compartmentId = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. This number is generated when the compartment is created. * * @param compartmentId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPolicyCustomProtectionRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPolicyCustomProtectionRulesRequest.java index 30081e67c27..cf00a1bdbdf 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPolicyCustomProtectionRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWaasPolicyCustomProtectionRulesRequest.java @@ -16,12 +16,14 @@ public class ListWaasPolicyCustomProtectionRulesRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -115,14 +117,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafBlockedRequestsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafBlockedRequestsRequest.java index b2c537a033e..05d65bb2241 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafBlockedRequestsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafBlockedRequestsRequest.java @@ -16,12 +16,14 @@ public class ListWafBlockedRequestsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -151,14 +153,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafLogsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafLogsRequest.java index 61741154958..f4f33f5165e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafLogsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafLogsRequest.java @@ -14,12 +14,14 @@ public class ListWafLogsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -345,14 +347,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafRequestsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafRequestsRequest.java index ed4b521e80a..4334d0368e6 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafRequestsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafRequestsRequest.java @@ -14,12 +14,14 @@ public class ListWafRequestsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -93,14 +95,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafTrafficRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafTrafficRequest.java index 41d5dd15532..720015f8b37 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafTrafficRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWafTrafficRequest.java @@ -14,12 +14,14 @@ public class ListWafTrafficRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -93,14 +95,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWhitelistsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWhitelistsRequest.java index e82bd08f5ad..1546e677e93 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWhitelistsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWhitelistsRequest.java @@ -14,12 +14,14 @@ public class ListWhitelistsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -65,14 +67,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWorkRequestsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWorkRequestsRequest.java index 3a6f407582f..2689532dadf 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWorkRequestsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/ListWorkRequestsRequest.java @@ -13,22 +13,28 @@ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181116") public class ListWorkRequestsRequest extends com.oracle.bmc.requests.BmcRequest { - /** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the policy. */ + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * policy. + */ private String waasPolicyId; - /** The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the policy. */ + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * policy. + */ public String getWaasPolicyId() { return waasPolicyId; } /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. This number is generated when the compartment is created. */ private String compartmentId; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of + * the compartment. This number is generated when the compartment is created. */ public String getCompartmentId() { return compartmentId; @@ -178,12 +184,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * policy. * * @param waasPolicyId the value to set * @return this builder instance @@ -194,14 +202,14 @@ public Builder waasPolicyId(String waasPolicyId) { } /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. This number is generated when the compartment is created. */ private String compartmentId = null; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * compartment. This number is generated when the compartment is created. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * of the compartment. This number is generated when the compartment is created. * * @param compartmentId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/PurgeCacheRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/PurgeCacheRequest.java index dab46a2938b..aa0bdf5eccb 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/PurgeCacheRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/PurgeCacheRequest.java @@ -15,12 +15,14 @@ public class PurgeCacheRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -80,14 +82,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAccessRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAccessRulesRequest.java index a4002264116..dc4c4254aa5 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAccessRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAccessRulesRequest.java @@ -16,12 +16,14 @@ public class UpdateAccessRulesRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -101,14 +103,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAddressListRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAddressListRequest.java index 2bb165340e0..fc974a9089e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAddressListRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateAddressListRequest.java @@ -16,14 +16,14 @@ public class UpdateAddressListRequest com.oracle.bmc.waas.model.UpdateAddressListDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. - * This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. */ private String addressListId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. - * This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. */ public String getAddressListId() { return addressListId; @@ -84,14 +84,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. */ private String addressListId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address - * list. This number is generated when the address list is added to the compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * address list. This number is generated when the address list is added to the compartment. * * @param addressListId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCachingRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCachingRulesRequest.java index 165271473b2..5beef94cde8 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCachingRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCachingRulesRequest.java @@ -16,12 +16,14 @@ public class UpdateCachingRulesRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -101,14 +103,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCaptchasRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCaptchasRequest.java index 63d955ea01f..bed4126659f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCaptchasRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCaptchasRequest.java @@ -16,12 +16,14 @@ public class UpdateCaptchasRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -101,14 +103,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCertificateRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCertificateRequest.java index 2ba348ca18e..f36b097df48 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCertificateRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCertificateRequest.java @@ -86,15 +86,15 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL - * certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * SSL certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. */ private String certificateId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL - * certificate used in the WAAS policy. This number is generated when the certificate is + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * SSL certificate used in the WAAS policy. This number is generated when the certificate is * added to the policy. * * @param certificateId the value to set diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCustomProtectionRuleRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCustomProtectionRuleRequest.java index 6fcee8afb5d..2a931f9c9a2 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCustomProtectionRuleRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateCustomProtectionRuleRequest.java @@ -17,16 +17,16 @@ public class UpdateCustomProtectionRuleRequest com.oracle.bmc.waas.model.UpdateCustomProtectionRuleDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added to + * the compartment. */ private String customProtectionRuleId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added to + * the compartment. */ public String getCustomProtectionRuleId() { return customProtectionRuleId; @@ -109,16 +109,16 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added + * to the compartment. */ private String customProtectionRuleId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom - * protection rule. This number is generated when the custom protection rule is added to the - * compartment. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * custom protection rule. This number is generated when the custom protection rule is added + * to the compartment. * * @param customProtectionRuleId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateDeviceFingerprintChallengeRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateDeviceFingerprintChallengeRequest.java index f69ee6c36a8..f6ad85e7535 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateDeviceFingerprintChallengeRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateDeviceFingerprintChallengeRequest.java @@ -17,12 +17,14 @@ public class UpdateDeviceFingerprintChallengeRequest com.oracle.bmc.waas.model.DeviceFingerprintChallenge> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -105,14 +107,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateGoodBotsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateGoodBotsRequest.java index 4d3ca1d7bee..6e2c1b74c01 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateGoodBotsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateGoodBotsRequest.java @@ -16,12 +16,14 @@ public class UpdateGoodBotsRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -100,14 +102,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHttpRedirectRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHttpRedirectRequest.java index 4390f4e644f..0bd9332f3f4 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHttpRedirectRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHttpRedirectRequest.java @@ -16,12 +16,14 @@ public class UpdateHttpRedirectRequest com.oracle.bmc.waas.model.UpdateHttpRedirectDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ private String httpRedirectId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ public String getHttpRedirectId() { return httpRedirectId; @@ -102,14 +104,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. */ private String httpRedirectId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP - * Redirect. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * HTTP Redirect. * * @param httpRedirectId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHumanInteractionChallengeRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHumanInteractionChallengeRequest.java index 788373341ae..30fbe30c144 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHumanInteractionChallengeRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateHumanInteractionChallengeRequest.java @@ -17,12 +17,14 @@ public class UpdateHumanInteractionChallengeRequest com.oracle.bmc.waas.model.HumanInteractionChallenge> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -105,14 +107,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateJsChallengeRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateJsChallengeRequest.java index b0c37a8d53d..84463e77139 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateJsChallengeRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateJsChallengeRequest.java @@ -15,12 +15,14 @@ public class UpdateJsChallengeRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -100,14 +102,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdatePolicyConfigRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdatePolicyConfigRequest.java index 84dac909d49..9250ae341f9 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdatePolicyConfigRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdatePolicyConfigRequest.java @@ -15,12 +15,14 @@ public class UpdatePolicyConfigRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -100,14 +102,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionRulesRequest.java index 3dc71812592..c8e8cf02fe3 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionRulesRequest.java @@ -17,12 +17,14 @@ public class UpdateProtectionRulesRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -83,14 +85,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionSettingsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionSettingsRequest.java index 93e3dd06c94..e063f2c0d1f 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionSettingsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateProtectionSettingsRequest.java @@ -16,12 +16,14 @@ public class UpdateProtectionSettingsRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -101,14 +103,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateThreatFeedsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateThreatFeedsRequest.java index 17432700faa..819edc4550a 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateThreatFeedsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateThreatFeedsRequest.java @@ -16,12 +16,14 @@ public class UpdateThreatFeedsRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -83,14 +85,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyCustomProtectionRulesRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyCustomProtectionRulesRequest.java index 89c34df5348..ecb0cf89606 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyCustomProtectionRulesRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyCustomProtectionRulesRequest.java @@ -17,12 +17,14 @@ public class UpdateWaasPolicyCustomProtectionRulesRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -104,14 +106,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyRequest.java index 23a5f90d097..4192232b4c9 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWaasPolicyRequest.java @@ -16,12 +16,14 @@ public class UpdateWaasPolicyRequest com.oracle.bmc.waas.model.UpdateWaasPolicyDetails> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -101,14 +103,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafAddressRateLimitingRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafAddressRateLimitingRequest.java index 4cc6cf5a3a6..b03aa3dd3e0 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafAddressRateLimitingRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafAddressRateLimitingRequest.java @@ -16,12 +16,14 @@ public class UpdateWafAddressRateLimitingRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -102,14 +104,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafConfigRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafConfigRequest.java index 1ef1a510eb5..b898c0a7f9a 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafConfigRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWafConfigRequest.java @@ -15,12 +15,14 @@ public class UpdateWafConfigRequest extends com.oracle.bmc.requests.BmcRequest { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -100,14 +102,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWhitelistsRequest.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWhitelistsRequest.java index 200afad10e0..145f35ed9c8 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWhitelistsRequest.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/requests/UpdateWhitelistsRequest.java @@ -16,12 +16,14 @@ public class UpdateWhitelistsRequest java.util.List> { /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ public String getWaasPolicyId() { return waasPolicyId; @@ -100,14 +102,14 @@ public static class Builder private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. */ private String waasPolicyId = null; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS - * policy. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * WAAS policy. * * @param waasPolicyId the value to set * @return this builder instance diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/AcceptRecommendationsResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/AcceptRecommendationsResponse.java index e5b3ec4a74f..8b44d749bf1 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/AcceptRecommendationsResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/AcceptRecommendationsResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateHttpRedirectResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateHttpRedirectResponse.java index 1e7dff07848..d7bcfee2a24 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateHttpRedirectResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateHttpRedirectResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateWaasPolicyResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateWaasPolicyResponse.java index 12f2d6ba7e2..24e41d17bd1 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateWaasPolicyResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/CreateWaasPolicyResponse.java @@ -37,12 +37,14 @@ public String getEtag() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -120,14 +122,14 @@ public Builder etag(String etag) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteHttpRedirectResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteHttpRedirectResponse.java index 8b59de798d9..0d6cdb1f45b 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteHttpRedirectResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteHttpRedirectResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteWaasPolicyResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteWaasPolicyResponse.java index a5ebf8dd2e3..48162c7e147 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteWaasPolicyResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/DeleteWaasPolicyResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/PurgeCacheResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/PurgeCacheResponse.java index b83d72c113d..f20cadb6785 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/PurgeCacheResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/PurgeCacheResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateAccessRulesResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateAccessRulesResponse.java index c8653db3fea..1b9af5c1f11 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateAccessRulesResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateAccessRulesResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCachingRulesResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCachingRulesResponse.java index 112aec3ab26..db56aabb5af 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCachingRulesResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCachingRulesResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCaptchasResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCaptchasResponse.java index ed662c65a7e..95662b50cca 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCaptchasResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateCaptchasResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateDeviceFingerprintChallengeResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateDeviceFingerprintChallengeResponse.java index aa7a53d0abd..8789ef0745d 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateDeviceFingerprintChallengeResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateDeviceFingerprintChallengeResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -92,14 +94,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateGoodBotsResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateGoodBotsResponse.java index 99627519cb8..33d2a4b0b46 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateGoodBotsResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateGoodBotsResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHttpRedirectResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHttpRedirectResponse.java index fbe70223703..cb0fa245c8b 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHttpRedirectResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHttpRedirectResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHumanInteractionChallengeResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHumanInteractionChallengeResponse.java index 06ecb77cd3f..685fccb0c06 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHumanInteractionChallengeResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateHumanInteractionChallengeResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -92,14 +94,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateJsChallengeResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateJsChallengeResponse.java index bf75929c050..73767558006 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateJsChallengeResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateJsChallengeResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdatePolicyConfigResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdatePolicyConfigResponse.java index a75769f0fbd..789cbdeb33e 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdatePolicyConfigResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdatePolicyConfigResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionRulesResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionRulesResponse.java index c680ffde75c..bff9a149089 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionRulesResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionRulesResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionSettingsResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionSettingsResponse.java index c64cf2f97c0..ddb62a2dd35 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionSettingsResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateProtectionSettingsResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -92,14 +94,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateThreatFeedsResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateThreatFeedsResponse.java index 8009fa57add..033fe0b0dcf 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateThreatFeedsResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateThreatFeedsResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyCustomProtectionRulesResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyCustomProtectionRulesResponse.java index 0f6fbed6f69..d589e678d27 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyCustomProtectionRulesResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyCustomProtectionRulesResponse.java @@ -26,12 +26,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -93,14 +95,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyResponse.java index 86b42ae31d1..2208c4bb682 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWaasPolicyResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafAddressRateLimitingResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafAddressRateLimitingResponse.java index 6d843bed08f..c12a42ae954 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafAddressRateLimitingResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafAddressRateLimitingResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -92,14 +94,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafConfigResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafConfigResponse.java index f5aed17315b..9d02e23ec55 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafConfigResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWafConfigResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder diff --git a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWhitelistsResponse.java b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWhitelistsResponse.java index 9b9d89b48eb..9ea471e4660 100644 --- a/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWhitelistsResponse.java +++ b/bmc-waas/src/main/java/com/oracle/bmc/waas/responses/UpdateWhitelistsResponse.java @@ -25,12 +25,14 @@ public String getOpcRequestId() { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @return the value */ @@ -91,14 +93,14 @@ public Builder opcRequestId(String opcRequestId) { } /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. */ private String opcWorkRequestId; /** - * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work - * request. + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the + * work request. * * @param opcWorkRequestId the value to set * @return this builder