diff --git a/CHANGELOG.md b/CHANGELOG.md index c8de16ddb90..ddc7d461a48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,28 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 3.53.0 - 2024-11-05 +### Added +- Support for calling Oracle Cloud Infrastructure services in the `ap-seoul-2` region +- Support for calling Oracle Cloud Infrastructure services in the `ap-suwon-1` region +- Support for calling Oracle Cloud Infrastructure services in the `ap-chuncheon-2` region +- Support for MFA Enablement v2 in the Identity Domains service +- Support for starting, stopping and updating min/max executor count for SQL Endpoints in the Data Flow service +- Support for customer message in the Customer Incident Management Service +- Support for REJECTED limitStatus in the Customer Incident Management Service + +### Breaking Changes +- The retry strategy for getting the X509 token from Identity service was modified and is now protected via circuit breaker +- Method `public com.oracle.bmc.cims.responses.GetCsiNumberResponse getCsiNumber(com.oracle.bmc.cims.requests.GetCsiNumberRequest)` has been removed from model `com.oracle.bmc.cims.Incident` in the Customer Incident Management Service +- Method `public com.oracle.bmc.cims.responses.GetStatusResponse getStatus(com.oracle.bmc.cims.requests.GetStatusRequest)` has been removed from model `com.oracle.bmc.cims.Incident` in the Customer Incident Management Service +- Method `public java.util.List getServiceCategories()` has been removed from model `com.oracle.bmc.cims.model.IncidentResourceType` in the Customer Incident Management Service +- Method `public java.util.Map getIssueType()` has been removed from model `com.oracle.bmc.cims.model.ServiceCategories` in the Customer Incident Management Service +- Method `public java.util.Map getServiceCategory()` has been removed from model `com.oracle.bmc.cims.model.ServiceCategories` in the Customer Incident Management Service +- Class `com.oracle.bmc.cims.requests.GetCsiNumberRequest` has been removed from the the Customer Incident Management Service +- Class `com.oracle.bmc.cims.requests.GetStatusRequest` has been removed from the Customer Incident Management Service +- Class `com.oracle.bmc.cims.responses.GetCsiNumberResponse` has been removed from the Customer Incident Management Service +- Class `com.oracle.bmc.cims.responses.GetStatusResponse` has been removed from the Customer Incident Management Service + ## 3.52.1 - 2024-10-29 ### Added - Support for L3IP (Layer 3 IP) listeners in the Network Load Balancing service diff --git a/bmc-accessgovernancecp/pom.xml b/bmc-accessgovernancecp/pom.xml index 99c1c053500..9e6735a9876 100644 --- a/bmc-accessgovernancecp/pom.xml +++ b/bmc-accessgovernancecp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-accessgovernancecp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-addons/bmc-aispeech-realtime/pom.xml b/bmc-addons/bmc-aispeech-realtime/pom.xml index 8c0536323cd..b364de51f26 100644 --- a/bmc-addons/bmc-aispeech-realtime/pom.xml +++ b/bmc-addons/bmc-aispeech-realtime/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk-addons - 3.52.1 + 3.53.0 ../pom.xml 4.0.0 @@ -53,12 +53,12 @@ com.oracle.oci.sdk oci-java-sdk-aispeech - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.52.1 + 3.53.0 compile diff --git a/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml b/bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml index 3f3cbfe63aa..c29d672b6e8 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.52.1 + 3.53.0 ../pom.xml @@ -17,14 +17,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.52.1 + 3.53.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.52.1 + 3.53.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 4404569c646..9b9cde54c55 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.52.1 + 3.53.0 ../pom.xml @@ -17,14 +17,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.52.1 + 3.53.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.52.1 + 3.53.0 pom import diff --git a/bmc-addons/bmc-apache-connector-provider/pom.xml b/bmc-addons/bmc-apache-connector-provider/pom.xml index 4e60d86cba7..12b8018196a 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.52.1 + 3.53.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-addons/bmc-oke-workload-identity/pom.xml b/bmc-addons/bmc-oke-workload-identity/pom.xml index 8e1307e8d96..bd1171d66aa 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.52.1 + 3.53.0 4.0.0 @@ -38,25 +38,25 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 compile com.oracle.oci.sdk oci-java-sdk-core - 3.52.1 + 3.53.0 test com.oracle.oci.sdk oci-java-sdk-identity - 3.52.1 + 3.53.0 test com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.52.1 + 3.53.0 test diff --git a/bmc-addons/bmc-resteasy-client-configurator/pom.xml b/bmc-addons/bmc-resteasy-client-configurator/pom.xml index 767c6211eb8..355f777fdb1 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.52.1 + 3.53.0 ../pom.xml @@ -23,7 +23,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml b/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml index c101b593f6a..86399b3ded7 100644 --- a/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml +++ b/bmc-addons/bmc-sasl-oke-workload-identity/pom.xml @@ -4,7 +4,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.52.1 + 3.53.0 ../pom.xml 4.0.0 @@ -39,13 +39,13 @@ com.oracle.oci.sdk oci-java-sdk-addons-sasl - 3.52.1 + 3.53.0 compile com.oracle.oci.sdk oci-java-sdk-addons-oke-workload-identity - 3.52.1 + 3.53.0 compile diff --git a/bmc-addons/bmc-sasl/pom.xml b/bmc-addons/bmc-sasl/pom.xml index e78b7b504ef..5d406a0e22f 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.52.1 + 3.53.0 ../pom.xml @@ -55,12 +55,12 @@ com.google.protobuf protobuf-java - 3.19.6 + 3.25.5 com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-addons/bmc-sse-support-jersey3/pom.xml b/bmc-addons/bmc-sse-support-jersey3/pom.xml index 6a2320e7bfb..4165942d2c0 100644 --- a/bmc-addons/bmc-sse-support-jersey3/pom.xml +++ b/bmc-addons/bmc-sse-support-jersey3/pom.xml @@ -5,7 +5,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.52.1 + 3.53.0 ../pom.xml 4.0.0 @@ -150,12 +150,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.52.1 + 3.53.0 test @@ -164,7 +164,7 @@ but the code in it needs it. --> com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.52.1 + 3.53.0 diff --git a/bmc-addons/bmc-sse-support/pom.xml b/bmc-addons/bmc-sse-support/pom.xml index 099e2d13390..e8b858a4e06 100644 --- a/bmc-addons/bmc-sse-support/pom.xml +++ b/bmc-addons/bmc-sse-support/pom.xml @@ -5,7 +5,7 @@ oci-java-sdk-addons com.oracle.oci.sdk - 3.52.1 + 3.53.0 ../pom.xml 4.0.0 @@ -150,12 +150,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.52.1 + 3.53.0 test @@ -164,7 +164,7 @@ but the code in it needs it. --> com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.52.1 + 3.53.0 diff --git a/bmc-addons/pom.xml b/bmc-addons/pom.xml index 080a868b7d2..12d1ab71fbb 100644 --- a/bmc-addons/pom.xml +++ b/bmc-addons/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml diff --git a/bmc-adm/pom.xml b/bmc-adm/pom.xml index 7b9c509f1e3..3bf53b53f8a 100644 --- a/bmc-adm/pom.xml +++ b/bmc-adm/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-adm @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-aianomalydetection/pom.xml b/bmc-aianomalydetection/pom.xml index 68b0c01f7b8..aa664b155aa 100644 --- a/bmc-aianomalydetection/pom.xml +++ b/bmc-aianomalydetection/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-aianomalydetection @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-aidocument/pom.xml b/bmc-aidocument/pom.xml index e326f1fd771..e735bc37a9e 100644 --- a/bmc-aidocument/pom.xml +++ b/bmc-aidocument/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-aidocument @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-ailanguage/pom.xml b/bmc-ailanguage/pom.xml index d38284b0731..d088df142b4 100644 --- a/bmc-ailanguage/pom.xml +++ b/bmc-ailanguage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-ailanguage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-aispeech/pom.xml b/bmc-aispeech/pom.xml index 4005dea5a2d..80382cb7e9e 100644 --- a/bmc-aispeech/pom.xml +++ b/bmc-aispeech/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-aispeech @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-aivision/pom.xml b/bmc-aivision/pom.xml index 3fed1a0e8aa..e949e8ecbc5 100644 --- a/bmc-aivision/pom.xml +++ b/bmc-aivision/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-aivision @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-analytics/pom.xml b/bmc-analytics/pom.xml index 094efb4d004..0748345f89d 100644 --- a/bmc-analytics/pom.xml +++ b/bmc-analytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-analytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-announcementsservice/pom.xml b/bmc-announcementsservice/pom.xml index 786d6a08361..499c4e08360 100644 --- a/bmc-announcementsservice/pom.xml +++ b/bmc-announcementsservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-announcementsservice @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-apigateway/pom.xml b/bmc-apigateway/pom.xml index 35ffb70e1a4..44f49cf578b 100644 --- a/bmc-apigateway/pom.xml +++ b/bmc-apigateway/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-apigateway @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-apmconfig/pom.xml b/bmc-apmconfig/pom.xml index b8000f89c90..c40aaa5e76b 100644 --- a/bmc-apmconfig/pom.xml +++ b/bmc-apmconfig/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-apmconfig @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-apmcontrolplane/pom.xml b/bmc-apmcontrolplane/pom.xml index 693bbde892b..081c09e6861 100644 --- a/bmc-apmcontrolplane/pom.xml +++ b/bmc-apmcontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-apmcontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-apmsynthetics/pom.xml b/bmc-apmsynthetics/pom.xml index 843061f4732..5741c7ad337 100644 --- a/bmc-apmsynthetics/pom.xml +++ b/bmc-apmsynthetics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-apmsynthetics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-apmtraces/pom.xml b/bmc-apmtraces/pom.xml index 1bd4f60cddb..9a3ece8dacf 100644 --- a/bmc-apmtraces/pom.xml +++ b/bmc-apmtraces/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-apmtraces @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-appmgmtcontrol/pom.xml b/bmc-appmgmtcontrol/pom.xml index 44b944da480..58ea71d55ca 100644 --- a/bmc-appmgmtcontrol/pom.xml +++ b/bmc-appmgmtcontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-appmgmtcontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-artifacts/pom.xml b/bmc-artifacts/pom.xml index 925bdd4d014..6fea7dd1ba6 100644 --- a/bmc-artifacts/pom.xml +++ b/bmc-artifacts/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-artifacts @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-audit/pom.xml b/bmc-audit/pom.xml index e768400aa44..a89ac1242a5 100644 --- a/bmc-audit/pom.xml +++ b/bmc-audit/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-autoscaling/pom.xml b/bmc-autoscaling/pom.xml index e9a4f9519b7..495d39fcb92 100644 --- a/bmc-autoscaling/pom.xml +++ b/bmc-autoscaling/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-autoscaling @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-bastion/pom.xml b/bmc-bastion/pom.xml index ee023182eaf..574ed954e29 100644 --- a/bmc-bastion/pom.xml +++ b/bmc-bastion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-bastion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-bds/pom.xml b/bmc-bds/pom.xml index 47f724172e8..fb5690de243 100644 --- a/bmc-bds/pom.xml +++ b/bmc-bds/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-bds @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-blockchain/pom.xml b/bmc-blockchain/pom.xml index fa3adb3c0f0..7d91395190f 100644 --- a/bmc-blockchain/pom.xml +++ b/bmc-blockchain/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-blockchain @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-bom/pom.xml b/bmc-bom/pom.xml index f588929c56f..55c426bee60 100644 --- a/bmc-bom/pom.xml +++ b/bmc-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk - 3.52.1 + 3.53.0 oci-java-sdk-bom pom Oracle Cloud Infrastructure SDK - BOM @@ -38,974 +38,974 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-shaded-full - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-audit - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-containerengine - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-core - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-database - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-dns - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-email - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-filestorage - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-identity - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-loadbalancer - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-objectstorage - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey3 - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-addons-resteasy-client-configurator - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-addons-sasl - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-addons-oke-workload-identity - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-addons-sasl-oke-workload-identity - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-addons-aispeech-realtime - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-resourcesearch - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-addons-apache - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-announcementsservice - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-healthchecks - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-waas - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-streaming - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-resourcemanager - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-monitoring - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-ons - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-autoscaling - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-budget - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-workrequests - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-limits - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-functions - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-events - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-dts - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-oce - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-oda - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-analytics - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-integration - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-osmanagement - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-marketplace - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-apigateway - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-datacatalog - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-dataflow - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-datascience - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-nosql - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-secrets - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-vault - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-bds - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-encryption - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-cims - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-datasafe - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-mysql - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-dataintegration - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-ocvp - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-usageapi - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-blockchain - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-loggingingestion - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-logging - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-loganalytics - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-managementdashboard - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-sch - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-loggingsearch - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-managementagent - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-cloudguard - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-opsi - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-computeinstanceagent - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-optimizer - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-tenantmanagercontrolplane - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-rover - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-databasemanagement - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-artifacts - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-apmsynthetics - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-goldengate - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-apmcontrolplane - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-apmtraces - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-networkloadbalancer - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-vulnerabilityscanning - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-databasemigration - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-servicecatalog - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-ailanguage - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-operatoraccesscontrol - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-bastion - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-genericartifactscontent - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-jms - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-devops - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-aianomalydetection - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-datalabelingservice - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-datalabelingservicedataplane - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-apmconfig - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-waf - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-certificates - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-certificatesmanagement - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-usage - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-databasetools - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-servicemanagerproxy - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-appmgmtcontrol - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-ospgateway - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-identitydataplane - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-visualbuilder - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-osubusage - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-osubsubscription - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-osuborganizationsubscription - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-osubbillingschedule - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-dashboardservice - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-threatintelligence - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-aivision - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-aispeech - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-stackmonitoring - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-servicemesh - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-adm - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-licensemanager - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-onesubscription - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-governancerulescontrolplane - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-waa - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-networkfirewall - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-vnmonitoring - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-emwarehouse - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-lockbox - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-fusionapps - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-mediaservices - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-opa - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-opensearch - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-cloudmigrations - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-cloudbridge - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-disasterrecovery - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-containerinstances - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-aidocument - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-queue - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-recovery - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-vbsinst - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-identitydomains - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-accessgovernancecp - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-ocicontrolcenter - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-osmanagementhub - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-fleetsoftwareupdate - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-computecloudatcustomer - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-marketplacepublisher - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-redis - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-jmsjavadownloads - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-psql - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-generativeai - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-generativeaiinference - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-capacitymanagement - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-globallydistributeddatabase - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-desktops - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-emaildataplane - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-clusterplacementgroups - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-marketplaceprivateoffer - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-resourcescheduler - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-demandsignal - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-fleetappsmanagement - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-delegateaccesscontrol - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-generativeaiagent - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-generativeaiagentruntime - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-securityattribute - 3.52.1 + 3.53.0 false com.oracle.oci.sdk oci-java-sdk-zpr - 3.52.1 + 3.53.0 false diff --git a/bmc-budget/pom.xml b/bmc-budget/pom.xml index 5068f7c7f8e..e41b51896f9 100644 --- a/bmc-budget/pom.xml +++ b/bmc-budget/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-budget @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-capacitymanagement/pom.xml b/bmc-capacitymanagement/pom.xml index d80e5a6a3b5..3a61c6b9ee0 100644 --- a/bmc-capacitymanagement/pom.xml +++ b/bmc-capacitymanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-capacitymanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-certificates/pom.xml b/bmc-certificates/pom.xml index 31124865501..3a630f19a16 100644 --- a/bmc-certificates/pom.xml +++ b/bmc-certificates/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-certificates @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-certificatesmanagement/pom.xml b/bmc-certificatesmanagement/pom.xml index c8c4ebe481c..ef72426cdf7 100644 --- a/bmc-certificatesmanagement/pom.xml +++ b/bmc-certificatesmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-certificatesmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-cims/pom.xml b/bmc-cims/pom.xml index 5cf9124d84a..ecf2c379d99 100644 --- a/bmc-cims/pom.xml +++ b/bmc-cims/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-cims @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/Incident.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/Incident.java index 955906d332b..9435e647ed2 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/Incident.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/Incident.java @@ -71,7 +71,9 @@ public interface Incident extends AutoCloseable { void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled); /** - * Operation to create a support ticket. + * Creates a support ticket in the specified tenancy. For more information, see [Creating + * Support + * Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident.htm). * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -86,22 +88,8 @@ public interface Incident extends AutoCloseable { CreateIncidentResponse createIncident(CreateIncidentRequest request); /** - * Fetches csi number of the user. - * - * @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 GetCsiNumber API. - */ - GetCsiNumberResponse getCsiNumber(GetCsiNumberRequest request); - - /** - * Gets details about the specified support ticket. + * Gets the specified support ticket. For more information, see [Getting Details for a Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/get-incident.htm). * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -116,23 +104,14 @@ public interface Incident extends AutoCloseable { GetIncidentResponse getIncident(GetIncidentRequest request); /** - * Gets the status of the service. - * - * @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 GetStatus API. - */ - GetStatusResponse getStatus(GetStatusRequest request); - - /** - * During support ticket creation, returns the list of all possible products that Oracle Cloud - * Infrastructure supports. + * Depending on the selected `productType`, either lists available products (service groups, + * services, service categories, and subcategories) for technical support tickets or lists + * limits and current usage for limit increase tickets. This operation is called during creation + * of technical support and limit increase tickets. For more information about listing products, + * see [Listing Products for Support + * Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incident-resource-types-taxonomy.htm). + * For more information about listing limits, see [Listing Limits for Service Limit Increase + * Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incident-resource-types-limit.htm). * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -149,7 +128,8 @@ ListIncidentResourceTypesResponse listIncidentResourceTypes( ListIncidentResourceTypesRequest request); /** - * Returns the list of support tickets raised by the tenancy. + * Lists support tickets for the specified tenancy. For more information, see [Listing Support + * Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incidents.htm). * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -164,7 +144,8 @@ ListIncidentResourceTypesResponse listIncidentResourceTypes( ListIncidentsResponse listIncidents(ListIncidentsRequest request); /** - * Updates the specified support ticket's information. + * Updates the specified support ticket. For more information, see [Updating Support + * Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/update-incident.htm). * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -179,7 +160,8 @@ ListIncidentResourceTypesResponse listIncidentResourceTypes( UpdateIncidentResponse updateIncident(UpdateIncidentRequest request); /** - * Checks whether the requested user is valid. + * Checks whether the requested user is valid. For more information, see [Validating a + * User](https://docs.cloud.oracle.com/iaas/Content/GSG/support/validate-user.htm). * * @param request The request object containing the details to send * @return A response object containing details about the completed operation diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/IncidentAsync.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/IncidentAsync.java index 39310c1af01..be832603ca8 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/IncidentAsync.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/IncidentAsync.java @@ -68,7 +68,9 @@ public interface IncidentAsync extends AutoCloseable { void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled); /** - * Operation to create a support ticket. + * Creates a support ticket in the specified tenancy. For more information, see [Creating + * Support + * Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident.htm). * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -83,22 +85,8 @@ java.util.concurrent.Future createIncident( handler); /** - * Fetches csi number of the user. - * - * @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 getCsiNumber( - GetCsiNumberRequest request, - com.oracle.bmc.responses.AsyncHandler - handler); - - /** - * Gets details about the specified support ticket. + * Gets the specified support ticket. For more information, see [Getting Details for a Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/get-incident.htm). * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -112,22 +100,14 @@ java.util.concurrent.Future getIncident( com.oracle.bmc.responses.AsyncHandler handler); /** - * Gets the status of the service. - * - * @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 getStatus( - GetStatusRequest request, - com.oracle.bmc.responses.AsyncHandler handler); - - /** - * During support ticket creation, returns the list of all possible products that Oracle Cloud - * Infrastructure supports. + * Depending on the selected `productType`, either lists available products (service groups, + * services, service categories, and subcategories) for technical support tickets or lists + * limits and current usage for limit increase tickets. This operation is called during creation + * of technical support and limit increase tickets. For more information about listing products, + * see [Listing Products for Support + * Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incident-resource-types-taxonomy.htm). + * For more information about listing limits, see [Listing Limits for Service Limit Increase + * Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incident-resource-types-limit.htm). * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -143,7 +123,8 @@ java.util.concurrent.Future listIncidentResou handler); /** - * Returns the list of support tickets raised by the tenancy. + * Lists support tickets for the specified tenancy. For more information, see [Listing Support + * Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/list-incidents.htm). * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -158,7 +139,8 @@ java.util.concurrent.Future listIncidents( handler); /** - * Updates the specified support ticket's information. + * Updates the specified support ticket. For more information, see [Updating Support + * Requests](https://docs.cloud.oracle.com/iaas/Content/GSG/support/update-incident.htm). * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -173,7 +155,8 @@ java.util.concurrent.Future updateIncident( handler); /** - * Checks whether the requested user is valid. + * Checks whether the requested user is valid. For more information, see [Validating a + * User](https://docs.cloud.oracle.com/iaas/Content/GSG/support/validate-user.htm). * * @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-cims/src/main/java/com/oracle/bmc/cims/IncidentAsyncClient.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/IncidentAsyncClient.java index acc35b941aa..c2d521b81e1 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/IncidentAsyncClient.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/IncidentAsyncClient.java @@ -132,40 +132,6 @@ public java.util.concurrent.Future createIncident( .callAsync(handler); } - @Override - public java.util.concurrent.Future getCsiNumber( - GetCsiNumberRequest request, - final com.oracle.bmc.responses.AsyncHandler - handler) { - Objects.requireNonNull(request.getTenantId(), "tenantId is required"); - - Objects.requireNonNull(request.getRegion(), "region is required"); - - return clientCall(request, GetCsiNumberResponse::builder) - .logger(LOG, "getCsiNumber") - .serviceDetails("Incident", "GetCsiNumber", "") - .method(com.oracle.bmc.http.client.Method.GET) - .requestBuilder(GetCsiNumberRequest::builder) - .basePath("/20181231") - .appendPathParam("v2") - .appendPathParam("incidents") - .appendPathParam("getCsiNumber") - .appendQueryParam("tenantId", request.getTenantId()) - .appendQueryParam("region", request.getRegion()) - .accept("application/json") - .appendHeader("opc-request-id", request.getOpcRequestId()) - .appendHeader("ocid", request.getOcid()) - .appendHeader("homeregion", request.getHomeregion()) - .appendHeader("bearertokentype", request.getBearertokentype()) - .appendHeader("bearertoken", request.getBearertoken()) - .appendHeader("idtoken", request.getIdtoken()) - .appendHeader("domainid", request.getDomainid()) - .handleBody(String.class, GetCsiNumberResponse.Builder::value) - .handleResponseHeaderString( - "opc-request-id", GetCsiNumberResponse.Builder::opcRequestId) - .callAsync(handler); - } - @Override public java.util.concurrent.Future getIncident( GetIncidentRequest request, @@ -173,6 +139,7 @@ public java.util.concurrent.Future getIncident( handler) { Validate.notBlank(request.getIncidentKey(), "incidentKey must not be blank"); + Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required"); return clientCall(request, GetIncidentResponse::builder) .logger(LOG, "getIncident") @@ -205,35 +172,6 @@ public java.util.concurrent.Future getIncident( .callAsync(handler); } - @Override - public java.util.concurrent.Future getStatus( - GetStatusRequest request, - final com.oracle.bmc.responses.AsyncHandler - handler) { - - return clientCall(request, GetStatusResponse::builder) - .logger(LOG, "getStatus") - .serviceDetails( - "Incident", - "GetStatus", - "https://docs.oracle.com/iaas/api/#/en/incidentmanagement/20181231/Status/GetStatus") - .method(com.oracle.bmc.http.client.Method.GET) - .requestBuilder(GetStatusRequest::builder) - .basePath("/20181231") - .appendPathParam("v2") - .appendPathParam("incidents") - .appendPathParam("status") - .accept("application/json") - .appendHeader("opc-request-id", request.getOpcRequestId()) - .appendHeader("ocid", request.getOcid()) - .appendHeader("homeregion", request.getHomeregion()) - .handleBody( - com.oracle.bmc.cims.model.Status.class, GetStatusResponse.Builder::status) - .handleResponseHeaderString( - "opc-request-id", GetStatusResponse.Builder::opcRequestId) - .callAsync(handler); - } - @Override public java.util.concurrent.Future listIncidentResourceTypes( ListIncidentResourceTypesRequest request, @@ -337,6 +275,8 @@ public java.util.concurrent.Future updateIncident( Objects.requireNonNull( request.getUpdateIncidentDetails(), "updateIncidentDetails is required"); + Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required"); + return clientCall(request, UpdateIncidentResponse::builder) .logger(LOG, "updateIncident") .serviceDetails( diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/IncidentClient.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/IncidentClient.java index 4d51b53928d..b895871e694 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/IncidentClient.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/IncidentClient.java @@ -122,41 +122,11 @@ public CreateIncidentResponse createIncident(CreateIncidentRequest request) { .callSync(); } - @Override - public GetCsiNumberResponse getCsiNumber(GetCsiNumberRequest request) { - Objects.requireNonNull(request.getTenantId(), "tenantId is required"); - - Objects.requireNonNull(request.getRegion(), "region is required"); - - return clientCall(request, GetCsiNumberResponse::builder) - .logger(LOG, "getCsiNumber") - .serviceDetails("Incident", "GetCsiNumber", "") - .method(com.oracle.bmc.http.client.Method.GET) - .requestBuilder(GetCsiNumberRequest::builder) - .basePath("/20181231") - .appendPathParam("v2") - .appendPathParam("incidents") - .appendPathParam("getCsiNumber") - .appendQueryParam("tenantId", request.getTenantId()) - .appendQueryParam("region", request.getRegion()) - .accept("application/json") - .appendHeader("opc-request-id", request.getOpcRequestId()) - .appendHeader("ocid", request.getOcid()) - .appendHeader("homeregion", request.getHomeregion()) - .appendHeader("bearertokentype", request.getBearertokentype()) - .appendHeader("bearertoken", request.getBearertoken()) - .appendHeader("idtoken", request.getIdtoken()) - .appendHeader("domainid", request.getDomainid()) - .handleBody(String.class, GetCsiNumberResponse.Builder::value) - .handleResponseHeaderString( - "opc-request-id", GetCsiNumberResponse.Builder::opcRequestId) - .callSync(); - } - @Override public GetIncidentResponse getIncident(GetIncidentRequest request) { Validate.notBlank(request.getIncidentKey(), "incidentKey must not be blank"); + Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required"); return clientCall(request, GetIncidentResponse::builder) .logger(LOG, "getIncident") @@ -189,32 +159,6 @@ public GetIncidentResponse getIncident(GetIncidentRequest request) { .callSync(); } - @Override - public GetStatusResponse getStatus(GetStatusRequest request) { - - return clientCall(request, GetStatusResponse::builder) - .logger(LOG, "getStatus") - .serviceDetails( - "Incident", - "GetStatus", - "https://docs.oracle.com/iaas/api/#/en/incidentmanagement/20181231/Status/GetStatus") - .method(com.oracle.bmc.http.client.Method.GET) - .requestBuilder(GetStatusRequest::builder) - .basePath("/20181231") - .appendPathParam("v2") - .appendPathParam("incidents") - .appendPathParam("status") - .accept("application/json") - .appendHeader("opc-request-id", request.getOpcRequestId()) - .appendHeader("ocid", request.getOcid()) - .appendHeader("homeregion", request.getHomeregion()) - .handleBody( - com.oracle.bmc.cims.model.Status.class, GetStatusResponse.Builder::status) - .handleResponseHeaderString( - "opc-request-id", GetStatusResponse.Builder::opcRequestId) - .callSync(); - } - @Override public ListIncidentResourceTypesResponse listIncidentResourceTypes( ListIncidentResourceTypesRequest request) { @@ -308,6 +252,8 @@ public UpdateIncidentResponse updateIncident(UpdateIncidentRequest request) { Objects.requireNonNull( request.getUpdateIncidentDetails(), "updateIncidentDetails is required"); + Objects.requireNonNull(request.getCompartmentId(), "compartmentId is required"); + return clientCall(request, UpdateIncidentResponse::builder) .logger(LOG, "updateIncident") .serviceDetails( diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ActivityItem.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ActivityItem.java index b39abef2589..1c2fc353c57 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ActivityItem.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ActivityItem.java @@ -85,12 +85,12 @@ public Builder comments(String comments) { this.__explicitlySet__.add("comments"); return this; } - /** The time when the activity was created, in milliseconds since epoch time. */ + /** The time when the activity was created, in seconds since epoch time. */ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private Integer timeCreated; /** - * The time when the activity was created, in milliseconds since epoch time. + * The time when the activity was created, in seconds since epoch time. * * @param timeCreated the value to set * @return this builder @@ -100,12 +100,12 @@ public Builder timeCreated(Integer timeCreated) { this.__explicitlySet__.add("timeCreated"); return this; } - /** The time when the activity was updated, in milliseconds since epoch time. */ + /** The time when the activity was updated, in seconds since epoch time. */ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated") private Integer timeUpdated; /** - * The time when the activity was updated, in milliseconds since epoch time. + * The time when the activity was updated, in seconds since epoch time. * * @param timeUpdated the value to set * @return this builder @@ -163,6 +163,21 @@ public Builder itemStatus(ItemStatus itemStatus) { this.__explicitlySet__.add("itemStatus"); return this; } + /** attachmentID for the ItemType Attachments only for Alloy realm. */ + @com.fasterxml.jackson.annotation.JsonProperty("attachmentID") + private String attachmentID; + + /** + * attachmentID for the ItemType Attachments only for Alloy realm. + * + * @param attachmentID the value to set + * @return this builder + */ + public Builder attachmentID(String attachmentID) { + this.attachmentID = attachmentID; + this.__explicitlySet__.add("attachmentID"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -181,7 +196,8 @@ public ActivityItem build() { this.activityType, this.activityAuthor, this.itemType, - this.itemStatus); + this.itemStatus, + this.attachmentID); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -226,6 +242,9 @@ public Builder copy(ActivityItem model) { if (model.wasPropertyExplicitlySet("itemStatus")) { this.itemStatus(model.getItemStatus()); } + if (model.wasPropertyExplicitlySet("attachmentID")) { + this.attachmentID(model.getAttachmentID()); + } return this; } } @@ -252,7 +271,8 @@ public ActivityItem( ActivityType activityType, ActivityAuthor activityAuthor, ItemType itemType, - ItemStatus itemStatus) { + ItemStatus itemStatus, + String attachmentID) { super(itemKey, name, category, subCategory, issueType); this.comments = comments; this.timeCreated = timeCreated; @@ -261,6 +281,7 @@ public ActivityItem( this.activityAuthor = activityAuthor; this.itemType = itemType; this.itemStatus = itemStatus; + this.attachmentID = attachmentID; } /** Comments added with the activity on the support ticket. */ @@ -276,12 +297,12 @@ public String getComments() { return comments; } - /** The time when the activity was created, in milliseconds since epoch time. */ + /** The time when the activity was created, in seconds since epoch time. */ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private final Integer timeCreated; /** - * The time when the activity was created, in milliseconds since epoch time. + * The time when the activity was created, in seconds since epoch time. * * @return the value */ @@ -289,12 +310,12 @@ public Integer getTimeCreated() { return timeCreated; } - /** The time when the activity was updated, in milliseconds since epoch time. */ + /** The time when the activity was updated, in seconds since epoch time. */ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated") private final Integer timeUpdated; /** - * The time when the activity was updated, in milliseconds since epoch time. + * The time when the activity was updated, in seconds since epoch time. * * @return the value */ @@ -533,6 +554,19 @@ public ItemStatus getItemStatus() { return itemStatus; } + /** attachmentID for the ItemType Attachments only for Alloy realm. */ + @com.fasterxml.jackson.annotation.JsonProperty("attachmentID") + private final String attachmentID; + + /** + * attachmentID for the ItemType Attachments only for Alloy realm. + * + * @return the value + */ + public String getAttachmentID() { + return attachmentID; + } + @Override public String toString() { return this.toString(true); @@ -555,6 +589,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", activityAuthor=").append(String.valueOf(this.activityAuthor)); sb.append(", itemType=").append(String.valueOf(this.itemType)); sb.append(", itemStatus=").append(String.valueOf(this.itemStatus)); + sb.append(", attachmentID=").append(String.valueOf(this.attachmentID)); sb.append(")"); return sb.toString(); } @@ -576,6 +611,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.activityAuthor, other.activityAuthor) && java.util.Objects.equals(this.itemType, other.itemType) && java.util.Objects.equals(this.itemStatus, other.itemStatus) + && java.util.Objects.equals(this.attachmentID, other.attachmentID) && super.equals(other); } @@ -592,6 +628,7 @@ public int hashCode() { + (this.activityAuthor == null ? 43 : this.activityAuthor.hashCode()); result = (result * PRIME) + (this.itemType == null ? 43 : this.itemType.hashCode()); result = (result * PRIME) + (this.itemStatus == null ? 43 : this.itemStatus.hashCode()); + result = (result * PRIME) + (this.attachmentID == null ? 43 : this.attachmentID.hashCode()); return result; } } diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateAccountItemDetails.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateAccountItemDetails.java index 763f50c4d2a..0633aa679f2 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateAccountItemDetails.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateAccountItemDetails.java @@ -6,7 +6,10 @@ /** * Details about the issue that the account support ticket relates to. Avoid entering confidential - * information.
+ * information. For information about {@code ACCOUNT} support tickets, see [Creating a Billing + * Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.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 diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateIncident.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateIncident.java index 8239748afbb..d2bd8359ee3 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateIncident.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateIncident.java @@ -92,15 +92,27 @@ public Builder csi(String csi) { return this; } /** - * The kind of support ticket, such as a technical support request or a limit increase - * request. + * The kind of support ticket (type of support request). For information about {@code + * ACCOUNT} support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit + * Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("problemType") private ProblemType problemType; /** - * The kind of support ticket, such as a technical support request or a limit increase - * request. + * The kind of support ticket (type of support request). For information about {@code + * ACCOUNT} support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit + * Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). * * @param problemType the value to set * @return this builder @@ -234,13 +246,25 @@ public String getCsi() { } /** - * The kind of support ticket, such as a technical support request or a limit increase request. + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("problemType") private final ProblemType problemType; /** - * The kind of support ticket, such as a technical support request or a limit increase request. + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). * * @return the value */ diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateLimitItemDetails.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateLimitItemDetails.java index 277270316a7..221c29b5844 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateLimitItemDetails.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateLimitItemDetails.java @@ -5,7 +5,9 @@ package com.oracle.bmc.cims.model; /** - * Details about the service limit increase request. Avoid entering confidential information.
+ * Details about the service limit increase request. Avoid entering confidential information. For + * information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.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 @@ -243,6 +245,7 @@ public enum LimitStatus implements com.oracle.bmc.http.internal.BmcEnum { Approved("APPROVED"), PartiallyApproved("PARTIALLY_APPROVED"), NotApproved("NOT_APPROVED"), + Rejected("REJECTED"), ; private final String value; diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateTechSupportItemDetails.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateTechSupportItemDetails.java index 4b09b45f5f9..d12cf527d8f 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateTechSupportItemDetails.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateTechSupportItemDetails.java @@ -6,7 +6,10 @@ /** * Details about the issue that the technical support ticket relates to. Avoid entering confidential - * information.
+ * information. For information about {@code TECH} support tickets, see [Creating a Technical + * Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.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 diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateUserDetails.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateUserDetails.java index abb4c8b8e92..483d020435c 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateUserDetails.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/CreateUserDetails.java @@ -161,15 +161,27 @@ public Builder organizationName(String organizationName) { return this; } /** - * The kind of support ticket, such as a technical support request or a limit increase - * request. + * The kind of support ticket (type of support request). For information about {@code + * ACCOUNT} support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit + * Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("problemType") private ProblemType problemType; /** - * The kind of support ticket, such as a technical support request or a limit increase - * request. + * The kind of support ticket (type of support request). For information about {@code + * ACCOUNT} support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit + * Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). * * @param problemType the value to set * @return this builder @@ -331,13 +343,25 @@ public String getOrganizationName() { } /** - * The kind of support ticket, such as a technical support request or a limit increase request. + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("problemType") private final ProblemType problemType; /** - * The kind of support ticket, such as a technical support request or a limit increase request. + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). * * @return the value */ diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/Incident.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/Incident.java index ca07339da4d..640d97153a2 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/Incident.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/Incident.java @@ -120,15 +120,27 @@ public Builder incidentType(IncidentType incidentType) { return this; } /** - * The kind of support ticket, such as a technical support request or a limit increase - * request. + * The kind of support ticket (type of support request). For information about {@code + * ACCOUNT} support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit + * Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("problemType") private ProblemType problemType; /** - * The kind of support ticket, such as a technical support request or a limit increase - * request. + * The kind of support ticket (type of support request). For information about {@code + * ACCOUNT} support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit + * Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). * * @param problemType the value to set * @return this builder @@ -272,13 +284,25 @@ public IncidentType getIncidentType() { } /** - * The kind of support ticket, such as a technical support request or a limit increase request. + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("problemType") private final ProblemType problemType; /** - * The kind of support ticket, such as a technical support request or a limit increase request. + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). * * @return the value */ diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/IncidentResourceType.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/IncidentResourceType.java index d4eefab58dc..887291fc555 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/IncidentResourceType.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/IncidentResourceType.java @@ -28,26 +28,29 @@ public final class IncidentResourceType "name", "label", "description", + "isSubscriptionsSupported", "serviceCategoryList", "service", - "serviceCategories" + "services" }) public IncidentResourceType( String resourceTypeKey, String name, String label, String description, + Boolean isSubscriptionsSupported, java.util.List serviceCategoryList, java.util.Map service, - java.util.List serviceCategories) { + java.util.List services) { super(); this.resourceTypeKey = resourceTypeKey; this.name = name; this.label = label; this.description = description; + this.isSubscriptionsSupported = isSubscriptionsSupported; this.serviceCategoryList = serviceCategoryList; this.service = service; - this.serviceCategories = serviceCategories; + this.services = services; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -112,6 +115,21 @@ public Builder description(String description) { this.__explicitlySet__.add("description"); return this; } + /** Indicates whether multi-subscription is supported */ + @com.fasterxml.jackson.annotation.JsonProperty("isSubscriptionsSupported") + private Boolean isSubscriptionsSupported; + + /** + * Indicates whether multi-subscription is supported + * + * @param isSubscriptionsSupported the value to set + * @return this builder + */ + public Builder isSubscriptionsSupported(Boolean isSubscriptionsSupported) { + this.isSubscriptionsSupported = isSubscriptionsSupported; + this.__explicitlySet__.add("isSubscriptionsSupported"); + return this; + } /** The service category list. */ @com.fasterxml.jackson.annotation.JsonProperty("serviceCategoryList") private java.util.List serviceCategoryList; @@ -143,18 +161,18 @@ public Builder service(java.util.Map service) { return this; } /** The service categories list for MOS Taxonomy. */ - @com.fasterxml.jackson.annotation.JsonProperty("serviceCategories") - private java.util.List serviceCategories; + @com.fasterxml.jackson.annotation.JsonProperty("services") + private java.util.List services; /** * The service categories list for MOS Taxonomy. * - * @param serviceCategories the value to set + * @param services the value to set * @return this builder */ - public Builder serviceCategories(java.util.List serviceCategories) { - this.serviceCategories = serviceCategories; - this.__explicitlySet__.add("serviceCategories"); + public Builder services(java.util.List services) { + this.services = services; + this.__explicitlySet__.add("services"); return this; } @@ -168,9 +186,10 @@ public IncidentResourceType build() { this.name, this.label, this.description, + this.isSubscriptionsSupported, this.serviceCategoryList, this.service, - this.serviceCategories); + this.services); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -191,14 +210,17 @@ public Builder copy(IncidentResourceType model) { if (model.wasPropertyExplicitlySet("description")) { this.description(model.getDescription()); } + if (model.wasPropertyExplicitlySet("isSubscriptionsSupported")) { + this.isSubscriptionsSupported(model.getIsSubscriptionsSupported()); + } if (model.wasPropertyExplicitlySet("serviceCategoryList")) { this.serviceCategoryList(model.getServiceCategoryList()); } if (model.wasPropertyExplicitlySet("service")) { this.service(model.getService()); } - if (model.wasPropertyExplicitlySet("serviceCategories")) { - this.serviceCategories(model.getServiceCategories()); + if (model.wasPropertyExplicitlySet("services")) { + this.services(model.getServices()); } return this; } @@ -265,6 +287,19 @@ public String getDescription() { return description; } + /** Indicates whether multi-subscription is supported */ + @com.fasterxml.jackson.annotation.JsonProperty("isSubscriptionsSupported") + private final Boolean isSubscriptionsSupported; + + /** + * Indicates whether multi-subscription is supported + * + * @return the value + */ + public Boolean getIsSubscriptionsSupported() { + return isSubscriptionsSupported; + } + /** The service category list. */ @com.fasterxml.jackson.annotation.JsonProperty("serviceCategoryList") private final java.util.List serviceCategoryList; @@ -292,16 +327,16 @@ public java.util.Map getService() { } /** The service categories list for MOS Taxonomy. */ - @com.fasterxml.jackson.annotation.JsonProperty("serviceCategories") - private final java.util.List serviceCategories; + @com.fasterxml.jackson.annotation.JsonProperty("services") + private final java.util.List services; /** * The service categories list for MOS Taxonomy. * * @return the value */ - public java.util.List getServiceCategories() { - return serviceCategories; + public java.util.List getServices() { + return services; } @Override @@ -323,9 +358,11 @@ public String toString(boolean includeByteArrayContents) { sb.append(", name=").append(String.valueOf(this.name)); sb.append(", label=").append(String.valueOf(this.label)); sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", isSubscriptionsSupported=") + .append(String.valueOf(this.isSubscriptionsSupported)); sb.append(", serviceCategoryList=").append(String.valueOf(this.serviceCategoryList)); sb.append(", service=").append(String.valueOf(this.service)); - sb.append(", serviceCategories=").append(String.valueOf(this.serviceCategories)); + sb.append(", services=").append(String.valueOf(this.services)); sb.append(")"); return sb.toString(); } @@ -344,9 +381,11 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.name, other.name) && java.util.Objects.equals(this.label, other.label) && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals( + this.isSubscriptionsSupported, other.isSubscriptionsSupported) && java.util.Objects.equals(this.serviceCategoryList, other.serviceCategoryList) && java.util.Objects.equals(this.service, other.service) - && java.util.Objects.equals(this.serviceCategories, other.serviceCategories) + && java.util.Objects.equals(this.services, other.services) && super.equals(other); } @@ -360,15 +399,18 @@ public int hashCode() { result = (result * PRIME) + (this.name == null ? 43 : this.name.hashCode()); result = (result * PRIME) + (this.label == null ? 43 : this.label.hashCode()); result = (result * PRIME) + (this.description == null ? 43 : this.description.hashCode()); + result = + (result * PRIME) + + (this.isSubscriptionsSupported == null + ? 43 + : this.isSubscriptionsSupported.hashCode()); result = (result * PRIME) + (this.serviceCategoryList == null ? 43 : this.serviceCategoryList.hashCode()); result = (result * PRIME) + (this.service == null ? 43 : this.service.hashCode()); - result = - (result * PRIME) - + (this.serviceCategories == null ? 43 : this.serviceCategories.hashCode()); + result = (result * PRIME) + (this.services == null ? 43 : this.services.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/IncidentSummary.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/IncidentSummary.java index 1c36b3a2ac2..4d3184ac656 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/IncidentSummary.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/IncidentSummary.java @@ -118,15 +118,27 @@ public Builder incidentType(IncidentResourceType incidentType) { return this; } /** - * The kind of support ticket, such as a technical support request or a limit increase - * request. + * The kind of support ticket (type of support request). For information about {@code + * ACCOUNT} support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit + * Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("problemType") private ProblemType problemType; /** - * The kind of support ticket, such as a technical support request or a limit increase - * request. + * The kind of support ticket (type of support request). For information about {@code + * ACCOUNT} support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit + * Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). * * @param problemType the value to set * @return this builder @@ -247,13 +259,25 @@ public IncidentResourceType getIncidentType() { } /** - * The kind of support ticket, such as a technical support request or a limit increase request. + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("problemType") private final ProblemType problemType; /** - * The kind of support ticket, such as a technical support request or a limit increase request. + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). * * @return the value */ diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/LimitItem.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/LimitItem.java index 040a6a0292a..62a1a6136d8 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/LimitItem.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/LimitItem.java @@ -130,6 +130,21 @@ public Builder limitStatus(LimitStatus limitStatus) { this.__explicitlySet__.add("limitStatus"); return this; } + /** Message to customer for partial approval and rejected limit requests */ + @com.fasterxml.jackson.annotation.JsonProperty("customerMessage") + private String customerMessage; + + /** + * Message to customer for partial approval and rejected limit requests + * + * @param customerMessage the value to set + * @return this builder + */ + public Builder customerMessage(String customerMessage) { + this.customerMessage = customerMessage; + this.__explicitlySet__.add("customerMessage"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -145,7 +160,8 @@ public LimitItem build() { this.currentLimit, this.currentUsage, this.requestedLimit, - this.limitStatus); + this.limitStatus, + this.customerMessage); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -181,6 +197,9 @@ public Builder copy(LimitItem model) { if (model.wasPropertyExplicitlySet("limitStatus")) { this.limitStatus(model.getLimitStatus()); } + if (model.wasPropertyExplicitlySet("customerMessage")) { + this.customerMessage(model.getCustomerMessage()); + } return this; } } @@ -204,12 +223,14 @@ public LimitItem( Integer currentLimit, Integer currentUsage, Integer requestedLimit, - LimitStatus limitStatus) { + LimitStatus limitStatus, + String customerMessage) { super(itemKey, name, category, subCategory, issueType); this.currentLimit = currentLimit; this.currentUsage = currentUsage; this.requestedLimit = requestedLimit; this.limitStatus = limitStatus; + this.customerMessage = customerMessage; } /** The current service limit for the resource. */ @@ -256,6 +277,7 @@ public enum LimitStatus implements com.oracle.bmc.http.internal.BmcEnum { Approved("APPROVED"), PartiallyApproved("PARTIALLY_APPROVED"), NotApproved("NOT_APPROVED"), + Rejected("REJECTED"), /** * This value is used if a service returns a value for this enum that is not recognized by @@ -311,6 +333,19 @@ public LimitStatus getLimitStatus() { return limitStatus; } + /** Message to customer for partial approval and rejected limit requests */ + @com.fasterxml.jackson.annotation.JsonProperty("customerMessage") + private final String customerMessage; + + /** + * Message to customer for partial approval and rejected limit requests + * + * @return the value + */ + public String getCustomerMessage() { + return customerMessage; + } + @Override public String toString() { return this.toString(true); @@ -330,6 +365,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", currentUsage=").append(String.valueOf(this.currentUsage)); sb.append(", requestedLimit=").append(String.valueOf(this.requestedLimit)); sb.append(", limitStatus=").append(String.valueOf(this.limitStatus)); + sb.append(", customerMessage=").append(String.valueOf(this.customerMessage)); sb.append(")"); return sb.toString(); } @@ -348,6 +384,7 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.currentUsage, other.currentUsage) && java.util.Objects.equals(this.requestedLimit, other.requestedLimit) && java.util.Objects.equals(this.limitStatus, other.limitStatus) + && java.util.Objects.equals(this.customerMessage, other.customerMessage) && super.equals(other); } @@ -361,6 +398,9 @@ public int hashCode() { (result * PRIME) + (this.requestedLimit == null ? 43 : this.requestedLimit.hashCode()); result = (result * PRIME) + (this.limitStatus == null ? 43 : this.limitStatus.hashCode()); + result = + (result * PRIME) + + (this.customerMessage == null ? 43 : this.customerMessage.hashCode()); return result; } } diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ProblemType.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ProblemType.java index a4ba2fb2c88..7f3ba6d6fc2 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ProblemType.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ProblemType.java @@ -4,7 +4,15 @@ */ package com.oracle.bmc.cims.model; -/** The kind of support ticket, such as a technical support request or a limit increase request. */ +/** + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). For + * information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). For + * information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). + */ @jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181231") public enum ProblemType implements com.oracle.bmc.http.internal.BmcEnum { Limit("LIMIT"), diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ServiceCategories.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ServiceCategories.java index d203eb4c1a5..ded3781cf10 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ServiceCategories.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ServiceCategories.java @@ -23,32 +23,32 @@ public final class ServiceCategories extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"serviceCategory", "schema", "issueType"}) + @java.beans.ConstructorProperties({"service", "schema", "subCategories"}) public ServiceCategories( - java.util.Map serviceCategory, + java.util.Map service, String schema, - java.util.Map issueType) { + java.util.List subCategories) { super(); - this.serviceCategory = serviceCategory; + this.service = service; this.schema = schema; - this.issueType = issueType; + this.subCategories = subCategories; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** Service Category list. */ - @com.fasterxml.jackson.annotation.JsonProperty("serviceCategory") - private java.util.Map serviceCategory; + @com.fasterxml.jackson.annotation.JsonProperty("service") + private java.util.Map service; /** * Service Category list. * - * @param serviceCategory the value to set + * @param service the value to set * @return this builder */ - public Builder serviceCategory(java.util.Map serviceCategory) { - this.serviceCategory = serviceCategory; - this.__explicitlySet__.add("serviceCategory"); + public Builder service(java.util.Map service) { + this.service = service; + this.__explicitlySet__.add("service"); return this; } /** Schema of a Service Category. */ @@ -66,19 +66,19 @@ public Builder schema(String schema) { this.__explicitlySet__.add("schema"); return this; } - /** Issue type list. */ - @com.fasterxml.jackson.annotation.JsonProperty("issueType") - private java.util.Map issueType; + /** The service categories list for MOS Taxonomy. */ + @com.fasterxml.jackson.annotation.JsonProperty("subCategories") + private java.util.List subCategories; /** - * Issue type list. + * The service categories list for MOS Taxonomy. * - * @param issueType the value to set + * @param subCategories the value to set * @return this builder */ - public Builder issueType(java.util.Map issueType) { - this.issueType = issueType; - this.__explicitlySet__.add("issueType"); + public Builder subCategories(java.util.List subCategories) { + this.subCategories = subCategories; + this.__explicitlySet__.add("subCategories"); return this; } @@ -87,7 +87,7 @@ public Builder issueType(java.util.Map issueType) { public ServiceCategories build() { ServiceCategories model = - new ServiceCategories(this.serviceCategory, this.schema, this.issueType); + new ServiceCategories(this.service, this.schema, this.subCategories); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -96,14 +96,14 @@ public ServiceCategories build() { @com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(ServiceCategories model) { - if (model.wasPropertyExplicitlySet("serviceCategory")) { - this.serviceCategory(model.getServiceCategory()); + if (model.wasPropertyExplicitlySet("service")) { + this.service(model.getService()); } if (model.wasPropertyExplicitlySet("schema")) { this.schema(model.getSchema()); } - if (model.wasPropertyExplicitlySet("issueType")) { - this.issueType(model.getIssueType()); + if (model.wasPropertyExplicitlySet("subCategories")) { + this.subCategories(model.getSubCategories()); } return this; } @@ -119,16 +119,16 @@ public Builder toBuilder() { } /** Service Category list. */ - @com.fasterxml.jackson.annotation.JsonProperty("serviceCategory") - private final java.util.Map serviceCategory; + @com.fasterxml.jackson.annotation.JsonProperty("service") + private final java.util.Map service; /** * Service Category list. * * @return the value */ - public java.util.Map getServiceCategory() { - return serviceCategory; + public java.util.Map getService() { + return service; } /** Schema of a Service Category. */ @@ -144,17 +144,17 @@ public String getSchema() { return schema; } - /** Issue type list. */ - @com.fasterxml.jackson.annotation.JsonProperty("issueType") - private final java.util.Map issueType; + /** The service categories list for MOS Taxonomy. */ + @com.fasterxml.jackson.annotation.JsonProperty("subCategories") + private final java.util.List subCategories; /** - * Issue type list. + * The service categories list for MOS Taxonomy. * * @return the value */ - public java.util.Map getIssueType() { - return issueType; + public java.util.List getSubCategories() { + return subCategories; } @Override @@ -172,9 +172,9 @@ public String toString(boolean includeByteArrayContents) { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("ServiceCategories("); sb.append("super=").append(super.toString()); - sb.append("serviceCategory=").append(String.valueOf(this.serviceCategory)); + sb.append("service=").append(String.valueOf(this.service)); sb.append(", schema=").append(String.valueOf(this.schema)); - sb.append(", issueType=").append(String.valueOf(this.issueType)); + sb.append(", subCategories=").append(String.valueOf(this.subCategories)); sb.append(")"); return sb.toString(); } @@ -189,9 +189,9 @@ public boolean equals(Object o) { } ServiceCategories other = (ServiceCategories) o; - return java.util.Objects.equals(this.serviceCategory, other.serviceCategory) + return java.util.Objects.equals(this.service, other.service) && java.util.Objects.equals(this.schema, other.schema) - && java.util.Objects.equals(this.issueType, other.issueType) + && java.util.Objects.equals(this.subCategories, other.subCategories) && super.equals(other); } @@ -199,11 +199,11 @@ public boolean equals(Object o) { public int hashCode() { final int PRIME = 59; int result = 1; + result = (result * PRIME) + (this.service == null ? 43 : this.service.hashCode()); + result = (result * PRIME) + (this.schema == null ? 43 : this.schema.hashCode()); result = (result * PRIME) - + (this.serviceCategory == null ? 43 : this.serviceCategory.hashCode()); - result = (result * PRIME) + (this.schema == null ? 43 : this.schema.hashCode()); - result = (result * PRIME) + (this.issueType == null ? 43 : this.issueType.hashCode()); + + (this.subCategories == null ? 43 : this.subCategories.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ServiceCategory.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ServiceCategory.java index ba549f6919d..f7a159c380c 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ServiceCategory.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/ServiceCategory.java @@ -28,6 +28,7 @@ public final class ServiceCategory "label", "description", "issueTypeList", + "supportedSubscriptions", "scope", "unit", "limitId" @@ -38,6 +39,7 @@ public ServiceCategory( String label, String description, java.util.List issueTypeList, + java.util.List supportedSubscriptions, Scope scope, Unit unit, String limitId) { @@ -47,6 +49,7 @@ public ServiceCategory( this.label = label; this.description = description; this.issueTypeList = issueTypeList; + this.supportedSubscriptions = supportedSubscriptions; this.scope = scope; this.unit = unit; this.limitId = limitId; @@ -129,6 +132,21 @@ public Builder issueTypeList(java.util.List issueTypeList) { this.__explicitlySet__.add("issueTypeList"); return this; } + /** List of supported subscriptions */ + @com.fasterxml.jackson.annotation.JsonProperty("supportedSubscriptions") + private java.util.List supportedSubscriptions; + + /** + * List of supported subscriptions + * + * @param supportedSubscriptions the value to set + * @return this builder + */ + public Builder supportedSubscriptions(java.util.List supportedSubscriptions) { + this.supportedSubscriptions = supportedSubscriptions; + this.__explicitlySet__.add("supportedSubscriptions"); + return this; + } /** The scope of the incident. */ @com.fasterxml.jackson.annotation.JsonProperty("scope") private Scope scope; @@ -186,6 +204,7 @@ public ServiceCategory build() { this.label, this.description, this.issueTypeList, + this.supportedSubscriptions, this.scope, this.unit, this.limitId); @@ -212,6 +231,9 @@ public Builder copy(ServiceCategory model) { if (model.wasPropertyExplicitlySet("issueTypeList")) { this.issueTypeList(model.getIssueTypeList()); } + if (model.wasPropertyExplicitlySet("supportedSubscriptions")) { + this.supportedSubscriptions(model.getSupportedSubscriptions()); + } if (model.wasPropertyExplicitlySet("scope")) { this.scope(model.getScope()); } @@ -299,6 +321,19 @@ public java.util.List getIssueTypeList() { return issueTypeList; } + /** List of supported subscriptions */ + @com.fasterxml.jackson.annotation.JsonProperty("supportedSubscriptions") + private final java.util.List supportedSubscriptions; + + /** + * List of supported subscriptions + * + * @return the value + */ + public java.util.List getSupportedSubscriptions() { + return supportedSubscriptions; + } + /** The scope of the incident. */ @com.fasterxml.jackson.annotation.JsonProperty("scope") private final Scope scope; @@ -358,6 +393,7 @@ public String toString(boolean includeByteArrayContents) { sb.append(", label=").append(String.valueOf(this.label)); sb.append(", description=").append(String.valueOf(this.description)); sb.append(", issueTypeList=").append(String.valueOf(this.issueTypeList)); + sb.append(", supportedSubscriptions=").append(String.valueOf(this.supportedSubscriptions)); sb.append(", scope=").append(String.valueOf(this.scope)); sb.append(", unit=").append(String.valueOf(this.unit)); sb.append(", limitId=").append(String.valueOf(this.limitId)); @@ -380,6 +416,8 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.label, other.label) && java.util.Objects.equals(this.description, other.description) && java.util.Objects.equals(this.issueTypeList, other.issueTypeList) + && java.util.Objects.equals( + this.supportedSubscriptions, other.supportedSubscriptions) && java.util.Objects.equals(this.scope, other.scope) && java.util.Objects.equals(this.unit, other.unit) && java.util.Objects.equals(this.limitId, other.limitId) @@ -397,6 +435,11 @@ public int hashCode() { result = (result * PRIME) + (this.issueTypeList == null ? 43 : this.issueTypeList.hashCode()); + result = + (result * PRIME) + + (this.supportedSubscriptions == null + ? 43 + : this.supportedSubscriptions.hashCode()); result = (result * PRIME) + (this.scope == null ? 43 : this.scope.hashCode()); result = (result * PRIME) + (this.unit == null ? 43 : this.unit.hashCode()); result = (result * PRIME) + (this.limitId == null ? 43 : this.limitId.hashCode()); diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/SubCategories.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/SubCategories.java new file mode 100644 index 00000000000..ef18df5d717 --- /dev/null +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/SubCategories.java @@ -0,0 +1,257 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.cims.model; + +/** + * List of subcategories under a 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: 20181231") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = SubCategories.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SubCategories extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "serviceCategory", + "schema", + "hasSubCategory", + "subComponents" + }) + public SubCategories( + java.util.Map serviceCategory, + String schema, + String hasSubCategory, + java.util.List subComponents) { + super(); + this.serviceCategory = serviceCategory; + this.schema = schema; + this.hasSubCategory = hasSubCategory; + this.subComponents = subComponents; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Subcategory list. */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceCategory") + private java.util.Map serviceCategory; + + /** + * Subcategory list. + * + * @param serviceCategory the value to set + * @return this builder + */ + public Builder serviceCategory(java.util.Map serviceCategory) { + this.serviceCategory = serviceCategory; + this.__explicitlySet__.add("serviceCategory"); + return this; + } + /** Schema of a subcategory. */ + @com.fasterxml.jackson.annotation.JsonProperty("schema") + private String schema; + + /** + * Schema of a subcategory. + * + * @param schema the value to set + * @return this builder + */ + public Builder schema(String schema) { + this.schema = schema; + this.__explicitlySet__.add("schema"); + return this; + } + /** Flag to identify if subComponent is present */ + @com.fasterxml.jackson.annotation.JsonProperty("hasSubCategory") + private String hasSubCategory; + + /** + * Flag to identify if subComponent is present + * + * @param hasSubCategory the value to set + * @return this builder + */ + public Builder hasSubCategory(String hasSubCategory) { + this.hasSubCategory = hasSubCategory; + this.__explicitlySet__.add("hasSubCategory"); + return this; + } + /** The sub component list for MOS Taxonomy. */ + @com.fasterxml.jackson.annotation.JsonProperty("subComponents") + private java.util.List subComponents; + + /** + * The sub component list for MOS Taxonomy. + * + * @param subComponents the value to set + * @return this builder + */ + public Builder subComponents(java.util.List subComponents) { + this.subComponents = subComponents; + this.__explicitlySet__.add("subComponents"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SubCategories build() { + SubCategories model = + new SubCategories( + this.serviceCategory, + this.schema, + this.hasSubCategory, + this.subComponents); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SubCategories model) { + if (model.wasPropertyExplicitlySet("serviceCategory")) { + this.serviceCategory(model.getServiceCategory()); + } + if (model.wasPropertyExplicitlySet("schema")) { + this.schema(model.getSchema()); + } + if (model.wasPropertyExplicitlySet("hasSubCategory")) { + this.hasSubCategory(model.getHasSubCategory()); + } + if (model.wasPropertyExplicitlySet("subComponents")) { + this.subComponents(model.getSubComponents()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Subcategory list. */ + @com.fasterxml.jackson.annotation.JsonProperty("serviceCategory") + private final java.util.Map serviceCategory; + + /** + * Subcategory list. + * + * @return the value + */ + public java.util.Map getServiceCategory() { + return serviceCategory; + } + + /** Schema of a subcategory. */ + @com.fasterxml.jackson.annotation.JsonProperty("schema") + private final String schema; + + /** + * Schema of a subcategory. + * + * @return the value + */ + public String getSchema() { + return schema; + } + + /** Flag to identify if subComponent is present */ + @com.fasterxml.jackson.annotation.JsonProperty("hasSubCategory") + private final String hasSubCategory; + + /** + * Flag to identify if subComponent is present + * + * @return the value + */ + public String getHasSubCategory() { + return hasSubCategory; + } + + /** The sub component list for MOS Taxonomy. */ + @com.fasterxml.jackson.annotation.JsonProperty("subComponents") + private final java.util.List subComponents; + + /** + * The sub component list for MOS Taxonomy. + * + * @return the value + */ + public java.util.List getSubComponents() { + return subComponents; + } + + @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("SubCategories("); + sb.append("super=").append(super.toString()); + sb.append("serviceCategory=").append(String.valueOf(this.serviceCategory)); + sb.append(", schema=").append(String.valueOf(this.schema)); + sb.append(", hasSubCategory=").append(String.valueOf(this.hasSubCategory)); + sb.append(", subComponents=").append(String.valueOf(this.subComponents)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SubCategories)) { + return false; + } + + SubCategories other = (SubCategories) o; + return java.util.Objects.equals(this.serviceCategory, other.serviceCategory) + && java.util.Objects.equals(this.schema, other.schema) + && java.util.Objects.equals(this.hasSubCategory, other.hasSubCategory) + && java.util.Objects.equals(this.subComponents, other.subComponents) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = + (result * PRIME) + + (this.serviceCategory == null ? 43 : this.serviceCategory.hashCode()); + result = (result * PRIME) + (this.schema == null ? 43 : this.schema.hashCode()); + result = + (result * PRIME) + + (this.hasSubCategory == null ? 43 : this.hasSubCategory.hashCode()); + result = + (result * PRIME) + + (this.subComponents == null ? 43 : this.subComponents.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/SubComponents.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/SubComponents.java new file mode 100644 index 00000000000..9bd65cb0dbf --- /dev/null +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/SubComponents.java @@ -0,0 +1,167 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.cims.model; + +/** + * List of subcomponents under a subcategory.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are 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: 20181231") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = SubComponents.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SubComponents extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"subCategory", "schema"}) + public SubComponents(java.util.Map subCategory, String schema) { + super(); + this.subCategory = subCategory; + this.schema = schema; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** Subcategory list. */ + @com.fasterxml.jackson.annotation.JsonProperty("subCategory") + private java.util.Map subCategory; + + /** + * Subcategory list. + * + * @param subCategory the value to set + * @return this builder + */ + public Builder subCategory(java.util.Map subCategory) { + this.subCategory = subCategory; + this.__explicitlySet__.add("subCategory"); + return this; + } + /** Schema of a subcategory. */ + @com.fasterxml.jackson.annotation.JsonProperty("schema") + private String schema; + + /** + * Schema of a subcategory. + * + * @param schema the value to set + * @return this builder + */ + public Builder schema(String schema) { + this.schema = schema; + this.__explicitlySet__.add("schema"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SubComponents build() { + SubComponents model = new SubComponents(this.subCategory, this.schema); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SubComponents model) { + if (model.wasPropertyExplicitlySet("subCategory")) { + this.subCategory(model.getSubCategory()); + } + if (model.wasPropertyExplicitlySet("schema")) { + this.schema(model.getSchema()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** Subcategory list. */ + @com.fasterxml.jackson.annotation.JsonProperty("subCategory") + private final java.util.Map subCategory; + + /** + * Subcategory list. + * + * @return the value + */ + public java.util.Map getSubCategory() { + return subCategory; + } + + /** Schema of a subcategory. */ + @com.fasterxml.jackson.annotation.JsonProperty("schema") + private final String schema; + + /** + * Schema of a subcategory. + * + * @return the value + */ + public String getSchema() { + return schema; + } + + @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("SubComponents("); + sb.append("super=").append(super.toString()); + sb.append("subCategory=").append(String.valueOf(this.subCategory)); + sb.append(", schema=").append(String.valueOf(this.schema)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SubComponents)) { + return false; + } + + SubComponents other = (SubComponents) o; + return java.util.Objects.equals(this.subCategory, other.subCategory) + && java.util.Objects.equals(this.schema, other.schema) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.subCategory == null ? 43 : this.subCategory.hashCode()); + result = (result * PRIME) + (this.schema == null ? 43 : this.schema.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/SubscriptionInfo.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/SubscriptionInfo.java new file mode 100644 index 00000000000..3454067794b --- /dev/null +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/SubscriptionInfo.java @@ -0,0 +1,170 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.cims.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: 20181231") +@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = SubscriptionInfo.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class SubscriptionInfo + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"csi", "subscriptionType"}) + public SubscriptionInfo(String csi, String subscriptionType) { + super(); + this.csi = csi; + this.subscriptionType = subscriptionType; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** customer support identifier issued for a subscription */ + @com.fasterxml.jackson.annotation.JsonProperty("csi") + private String csi; + + /** + * customer support identifier issued for a subscription + * + * @param csi the value to set + * @return this builder + */ + public Builder csi(String csi) { + this.csi = csi; + this.__explicitlySet__.add("csi"); + return this; + } + /** subscription type of customer which determines payment profile */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionType") + private String subscriptionType; + + /** + * subscription type of customer which determines payment profile + * + * @param subscriptionType the value to set + * @return this builder + */ + public Builder subscriptionType(String subscriptionType) { + this.subscriptionType = subscriptionType; + this.__explicitlySet__.add("subscriptionType"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public SubscriptionInfo build() { + SubscriptionInfo model = new SubscriptionInfo(this.csi, this.subscriptionType); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(SubscriptionInfo model) { + if (model.wasPropertyExplicitlySet("csi")) { + this.csi(model.getCsi()); + } + if (model.wasPropertyExplicitlySet("subscriptionType")) { + this.subscriptionType(model.getSubscriptionType()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** customer support identifier issued for a subscription */ + @com.fasterxml.jackson.annotation.JsonProperty("csi") + private final String csi; + + /** + * customer support identifier issued for a subscription + * + * @return the value + */ + public String getCsi() { + return csi; + } + + /** subscription type of customer which determines payment profile */ + @com.fasterxml.jackson.annotation.JsonProperty("subscriptionType") + private final String subscriptionType; + + /** + * subscription type of customer which determines payment profile + * + * @return the value + */ + public String getSubscriptionType() { + return subscriptionType; + } + + @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("SubscriptionInfo("); + sb.append("super=").append(super.toString()); + sb.append("csi=").append(String.valueOf(this.csi)); + sb.append(", subscriptionType=").append(String.valueOf(this.subscriptionType)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SubscriptionInfo)) { + return false; + } + + SubscriptionInfo other = (SubscriptionInfo) o; + return java.util.Objects.equals(this.csi, other.csi) + && java.util.Objects.equals(this.subscriptionType, other.subscriptionType) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.csi == null ? 43 : this.csi.hashCode()); + result = + (result * PRIME) + + (this.subscriptionType == null ? 43 : this.subscriptionType.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/Ticket.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/Ticket.java index f59d0b07afc..2b7170b70ae 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/Ticket.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/Ticket.java @@ -131,12 +131,12 @@ public Builder description(String description) { this.__explicitlySet__.add("description"); return this; } - /** The time when the ticket was created, in milliseconds since epoch time. */ + /** The time when the ticket was created, in seconds since epoch time. */ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private Integer timeCreated; /** - * The time when the ticket was created, in milliseconds since epoch time. + * The time when the ticket was created, in seconds since epoch time. * * @param timeCreated the value to set * @return this builder @@ -146,12 +146,12 @@ public Builder timeCreated(Integer timeCreated) { this.__explicitlySet__.add("timeCreated"); return this; } - /** The time when the ticket was updated, in milliseconds since epoch time. */ + /** The time when the ticket was updated, in seconds since epoch time. */ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated") private Integer timeUpdated; /** - * The time when the ticket was updated, in milliseconds since epoch time. + * The time when the ticket was updated, in seconds since epoch time. * * @param timeUpdated the value to set * @return this builder @@ -368,12 +368,12 @@ public String getDescription() { return description; } - /** The time when the ticket was created, in milliseconds since epoch time. */ + /** The time when the ticket was created, in seconds since epoch time. */ @com.fasterxml.jackson.annotation.JsonProperty("timeCreated") private final Integer timeCreated; /** - * The time when the ticket was created, in milliseconds since epoch time. + * The time when the ticket was created, in seconds since epoch time. * * @return the value */ @@ -381,12 +381,12 @@ public Integer getTimeCreated() { return timeCreated; } - /** The time when the ticket was updated, in milliseconds since epoch time. */ + /** The time when the ticket was updated, in seconds since epoch time. */ @com.fasterxml.jackson.annotation.JsonProperty("timeUpdated") private final Integer timeUpdated; /** - * The time when the ticket was updated, in milliseconds since epoch time. + * The time when the ticket was updated, in seconds since epoch time. * * @return the value */ diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/UpdateIncident.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/UpdateIncident.java index b9ab46d6c6d..725118df7e7 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/UpdateIncident.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/UpdateIncident.java @@ -41,15 +41,27 @@ public Builder ticket(UpdateTicketDetails ticket) { return this; } /** - * The kind of support ticket, such as a technical support request or a limit increase - * request. + * The kind of support ticket (type of support request). For information about {@code + * ACCOUNT} support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit + * Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("problemType") private ProblemType problemType; /** - * The kind of support ticket, such as a technical support request or a limit increase - * request. + * The kind of support ticket (type of support request). For information about {@code + * ACCOUNT} support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit + * Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). * * @param problemType the value to set * @return this builder @@ -100,13 +112,25 @@ public UpdateTicketDetails getTicket() { } /** - * The kind of support ticket, such as a technical support request or a limit increase request. + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("problemType") private final ProblemType problemType; /** - * The kind of support ticket, such as a technical support request or a limit increase request. + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). * * @return the value */ diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/User.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/User.java index 538665a01d1..34274e80b1b 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/model/User.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/model/User.java @@ -213,15 +213,27 @@ public Builder contactEmail(String contactEmail) { return this; } /** - * The kind of support ticket, such as a technical support request or a limit increase - * request. + * The kind of support ticket (type of support request). For information about {@code + * ACCOUNT} support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit + * Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("problemType") private ProblemType problemType; /** - * The kind of support ticket, such as a technical support request or a limit increase - * request. + * The kind of support ticket (type of support request). For information about {@code + * ACCOUNT} support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit + * Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). * * @param problemType the value to set * @return this builder @@ -434,13 +446,25 @@ public String getContactEmail() { } /** - * The kind of support ticket, such as a technical support request or a limit increase request. + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). */ @com.fasterxml.jackson.annotation.JsonProperty("problemType") private final ProblemType problemType; /** - * The kind of support ticket, such as a technical support request or a limit increase request. + * The kind of support ticket (type of support request). For information about {@code ACCOUNT} + * support tickets, see [Creating a Billing Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-billing.htm). + * For information about {@code LIMIT} support tickets, see [Creating a Service Limit Increase + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-limit.htm). + * For information about {@code TECH} support tickets, see [Creating a Technical Support + * Request](https://docs.cloud.oracle.com/iaas/Content/GSG/support/create-incident-technical.htm). * * @return the value */ diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/CreateIncidentRequest.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/CreateIncidentRequest.java index b0b91de8aa8..926ae7d95c8 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/CreateIncidentRequest.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/CreateIncidentRequest.java @@ -36,13 +36,15 @@ public String getOpcRequestId() { } /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. + * Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for + * Multicloud users. */ private String ocid; /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. + * Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for + * Multicloud users. */ public String getOcid() { return ocid; @@ -75,10 +77,16 @@ public String getBearertoken() { public String getIdtoken() { return idtoken; } - /** The OCID of identity domain. */ + /** + * The OCID of identity domain. DomainID is mandatory if the user is part of Non Default + * Identity domain. + */ private String domainid; - /** The OCID of identity domain. */ + /** + * The OCID of identity domain. DomainID is mandatory if the user is part of Non Default + * Identity domain. + */ public String getDomainid() { return domainid; } @@ -135,13 +143,15 @@ public Builder opcRequestId(String opcRequestId) { /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. + * Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for + * Multicloud users. */ private String ocid = null; /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. + * Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for + * Multicloud users. * * @param ocid the value to set * @return this builder instance @@ -207,11 +217,15 @@ public Builder idtoken(String idtoken) { return this; } - /** The OCID of identity domain. */ + /** + * The OCID of identity domain. DomainID is mandatory if the user is part of Non Default + * Identity domain. + */ private String domainid = null; /** - * The OCID of identity domain. + * The OCID of identity domain. DomainID is mandatory if the user is part of Non Default + * Identity domain. * * @param domainid the value to set * @return this builder instance diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/GetCsiNumberRequest.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/GetCsiNumberRequest.java deleted file mode 100644 index 36fbda38fb3..00000000000 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/GetCsiNumberRequest.java +++ /dev/null @@ -1,404 +0,0 @@ -/** - * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ -package com.oracle.bmc.cims.requests; - -import com.oracle.bmc.cims.model.*; -/** - * Example: Click here to see how to use GetCsiNumberRequest. - */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181231") -public class GetCsiNumberRequest extends com.oracle.bmc.requests.BmcRequest { - - /** Tenancy Ocid in oracle cloud Infrastructure */ - private String tenantId; - - /** Tenancy Ocid in oracle cloud Infrastructure */ - public String getTenantId() { - return tenantId; - } - /** Home region of the customer which is part of oracle cloud infrastructure regions */ - private String region; - - /** Home region of the customer which is part of oracle cloud infrastructure regions */ - public String getRegion() { - return region; - } - /** - * 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. - */ - public String getOpcRequestId() { - return opcRequestId; - } - /** - * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. - */ - private String ocid; - - /** - * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. - */ - public String getOcid() { - return ocid; - } - /** The region of the tenancy. */ - private String homeregion; - - /** The region of the tenancy. */ - public String getHomeregion() { - return homeregion; - } - /** Token type that determine which cloud provider the request come from. */ - private String bearertokentype; - - /** Token type that determine which cloud provider the request come from. */ - public String getBearertokentype() { - return bearertokentype; - } - /** Token that provided by multi cloud provider, which help to validate the email. */ - private String bearertoken; - - /** Token that provided by multi cloud provider, which help to validate the email. */ - public String getBearertoken() { - return bearertoken; - } - /** IdToken that provided by multi cloud provider, which help to validate the email. */ - private String idtoken; - - /** IdToken that provided by multi cloud provider, which help to validate the email. */ - public String getIdtoken() { - return idtoken; - } - /** The OCID of identity domain. */ - private String domainid; - - /** The OCID of identity domain. */ - public String getDomainid() { - return domainid; - } - - public static class Builder - implements com.oracle.bmc.requests.BmcRequest.Builder< - GetCsiNumberRequest, java.lang.Void> { - private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; - private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; - - /** Tenancy Ocid in oracle cloud Infrastructure */ - private String tenantId = null; - - /** - * Tenancy Ocid in oracle cloud Infrastructure - * - * @param tenantId the value to set - * @return this builder instance - */ - public Builder tenantId(String tenantId) { - this.tenantId = tenantId; - return this; - } - - /** Home region of the customer which is part of oracle cloud infrastructure regions */ - private String region = null; - - /** - * Home region of the customer which is part of oracle cloud infrastructure regions - * - * @param region the value to set - * @return this builder instance - */ - public Builder region(String region) { - this.region = region; - 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 = null; - - /** - * 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 instance - */ - public Builder opcRequestId(String opcRequestId) { - this.opcRequestId = opcRequestId; - return this; - } - - /** - * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. - */ - private String ocid = null; - - /** - * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. - * - * @param ocid the value to set - * @return this builder instance - */ - public Builder ocid(String ocid) { - this.ocid = ocid; - return this; - } - - /** The region of the tenancy. */ - private String homeregion = null; - - /** - * The region of the tenancy. - * - * @param homeregion the value to set - * @return this builder instance - */ - public Builder homeregion(String homeregion) { - this.homeregion = homeregion; - return this; - } - - /** Token type that determine which cloud provider the request come from. */ - private String bearertokentype = null; - - /** - * Token type that determine which cloud provider the request come from. - * - * @param bearertokentype the value to set - * @return this builder instance - */ - public Builder bearertokentype(String bearertokentype) { - this.bearertokentype = bearertokentype; - return this; - } - - /** Token that provided by multi cloud provider, which help to validate the email. */ - private String bearertoken = null; - - /** - * Token that provided by multi cloud provider, which help to validate the email. - * - * @param bearertoken the value to set - * @return this builder instance - */ - public Builder bearertoken(String bearertoken) { - this.bearertoken = bearertoken; - return this; - } - - /** IdToken that provided by multi cloud provider, which help to validate the email. */ - private String idtoken = null; - - /** - * IdToken that provided by multi cloud provider, which help to validate the email. - * - * @param idtoken the value to set - * @return this builder instance - */ - public Builder idtoken(String idtoken) { - this.idtoken = idtoken; - return this; - } - - /** The OCID of identity domain. */ - private String domainid = null; - - /** - * The OCID of identity domain. - * - * @param domainid the value to set - * @return this builder instance - */ - public Builder domainid(String domainid) { - this.domainid = domainid; - 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(GetCsiNumberRequest o) { - tenantId(o.getTenantId()); - region(o.getRegion()); - opcRequestId(o.getOpcRequestId()); - ocid(o.getOcid()); - homeregion(o.getHomeregion()); - bearertokentype(o.getBearertokentype()); - bearertoken(o.getBearertoken()); - idtoken(o.getIdtoken()); - domainid(o.getDomainid()); - invocationCallback(o.getInvocationCallback()); - retryConfiguration(o.getRetryConfiguration()); - return this; - } - - /** - * Build the instance of GetCsiNumberRequest 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 GetCsiNumberRequest - */ - public GetCsiNumberRequest build() { - GetCsiNumberRequest request = buildWithoutInvocationCallback(); - request.setInvocationCallback(invocationCallback); - request.setRetryConfiguration(retryConfiguration); - return request; - } - - /** - * Build the instance of GetCsiNumberRequest 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 GetCsiNumberRequest - */ - public GetCsiNumberRequest buildWithoutInvocationCallback() { - GetCsiNumberRequest request = new GetCsiNumberRequest(); - request.tenantId = tenantId; - request.region = region; - request.opcRequestId = opcRequestId; - request.ocid = ocid; - request.homeregion = homeregion; - request.bearertokentype = bearertokentype; - request.bearertoken = bearertoken; - request.idtoken = idtoken; - request.domainid = domainid; - return request; - // new GetCsiNumberRequest(tenantId, region, opcRequestId, ocid, homeregion, - // bearertokentype, bearertoken, idtoken, domainid); - } - } - - /** - * 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() - .tenantId(tenantId) - .region(region) - .opcRequestId(opcRequestId) - .ocid(ocid) - .homeregion(homeregion) - .bearertokentype(bearertokentype) - .bearertoken(bearertoken) - .idtoken(idtoken) - .domainid(domainid); - } - - /** - * 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(",tenantId=").append(String.valueOf(this.tenantId)); - sb.append(",region=").append(String.valueOf(this.region)); - sb.append(",opcRequestId=").append(String.valueOf(this.opcRequestId)); - sb.append(",ocid=").append(String.valueOf(this.ocid)); - sb.append(",homeregion=").append(String.valueOf(this.homeregion)); - sb.append(",bearertokentype=").append(String.valueOf(this.bearertokentype)); - sb.append(",bearertoken=").append(String.valueOf(this.bearertoken)); - sb.append(",idtoken=").append(String.valueOf(this.idtoken)); - sb.append(",domainid=").append(String.valueOf(this.domainid)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof GetCsiNumberRequest)) { - return false; - } - - GetCsiNumberRequest other = (GetCsiNumberRequest) o; - return super.equals(o) - && java.util.Objects.equals(this.tenantId, other.tenantId) - && java.util.Objects.equals(this.region, other.region) - && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) - && java.util.Objects.equals(this.ocid, other.ocid) - && java.util.Objects.equals(this.homeregion, other.homeregion) - && java.util.Objects.equals(this.bearertokentype, other.bearertokentype) - && java.util.Objects.equals(this.bearertoken, other.bearertoken) - && java.util.Objects.equals(this.idtoken, other.idtoken) - && java.util.Objects.equals(this.domainid, other.domainid); - } - - @Override - public int hashCode() { - final int PRIME = 59; - int result = super.hashCode(); - result = (result * PRIME) + (this.tenantId == null ? 43 : this.tenantId.hashCode()); - result = (result * PRIME) + (this.region == null ? 43 : this.region.hashCode()); - result = (result * PRIME) + (this.opcRequestId == null ? 43 : this.opcRequestId.hashCode()); - result = (result * PRIME) + (this.ocid == null ? 43 : this.ocid.hashCode()); - result = (result * PRIME) + (this.homeregion == null ? 43 : this.homeregion.hashCode()); - result = - (result * PRIME) - + (this.bearertokentype == null ? 43 : this.bearertokentype.hashCode()); - result = (result * PRIME) + (this.bearertoken == null ? 43 : this.bearertoken.hashCode()); - result = (result * PRIME) + (this.idtoken == null ? 43 : this.idtoken.hashCode()); - result = (result * PRIME) + (this.domainid == null ? 43 : this.domainid.hashCode()); - return result; - } -} diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/GetIncidentRequest.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/GetIncidentRequest.java index 103cbb93898..74a1c4618fb 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/GetIncidentRequest.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/GetIncidentRequest.java @@ -20,6 +20,13 @@ public class GetIncidentRequest extends com.oracle.bmc.requests.BmcRequesthere to see how to use GetStatusRequest. - */ -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181231") -public class GetStatusRequest extends com.oracle.bmc.requests.BmcRequest { - - /** - * 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. - */ - public String getOpcRequestId() { - return opcRequestId; - } - /** - * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. - */ - private String ocid; - - /** - * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. - */ - public String getOcid() { - return ocid; - } - /** The region of the tenancy. */ - private String homeregion; - - /** The region of the tenancy. */ - public String getHomeregion() { - return homeregion; - } - - public static class Builder - implements com.oracle.bmc.requests.BmcRequest.Builder< - GetStatusRequest, java.lang.Void> { - private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; - private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; - - /** - * 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 = null; - - /** - * 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 instance - */ - public Builder opcRequestId(String opcRequestId) { - this.opcRequestId = opcRequestId; - return this; - } - - /** - * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. - */ - private String ocid = null; - - /** - * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. - * - * @param ocid the value to set - * @return this builder instance - */ - public Builder ocid(String ocid) { - this.ocid = ocid; - return this; - } - - /** The region of the tenancy. */ - private String homeregion = null; - - /** - * The region of the tenancy. - * - * @param homeregion the value to set - * @return this builder instance - */ - public Builder homeregion(String homeregion) { - this.homeregion = homeregion; - 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(GetStatusRequest o) { - opcRequestId(o.getOpcRequestId()); - ocid(o.getOcid()); - homeregion(o.getHomeregion()); - invocationCallback(o.getInvocationCallback()); - retryConfiguration(o.getRetryConfiguration()); - return this; - } - - /** - * Build the instance of GetStatusRequest 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 GetStatusRequest - */ - public GetStatusRequest build() { - GetStatusRequest request = buildWithoutInvocationCallback(); - request.setInvocationCallback(invocationCallback); - request.setRetryConfiguration(retryConfiguration); - return request; - } - - /** - * Build the instance of GetStatusRequest 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 GetStatusRequest - */ - public GetStatusRequest buildWithoutInvocationCallback() { - GetStatusRequest request = new GetStatusRequest(); - request.opcRequestId = opcRequestId; - request.ocid = ocid; - request.homeregion = homeregion; - return request; - // new GetStatusRequest(opcRequestId, ocid, homeregion); - } - } - - /** - * 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().opcRequestId(opcRequestId).ocid(ocid).homeregion(homeregion); - } - - /** - * 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(",opcRequestId=").append(String.valueOf(this.opcRequestId)); - sb.append(",ocid=").append(String.valueOf(this.ocid)); - sb.append(",homeregion=").append(String.valueOf(this.homeregion)); - sb.append(")"); - return sb.toString(); - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (!(o instanceof GetStatusRequest)) { - return false; - } - - GetStatusRequest other = (GetStatusRequest) o; - return super.equals(o) - && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) - && java.util.Objects.equals(this.ocid, other.ocid) - && java.util.Objects.equals(this.homeregion, other.homeregion); - } - - @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.ocid == null ? 43 : this.ocid.hashCode()); - result = (result * PRIME) + (this.homeregion == null ? 43 : this.homeregion.hashCode()); - return result; - } -} diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentResourceTypesRequest.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentResourceTypesRequest.java index c09682a5b35..96166789642 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentResourceTypesRequest.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentResourceTypesRequest.java @@ -93,22 +93,30 @@ public com.oracle.bmc.cims.model.SortOrder getSortOrder() { public String getName() { return name; } - /** The Customer Support Identifier (CSI) associated with the support account. */ + /** + * The Customer Support Identifier (CSI) number associated with the support account. The CSI is + * required for technical support tickets and optional for limits and billing tickets. + */ private String csi; - /** The Customer Support Identifier (CSI) associated with the support account. */ + /** + * The Customer Support Identifier (CSI) number associated with the support account. The CSI is + * required for technical support tickets and optional for limits and billing tickets. + */ public String getCsi() { return csi; } /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. + * Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for + * Multicloud users. */ private String ocid; /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. + * Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for + * Multicloud users. */ public String getOcid() { return ocid; @@ -120,10 +128,16 @@ public String getOcid() { public String getHomeregion() { return homeregion; } - /** The OCID of identity domain. */ + /** + * The OCID of identity domain. DomainID is mandatory if the user is part of Non Default + * Identity domain. + */ private String domainid; - /** The OCID of identity domain. */ + /** + * The OCID of identity domain. DomainID is mandatory if the user is part of Non Default + * Identity domain. + */ public String getDomainid() { return domainid; } @@ -262,11 +276,15 @@ public Builder name(String name) { return this; } - /** The Customer Support Identifier (CSI) associated with the support account. */ + /** + * The Customer Support Identifier (CSI) number associated with the support account. The CSI + * is required for technical support tickets and optional for limits and billing tickets. + */ private String csi = null; /** - * The Customer Support Identifier (CSI) associated with the support account. + * The Customer Support Identifier (CSI) number associated with the support account. The CSI + * is required for technical support tickets and optional for limits and billing tickets. * * @param csi the value to set * @return this builder instance @@ -278,13 +296,15 @@ public Builder csi(String csi) { /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. + * Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for + * Multicloud users. */ private String ocid = null; /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. + * Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for + * Multicloud users. * * @param ocid the value to set * @return this builder instance @@ -308,11 +328,15 @@ public Builder homeregion(String homeregion) { return this; } - /** The OCID of identity domain. */ + /** + * The OCID of identity domain. DomainID is mandatory if the user is part of Non Default + * Identity domain. + */ private String domainid = null; /** - * The OCID of identity domain. + * The OCID of identity domain. DomainID is mandatory if the user is part of Non Default + * Identity domain. * * @param domainid the value to set * @return this builder instance diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentsRequest.java b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentsRequest.java index b893ce4d534..c431a59b040 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentsRequest.java +++ b/bmc-cims/src/main/java/com/oracle/bmc/cims/requests/ListIncidentsRequest.java @@ -20,10 +20,16 @@ public class ListIncidentsRequest extends com.oracle.bmc.requests.BmcRequest { - /** The Customer Support Identifier (CSI) associated with the support account. */ + /** + * The Customer Support Identifier (CSI) number associated with the support account. The CSI is + * required for technical support tickets and optional for limits and billing tickets. + */ private String csi; - /** The Customer Support Identifier (CSI) associated with the support account. */ + /** + * The Customer Support Identifier (CSI) number associated with the support account. The CSI is + * required for technical support tickets and optional for limits and billing tickets. + */ public String getCsi() { return csi; } @@ -42,13 +48,15 @@ public com.oracle.bmc.cims.model.ProblemType getProblemType() { } /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. + * Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for + * Multicloud users. */ private String ocid; /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. + * Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for + * Multicloud users. */ public String getOcid() { return ocid; @@ -81,10 +89,16 @@ public String getBearertoken() { public String getIdtoken() { return idtoken; } - /** The OCID of identity domain. */ + /** + * The OCID of identity domain. DomainID is mandatory if the user is part of Non Default + * Identity domain. + */ private String domainid; - /** The OCID of identity domain. */ + /** + * The OCID of identity domain. DomainID is mandatory if the user is part of Non Default + * Identity domain. + */ public String getDomainid() { return domainid; } @@ -95,11 +109,15 @@ public static class Builder private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; - /** The Customer Support Identifier (CSI) associated with the support account. */ + /** + * The Customer Support Identifier (CSI) number associated with the support account. The CSI + * is required for technical support tickets and optional for limits and billing tickets. + */ private String csi = null; /** - * The Customer Support Identifier (CSI) associated with the support account. + * The Customer Support Identifier (CSI) number associated with the support account. The CSI + * is required for technical support tickets and optional for limits and billing tickets. * * @param csi the value to set * @return this builder instance @@ -143,13 +161,15 @@ public Builder problemType(com.oracle.bmc.cims.model.ProblemType problemType) { /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. + * Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for + * Multicloud users. */ private String ocid = null; /** * User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle - * Cloud Infrastructure account. + * Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for + * Multicloud users. * * @param ocid the value to set * @return this builder instance @@ -215,11 +235,15 @@ public Builder idtoken(String idtoken) { return this; } - /** The OCID of identity domain. */ + /** + * The OCID of identity domain. DomainID is mandatory if the user is part of Non Default + * Identity domain. + */ private String domainid = null; /** - * The OCID of identity domain. + * The OCID of identity domain. DomainID is mandatory if the user is part of Non Default + * Identity domain. * * @param domainid the value to set * @return this builder instance diff --git a/bmc-cims/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-cims/reflect-config.json b/bmc-cims/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-cims/reflect-config.json index 7b59d4d818f..2dc0bd90b61 100644 --- a/bmc-cims/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-cims/reflect-config.json +++ b/bmc-cims/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-cims/reflect-config.json @@ -493,6 +493,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.cims.model.SubCategories", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.cims.model.SubCategories$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.cims.model.SubCategory", @@ -507,6 +521,34 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.cims.model.SubComponents", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.cims.model.SubComponents$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.cims.model.SubscriptionInfo", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.cims.model.SubscriptionInfo$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.cims.model.TechSupportItem", diff --git a/bmc-circuitbreaker/pom.xml b/bmc-circuitbreaker/pom.xml index 703652b6ad4..61450dd8912 100644 --- a/bmc-circuitbreaker/pom.xml +++ b/bmc-circuitbreaker/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-circuitbreaker diff --git a/bmc-circuitbreaker/src/main/java/com/oracle/bmc/circuitbreaker/CircuitBreakerConfiguration.java b/bmc-circuitbreaker/src/main/java/com/oracle/bmc/circuitbreaker/CircuitBreakerConfiguration.java index cd0941b2b89..b41721303ec 100644 --- a/bmc-circuitbreaker/src/main/java/com/oracle/bmc/circuitbreaker/CircuitBreakerConfiguration.java +++ b/bmc-circuitbreaker/src/main/java/com/oracle/bmc/circuitbreaker/CircuitBreakerConfiguration.java @@ -22,7 +22,7 @@ public class CircuitBreakerConfiguration { public static final int DEFAULT_FAILURE_RATE_THRESHOLD = 80; // Percentage public static final int DEFAULT_SLOW_CALL_RATE_THRESHOLD = 100; // Percentage public static final int DEFAULT_WAIT_DURATION_IN_OPEN_STATE = 30; // Seconds - public static final int DEFAULT_PERMITTED_CALLS_IN_HALF_OPEN_STATE = 10; + public static final int DEFAULT_PERMITTED_CALLS_IN_HALF_OPEN_STATE = 1; public static final int DEFAULT_MINIMUM_NUMBER_OF_CALLS = 10; public static final int DEFAULT_SLIDING_WINDOW_SIZE = 120; public static final int DEFAULT_SLOW_CALL_DURATION_THRESHOLD = 60; // Minutes diff --git a/bmc-cloudbridge/pom.xml b/bmc-cloudbridge/pom.xml index c14a7d5945a..6ee0ab1e690 100644 --- a/bmc-cloudbridge/pom.xml +++ b/bmc-cloudbridge/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-cloudbridge @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-cloudguard/pom.xml b/bmc-cloudguard/pom.xml index 476a8a78874..82cdb1df597 100644 --- a/bmc-cloudguard/pom.xml +++ b/bmc-cloudguard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-cloudguard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-cloudmigrations/pom.xml b/bmc-cloudmigrations/pom.xml index b3b9a8ebc2e..cb517c6ea51 100644 --- a/bmc-cloudmigrations/pom.xml +++ b/bmc-cloudmigrations/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-cloudmigrations @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-clusterplacementgroups/pom.xml b/bmc-clusterplacementgroups/pom.xml index 087f96e94e1..c1fe81d7957 100644 --- a/bmc-clusterplacementgroups/pom.xml +++ b/bmc-clusterplacementgroups/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-clusterplacementgroups @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.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 42ef3fb92a4..a3820bb3a0f 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.52.1 + 3.53.0 ../pom.xml @@ -68,7 +68,7 @@ com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey - 3.52.1 + 3.53.0 @@ -77,7 +77,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.52.1 + 3.53.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 5fd911c3f4c..097c517782d 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.52.1 + 3.53.0 ../pom.xml @@ -70,7 +70,7 @@ com.oracle.oci.sdk oci-java-sdk-addons-apache-configurator-jersey3 - 3.52.1 + 3.53.0 @@ -79,7 +79,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.52.1 + 3.53.0 jakarta.ws.rs diff --git a/bmc-common-httpclient-choices/pom.xml b/bmc-common-httpclient-choices/pom.xml index 342077ba3e9..1d601dfcfed 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.52.1 + 3.53.0 ../pom.xml diff --git a/bmc-common-httpclient/pom.xml b/bmc-common-httpclient/pom.xml index 25f1fd81401..ca70780ebf6 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.52.1 + 3.53.0 ../pom.xml diff --git a/bmc-common/pom.xml b/bmc-common/pom.xml index 1c1cc8c6256..e586d9e0c73 100644 --- a/bmc-common/pom.xml +++ b/bmc-common/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml @@ -59,18 +59,24 @@ com.oracle.oci.sdk oci-java-sdk-circuitbreaker - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.52.1 + 3.53.0 + + com.github.tomakehurst + wiremock + 2.23.2 + test + com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.52.1 + 3.53.0 test diff --git a/bmc-common/src/main/java/com/oracle/bmc/Realm.java b/bmc-common/src/main/java/com/oracle/bmc/Realm.java index 1d67cf1e126..9f8ad94de4e 100644 --- a/bmc-common/src/main/java/com/oracle/bmc/Realm.java +++ b/bmc-common/src/main/java/com/oracle/bmc/Realm.java @@ -47,6 +47,7 @@ public final class Realm implements Serializable, Comparable { public static final Realm OC15 = new Realm("oc15", "oraclecloud15.com"); public static final Realm OC29 = new Realm("oc29", "oraclecloud29.com"); public static final Realm OC23 = new Realm("oc23", "oraclecloud23.com"); + public static final Realm OC35 = new Realm("oc35", "oraclecloud35.com"); private static final long serialVersionUID = -905344971L; /** The id of the realm. */ private final String realmId; diff --git a/bmc-common/src/main/java/com/oracle/bmc/Region.java b/bmc-common/src/main/java/com/oracle/bmc/Region.java index 4c709f34a09..ca8f5354e45 100644 --- a/bmc-common/src/main/java/com/oracle/bmc/Region.java +++ b/bmc-common/src/main/java/com/oracle/bmc/Region.java @@ -203,6 +203,11 @@ private static String getDefaultRealmFromEnv() { public static final Region US_SOMERSET_1 = register("us-somerset-1", Realm.OC23, "ebb"); public static final Region US_THAMES_1 = register("us-thames-1", Realm.OC23, "ebl"); + // OC35 + public static final Region AP_SEOUL_2 = register("ap-seoul-2", Realm.OC35, "dtz"); + public static final Region AP_SUWON_1 = register("ap-suwon-1", Realm.OC35, "dln"); + public static final Region AP_CHUNCHEON_2 = register("ap-chuncheon-2", Realm.OC35, "bno"); + private static final Map> SERVICE_TO_REGION_ENDPOINTS = new HashMap<>(); diff --git a/bmc-common/src/main/java/com/oracle/bmc/auth/AbstractFederationClientAuthenticationDetailsProviderBuilder.java b/bmc-common/src/main/java/com/oracle/bmc/auth/AbstractFederationClientAuthenticationDetailsProviderBuilder.java index a91d8557502..151528e9428 100644 --- a/bmc-common/src/main/java/com/oracle/bmc/auth/AbstractFederationClientAuthenticationDetailsProviderBuilder.java +++ b/bmc-common/src/main/java/com/oracle/bmc/auth/AbstractFederationClientAuthenticationDetailsProviderBuilder.java @@ -223,7 +223,7 @@ protected FederationClient createFederationClient(SessionKeySupplier sessionKeyS CircuitBreakerConfiguration circuitBreakerConfig = circuitBreakerConfiguration != null ? circuitBreakerConfiguration - : CircuitBreakerUtils.getDefaultCircuitBreakerConfiguration(); + : CircuitBreakerUtils.getDefaultAuthClientCircuitBreakerConfiguration(); if (purpose != null) { return new X509FederationClient( diff --git a/bmc-common/src/main/java/com/oracle/bmc/auth/internal/X509FederationClient.java b/bmc-common/src/main/java/com/oracle/bmc/auth/internal/X509FederationClient.java index e1be3f7d0ed..22abc648057 100644 --- a/bmc-common/src/main/java/com/oracle/bmc/auth/internal/X509FederationClient.java +++ b/bmc-common/src/main/java/com/oracle/bmc/auth/internal/X509FederationClient.java @@ -28,9 +28,11 @@ import com.oracle.bmc.model.BmcException; import com.oracle.bmc.requests.BmcRequest; import com.oracle.bmc.responses.BmcResponse; +import com.oracle.bmc.retrier.DefaultRetryCondition; import com.oracle.bmc.retrier.RetryConfiguration; +import com.oracle.bmc.util.VisibleForTesting; import com.oracle.bmc.util.internal.Validate; -import com.oracle.bmc.waiter.FixedTimeDelayStrategy; +import com.oracle.bmc.waiter.ExponentialBackoffDelayStrategyWithJitter; import com.oracle.bmc.waiter.MaxAttemptsTerminationStrategy; import org.slf4j.Logger; @@ -61,8 +63,20 @@ public class X509FederationClient implements FederationClient, ProvidesConfigurableRefresh { private static final RetryConfiguration RETRY_CONFIGURATION = RetryConfiguration.builder() - .delayStrategy(new FixedTimeDelayStrategy(250)) - .terminationStrategy(new MaxAttemptsTerminationStrategy(5)) + .delayStrategy(new ExponentialBackoffDelayStrategyWithJitter(1000)) + .terminationStrategy(new MaxAttemptsTerminationStrategy(3)) + .retryCondition( + new DefaultRetryCondition() { + @Override + public boolean shouldBeRetried(@Nonnull BmcException e) { + if (e == null) { + throw new java.lang.NullPointerException( + "e is marked non-null but is null"); + } + // We should not retry on 4xx + return e.getStatusCode() < 400 || e.getStatusCode() >= 500; + } + }) .build(); private static final String DEFAULT_PURPOSE = "DEFAULT"; private static final String DEFAULT_FINGERPRINT = "SHA256"; @@ -369,23 +383,7 @@ private SecurityTokenAdapter getSecurityTokenFromServer() { purpose, DEFAULT_FINGERPRINT); - FederationResponseWrapper resp = - ClientCall.builder( - httpClient, - new FederationRequestWrapper(federationRequest), - FederationResponseWrapper.Builder::new) - .method(Method.POST) - .logger(LOG, "X509FederationClient") - .appendPathPart("v1") - .appendPathPart("x509") - .handleBody( - SecurityToken.class, (builder, token) -> builder.token = token) - .retryConfiguration(RETRY_CONFIGURATION) - .clientConfigurator(clientConfigurator) - .circuitBreaker(circuitBreaker) - .accept("*/*") - .hasBody() - .callSync(); + FederationResponseWrapper resp = makeCall(federationRequest); return new SecurityTokenAdapter(resp.token.getToken(), sessionKeySupplier); } catch (BmcException e) { throw e; @@ -395,7 +393,24 @@ private SecurityTokenAdapter getSecurityTokenFromServer() { } } - // really simple retry until the SDK supports internal retries + @VisibleForTesting + FederationResponseWrapper makeCall(X509FederationRequest federationRequest) { + return ClientCall.builder( + httpClient, + new FederationRequestWrapper(federationRequest), + FederationResponseWrapper.Builder::new) + .method(Method.POST) + .logger(LOG, "X509FederationClient") + .appendPathPart("v1") + .appendPathPart("x509") + .handleBody(SecurityToken.class, (builder, token) -> builder.token = token) + .retryConfiguration(RETRY_CONFIGURATION) + .clientConfigurator(clientConfigurator) + .circuitBreaker(circuitBreaker) + .accept("*/*") + .hasBody() + .callSync(); + } @Override public String refreshAndGetSecurityTokenIfExpiringWithin(Duration time) { diff --git a/bmc-common/src/main/java/com/oracle/bmc/util/CircuitBreakerUtils.java b/bmc-common/src/main/java/com/oracle/bmc/util/CircuitBreakerUtils.java index 78d70fd5996..f7117a61e22 100644 --- a/bmc-common/src/main/java/com/oracle/bmc/util/CircuitBreakerUtils.java +++ b/bmc-common/src/main/java/com/oracle/bmc/util/CircuitBreakerUtils.java @@ -9,10 +9,17 @@ import com.oracle.bmc.circuitbreaker.NoCircuitBreakerConfiguration; import org.slf4j.Logger; +import java.time.Duration; +import java.util.concurrent.ThreadLocalRandom; + public class CircuitBreakerUtils { private static final Logger LOG = org.slf4j.LoggerFactory.getLogger(CircuitBreakerUtils.class); private static volatile CircuitBreakerConfiguration defaultCircuitBreakerConfiguration; + private static final int DEFAULT_FAILURE_RATE_THRESHOLD_FOR_AUTH_CLIENT_CB = 65; + private static final int DEFAULT_MINIMUM_NUMBER_OF_CALLS_FOR_AUTH_CLIENT_CB = 3; + private static final int DEFAULT_MINIMUM_WAIT_DURATION_IN_OPEN_STATE_FOR_AUTH_CLIENT_CB = 30; + private static final int DEFAULT_MAXIMUM_WAIT_DURATION_IN_OPEN_STATE_FOR_AUTH_CLIENT_CB = 49; public static CircuitBreakerConfiguration getNoCircuitBreakerConfiguration() { return new NoCircuitBreakerConfiguration(); @@ -69,4 +76,25 @@ public static void setDefaultCircuitBreakerConfiguration( CircuitBreakerConfiguration defaultCircuitBreakerConfiguration) { CircuitBreakerUtils.defaultCircuitBreakerConfiguration = defaultCircuitBreakerConfiguration; } + + /** + * Get default CircuitBreakerConfiguration for X509 calls + * + * @return the default CircuitBreakerConfiguration for Auth client + */ + public static CircuitBreakerConfiguration getDefaultAuthClientCircuitBreakerConfiguration() { + LOG.debug( + "Configuring default auth client circuit breaker configuration for federation client"); + return CircuitBreakerConfiguration.builder() + .minimumNumberOfCalls(DEFAULT_MINIMUM_NUMBER_OF_CALLS_FOR_AUTH_CLIENT_CB) + .failureRateThreshold(DEFAULT_FAILURE_RATE_THRESHOLD_FOR_AUTH_CLIENT_CB) + .waitDurationInOpenState( + Duration.ofSeconds( + ThreadLocalRandom.current() + .nextInt( + DEFAULT_MINIMUM_WAIT_DURATION_IN_OPEN_STATE_FOR_AUTH_CLIENT_CB, + DEFAULT_MAXIMUM_WAIT_DURATION_IN_OPEN_STATE_FOR_AUTH_CLIENT_CB + + 1))) + .build(); + } } diff --git a/bmc-common/src/test/java/com/oracle/bmc/auth/internal/X509FederationClientTest.java b/bmc-common/src/test/java/com/oracle/bmc/auth/internal/X509FederationClientTest.java index 93c968fa0d7..d52080b13d7 100644 --- a/bmc-common/src/test/java/com/oracle/bmc/auth/internal/X509FederationClientTest.java +++ b/bmc-common/src/test/java/com/oracle/bmc/auth/internal/X509FederationClientTest.java @@ -4,96 +4,172 @@ */ package com.oracle.bmc.auth.internal; +import com.github.tomakehurst.wiremock.client.WireMock; +import com.github.tomakehurst.wiremock.junit.WireMockRule; +import com.oracle.bmc.auth.SessionKeySupplier; +import com.oracle.bmc.auth.X509CertificateSupplier; import com.oracle.bmc.http.ClientConfigurator; import com.oracle.bmc.http.client.Serializer; +import com.oracle.bmc.http.signing.internal.PEMFileRSAPrivateKeySupplier; +import com.oracle.bmc.model.BmcException; +import com.oracle.bmc.util.CircuitBreakerUtils; + +import org.junit.Before; +import org.junit.Rule; import org.junit.Test; -import org.junit.runner.RunWith; -import org.mockito.Mock; -import org.powermock.core.classloader.annotations.PrepareForTest; -import org.powermock.modules.junit4.PowerMockRunner; import java.io.IOException; -import java.util.List; +import java.io.InputStream; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.security.KeyPair; +import java.security.cert.Certificate; +import java.security.cert.CertificateFactory; +import java.security.cert.X509Certificate; +import java.security.interfaces.RSAPrivateKey; +import java.util.Collections; +import java.util.Objects; +import static com.github.tomakehurst.wiremock.client.WireMock.*; +import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig; +import static com.github.tomakehurst.wiremock.stubbing.Scenario.STARTED; import static org.junit.Assert.assertEquals; +import static org.mockito.Mockito.mock; -@RunWith(PowerMockRunner.class) -@PrepareForTest({Thread.class, X509FederationClient.class}) public class X509FederationClientTest { - @Mock private List mockAddlConfigurators; private X509FederationClient clientUnderTest; + private X509FederationClient.X509FederationRequest federationRequest; + + @Rule + public WireMockRule mockService = + new WireMockRule( + wireMockConfig().jettyAcceptors(10).containerThreads(25).dynamicPort()); - /* TODO @Before - public void setUp() { - final Set intermediateCertificateSuppliers = - Collections.emptySet(); + public void setUp() throws IOException { + SessionKeySupplier sessionKeySupplier = + new SessionKeySupplier() { + @Override + public KeyPair getKeyPair() { + return mock(KeyPair.class); + } + + @Override + public void refreshKeys() {} + }; + + X509CertificateSupplier certificateSupplier = + new X509CertificateSupplier() { + @Override + public X509Certificate getCertificate() { + return Objects.requireNonNull(getCertificateAndKeyPair()).getCertificate(); + } + + @Override + public RSAPrivateKey getPrivateKey() { + return Objects.requireNonNull(getCertificateAndKeyPair()).getPrivateKey(); + } + + @Override + public CertificateAndPrivateKeyPair getCertificateAndKeyPair() { + try { + InputStream fakeCert = + Files.newInputStream(Paths.get("src/test/resources/cert.pem")); + CertificateFactory cf = CertificateFactory.getInstance("X.509"); + Certificate certificate = cf.generateCertificate(fakeCert); + + RSAPrivateKey privateKey = + new PEMFileRSAPrivateKeySupplier( + Files.newInputStream( + Paths.get( + "src/test/resources/key.pem")), + null) + .supplyKey("unused") + .orElse(null); + return new CertificateAndPrivateKeyPair( + (X509Certificate) certificate, privateKey); + } catch (Exception e) { + e.printStackTrace(); + } + return null; + } + }; + clientUnderTest = new X509FederationClient( - "federationEndpoint", + "http://localhost:" + mockService.port(), "tenantId", - mock(X509CertificateSupplier.class), - mock(SessionKeySupplier.class), - intermediateCertificateSuppliers, + certificateSupplier, + sessionKeySupplier, + Collections.emptySet(), mock(ClientConfigurator.class), - mockAddlConfigurators, - mock(CircuitBreakerConfiguration.class)); + Collections.emptyList(), + CircuitBreakerUtils.getDefaultAuthClientCircuitBreakerConfiguration()); - // Speed up the tests to mock out the sleep call between retries - mockStatic(Thread.class); + federationRequest = + new X509FederationClient.X509FederationRequest( + "publicKey", + "leafCertificate", + Collections.emptySet(), + "purpose", + "DEFAULT_FINGERPRINT"); } - */ - /* TODO @Test - public void makeCall_shouldReuseWrappedInvocationBuilderReference_whenBmcExceptionIsThrown() - throws Exception { - // Set up WrappedInvocationBuilder used to verify - URI requestURI = PowerMockito.mock(URI.class); - final WrappedInvocationBuilder expectedWIb = mock(WrappedInvocationBuilder.class); - final Invocation.Builder ib = mock(Invocation.Builder.class); - whenNew(WrappedInvocationBuilder.class) - .withArguments(ib, requestURI) - .thenReturn(expectedWIb); - final Response expectedResponse = mock(Response.class); - - // Stub exceptions thrown by the client 3 consecutive times then a successful - when( - mockFederationClient.post( - Mockito.any(), - Mockito.any(), - Mockito.any())) - .thenThrow(new BmcException(409, "ServiceCode", "Exception 1", "RequestId")) - .thenThrow(new BmcException(409, "ServiceCode", "Exception 2", "RequestId")) - .thenThrow(new BmcException(409, "ServiceCode", "Exception 3", "RequestId")) - .thenReturn(expectedResponse); - - // Method under test. - final Response actualResponse = - clientUnderTest.makeCall( - ib, requestURI, mock(X509FederationClient.X509FederationRequest.class)); - - assertEquals("Response should be equal", expectedResponse, actualResponse); - verify(mockFederationClient, times(4)) - .post( - wrappedIbCaptor.capture(), - isA(X509FederationClient.X509FederationRequest.class), - isA(BmcRequest.class)); - final List wrappedIbsFromInvocation = - wrappedIbCaptor.getAllValues(); - assertFalse( - "Captured list of WrappedInvocationBuilder should not be empty", - wrappedIbsFromInvocation.isEmpty()); - assertEquals( - "Captured list of WrappedInvocationBuilder size should be 4", - 4 /* expected number of captures * /, - wrappedIbsFromInvocation.size()); - for (WrappedInvocationBuilder actualWib : wrappedIbsFromInvocation) { - assertEquals("Captured WIB should be the same", expectedWIb, actualWib); + public void testX509ClientRetriesWithFailure() { + stubFor(post(urlEqualTo("/v1/x509")).willReturn(WireMock.serverError())); + + try { + clientUnderTest.makeCall(federationRequest); + } catch (BmcException e) { + assertEquals(500, e.getStatusCode()); + } + // Make sure the X509 client retries 3 times before it errors out + verify(3, postRequestedFor(urlEqualTo("/v1/x509"))); + } + + @Test + public void testX509ClientNoRetriesOn4xx() { + stubFor(post(urlEqualTo("/v1/x509")).willReturn(WireMock.unauthorized())); + + try { + clientUnderTest.makeCall(federationRequest); + } catch (BmcException e) { + assertEquals(401, e.getStatusCode()); } + // Make sure the X509 client does not retry on 401 + verify(1, postRequestedFor(urlEqualTo("/v1/x509"))); + } + + @Test + public void testX509ClientSuccessAfterRetries() { + + stubFor( + post(urlEqualTo("/v1/x509")) + .inScenario("Retry Scenario") + .whenScenarioStateIs(STARTED) + .willReturn(WireMock.serverError()) + .willSetStateTo("Second Attempt")); + stubFor( + post(urlEqualTo("/v1/x509")) + .inScenario("Retry Scenario") + .whenScenarioStateIs("Second Attempt") + .willReturn( + aResponse() + .withStatus(200) + .withHeader("Content-Type", "application/json") + .withBody("{\"token\" : \"abcdef\"}"))); + + X509FederationClient.FederationResponseWrapper responseWrapper = + clientUnderTest.makeCall(federationRequest); + + // Make sure the X509 client called the stub 2 times, 1 successful retry after 500 error + verify(2, postRequestedFor(urlEqualTo("/v1/x509"))); + + // Make sure the token is as expected + assertEquals("abcdef", responseWrapper.token.getToken()); } - */ @Test public void jacksonCanDeserializeSecurityToken() throws IOException { @@ -106,10 +182,11 @@ public void jacksonCanDeserializeSecurityToken() throws IOException { public void jacksonCanRoundTripSecurityToken() throws IOException { final X509FederationClient.SecurityToken secToken = new X509FederationClient.SecurityToken("abcdef"); - final Serializer mapper = Serializer.getDefault(); + final Serializer serializer = Serializer.getDefault(); assertEquals( secToken.getToken(), - mapper.readValue(mapper.writeValueAsString(secToken), secToken.getClass()) + serializer + .readValue(serializer.writeValueAsString(secToken), secToken.getClass()) .getToken()); } } diff --git a/bmc-common/src/test/resources/cert.pem b/bmc-common/src/test/resources/cert.pem new file mode 100644 index 00000000000..8272892e00c --- /dev/null +++ b/bmc-common/src/test/resources/cert.pem @@ -0,0 +1,25 @@ +-----BEGIN CERTIFICATE----- +MIIESDCCAjACAQIwDQYJKoZIhvcNAQELBQAwcjELMAkGA1UEBhMCVVMxCzAJBgNV +BAgMAldBMRAwDgYDVQQHDAdTZWF0dGxlMQ8wDQYDVQQKDAZPcmFjbGUxETAPBgNV +BAsMCFNlY3VyaXR5MSAwHgYDVQQDDBdwdmFzc2Vuay1QcmVjaXNpb24tMzUyMDAe +Fw0xNzEyMTUyMzQ2MzdaFw0xODEyMTUyMzQ2MzdaMGIxCzAJBgNVBAYTAlVTMQsw +CQYDVQQIDAJXQTEQMA4GA1UEBwwHU2VhdHRsZTEPMA0GA1UECgwGT3JhY2xlMREw +DwYDVQQLDAhTZWN1cml0eTEQMA4GA1UEAwwHY29tcHV0ZTCCASIwDQYJKoZIhvcN +AQEBBQADggEPADCCAQoCggEBAOUwEEpqh/+g+rPKHmxZ/+GORZVaz1u1zcllGGZL +Zb4nbzXsZpDN4qMLzCDkj6qQob/KDXHdHMn66ZblQrPTiR5ZF1oAbu0p7oAgcjtv +ewqQYa2Cko+5sj5y33PUpSs6HtpmVGlFZfiyRLL62OipdphqTMHfcFaihxkU8268 +aVlFcpUM1OTNLKAQlBgEIXphYjt5rQA+2Eh/VHJ/8f1IB7v6VDmXqvWh6Atu0ITP +RXxsshIij/swyd0AZ3c0sfyrObWNXpSD1T5QIno2VVN7bMyofBdKNopvGSeqmrVm +eRx/zUAMjTWkwi/+p6Hn7i7cdX9xyp5RMetMPBuety/j1IkCAwEAATANBgkqhkiG +9w0BAQsFAAOCAgEA4O/giDsxFsLgtUcop01XbHbFzrmL6ffYV8jUC9Glh51dx8r3 +5IqKKGCPtmopZqGCbbioERY/F/dj+xGQZ1MlgmhPwfX0YIr5RpE/BwmmM4bcskFD +3VeU2TyB4yoOBagtbzo1tylcqG6aWUMflxhNKEm3FJkxvad/M7HhVrC5LSlTSV6U +jZNw6nR49I1byiFtKciUX/ry/wbOdDZS/Y1nhccjAv6IKNM3lC/0IRkPQkPB+XNP +a6M6jZmNbEvBhniA1WxauSXyaNIpdpHt4sB57imMwOf4z1QeGdCFizcROPU4tYl6 +S1yPP59MSf0pHRP4JF0YTmdo//D+O+QC144nlgek84CQaOeou+Cwx8FWXY5OS1CX +TChteS18jeftuBxjbwtRNrui8OOU09Ste/CBwVE6VS8dcHjufeuZflR2JXKuANOO +lJV798kqYfVa+N1OL8y9y3ecwrBmYLUhfj1gzknTJGIYKeHFargVQuRBuchQcFif +Y5IUMW9uojo0VZtSQonlak6tIzzD4sni7Dh9IHPV52c7IPsMcPxxk1u6fSKySn+M +7oWhX2A1rWgM/24WWg8iPyZ00T6/IlyR33DuhSSWaK38dsYYQZaHQ2wFzUTRG1Nt +F+RTuutOqCeXuUQexPs0kEbo8yJZVra3d+oLQ2uGYh4tehhgH4TT38uX334= +-----END CERTIFICATE----- diff --git a/bmc-common/src/test/resources/key.pem b/bmc-common/src/test/resources/key.pem new file mode 100644 index 00000000000..c3668a14a89 --- /dev/null +++ b/bmc-common/src/test/resources/key.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpQIBAAKCAQEA5TAQSmqH/6D6s8oebFn/4Y5FlVrPW7XNyWUYZktlvidvNexm +kM3iowvMIOSPqpChv8oNcd0cyfrpluVCs9OJHlkXWgBu7SnugCByO297CpBhrYKS +j7myPnLfc9SlKzoe2mZUaUVl+LJEsvrY6Kl2mGpMwd9wVqKHGRTzbrxpWUVylQzU +5M0soBCUGAQhemFiO3mtAD7YSH9Ucn/x/UgHu/pUOZeq9aHoC27QhM9FfGyyEiKP ++zDJ3QBndzSx/Ks5tY1elIPVPlAiejZVU3tszKh8F0o2im8ZJ6qatWZ5HH/NQAyN +NaTCL/6noefuLtx1f3HKnlEx60w8G563L+PUiQIDAQABAoIBAQDN2g3HyUe94ulK +8w/AYlXiUddN/vKgfPsJGTSBLNeFpAXPeTXmegZGTCJcqO4hVSbzDJhm3SMuh5+n +WORAgI94Iq1GuXzop/EARCRWHht1sZkKL21UioX+cU8iyqxP1zQ/FgpbQ2oDpprt +50FMOGm9HD01JWvRZMnTTW4Y2EIHWxWYBdfxh2A3uqPtLqKZyDb+T6tZs3v71imf +xi2xUROzThAmBXptvcideNpa9d6sFtU6ub3VQd/Bath/5/WSAVt5dDVqYDGHktnI +s14iAk9mDAO6I7xFwQJA2Lq8LcEvjZ4CF1uKlW+P9lAumLUBwlQWJn1cAWGVtAJO +CU3xkT7BAoGBAP51N8wTQuiDsf2nnSH8X7IvF9i3BO5tzhMi3Gi5HeUCTibbHoOF +ocSfNTexmbP1Z37BbtXDx+JxQt2v7sMK6SIheltvPHLBtmf2LT91/bEDEBlWYIV8 +sbhEB7KyeZ/3n8/Dt/nMvW0kYcumiK/eANM+0G8PrmRqAzqjA0XOE00vAoGBAOaT +o9avlgSna8IIx8pc6DduQg6OiX416GldoEbZtMuEbtvMdhckDG1Xe4dXxBq9IgCm +tmdqao1dXCWZn74fYA8cmYX4TZhzQdaCB6n8hhPYOlXIvlAU6zMYQ4aSgoj+rbED +lB3N3a97Mzrfkb7ubyBw8f2JxUHjca15ZEe5NzvHAoGANAsNanPWD3BACz0o6jaP +7AWtvulP3OQgbdGHevPBpYEfMttGFmhSecCGRenRIfljPY2aeaYdT7cSkfzVvJaS +sCRgviq2FlKAWCsFfiFHzdhuhoAgJa0nPCTN3kKalZkz2m6RRkoVxCjYx6o78pxZ +VttWDiEK7gawumF03eYUFIkCgYEA5KJ3bpUTg6/juTZtreqsVPKey8Jo8d5Qg9JT +8I1Fqhy6tHasjkuviuiZU94iVYU/ZzfoXOl3mI9/pMUNUj/YR4PLc72Aa++11BeB +s/vzk0/woEl69PuZMUQZCSLUDzXCU2lCAL+215+pb/JqmdHiHWABhK+NCsWWXjal +yj0NWNcCgYEA2VkrY1GEWrpo0qo+XDK7b05otAjgX8WTL+mTw/4UlKJnXmEL1YTS +jdXejtMVqBXz2J175DzFrAe7m4sZK5PDheoEng0p+ttx7PKt5zQ3rbWDCt2u+Vk0 +BP4ZZml8wtvQgW/SMNJx8Ao9kTz969BuqVkJ8TUCqPnuGiQZGH1esK0= +-----END RSA PRIVATE KEY----- diff --git a/bmc-common/src/test/resources/regions.json b/bmc-common/src/test/resources/regions.json index 775b0e6e666..9a9d7f9a8f1 100644 --- a/bmc-common/src/test/resources/regions.json +++ b/bmc-common/src/test/resources/regions.json @@ -412,5 +412,23 @@ "realmKey": "oc23", "regionIdentifier": "us-thames-1", "realmDomainComponent": "oraclecloud23.com" + }, + { + "regionKey": "dtz", + "realmKey": "oc35", + "regionIdentifier": "ap-seoul-2", + "realmDomainComponent": "oraclecloud35.com" + }, + { + "regionKey": "dln", + "realmKey": "oc35", + "regionIdentifier": "ap-suwon-1", + "realmDomainComponent": "oraclecloud35.com" + }, + { + "regionKey": "bno", + "realmKey": "oc35", + "regionIdentifier": "ap-chuncheon-2", + "realmDomainComponent": "oraclecloud35.com" } ] \ No newline at end of file diff --git a/bmc-computecloudatcustomer/pom.xml b/bmc-computecloudatcustomer/pom.xml index 4d177ec5b75..7274783fd0e 100644 --- a/bmc-computecloudatcustomer/pom.xml +++ b/bmc-computecloudatcustomer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-computecloudatcustomer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-computeinstanceagent/pom.xml b/bmc-computeinstanceagent/pom.xml index a1642546209..ec25950bf37 100644 --- a/bmc-computeinstanceagent/pom.xml +++ b/bmc-computeinstanceagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-computeinstanceagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-containerengine/pom.xml b/bmc-containerengine/pom.xml index 6ad4c52e54b..54996456b47 100644 --- a/bmc-containerengine/pom.xml +++ b/bmc-containerengine/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-containerinstances/pom.xml b/bmc-containerinstances/pom.xml index 7c01b4362ac..da5dd74a593 100644 --- a/bmc-containerinstances/pom.xml +++ b/bmc-containerinstances/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-containerinstances @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-core/pom.xml b/bmc-core/pom.xml index be64d2810f4..7f48bcc7195 100644 --- a/bmc-core/pom.xml +++ b/bmc-core/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.52.1 + 3.53.0 diff --git a/bmc-dashboardservice/pom.xml b/bmc-dashboardservice/pom.xml index 934644d5249..e646f478bb9 100644 --- a/bmc-dashboardservice/pom.xml +++ b/bmc-dashboardservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-dashboardservice @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-database/pom.xml b/bmc-database/pom.xml index 32172e0821c..69d80588b44 100644 --- a/bmc-database/pom.xml +++ b/bmc-database/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.52.1 + 3.53.0 diff --git a/bmc-databasemanagement/pom.xml b/bmc-databasemanagement/pom.xml index 79f8335287b..e92e1a7307b 100644 --- a/bmc-databasemanagement/pom.xml +++ b/bmc-databasemanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-databasemanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-databasemigration/pom.xml b/bmc-databasemigration/pom.xml index 68aa7d8cd65..3cc5b2fd734 100644 --- a/bmc-databasemigration/pom.xml +++ b/bmc-databasemigration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-databasemigration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-databasetools/pom.xml b/bmc-databasetools/pom.xml index da89d1bc290..cc5d70c126c 100644 --- a/bmc-databasetools/pom.xml +++ b/bmc-databasetools/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-databasetools @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-datacatalog/pom.xml b/bmc-datacatalog/pom.xml index 794d440dd3a..c267e449224 100644 --- a/bmc-datacatalog/pom.xml +++ b/bmc-datacatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-datacatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-dataflow/pom.xml b/bmc-dataflow/pom.xml index d38e50e751a..54eace81f69 100644 --- a/bmc-dataflow/pom.xml +++ b/bmc-dataflow/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-dataflow @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlow.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlow.java index 3ab73fb8d03..657a69696ed 100644 --- a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlow.java +++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlow.java @@ -654,6 +654,23 @@ ChangeSqlEndpointCompartmentResponse changeSqlEndpointCompartment( */ StartPoolResponse startPool(StartPoolRequest request); + /** + * Starts the SqlEndpoint for a given `SqlEndpointId`. 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 StartSqlEndpoint + * API. + */ + StartSqlEndpointResponse startSqlEndpoint(StartSqlEndpointRequest request); + /** * Stops the dataflow pool for a given `poolId`. When provided, If-Match is checked against ETag * values of the resource. @@ -670,6 +687,23 @@ ChangeSqlEndpointCompartmentResponse changeSqlEndpointCompartment( */ StopPoolResponse stopPool(StopPoolRequest request); + /** + * Stops the SqlEndpoint for a given `SqlEndpointId`. 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 StopSqlEndpoint + * API. + */ + StopSqlEndpointResponse stopSqlEndpoint(StopSqlEndpointRequest request); + /** * Updates an application using an `applicationId`. * diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsync.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsync.java index e8f62b236de..6741f2718ba 100644 --- a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsync.java +++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsync.java @@ -636,6 +636,22 @@ java.util.concurrent.Future startPool( StartPoolRequest request, com.oracle.bmc.responses.AsyncHandler handler); + /** + * Starts the SqlEndpoint for a given `SqlEndpointId`. 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 startSqlEndpoint( + StartSqlEndpointRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + /** * Stops the dataflow pool for a given `poolId`. When provided, If-Match is checked against ETag * values of the resource. @@ -651,6 +667,22 @@ java.util.concurrent.Future stopPool( StopPoolRequest request, com.oracle.bmc.responses.AsyncHandler handler); + /** + * Stops the SqlEndpoint for a given `SqlEndpointId`. 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 stopSqlEndpoint( + StopSqlEndpointRequest request, + com.oracle.bmc.responses.AsyncHandler + handler); + /** * Updates an application using an `applicationId`. * diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsyncClient.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsyncClient.java index 14826589b53..81d930d8d04 100644 --- a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsyncClient.java +++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowAsyncClient.java @@ -1338,6 +1338,39 @@ public java.util.concurrent.Future startPool( .callAsync(handler); } + @Override + public java.util.concurrent.Future startSqlEndpoint( + StartSqlEndpointRequest request, + final com.oracle.bmc.responses.AsyncHandler< + StartSqlEndpointRequest, StartSqlEndpointResponse> + handler) { + + Validate.notBlank(request.getSqlEndpointId(), "sqlEndpointId must not be blank"); + + return clientCall(request, StartSqlEndpointResponse::builder) + .logger(LOG, "startSqlEndpoint") + .serviceDetails( + "DataFlow", + "StartSqlEndpoint", + "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpoint/StartSqlEndpoint") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(StartSqlEndpointRequest::builder) + .basePath("/20200129") + .appendPathParam("sqlEndpoints") + .appendPathParam(request.getSqlEndpointId()) + .appendPathParam("actions") + .appendPathParam("start") + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleResponseHeaderString( + "opc-request-id", StartSqlEndpointResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-work-request-id", StartSqlEndpointResponse.Builder::opcWorkRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future stopPool( StopPoolRequest request, @@ -1370,6 +1403,39 @@ public java.util.concurrent.Future stopPool( .callAsync(handler); } + @Override + public java.util.concurrent.Future stopSqlEndpoint( + StopSqlEndpointRequest request, + final com.oracle.bmc.responses.AsyncHandler< + StopSqlEndpointRequest, StopSqlEndpointResponse> + handler) { + + Validate.notBlank(request.getSqlEndpointId(), "sqlEndpointId must not be blank"); + + return clientCall(request, StopSqlEndpointResponse::builder) + .logger(LOG, "stopSqlEndpoint") + .serviceDetails( + "DataFlow", + "StopSqlEndpoint", + "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpoint/StopSqlEndpoint") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(StopSqlEndpointRequest::builder) + .basePath("/20200129") + .appendPathParam("sqlEndpoints") + .appendPathParam(request.getSqlEndpointId()) + .appendPathParam("actions") + .appendPathParam("stop") + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .handleResponseHeaderString( + "opc-request-id", StopSqlEndpointResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-work-request-id", StopSqlEndpointResponse.Builder::opcWorkRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future updateApplication( UpdateApplicationRequest request, diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowClient.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowClient.java index 7793b9d6f37..34148d4d5a2 100644 --- a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowClient.java +++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/DataFlowClient.java @@ -1258,6 +1258,36 @@ public StartPoolResponse startPool(StartPoolRequest request) { .callSync(); } + @Override + public StartSqlEndpointResponse startSqlEndpoint(StartSqlEndpointRequest request) { + + Validate.notBlank(request.getSqlEndpointId(), "sqlEndpointId must not be blank"); + + return clientCall(request, StartSqlEndpointResponse::builder) + .logger(LOG, "startSqlEndpoint") + .serviceDetails( + "DataFlow", + "StartSqlEndpoint", + "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpoint/StartSqlEndpoint") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(StartSqlEndpointRequest::builder) + .basePath("/20200129") + .appendPathParam("sqlEndpoints") + .appendPathParam(request.getSqlEndpointId()) + .appendPathParam("actions") + .appendPathParam("start") + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .operationUsesDefaultRetries() + .handleResponseHeaderString( + "opc-request-id", StartSqlEndpointResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-work-request-id", StartSqlEndpointResponse.Builder::opcWorkRequestId) + .callSync(); + } + @Override public StopPoolResponse stopPool(StopPoolRequest request) { @@ -1288,6 +1318,36 @@ public StopPoolResponse stopPool(StopPoolRequest request) { .callSync(); } + @Override + public StopSqlEndpointResponse stopSqlEndpoint(StopSqlEndpointRequest request) { + + Validate.notBlank(request.getSqlEndpointId(), "sqlEndpointId must not be blank"); + + return clientCall(request, StopSqlEndpointResponse::builder) + .logger(LOG, "stopSqlEndpoint") + .serviceDetails( + "DataFlow", + "StopSqlEndpoint", + "https://docs.oracle.com/iaas/api/#/en/data-flow/20200129/SqlEndpoint/StopSqlEndpoint") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(StopSqlEndpointRequest::builder) + .basePath("/20200129") + .appendPathParam("sqlEndpoints") + .appendPathParam(request.getSqlEndpointId()) + .appendPathParam("actions") + .appendPathParam("stop") + .accept("application/json") + .appendHeader("if-match", request.getIfMatch()) + .appendHeader("opc-request-id", request.getOpcRequestId()) + .appendHeader("opc-retry-token", request.getOpcRetryToken()) + .operationUsesDefaultRetries() + .handleResponseHeaderString( + "opc-request-id", StopSqlEndpointResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-work-request-id", StopSqlEndpointResponse.Builder::opcWorkRequestId) + .callSync(); + } + @Override public UpdateApplicationResponse updateApplication(UpdateApplicationRequest request) { Objects.requireNonNull( diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/model/SqlEndpointLifecycleState.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/model/SqlEndpointLifecycleState.java index a6c2d2900d4..c50910ea5b5 100644 --- a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/model/SqlEndpointLifecycleState.java +++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/model/SqlEndpointLifecycleState.java @@ -22,6 +22,7 @@ public enum SqlEndpointLifecycleState implements com.oracle.bmc.http.internal.Bm Failed("FAILED"), Updating("UPDATING"), NeedsAttention("NEEDS_ATTENTION"), + Inactive("INACTIVE"), /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/model/UpdateSqlEndpointDetails.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/model/UpdateSqlEndpointDetails.java index 152826c469e..7a3f7472066 100644 --- a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/model/UpdateSqlEndpointDetails.java +++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/model/UpdateSqlEndpointDetails.java @@ -5,7 +5,7 @@ package com.oracle.bmc.dataflow.model; /** - * Currently only the tags of a SQL Endpoint can be updated.
+ * The information about all updatable parameters of a SQL Endpoint.
* Note: Objects should always be created or deserialized using the {@link Builder}. This model * distinguishes fields that are {@code null} because they are unset from fields that are explicitly * set to {@code null}. This is done in the setter methods of the {@link Builder}, which maintain a @@ -23,13 +23,49 @@ public final class UpdateSqlEndpointDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { @Deprecated - @java.beans.ConstructorProperties({"definedTags", "freeformTags"}) + @java.beans.ConstructorProperties({ + "definedTags", + "freeformTags", + "displayName", + "description", + "driverShape", + "driverShapeConfig", + "executorShape", + "executorShapeConfig", + "minExecutorCount", + "maxExecutorCount", + "metastoreId", + "lakeId", + "sparkAdvancedConfigurations" + }) public UpdateSqlEndpointDetails( java.util.Map> definedTags, - java.util.Map freeformTags) { + java.util.Map freeformTags, + String displayName, + String description, + String driverShape, + ShapeConfig driverShapeConfig, + String executorShape, + ShapeConfig executorShapeConfig, + Integer minExecutorCount, + Integer maxExecutorCount, + String metastoreId, + String lakeId, + java.util.Map sparkAdvancedConfigurations) { super(); this.definedTags = definedTags; this.freeformTags = freeformTags; + this.displayName = displayName; + this.description = description; + this.driverShape = driverShape; + this.driverShapeConfig = driverShapeConfig; + this.executorShape = executorShape; + this.executorShapeConfig = executorShapeConfig; + this.minExecutorCount = minExecutorCount; + this.maxExecutorCount = maxExecutorCount; + this.metastoreId = metastoreId; + this.lakeId = lakeId; + this.sparkAdvancedConfigurations = sparkAdvancedConfigurations; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -81,13 +117,190 @@ public Builder freeformTags(java.util.Map freeformTags) { this.__explicitlySet__.add("freeformTags"); return this; } + /** The SQL Endpoint name, which can be changed. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * The SQL Endpoint name, which can be changed. + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** The description of CreateSQLEndpointDetails. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private String description; + + /** + * The description of CreateSQLEndpointDetails. + * + * @param description the value to set + * @return this builder + */ + public Builder description(String description) { + this.description = description; + this.__explicitlySet__.add("description"); + return this; + } + /** The shape of the SQL Endpoint driver instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("driverShape") + private String driverShape; + + /** + * The shape of the SQL Endpoint driver instance. + * + * @param driverShape the value to set + * @return this builder + */ + public Builder driverShape(String driverShape) { + this.driverShape = driverShape; + this.__explicitlySet__.add("driverShape"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("driverShapeConfig") + private ShapeConfig driverShapeConfig; + + public Builder driverShapeConfig(ShapeConfig driverShapeConfig) { + this.driverShapeConfig = driverShapeConfig; + this.__explicitlySet__.add("driverShapeConfig"); + return this; + } + /** The shape of the SQL Endpoint worker instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("executorShape") + private String executorShape; + + /** + * The shape of the SQL Endpoint worker instance. + * + * @param executorShape the value to set + * @return this builder + */ + public Builder executorShape(String executorShape) { + this.executorShape = executorShape; + this.__explicitlySet__.add("executorShape"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("executorShapeConfig") + private ShapeConfig executorShapeConfig; + + public Builder executorShapeConfig(ShapeConfig executorShapeConfig) { + this.executorShapeConfig = executorShapeConfig; + this.__explicitlySet__.add("executorShapeConfig"); + return this; + } + /** The minimum number of executors. */ + @com.fasterxml.jackson.annotation.JsonProperty("minExecutorCount") + private Integer minExecutorCount; + + /** + * The minimum number of executors. + * + * @param minExecutorCount the value to set + * @return this builder + */ + public Builder minExecutorCount(Integer minExecutorCount) { + this.minExecutorCount = minExecutorCount; + this.__explicitlySet__.add("minExecutorCount"); + return this; + } + /** The maximum number of executors. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxExecutorCount") + private Integer maxExecutorCount; + + /** + * The maximum number of executors. + * + * @param maxExecutorCount the value to set + * @return this builder + */ + public Builder maxExecutorCount(Integer maxExecutorCount) { + this.maxExecutorCount = maxExecutorCount; + this.__explicitlySet__.add("maxExecutorCount"); + return this; + } + /** Metastore OCID */ + @com.fasterxml.jackson.annotation.JsonProperty("metastoreId") + private String metastoreId; + + /** + * Metastore OCID + * + * @param metastoreId the value to set + * @return this builder + */ + public Builder metastoreId(String metastoreId) { + this.metastoreId = metastoreId; + this.__explicitlySet__.add("metastoreId"); + return this; + } + /** OCI lake OCID */ + @com.fasterxml.jackson.annotation.JsonProperty("lakeId") + private String lakeId; + + /** + * OCI lake OCID + * + * @param lakeId the value to set + * @return this builder + */ + public Builder lakeId(String lakeId) { + this.lakeId = lakeId; + this.__explicitlySet__.add("lakeId"); + return this; + } + /** + * The Spark configuration passed to the running process. See + * https://spark.apache.org/docs/latest/configuration.html#available-properties. Example: { + * "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all + * Spark properties are permitted to be set. Attempting to set a property that is not + * allowed to be overwritten will cause a 400 status to be returned. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sparkAdvancedConfigurations") + private java.util.Map sparkAdvancedConfigurations; + + /** + * The Spark configuration passed to the running process. See + * https://spark.apache.org/docs/latest/configuration.html#available-properties. Example: { + * "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all + * Spark properties are permitted to be set. Attempting to set a property that is not + * allowed to be overwritten will cause a 400 status to be returned. + * + * @param sparkAdvancedConfigurations the value to set + * @return this builder + */ + public Builder sparkAdvancedConfigurations( + java.util.Map sparkAdvancedConfigurations) { + this.sparkAdvancedConfigurations = sparkAdvancedConfigurations; + this.__explicitlySet__.add("sparkAdvancedConfigurations"); + return this; + } @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); public UpdateSqlEndpointDetails build() { UpdateSqlEndpointDetails model = - new UpdateSqlEndpointDetails(this.definedTags, this.freeformTags); + new UpdateSqlEndpointDetails( + this.definedTags, + this.freeformTags, + this.displayName, + this.description, + this.driverShape, + this.driverShapeConfig, + this.executorShape, + this.executorShapeConfig, + this.minExecutorCount, + this.maxExecutorCount, + this.metastoreId, + this.lakeId, + this.sparkAdvancedConfigurations); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -102,6 +315,39 @@ public Builder copy(UpdateSqlEndpointDetails model) { if (model.wasPropertyExplicitlySet("freeformTags")) { this.freeformTags(model.getFreeformTags()); } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + if (model.wasPropertyExplicitlySet("description")) { + this.description(model.getDescription()); + } + if (model.wasPropertyExplicitlySet("driverShape")) { + this.driverShape(model.getDriverShape()); + } + if (model.wasPropertyExplicitlySet("driverShapeConfig")) { + this.driverShapeConfig(model.getDriverShapeConfig()); + } + if (model.wasPropertyExplicitlySet("executorShape")) { + this.executorShape(model.getExecutorShape()); + } + if (model.wasPropertyExplicitlySet("executorShapeConfig")) { + this.executorShapeConfig(model.getExecutorShapeConfig()); + } + if (model.wasPropertyExplicitlySet("minExecutorCount")) { + this.minExecutorCount(model.getMinExecutorCount()); + } + if (model.wasPropertyExplicitlySet("maxExecutorCount")) { + this.maxExecutorCount(model.getMaxExecutorCount()); + } + if (model.wasPropertyExplicitlySet("metastoreId")) { + this.metastoreId(model.getMetastoreId()); + } + if (model.wasPropertyExplicitlySet("lakeId")) { + this.lakeId(model.getLakeId()); + } + if (model.wasPropertyExplicitlySet("sparkAdvancedConfigurations")) { + this.sparkAdvancedConfigurations(model.getSparkAdvancedConfigurations()); + } return this; } } @@ -157,6 +403,147 @@ public java.util.Map getFreeformTags() { return freeformTags; } + /** The SQL Endpoint name, which can be changed. */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * The SQL Endpoint name, which can be changed. + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** The description of CreateSQLEndpointDetails. */ + @com.fasterxml.jackson.annotation.JsonProperty("description") + private final String description; + + /** + * The description of CreateSQLEndpointDetails. + * + * @return the value + */ + public String getDescription() { + return description; + } + + /** The shape of the SQL Endpoint driver instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("driverShape") + private final String driverShape; + + /** + * The shape of the SQL Endpoint driver instance. + * + * @return the value + */ + public String getDriverShape() { + return driverShape; + } + + @com.fasterxml.jackson.annotation.JsonProperty("driverShapeConfig") + private final ShapeConfig driverShapeConfig; + + public ShapeConfig getDriverShapeConfig() { + return driverShapeConfig; + } + + /** The shape of the SQL Endpoint worker instance. */ + @com.fasterxml.jackson.annotation.JsonProperty("executorShape") + private final String executorShape; + + /** + * The shape of the SQL Endpoint worker instance. + * + * @return the value + */ + public String getExecutorShape() { + return executorShape; + } + + @com.fasterxml.jackson.annotation.JsonProperty("executorShapeConfig") + private final ShapeConfig executorShapeConfig; + + public ShapeConfig getExecutorShapeConfig() { + return executorShapeConfig; + } + + /** The minimum number of executors. */ + @com.fasterxml.jackson.annotation.JsonProperty("minExecutorCount") + private final Integer minExecutorCount; + + /** + * The minimum number of executors. + * + * @return the value + */ + public Integer getMinExecutorCount() { + return minExecutorCount; + } + + /** The maximum number of executors. */ + @com.fasterxml.jackson.annotation.JsonProperty("maxExecutorCount") + private final Integer maxExecutorCount; + + /** + * The maximum number of executors. + * + * @return the value + */ + public Integer getMaxExecutorCount() { + return maxExecutorCount; + } + + /** Metastore OCID */ + @com.fasterxml.jackson.annotation.JsonProperty("metastoreId") + private final String metastoreId; + + /** + * Metastore OCID + * + * @return the value + */ + public String getMetastoreId() { + return metastoreId; + } + + /** OCI lake OCID */ + @com.fasterxml.jackson.annotation.JsonProperty("lakeId") + private final String lakeId; + + /** + * OCI lake OCID + * + * @return the value + */ + public String getLakeId() { + return lakeId; + } + + /** + * The Spark configuration passed to the running process. See + * https://spark.apache.org/docs/latest/configuration.html#available-properties. Example: { + * "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all Spark + * properties are permitted to be set. Attempting to set a property that is not allowed to be + * overwritten will cause a 400 status to be returned. + */ + @com.fasterxml.jackson.annotation.JsonProperty("sparkAdvancedConfigurations") + private final java.util.Map sparkAdvancedConfigurations; + + /** + * The Spark configuration passed to the running process. See + * https://spark.apache.org/docs/latest/configuration.html#available-properties. Example: { + * "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all Spark + * properties are permitted to be set. Attempting to set a property that is not allowed to be + * overwritten will cause a 400 status to be returned. + * + * @return the value + */ + public java.util.Map getSparkAdvancedConfigurations() { + return sparkAdvancedConfigurations; + } + @Override public String toString() { return this.toString(true); @@ -174,6 +561,18 @@ public String toString(boolean includeByteArrayContents) { sb.append("super=").append(super.toString()); sb.append("definedTags=").append(String.valueOf(this.definedTags)); sb.append(", freeformTags=").append(String.valueOf(this.freeformTags)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + sb.append(", description=").append(String.valueOf(this.description)); + sb.append(", driverShape=").append(String.valueOf(this.driverShape)); + sb.append(", driverShapeConfig=").append(String.valueOf(this.driverShapeConfig)); + sb.append(", executorShape=").append(String.valueOf(this.executorShape)); + sb.append(", executorShapeConfig=").append(String.valueOf(this.executorShapeConfig)); + sb.append(", minExecutorCount=").append(String.valueOf(this.minExecutorCount)); + sb.append(", maxExecutorCount=").append(String.valueOf(this.maxExecutorCount)); + sb.append(", metastoreId=").append(String.valueOf(this.metastoreId)); + sb.append(", lakeId=").append(String.valueOf(this.lakeId)); + sb.append(", sparkAdvancedConfigurations=") + .append(String.valueOf(this.sparkAdvancedConfigurations)); sb.append(")"); return sb.toString(); } @@ -190,6 +589,18 @@ public boolean equals(Object o) { UpdateSqlEndpointDetails other = (UpdateSqlEndpointDetails) o; return java.util.Objects.equals(this.definedTags, other.definedTags) && java.util.Objects.equals(this.freeformTags, other.freeformTags) + && java.util.Objects.equals(this.displayName, other.displayName) + && java.util.Objects.equals(this.description, other.description) + && java.util.Objects.equals(this.driverShape, other.driverShape) + && java.util.Objects.equals(this.driverShapeConfig, other.driverShapeConfig) + && java.util.Objects.equals(this.executorShape, other.executorShape) + && java.util.Objects.equals(this.executorShapeConfig, other.executorShapeConfig) + && java.util.Objects.equals(this.minExecutorCount, other.minExecutorCount) + && java.util.Objects.equals(this.maxExecutorCount, other.maxExecutorCount) + && java.util.Objects.equals(this.metastoreId, other.metastoreId) + && java.util.Objects.equals(this.lakeId, other.lakeId) + && java.util.Objects.equals( + this.sparkAdvancedConfigurations, other.sparkAdvancedConfigurations) && super.equals(other); } @@ -199,6 +610,33 @@ public int hashCode() { int result = 1; result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode()); result = (result * PRIME) + (this.freeformTags == null ? 43 : this.freeformTags.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.driverShape == null ? 43 : this.driverShape.hashCode()); + result = + (result * PRIME) + + (this.driverShapeConfig == null ? 43 : this.driverShapeConfig.hashCode()); + result = + (result * PRIME) + + (this.executorShape == null ? 43 : this.executorShape.hashCode()); + result = + (result * PRIME) + + (this.executorShapeConfig == null + ? 43 + : this.executorShapeConfig.hashCode()); + result = + (result * PRIME) + + (this.minExecutorCount == null ? 43 : this.minExecutorCount.hashCode()); + result = + (result * PRIME) + + (this.maxExecutorCount == null ? 43 : this.maxExecutorCount.hashCode()); + result = (result * PRIME) + (this.metastoreId == null ? 43 : this.metastoreId.hashCode()); + result = (result * PRIME) + (this.lakeId == null ? 43 : this.lakeId.hashCode()); + result = + (result * PRIME) + + (this.sparkAdvancedConfigurations == null + ? 43 + : this.sparkAdvancedConfigurations.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/requests/StartSqlEndpointRequest.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/requests/StartSqlEndpointRequest.java new file mode 100644 index 00000000000..6cedef903c7 --- /dev/null +++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/requests/StartSqlEndpointRequest.java @@ -0,0 +1,300 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.dataflow.requests; + +import com.oracle.bmc.dataflow.model.*; +/** + * Example: Click here to see how to use StartSqlEndpointRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200129") +public class StartSqlEndpointRequest extends com.oracle.bmc.requests.BmcRequest { + + /** The unique id of the SQL Endpoint. */ + private String sqlEndpointId; + + /** The unique id of the SQL Endpoint. */ + public String getSqlEndpointId() { + return sqlEndpointId; + } + /** + * 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 will be 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 will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + /** + * Unique identifier for the request. If provided, the returned request ID will include this + * value. Otherwise, a random request ID will be generated by the service. + */ + private String opcRequestId; + + /** + * Unique identifier for the request. If provided, the returned request ID will include this + * value. Otherwise, a random request ID will be generated by the service. + */ + 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 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 has been deleted and purged from the system, then a retry of the original creation + * request may be 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 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 has been deleted and purged from the system, then a retry of the original creation + * request may be rejected. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + StartSqlEndpointRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** The unique id of the SQL Endpoint. */ + private String sqlEndpointId = null; + + /** + * The unique id of the SQL Endpoint. + * + * @param sqlEndpointId the value to set + * @return this builder instance + */ + public Builder sqlEndpointId(String sqlEndpointId) { + this.sqlEndpointId = sqlEndpointId; + 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 will be 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 will be 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; + } + + /** + * Unique identifier for the request. If provided, the returned request ID will include this + * value. Otherwise, a random request ID will be generated by the service. + */ + private String opcRequestId = null; + + /** + * Unique identifier for the request. If provided, the returned request ID will include this + * value. Otherwise, a random request ID will be generated by the service. + * + * @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 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 has been deleted and purged from the system, then a retry of the original + * creation request may be 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 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 has been deleted and purged from the system, then a retry of the original + * creation request may be 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(StartSqlEndpointRequest o) { + sqlEndpointId(o.getSqlEndpointId()); + ifMatch(o.getIfMatch()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of StartSqlEndpointRequest 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 StartSqlEndpointRequest + */ + public StartSqlEndpointRequest build() { + StartSqlEndpointRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of StartSqlEndpointRequest 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 StartSqlEndpointRequest + */ + public StartSqlEndpointRequest buildWithoutInvocationCallback() { + StartSqlEndpointRequest request = new StartSqlEndpointRequest(); + request.sqlEndpointId = sqlEndpointId; + request.ifMatch = ifMatch; + request.opcRequestId = opcRequestId; + request.opcRetryToken = opcRetryToken; + return request; + // new StartSqlEndpointRequest(sqlEndpointId, 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() + .sqlEndpointId(sqlEndpointId) + .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(",sqlEndpointId=").append(String.valueOf(this.sqlEndpointId)); + 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 StartSqlEndpointRequest)) { + return false; + } + + StartSqlEndpointRequest other = (StartSqlEndpointRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.sqlEndpointId, other.sqlEndpointId) + && 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.sqlEndpointId == null ? 43 : this.sqlEndpointId.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-dataflow/src/main/java/com/oracle/bmc/dataflow/requests/StopSqlEndpointRequest.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/requests/StopSqlEndpointRequest.java new file mode 100644 index 00000000000..a36be045f13 --- /dev/null +++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/requests/StopSqlEndpointRequest.java @@ -0,0 +1,300 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ +package com.oracle.bmc.dataflow.requests; + +import com.oracle.bmc.dataflow.model.*; +/** + * Example: Click here to see how to use StopSqlEndpointRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200129") +public class StopSqlEndpointRequest extends com.oracle.bmc.requests.BmcRequest { + + /** The unique id of the SQL Endpoint. */ + private String sqlEndpointId; + + /** The unique id of the SQL Endpoint. */ + public String getSqlEndpointId() { + return sqlEndpointId; + } + /** + * 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 will be 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 will be updated or deleted only if the etag you provide matches the + * resource's current etag value. + */ + public String getIfMatch() { + return ifMatch; + } + /** + * Unique identifier for the request. If provided, the returned request ID will include this + * value. Otherwise, a random request ID will be generated by the service. + */ + private String opcRequestId; + + /** + * Unique identifier for the request. If provided, the returned request ID will include this + * value. Otherwise, a random request ID will be generated by the service. + */ + 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 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 has been deleted and purged from the system, then a retry of the original creation + * request may be 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 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 has been deleted and purged from the system, then a retry of the original creation + * request may be rejected. + */ + public String getOpcRetryToken() { + return opcRetryToken; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + StopSqlEndpointRequest, java.lang.Void> { + private com.oracle.bmc.http.client.RequestInterceptor invocationCallback = null; + private com.oracle.bmc.retrier.RetryConfiguration retryConfiguration = null; + + /** The unique id of the SQL Endpoint. */ + private String sqlEndpointId = null; + + /** + * The unique id of the SQL Endpoint. + * + * @param sqlEndpointId the value to set + * @return this builder instance + */ + public Builder sqlEndpointId(String sqlEndpointId) { + this.sqlEndpointId = sqlEndpointId; + 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 will be 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 will be 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; + } + + /** + * Unique identifier for the request. If provided, the returned request ID will include this + * value. Otherwise, a random request ID will be generated by the service. + */ + private String opcRequestId = null; + + /** + * Unique identifier for the request. If provided, the returned request ID will include this + * value. Otherwise, a random request ID will be generated by the service. + * + * @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 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 has been deleted and purged from the system, then a retry of the original + * creation request may be 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 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 has been deleted and purged from the system, then a retry of the original + * creation request may be 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(StopSqlEndpointRequest o) { + sqlEndpointId(o.getSqlEndpointId()); + ifMatch(o.getIfMatch()); + opcRequestId(o.getOpcRequestId()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of StopSqlEndpointRequest 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 StopSqlEndpointRequest + */ + public StopSqlEndpointRequest build() { + StopSqlEndpointRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of StopSqlEndpointRequest 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 StopSqlEndpointRequest + */ + public StopSqlEndpointRequest buildWithoutInvocationCallback() { + StopSqlEndpointRequest request = new StopSqlEndpointRequest(); + request.sqlEndpointId = sqlEndpointId; + request.ifMatch = ifMatch; + request.opcRequestId = opcRequestId; + request.opcRetryToken = opcRetryToken; + return request; + // new StopSqlEndpointRequest(sqlEndpointId, 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() + .sqlEndpointId(sqlEndpointId) + .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(",sqlEndpointId=").append(String.valueOf(this.sqlEndpointId)); + 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 StopSqlEndpointRequest)) { + return false; + } + + StopSqlEndpointRequest other = (StopSqlEndpointRequest) o; + return super.equals(o) + && java.util.Objects.equals(this.sqlEndpointId, other.sqlEndpointId) + && 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.sqlEndpointId == null ? 43 : this.sqlEndpointId.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-cims/src/main/java/com/oracle/bmc/cims/responses/GetStatusResponse.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/responses/StartSqlEndpointResponse.java similarity index 64% rename from bmc-cims/src/main/java/com/oracle/bmc/cims/responses/GetStatusResponse.java rename to bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/responses/StartSqlEndpointResponse.java index b748003d543..0b019d50d04 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/responses/GetStatusResponse.java +++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/responses/StartSqlEndpointResponse.java @@ -2,20 +2,20 @@ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ -package com.oracle.bmc.cims.responses; +package com.oracle.bmc.dataflow.responses; -import com.oracle.bmc.cims.model.*; +import com.oracle.bmc.dataflow.model.*; -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181231") -public class GetStatusResponse extends com.oracle.bmc.responses.BmcResponse { +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200129") +public class StartSqlEndpointResponse extends com.oracle.bmc.responses.BmcResponse { /** - * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * 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 + * 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 @@ -24,31 +24,36 @@ public String getOpcRequestId() { return opcRequestId; } - /** The returned {@code Status} instance. */ - private com.oracle.bmc.cims.model.Status status; + /** Unique Oracle assigned identifier for a work request. */ + private String opcWorkRequestId; /** - * The returned {@code Status} instance. + * Unique Oracle assigned identifier for a work request. * * @return the value */ - public com.oracle.bmc.cims.model.Status getStatus() { - return status; + public String getOpcWorkRequestId() { + return opcWorkRequestId; } - @java.beans.ConstructorProperties({"__httpStatusCode__", "headers", "opcRequestId", "status"}) - private GetStatusResponse( + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcWorkRequestId" + }) + private StartSqlEndpointResponse( int __httpStatusCode__, java.util.Map> headers, String opcRequestId, - com.oracle.bmc.cims.model.Status status) { + String opcWorkRequestId) { super(__httpStatusCode__, headers); this.opcRequestId = opcRequestId; - this.status = status; + this.opcWorkRequestId = opcWorkRequestId; } public static class Builder - implements com.oracle.bmc.responses.BmcResponse.Builder { + implements com.oracle.bmc.responses.BmcResponse.Builder { private int __httpStatusCode__; @Override @@ -66,13 +71,13 @@ public Builder headers(java.util.Map> headers) { } /** - * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * 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 + * 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 @@ -83,17 +88,17 @@ public Builder opcRequestId(String opcRequestId) { return this; } - /** The returned {@code Status} instance. */ - private com.oracle.bmc.cims.model.Status status; + /** Unique Oracle assigned identifier for a work request. */ + private String opcWorkRequestId; /** - * The returned {@code Status} instance. + * Unique Oracle assigned identifier for a work request. * - * @param status the value to set + * @param opcWorkRequestId the value to set * @return this builder */ - public Builder status(com.oracle.bmc.cims.model.Status status) { - this.status = status; + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; return this; } @@ -103,11 +108,11 @@ public Builder status(com.oracle.bmc.cims.model.Status status) { * @return this builder instance */ @Override - public Builder copy(GetStatusResponse o) { + public Builder copy(StartSqlEndpointResponse o) { __httpStatusCode__(o.get__httpStatusCode__()); headers(o.getHeaders()); opcRequestId(o.getOpcRequestId()); - status(o.getStatus()); + opcWorkRequestId(o.getOpcWorkRequestId()); return this; } @@ -118,8 +123,9 @@ public Builder copy(GetStatusResponse o) { * @return the response object */ @Override - public GetStatusResponse build() { - return new GetStatusResponse(__httpStatusCode__, headers, opcRequestId, status); + public StartSqlEndpointResponse build() { + return new StartSqlEndpointResponse( + __httpStatusCode__, headers, opcRequestId, opcWorkRequestId); } } @@ -138,7 +144,7 @@ public String toString() { sb.append("("); sb.append("super=").append(super.toString()); sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); - sb.append(",status=").append(String.valueOf(status)); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); sb.append(")"); return sb.toString(); } @@ -148,14 +154,14 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof GetStatusResponse)) { + if (!(o instanceof StartSqlEndpointResponse)) { return false; } - GetStatusResponse other = (GetStatusResponse) o; + StartSqlEndpointResponse other = (StartSqlEndpointResponse) o; return super.equals(o) && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) - && java.util.Objects.equals(this.status, other.status); + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId); } @Override @@ -163,7 +169,9 @@ 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.status == null ? 43 : this.status.hashCode()); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); return result; } } diff --git a/bmc-cims/src/main/java/com/oracle/bmc/cims/responses/GetCsiNumberResponse.java b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/responses/StopSqlEndpointResponse.java similarity index 64% rename from bmc-cims/src/main/java/com/oracle/bmc/cims/responses/GetCsiNumberResponse.java rename to bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/responses/StopSqlEndpointResponse.java index a5b327d8848..8f6a3dc65d6 100644 --- a/bmc-cims/src/main/java/com/oracle/bmc/cims/responses/GetCsiNumberResponse.java +++ b/bmc-dataflow/src/main/java/com/oracle/bmc/dataflow/responses/StopSqlEndpointResponse.java @@ -2,20 +2,20 @@ * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ -package com.oracle.bmc.cims.responses; +package com.oracle.bmc.dataflow.responses; -import com.oracle.bmc.cims.model.*; +import com.oracle.bmc.dataflow.model.*; -@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20181231") -public class GetCsiNumberResponse extends com.oracle.bmc.responses.BmcResponse { +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200129") +public class StopSqlEndpointResponse extends com.oracle.bmc.responses.BmcResponse { /** - * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * 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 + * 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 @@ -24,31 +24,36 @@ public String getOpcRequestId() { return opcRequestId; } - /** The returned {@code String} instance. */ - private String value; + /** Unique Oracle assigned identifier for a work request. */ + private String opcWorkRequestId; /** - * The returned {@code String} instance. + * Unique Oracle assigned identifier for a work request. * * @return the value */ - public String getValue() { - return value; + public String getOpcWorkRequestId() { + return opcWorkRequestId; } - @java.beans.ConstructorProperties({"__httpStatusCode__", "headers", "opcRequestId", "value"}) - private GetCsiNumberResponse( + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcWorkRequestId" + }) + private StopSqlEndpointResponse( int __httpStatusCode__, java.util.Map> headers, String opcRequestId, - String value) { + String opcWorkRequestId) { super(__httpStatusCode__, headers); this.opcRequestId = opcRequestId; - this.value = value; + this.opcWorkRequestId = opcWorkRequestId; } public static class Builder - implements com.oracle.bmc.responses.BmcResponse.Builder { + implements com.oracle.bmc.responses.BmcResponse.Builder { private int __httpStatusCode__; @Override @@ -66,13 +71,13 @@ public Builder headers(java.util.Map> headers) { } /** - * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * 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 + * 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 @@ -83,17 +88,17 @@ public Builder opcRequestId(String opcRequestId) { return this; } - /** The returned {@code String} instance. */ - private String value; + /** Unique Oracle assigned identifier for a work request. */ + private String opcWorkRequestId; /** - * The returned {@code String} instance. + * Unique Oracle assigned identifier for a work request. * - * @param value the value to set + * @param opcWorkRequestId the value to set * @return this builder */ - public Builder value(String value) { - this.value = value; + public Builder opcWorkRequestId(String opcWorkRequestId) { + this.opcWorkRequestId = opcWorkRequestId; return this; } @@ -103,11 +108,11 @@ public Builder value(String value) { * @return this builder instance */ @Override - public Builder copy(GetCsiNumberResponse o) { + public Builder copy(StopSqlEndpointResponse o) { __httpStatusCode__(o.get__httpStatusCode__()); headers(o.getHeaders()); opcRequestId(o.getOpcRequestId()); - value(o.getValue()); + opcWorkRequestId(o.getOpcWorkRequestId()); return this; } @@ -118,8 +123,9 @@ public Builder copy(GetCsiNumberResponse o) { * @return the response object */ @Override - public GetCsiNumberResponse build() { - return new GetCsiNumberResponse(__httpStatusCode__, headers, opcRequestId, value); + public StopSqlEndpointResponse build() { + return new StopSqlEndpointResponse( + __httpStatusCode__, headers, opcRequestId, opcWorkRequestId); } } @@ -138,7 +144,7 @@ public String toString() { sb.append("("); sb.append("super=").append(super.toString()); sb.append(",opcRequestId=").append(String.valueOf(opcRequestId)); - sb.append(",value=").append(String.valueOf(value)); + sb.append(",opcWorkRequestId=").append(String.valueOf(opcWorkRequestId)); sb.append(")"); return sb.toString(); } @@ -148,14 +154,14 @@ public boolean equals(Object o) { if (this == o) { return true; } - if (!(o instanceof GetCsiNumberResponse)) { + if (!(o instanceof StopSqlEndpointResponse)) { return false; } - GetCsiNumberResponse other = (GetCsiNumberResponse) o; + StopSqlEndpointResponse other = (StopSqlEndpointResponse) o; return super.equals(o) && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) - && java.util.Objects.equals(this.value, other.value); + && java.util.Objects.equals(this.opcWorkRequestId, other.opcWorkRequestId); } @Override @@ -163,7 +169,9 @@ 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.value == null ? 43 : this.value.hashCode()); + result = + (result * PRIME) + + (this.opcWorkRequestId == null ? 43 : this.opcWorkRequestId.hashCode()); return result; } } diff --git a/bmc-dataintegration/pom.xml b/bmc-dataintegration/pom.xml index 19377dcca25..9a4a6c13678 100644 --- a/bmc-dataintegration/pom.xml +++ b/bmc-dataintegration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-dataintegration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-datalabelingservice/pom.xml b/bmc-datalabelingservice/pom.xml index 8c846a8958b..8096f603ad5 100644 --- a/bmc-datalabelingservice/pom.xml +++ b/bmc-datalabelingservice/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-datalabelingservice @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-datalabelingservicedataplane/pom.xml b/bmc-datalabelingservicedataplane/pom.xml index e5fe1dde30e..74fef838b48 100644 --- a/bmc-datalabelingservicedataplane/pom.xml +++ b/bmc-datalabelingservicedataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-datalabelingservicedataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-datasafe/pom.xml b/bmc-datasafe/pom.xml index 1683ed8acb3..8e6c9ab5e1e 100644 --- a/bmc-datasafe/pom.xml +++ b/bmc-datasafe/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-datasafe @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-datascience/pom.xml b/bmc-datascience/pom.xml index 37230f9a21e..0c28db0872c 100644 --- a/bmc-datascience/pom.xml +++ b/bmc-datascience/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-datascience @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-delegateaccesscontrol/pom.xml b/bmc-delegateaccesscontrol/pom.xml index 6d3100392b6..3fe66217064 100644 --- a/bmc-delegateaccesscontrol/pom.xml +++ b/bmc-delegateaccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-delegateaccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-demandsignal/pom.xml b/bmc-demandsignal/pom.xml index 82332307d17..a1c9e539761 100644 --- a/bmc-demandsignal/pom.xml +++ b/bmc-demandsignal/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-demandsignal @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-desktops/pom.xml b/bmc-desktops/pom.xml index 65cf0114e17..c9ba6ff15d4 100644 --- a/bmc-desktops/pom.xml +++ b/bmc-desktops/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-desktops @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-devops/pom.xml b/bmc-devops/pom.xml index 08fe77c20b5..526097b87f0 100644 --- a/bmc-devops/pom.xml +++ b/bmc-devops/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-devops @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-disasterrecovery/pom.xml b/bmc-disasterrecovery/pom.xml index 51be055c8f5..bfa6ca19413 100644 --- a/bmc-disasterrecovery/pom.xml +++ b/bmc-disasterrecovery/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-disasterrecovery @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-dns/pom.xml b/bmc-dns/pom.xml index 3ca505196f9..e1bd043cfbd 100644 --- a/bmc-dns/pom.xml +++ b/bmc-dns/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.52.1 + 3.53.0 diff --git a/bmc-dts/pom.xml b/bmc-dts/pom.xml index fdc5ddb027c..9198c76136f 100644 --- a/bmc-dts/pom.xml +++ b/bmc-dts/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-dts @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-email/pom.xml b/bmc-email/pom.xml index 44b10bbf4f9..68135b8af3d 100644 --- a/bmc-email/pom.xml +++ b/bmc-email/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-emaildataplane/pom.xml b/bmc-emaildataplane/pom.xml index 649e6e0608a..b3d2a62f0e3 100644 --- a/bmc-emaildataplane/pom.xml +++ b/bmc-emaildataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-emaildataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-emwarehouse/pom.xml b/bmc-emwarehouse/pom.xml index 27326c0ebb5..c9e25d42864 100644 --- a/bmc-emwarehouse/pom.xml +++ b/bmc-emwarehouse/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-emwarehouse @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-encryption/pom.xml b/bmc-encryption/pom.xml index d8083a9fc3b..f098e4c4063 100644 --- a/bmc-encryption/pom.xml +++ b/bmc-encryption/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml @@ -18,17 +18,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-keymanagement - 3.52.1 + 3.53.0 com.fasterxml.jackson.core @@ -43,7 +43,7 @@ com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.52.1 + 3.53.0 test diff --git a/bmc-enforcer-rules/pom.xml b/bmc-enforcer-rules/pom.xml index f428fd4c21e..c1b839567fd 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.52.1 + 3.53.0 oci-java-sdk-enforcer-rules diff --git a/bmc-events/pom.xml b/bmc-events/pom.xml index 952d1116967..08549b2ca32 100644 --- a/bmc-events/pom.xml +++ b/bmc-events/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-events @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-examples/pom.xml b/bmc-examples/pom.xml index 868e62a98c5..a3ab341c884 100644 --- a/bmc-examples/pom.xml +++ b/bmc-examples/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-examples @@ -71,14 +71,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.52.1 + 3.53.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.52.1 + 3.53.0 pom import diff --git a/bmc-filestorage/pom.xml b/bmc-filestorage/pom.xml index 3209f432906..b5dc734a469 100644 --- a/bmc-filestorage/pom.xml +++ b/bmc-filestorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-fleetappsmanagement/pom.xml b/bmc-fleetappsmanagement/pom.xml index 3a6dc40b05e..6b881ed616f 100644 --- a/bmc-fleetappsmanagement/pom.xml +++ b/bmc-fleetappsmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-fleetappsmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-fleetsoftwareupdate/pom.xml b/bmc-fleetsoftwareupdate/pom.xml index 65dd9f7288d..c4d95ea0e18 100644 --- a/bmc-fleetsoftwareupdate/pom.xml +++ b/bmc-fleetsoftwareupdate/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-fleetsoftwareupdate @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-full/pom.xml b/bmc-full/pom.xml index 2f11014fc8b..3cbd1774679 100644 --- a/bmc-full/pom.xml +++ b/bmc-full/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-full @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.52.1 + 3.53.0 pom import diff --git a/bmc-functions/pom.xml b/bmc-functions/pom.xml index 54400a26efc..6b6449b2dbb 100644 --- a/bmc-functions/pom.xml +++ b/bmc-functions/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-functions @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-fusionapps/pom.xml b/bmc-fusionapps/pom.xml index 9ec3dfefab2..3eb7557611f 100644 --- a/bmc-fusionapps/pom.xml +++ b/bmc-fusionapps/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-fusionapps @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-generativeai/pom.xml b/bmc-generativeai/pom.xml index 4b0cb6a3e9d..48f7e3c6a94 100644 --- a/bmc-generativeai/pom.xml +++ b/bmc-generativeai/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-generativeai @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-generativeaiagent/pom.xml b/bmc-generativeaiagent/pom.xml index fe314707727..90c6fe45e0c 100644 --- a/bmc-generativeaiagent/pom.xml +++ b/bmc-generativeaiagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-generativeaiagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-generativeaiagentruntime/pom.xml b/bmc-generativeaiagentruntime/pom.xml index fe0ff605635..cb370313793 100644 --- a/bmc-generativeaiagentruntime/pom.xml +++ b/bmc-generativeaiagentruntime/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-generativeaiagentruntime @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-generativeaiinference/pom.xml b/bmc-generativeaiinference/pom.xml index 8b7e0157a01..4b8f02ede6b 100644 --- a/bmc-generativeaiinference/pom.xml +++ b/bmc-generativeaiinference/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-generativeaiinference @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-genericartifactscontent/pom.xml b/bmc-genericartifactscontent/pom.xml index 3b6aa8822b3..b463694c130 100644 --- a/bmc-genericartifactscontent/pom.xml +++ b/bmc-genericartifactscontent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-genericartifactscontent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-globallydistributeddatabase/pom.xml b/bmc-globallydistributeddatabase/pom.xml index ff0924244c9..31a55cedd4b 100644 --- a/bmc-globallydistributeddatabase/pom.xml +++ b/bmc-globallydistributeddatabase/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-globallydistributeddatabase @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-goldengate/pom.xml b/bmc-goldengate/pom.xml index 467951b0530..d56d7c9af4a 100644 --- a/bmc-goldengate/pom.xml +++ b/bmc-goldengate/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-goldengate @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-governancerulescontrolplane/pom.xml b/bmc-governancerulescontrolplane/pom.xml index 89c89d075ff..e007029caa5 100644 --- a/bmc-governancerulescontrolplane/pom.xml +++ b/bmc-governancerulescontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-governancerulescontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-healthchecks/pom.xml b/bmc-healthchecks/pom.xml index cf86892f4aa..e11b754cde7 100644 --- a/bmc-healthchecks/pom.xml +++ b/bmc-healthchecks/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-healthchecks @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-identity/pom.xml b/bmc-identity/pom.xml index 71e9801e890..3894cd125f9 100644 --- a/bmc-identity/pom.xml +++ b/bmc-identity/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-identitydataplane/pom.xml b/bmc-identitydataplane/pom.xml index 600037fa98d..558e5a2f55b 100644 --- a/bmc-identitydataplane/pom.xml +++ b/bmc-identitydataplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-identitydataplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-identitydomains/pom.xml b/bmc-identitydomains/pom.xml index 20869edd360..3255417be33 100644 --- a/bmc-identitydomains/pom.xml +++ b/bmc-identitydomains/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-identitydomains @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.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 bc348e9fcfd..8a6eab332b0 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 @@ -212,7 +212,7 @@ CreateAuthenticationFactorsRemoverResponse createAuthenticationFactorsRemover( CreateCloudGateServerResponse createCloudGateServer(CreateCloudGateServerRequest request); /** - * Create a Condition + * Create a condition * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -603,7 +603,7 @@ CreateOAuthPartnerCertificateResponse createOAuthPartnerCertificate( CreatePasswordPolicyResponse createPasswordPolicy(CreatePasswordPolicyRequest request); /** - * Create a Policy + * Create a Policy. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -618,7 +618,24 @@ CreateOAuthPartnerCertificateResponse createOAuthPartnerCertificate( CreatePolicyResponse createPolicy(CreatePolicyRequest request); /** - * Create a Rule + * Create a RestoreOciConsolePolicy entry to restore Policy to factory default. + * + * @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 + * CreateRestoreOciConsolePolicy API. + */ + CreateRestoreOciConsolePolicyResponse createRestoreOciConsolePolicy( + CreateRestoreOciConsolePolicyRequest request); + + /** + * Create a Rule. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -889,7 +906,7 @@ DeleteApprovalWorkflowStepResponse deleteApprovalWorkflowStep( DeleteCloudGateServerResponse deleteCloudGateServer(DeleteCloudGateServerRequest request); /** - * Delete a Condition + * Delete a condition. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1230,7 +1247,7 @@ DeleteOAuthPartnerCertificateResponse deleteOAuthPartnerCertificate( DeletePasswordPolicyResponse deletePasswordPolicy(DeletePasswordPolicyRequest request); /** - * Delete a Policy + * Delete a Policy. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1245,7 +1262,7 @@ DeleteOAuthPartnerCertificateResponse deleteOAuthPartnerCertificate( DeletePolicyResponse deletePolicy(DeletePolicyRequest request); /** - * Delete a Rule + * Delete a Rule. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -1579,7 +1596,7 @@ GetAuthenticationFactorSettingResponse getAuthenticationFactorSetting( GetCloudGateServerResponse getCloudGateServer(GetCloudGateServerRequest request); /** - * Get a Condition + * Get a condition. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2008,6 +2025,23 @@ GetOAuthClientCertificateResponse getOAuthClientCertificate( GetOAuthPartnerCertificateResponse getOAuthPartnerCertificate( GetOAuthPartnerCertificateRequest request); + /** + * Get a OciConsoleSignOnPolicyConsent Entry. + * + * @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 + * GetOciConsoleSignOnPolicyConsent API. + */ + GetOciConsoleSignOnPolicyConsentResponse getOciConsoleSignOnPolicyConsent( + GetOciConsoleSignOnPolicyConsentRequest request); + /** * Get a password policy. * @@ -2025,7 +2059,7 @@ GetOAuthPartnerCertificateResponse getOAuthPartnerCertificate( GetPasswordPolicyResponse getPasswordPolicy(GetPasswordPolicyRequest request); /** - * Get a Policy + * Get a Policy. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2040,7 +2074,7 @@ GetOAuthPartnerCertificateResponse getOAuthPartnerCertificate( GetPolicyResponse getPolicy(GetPolicyRequest request); /** - * Get a Rule + * Get a Rule. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2439,7 +2473,7 @@ ListAuthenticationFactorSettingsResponse listAuthenticationFactorSettings( ListCloudGatesResponse listCloudGates(ListCloudGatesRequest request); /** - * Search Conditions + * Search conditions. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2905,6 +2939,23 @@ ListOAuthClientCertificatesResponse listOAuthClientCertificates( ListOAuthPartnerCertificatesResponse listOAuthPartnerCertificates( ListOAuthPartnerCertificatesRequest request); + /** + * Search OciConsoleSignOnPolicyConsent entries + * + * @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 + * ListOciConsoleSignOnPolicyConsents API. + */ + ListOciConsoleSignOnPolicyConsentsResponse listOciConsoleSignOnPolicyConsents( + ListOciConsoleSignOnPolicyConsentsRequest request); + /** * Search for password policies. * @@ -2922,7 +2973,7 @@ ListOAuthPartnerCertificatesResponse listOAuthPartnerCertificates( ListPasswordPoliciesResponse listPasswordPolicies(ListPasswordPoliciesRequest request); /** - * Search Policies + * Search Policies. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -2954,7 +3005,7 @@ ListResourceTypeSchemaAttributesResponse listResourceTypeSchemaAttributes( ListResourceTypeSchemaAttributesRequest request); /** - * Search Rules + * Search Rules. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -3287,7 +3338,7 @@ PatchApprovalWorkflowStepResponse patchApprovalWorkflowStep( PatchCloudGateServerResponse patchCloudGateServer(PatchCloudGateServerRequest request); /** - * Update a Condition + * Update a condition. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -3621,7 +3672,7 @@ PatchOAuth2ClientCredentialResponse patchOAuth2ClientCredential( PatchPasswordPolicyResponse patchPasswordPolicy(PatchPasswordPolicyRequest request); /** - * Update a Policy + * Update a Policy. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -3636,7 +3687,7 @@ PatchOAuth2ClientCredentialResponse patchOAuth2ClientCredential( PatchPolicyResponse patchPolicy(PatchPolicyRequest request); /** - * Update a Rule + * Update a Rule. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -3924,7 +3975,7 @@ PutAuthenticationFactorSettingResponse putAuthenticationFactorSetting( PutCloudGateServerResponse putCloudGateServer(PutCloudGateServerRequest request); /** - * Replace a Condition + * Replace a condition. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -4113,7 +4164,7 @@ PutIdentityPropagationTrustResponse putIdentityPropagationTrust( PutPasswordPolicyResponse putPasswordPolicy(PutPasswordPolicyRequest request); /** - * Replace a Policy + * Replace a Policy. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -4128,7 +4179,7 @@ PutIdentityPropagationTrustResponse putIdentityPropagationTrust( PutPolicyResponse putPolicy(PutPolicyRequest request); /** - * Replace a Rule + * Replace a Rule. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -4446,7 +4497,7 @@ SearchAuthenticationFactorSettingsResponse searchAuthenticationFactorSettings( SearchCloudGatesResponse searchCloudGates(SearchCloudGatesRequest request); /** - * Search Conditions Using POST + * Search Conditions Using POST. * * @param request The request object containing the details to send * @return A response object containing details about the completed operation @@ -4720,6 +4771,23 @@ SearchOAuthClientCertificatesResponse searchOAuthClientCertificates( SearchOAuthPartnerCertificatesResponse searchOAuthPartnerCertificates( SearchOAuthPartnerCertificatesRequest request); + /** + * Search OciConsoleSignOnPolicyConsents 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 + * SearchOciConsoleSignOnPolicyConsents API. + */ + SearchOciConsoleSignOnPolicyConsentsResponse searchOciConsoleSignOnPolicyConsents( + SearchOciConsoleSignOnPolicyConsentsRequest request); + /** * Search for password policies using POST. * @@ -4769,7 +4837,7 @@ SearchResourceTypeSchemaAttributesResponse searchResourceTypeSchemaAttributes( SearchResourceTypeSchemaAttributesRequest request); /** - * Search Rules Using POST + * Search Rules 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 ba312f54e6a..be6e52c49ee 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 @@ -209,7 +209,7 @@ java.util.concurrent.Future createCloudGateServer handler); /** - * Create a Condition + * Create a condition * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -598,7 +598,7 @@ java.util.concurrent.Future createPasswordPolicy( handler); /** - * Create a Policy + * Create a Policy. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -613,7 +613,25 @@ java.util.concurrent.Future createPolicy( handler); /** - * Create a Rule + * Create a RestoreOciConsolePolicy entry to restore Policy to factory default. + * + * @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 + createRestoreOciConsolePolicy( + CreateRestoreOciConsolePolicyRequest request, + com.oracle.bmc.responses.AsyncHandler< + CreateRestoreOciConsolePolicyRequest, + CreateRestoreOciConsolePolicyResponse> + handler); + + /** + * Create a Rule. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -880,7 +898,7 @@ java.util.concurrent.Future deleteCloudGateServer handler); /** - * Delete a Condition + * Delete a condition. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1217,7 +1235,7 @@ java.util.concurrent.Future deletePasswordPolicy( handler); /** - * Delete a Policy + * Delete a Policy. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1232,7 +1250,7 @@ java.util.concurrent.Future deletePolicy( handler); /** - * Delete a Rule + * Delete a Rule. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1563,7 +1581,7 @@ java.util.concurrent.Future getCloudGateServer( handler); /** - * Get a Condition + * Get a condition. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -1982,6 +2000,24 @@ java.util.concurrent.Future getOAuthPartnerC GetOAuthPartnerCertificateRequest, GetOAuthPartnerCertificateResponse> handler); + /** + * Get a OciConsoleSignOnPolicyConsent Entry. + * + * @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 + getOciConsoleSignOnPolicyConsent( + GetOciConsoleSignOnPolicyConsentRequest request, + com.oracle.bmc.responses.AsyncHandler< + GetOciConsoleSignOnPolicyConsentRequest, + GetOciConsoleSignOnPolicyConsentResponse> + handler); + /** * Get a password policy. * @@ -1999,7 +2035,7 @@ java.util.concurrent.Future getPasswordPolicy( handler); /** - * Get a Policy + * Get a Policy. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -2013,7 +2049,7 @@ java.util.concurrent.Future getPolicy( com.oracle.bmc.responses.AsyncHandler handler); /** - * Get a Rule + * Get a Rule. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -2402,7 +2438,7 @@ java.util.concurrent.Future listCloudGates( handler); /** - * Search Conditions + * Search conditions. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -2859,6 +2895,24 @@ java.util.concurrent.Future listOAuthPartn ListOAuthPartnerCertificatesResponse> handler); + /** + * Search OciConsoleSignOnPolicyConsent entries + * + * @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 + listOciConsoleSignOnPolicyConsents( + ListOciConsoleSignOnPolicyConsentsRequest request, + com.oracle.bmc.responses.AsyncHandler< + ListOciConsoleSignOnPolicyConsentsRequest, + ListOciConsoleSignOnPolicyConsentsResponse> + handler); + /** * Search for password policies. * @@ -2876,7 +2930,7 @@ java.util.concurrent.Future listPasswordPolicies( handler); /** - * Search Policies + * Search Policies. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -2909,7 +2963,7 @@ java.util.concurrent.Future listPolicies( handler); /** - * Search Rules + * Search Rules. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -3233,7 +3287,7 @@ java.util.concurrent.Future patchCloudGateServer( handler); /** - * Update a Condition + * Update a condition. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -3561,7 +3615,7 @@ java.util.concurrent.Future patchPasswordPolicy( handler); /** - * Update a Policy + * Update a Policy. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -3575,7 +3629,7 @@ java.util.concurrent.Future patchPolicy( com.oracle.bmc.responses.AsyncHandler handler); /** - * Update a Rule + * Update a Rule. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -3857,7 +3911,7 @@ java.util.concurrent.Future putCloudGateServer( handler); /** - * Replace a Condition + * Replace a condition. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -4043,7 +4097,7 @@ java.util.concurrent.Future putPasswordPolicy( handler); /** - * Replace a Policy + * Replace a Policy. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -4057,7 +4111,7 @@ java.util.concurrent.Future putPolicy( com.oracle.bmc.responses.AsyncHandler handler); /** - * Replace a Rule + * Replace a Rule. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -4365,7 +4419,7 @@ java.util.concurrent.Future searchCloudGates( handler); /** - * Search Conditions Using POST + * Search Conditions Using POST. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. @@ -4636,6 +4690,24 @@ java.util.concurrent.Future searchNotificati SearchOAuthPartnerCertificatesResponse> handler); + /** + * Search OciConsoleSignOnPolicyConsents 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 + searchOciConsoleSignOnPolicyConsents( + SearchOciConsoleSignOnPolicyConsentsRequest request, + com.oracle.bmc.responses.AsyncHandler< + SearchOciConsoleSignOnPolicyConsentsRequest, + SearchOciConsoleSignOnPolicyConsentsResponse> + handler); + /** * Search for password policies using POST. * @@ -4686,7 +4758,7 @@ java.util.concurrent.Future searchPolicies( handler); /** - * Search Rules Using POST + * Search Rules 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 a1526fe242c..98388094897 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 @@ -1358,6 +1358,41 @@ public java.util.concurrent.Future createPolicy( .callAsync(handler); } + @Override + public java.util.concurrent.Future + createRestoreOciConsolePolicy( + CreateRestoreOciConsolePolicyRequest request, + final com.oracle.bmc.responses.AsyncHandler< + CreateRestoreOciConsolePolicyRequest, + CreateRestoreOciConsolePolicyResponse> + handler) { + + return clientCall(request, CreateRestoreOciConsolePolicyResponse::builder) + .logger(LOG, "createRestoreOciConsolePolicy") + .serviceDetails("IdentityDomains", "CreateRestoreOciConsolePolicy", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateRestoreOciConsolePolicyRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("RestoreOciConsolePolicy") + .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.RestoreOciConsolePolicy.class, + CreateRestoreOciConsolePolicyResponse.Builder::restoreOciConsolePolicy) + .handleResponseHeaderString( + "opc-request-id", + CreateRestoreOciConsolePolicyResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "etag", CreateRestoreOciConsolePolicyResponse.Builder::etag) + .callAsync(handler); + } + @Override public java.util.concurrent.Future createRule( CreateRuleRequest request, @@ -4580,6 +4615,52 @@ public java.util.concurrent.Future getOAuthCl .callAsync(handler); } + @Override + public java.util.concurrent.Future + getOciConsoleSignOnPolicyConsent( + GetOciConsoleSignOnPolicyConsentRequest request, + final com.oracle.bmc.responses.AsyncHandler< + GetOciConsoleSignOnPolicyConsentRequest, + GetOciConsoleSignOnPolicyConsentResponse> + handler) { + + Validate.notBlank( + request.getOciConsoleSignOnPolicyConsentId(), + "ociConsoleSignOnPolicyConsentId must not be blank"); + + return clientCall(request, GetOciConsoleSignOnPolicyConsentResponse::builder) + .logger(LOG, "getOciConsoleSignOnPolicyConsent") + .serviceDetails( + "IdentityDomains", + "GetOciConsoleSignOnPolicyConsent", + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/OciConsoleSignOnPolicyConsent/GetOciConsoleSignOnPolicyConsent") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetOciConsoleSignOnPolicyConsentRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("OciConsoleSignOnPolicyConsents") + .appendPathParam(request.getOciConsoleSignOnPolicyConsentId()) + .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.OciConsoleSignOnPolicyConsent.class, + GetOciConsoleSignOnPolicyConsentResponse.Builder + ::ociConsoleSignOnPolicyConsent) + .handleResponseHeaderString( + "opc-request-id", + GetOciConsoleSignOnPolicyConsentResponse.Builder::opcRequestId) + .callAsync(handler); + } + @Override public java.util.concurrent.Future getPasswordPolicy( GetPasswordPolicyRequest request, @@ -5741,7 +5822,7 @@ public java.util.concurrent.Future listConditions( .serviceDetails( "IdentityDomains", "ListConditions", - "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Conditions/ListConditions") + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Condition/ListConditions") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListConditionsRequest::builder) .basePath("") @@ -6990,6 +7071,57 @@ public java.util.concurrent.Future listNotific .callAsync(handler); } + @Override + public java.util.concurrent.Future + listOciConsoleSignOnPolicyConsents( + ListOciConsoleSignOnPolicyConsentsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + ListOciConsoleSignOnPolicyConsentsRequest, + ListOciConsoleSignOnPolicyConsentsResponse> + handler) { + + return clientCall(request, ListOciConsoleSignOnPolicyConsentsResponse::builder) + .logger(LOG, "listOciConsoleSignOnPolicyConsents") + .serviceDetails( + "IdentityDomains", + "ListOciConsoleSignOnPolicyConsents", + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/OciConsoleSignOnPolicyConsent/ListOciConsoleSignOnPolicyConsents") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListOciConsoleSignOnPolicyConsentsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("OciConsoleSignOnPolicyConsents") + .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.OciConsoleSignOnPolicyConsents.class, + ListOciConsoleSignOnPolicyConsentsResponse.Builder + ::ociConsoleSignOnPolicyConsents) + .handleResponseHeaderString( + "opc-request-id", + ListOciConsoleSignOnPolicyConsentsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", + ListOciConsoleSignOnPolicyConsentsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future listPasswordPolicies( ListPasswordPoliciesRequest request, @@ -7047,7 +7179,7 @@ public java.util.concurrent.Future listPolicies( .serviceDetails( "IdentityDomains", "ListPolicies", - "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Policies/ListPolicies") + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Policy/ListPolicies") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListPoliciesRequest::builder) .basePath("") @@ -7143,7 +7275,7 @@ public java.util.concurrent.Future listRules( .serviceDetails( "IdentityDomains", "ListRules", - "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Rules/ListRules") + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Rule/ListRules") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListRulesRequest::builder) .basePath("") @@ -11123,7 +11255,7 @@ public java.util.concurrent.Future searchConditions( .serviceDetails( "IdentityDomains", "SearchConditions", - "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Conditions/SearchConditions") + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Condition/SearchConditions") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchConditionsRequest::builder) .basePath("") @@ -11768,6 +11900,49 @@ public java.util.concurrent.Future searchNetwor .callAsync(handler); } + @Override + public java.util.concurrent.Future + searchOciConsoleSignOnPolicyConsents( + SearchOciConsoleSignOnPolicyConsentsRequest request, + final com.oracle.bmc.responses.AsyncHandler< + SearchOciConsoleSignOnPolicyConsentsRequest, + SearchOciConsoleSignOnPolicyConsentsResponse> + handler) { + + return clientCall(request, SearchOciConsoleSignOnPolicyConsentsResponse::builder) + .logger(LOG, "searchOciConsoleSignOnPolicyConsents") + .serviceDetails( + "IdentityDomains", + "SearchOciConsoleSignOnPolicyConsents", + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/OciConsoleSignOnPolicyConsent/SearchOciConsoleSignOnPolicyConsents") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchOciConsoleSignOnPolicyConsentsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("OciConsoleSignOnPolicyConsents") + .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.OciConsoleSignOnPolicyConsents.class, + SearchOciConsoleSignOnPolicyConsentsResponse.Builder + ::ociConsoleSignOnPolicyConsents) + .handleResponseHeaderString( + "opc-request-id", + SearchOciConsoleSignOnPolicyConsentsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", + SearchOciConsoleSignOnPolicyConsentsResponse.Builder::opcNextPage) + .callAsync(handler); + } + @Override public java.util.concurrent.Future searchPasswordPolicies( SearchPasswordPoliciesRequest request, @@ -11818,7 +11993,7 @@ public java.util.concurrent.Future searchPolicies( .serviceDetails( "IdentityDomains", "SearchPolicies", - "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Policies/SearchPolicies") + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Policy/SearchPolicies") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchPoliciesRequest::builder) .basePath("") @@ -11898,7 +12073,7 @@ public java.util.concurrent.Future searchRules( .serviceDetails( "IdentityDomains", "SearchRules", - "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Rules/SearchRules") + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Rule/SearchRules") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchRulesRequest::builder) .basePath("") 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 8f8aab92377..3d496e37aeb 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 @@ -1209,6 +1209,36 @@ public CreatePolicyResponse createPolicy(CreatePolicyRequest request) { .callSync(); } + @Override + public CreateRestoreOciConsolePolicyResponse createRestoreOciConsolePolicy( + CreateRestoreOciConsolePolicyRequest request) { + + return clientCall(request, CreateRestoreOciConsolePolicyResponse::builder) + .logger(LOG, "createRestoreOciConsolePolicy") + .serviceDetails("IdentityDomains", "CreateRestoreOciConsolePolicy", "") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(CreateRestoreOciConsolePolicyRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("RestoreOciConsolePolicy") + .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.RestoreOciConsolePolicy.class, + CreateRestoreOciConsolePolicyResponse.Builder::restoreOciConsolePolicy) + .handleResponseHeaderString( + "opc-request-id", + CreateRestoreOciConsolePolicyResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "etag", CreateRestoreOciConsolePolicyResponse.Builder::etag) + .callSync(); + } + @Override public CreateRuleResponse createRule(CreateRuleRequest request) { @@ -4115,6 +4145,47 @@ public GetOAuthPartnerCertificateResponse getOAuthPartnerCertificate( .callSync(); } + @Override + public GetOciConsoleSignOnPolicyConsentResponse getOciConsoleSignOnPolicyConsent( + GetOciConsoleSignOnPolicyConsentRequest request) { + + Validate.notBlank( + request.getOciConsoleSignOnPolicyConsentId(), + "ociConsoleSignOnPolicyConsentId must not be blank"); + + return clientCall(request, GetOciConsoleSignOnPolicyConsentResponse::builder) + .logger(LOG, "getOciConsoleSignOnPolicyConsent") + .serviceDetails( + "IdentityDomains", + "GetOciConsoleSignOnPolicyConsent", + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/OciConsoleSignOnPolicyConsent/GetOciConsoleSignOnPolicyConsent") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(GetOciConsoleSignOnPolicyConsentRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("OciConsoleSignOnPolicyConsents") + .appendPathParam(request.getOciConsoleSignOnPolicyConsentId()) + .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.OciConsoleSignOnPolicyConsent.class, + GetOciConsoleSignOnPolicyConsentResponse.Builder + ::ociConsoleSignOnPolicyConsent) + .handleResponseHeaderString( + "opc-request-id", + GetOciConsoleSignOnPolicyConsentResponse.Builder::opcRequestId) + .callSync(); + } + @Override public GetPasswordPolicyResponse getPasswordPolicy(GetPasswordPolicyRequest request) { @@ -5174,7 +5245,7 @@ public ListConditionsResponse listConditions(ListConditionsRequest request) { .serviceDetails( "IdentityDomains", "ListConditions", - "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Conditions/ListConditions") + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Condition/ListConditions") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListConditionsRequest::builder) .basePath("") @@ -6325,6 +6396,52 @@ public ListOAuthPartnerCertificatesResponse listOAuthPartnerCertificates( .callSync(); } + @Override + public ListOciConsoleSignOnPolicyConsentsResponse listOciConsoleSignOnPolicyConsents( + ListOciConsoleSignOnPolicyConsentsRequest request) { + + return clientCall(request, ListOciConsoleSignOnPolicyConsentsResponse::builder) + .logger(LOG, "listOciConsoleSignOnPolicyConsents") + .serviceDetails( + "IdentityDomains", + "ListOciConsoleSignOnPolicyConsents", + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/OciConsoleSignOnPolicyConsent/ListOciConsoleSignOnPolicyConsents") + .method(com.oracle.bmc.http.client.Method.GET) + .requestBuilder(ListOciConsoleSignOnPolicyConsentsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("OciConsoleSignOnPolicyConsents") + .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.OciConsoleSignOnPolicyConsents.class, + ListOciConsoleSignOnPolicyConsentsResponse.Builder + ::ociConsoleSignOnPolicyConsents) + .handleResponseHeaderString( + "opc-request-id", + ListOciConsoleSignOnPolicyConsentsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", + ListOciConsoleSignOnPolicyConsentsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public ListPasswordPoliciesResponse listPasswordPolicies(ListPasswordPoliciesRequest request) { @@ -6375,7 +6492,7 @@ public ListPoliciesResponse listPolicies(ListPoliciesRequest request) { .serviceDetails( "IdentityDomains", "ListPolicies", - "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Policies/ListPolicies") + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Policy/ListPolicies") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListPoliciesRequest::builder) .basePath("") @@ -6463,7 +6580,7 @@ public ListRulesResponse listRules(ListRulesRequest request) { .serviceDetails( "IdentityDomains", "ListRules", - "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Rules/ListRules") + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Rule/ListRules") .method(com.oracle.bmc.http.client.Method.GET) .requestBuilder(ListRulesRequest::builder) .basePath("") @@ -10104,7 +10221,7 @@ public SearchConditionsResponse searchConditions(SearchConditionsRequest request .serviceDetails( "IdentityDomains", "SearchConditions", - "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Conditions/SearchConditions") + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Condition/SearchConditions") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchConditionsRequest::builder) .basePath("") @@ -10688,6 +10805,44 @@ public SearchOAuthPartnerCertificatesResponse searchOAuthPartnerCertificates( .callSync(); } + @Override + public SearchOciConsoleSignOnPolicyConsentsResponse searchOciConsoleSignOnPolicyConsents( + SearchOciConsoleSignOnPolicyConsentsRequest request) { + + return clientCall(request, SearchOciConsoleSignOnPolicyConsentsResponse::builder) + .logger(LOG, "searchOciConsoleSignOnPolicyConsents") + .serviceDetails( + "IdentityDomains", + "SearchOciConsoleSignOnPolicyConsents", + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/OciConsoleSignOnPolicyConsent/SearchOciConsoleSignOnPolicyConsents") + .method(com.oracle.bmc.http.client.Method.POST) + .requestBuilder(SearchOciConsoleSignOnPolicyConsentsRequest::builder) + .basePath("") + .appendPathParam("admin") + .appendPathParam("v1") + .appendPathParam("OciConsoleSignOnPolicyConsents") + .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.OciConsoleSignOnPolicyConsents.class, + SearchOciConsoleSignOnPolicyConsentsResponse.Builder + ::ociConsoleSignOnPolicyConsents) + .handleResponseHeaderString( + "opc-request-id", + SearchOciConsoleSignOnPolicyConsentsResponse.Builder::opcRequestId) + .handleResponseHeaderString( + "opc-next-page", + SearchOciConsoleSignOnPolicyConsentsResponse.Builder::opcNextPage) + .callSync(); + } + @Override public SearchPasswordPoliciesResponse searchPasswordPolicies( SearchPasswordPoliciesRequest request) { @@ -10731,7 +10886,7 @@ public SearchPoliciesResponse searchPolicies(SearchPoliciesRequest request) { .serviceDetails( "IdentityDomains", "SearchPolicies", - "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Policies/SearchPolicies") + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Policy/SearchPolicies") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchPoliciesRequest::builder) .basePath("") @@ -10803,7 +10958,7 @@ public SearchRulesResponse searchRules(SearchRulesRequest request) { .serviceDetails( "IdentityDomains", "SearchRules", - "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Rules/SearchRules") + "https://docs.oracle.com/iaas/api/#/en/identity-domains/v1/Rule/SearchRules") .method(com.oracle.bmc.http.client.Method.POST) .requestBuilder(SearchRulesRequest::builder) .basePath("") diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Condition.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Condition.java index 0e0f96827de..3f6f6f37cac 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Condition.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Condition.java @@ -41,7 +41,8 @@ public final class Condition extends com.oracle.bmc.http.client.internal.Explici "attributeName", "operator", "attributeValue", - "evaluateConditionIf" + "evaluateConditionIf", + "urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy" }) public Condition( String id, @@ -63,7 +64,9 @@ public Condition( String attributeName, Operator operator, String attributeValue, - String evaluateConditionIf) { + String evaluateConditionIf, + ConditionExtensionOciconsolesignonpolicyconsentPolicy + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy) { super(); this.id = id; this.ocid = ocid; @@ -85,6 +88,8 @@ public Condition( this.operator = operator; this.attributeValue = attributeValue; this.evaluateConditionIf = evaluateConditionIf; + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy = + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -244,9 +249,10 @@ public Builder 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 + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.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; @@ -254,9 +260,10 @@ public Builder 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 + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.value]] - idcsSearchable: true - multiValued: true - mutability: readWrite - + * required: false - returned: request - type: complex - uniqueness: none * * @param tags the value to set * @return this builder @@ -581,6 +588,22 @@ public Builder evaluateConditionIf(String evaluateConditionIf) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:ociconsolesignonpolicyconsent:Policy") + private ConditionExtensionOciconsolesignonpolicyconsentPolicy + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; + + public Builder + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy( + ConditionExtensionOciconsolesignonpolicyconsentPolicy + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy = + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; + this.__explicitlySet__.add( + "urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -606,7 +629,9 @@ public Condition build() { this.attributeName, this.operator, this.attributeValue, - this.evaluateConditionIf); + this.evaluateConditionIf, + this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -675,6 +700,12 @@ public Builder copy(Condition model) { if (model.wasPropertyExplicitlySet("evaluateConditionIf")) { this.evaluateConditionIf(model.getEvaluateConditionIf()); } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy( + model + .getUrnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy()); + } return this; } } @@ -824,9 +855,10 @@ public java.util.List getIdcsPreventedOperations() { /** * 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 + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.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; @@ -834,9 +866,10 @@ public java.util.List getIdcsPreventedOperations() { /** * 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 + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.value]] - idcsSearchable: true - multiValued: true - mutability: readWrite - + * required: false - returned: request - type: complex - uniqueness: none * * @return the value */ @@ -1174,6 +1207,16 @@ public String getEvaluateConditionIf() { return evaluateConditionIf; } + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:ociconsolesignonpolicyconsent:Policy") + private final ConditionExtensionOciconsolesignonpolicyconsentPolicy + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; + + public ConditionExtensionOciconsolesignonpolicyconsentPolicy + getUrnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy() { + return urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; + } + @Override public String toString() { return this.toString(true); @@ -1211,6 +1254,12 @@ public String toString(boolean includeByteArrayContents) { sb.append(", operator=").append(String.valueOf(this.operator)); sb.append(", attributeValue=").append(String.valueOf(this.attributeValue)); sb.append(", evaluateConditionIf=").append(String.valueOf(this.evaluateConditionIf)); + sb.append( + ", urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy=") + .append( + String.valueOf( + this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy)); sb.append(")"); return sb.toString(); } @@ -1247,6 +1296,10 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.operator, other.operator) && java.util.Objects.equals(this.attributeValue, other.attributeValue) && java.util.Objects.equals(this.evaluateConditionIf, other.evaluateConditionIf) + && java.util.Objects.equals( + this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy, + other.urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy) && super.equals(other); } @@ -1300,6 +1353,15 @@ public int hashCode() { + (this.evaluateConditionIf == null ? 43 : this.evaluateConditionIf.hashCode()); + result = + (result * PRIME) + + (this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy + == null + ? 43 + : this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy + .hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ConditionExtensionOciconsolesignonpolicyconsentPolicy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ConditionExtensionOciconsolesignonpolicyconsentPolicy.java new file mode 100644 index 00000000000..6f14b988cf8 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/ConditionExtensionOciconsolesignonpolicyconsentPolicy.java @@ -0,0 +1,307 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 used to record consent for modification of the "Security Policy + * for OCI Console" sign-on policy, Rule, Condition or ConditionGroup.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are 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 = ConditionExtensionOciconsolesignonpolicyconsentPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class ConditionExtensionOciconsolesignonpolicyconsentPolicy + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"consent", "justification", "reason"}) + public ConditionExtensionOciconsolesignonpolicyconsentPolicy( + Boolean consent, String justification, String reason) { + super(); + this.consent = consent; + this.justification = justification; + this.reason = reason; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Set to true when an identity domain administrator opts to change the Oracle security + * defaults for the "Security Policy for OCI Console" sign-on policy shipped by Oracle. + * Defaults to false. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("consent") + private Boolean consent; + + /** + * Set to true when an identity domain administrator opts to change the Oracle security + * defaults for the "Security Policy for OCI Console" sign-on policy shipped by Oracle. + * Defaults to false. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: boolean + * + * @param consent the value to set + * @return this builder + */ + public Builder consent(Boolean consent) { + this.consent = consent; + this.__explicitlySet__.add("consent"); + return this; + } + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped + * by Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("justification") + private String justification; + + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped + * by Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: string + * + * @param justification the value to set + * @return this builder + */ + public Builder justification(String justification) { + this.justification = justification; + this.__explicitlySet__.add("justification"); + return this; + } + /** + * The detailed reason for the change when an identity domain administrator opts to modify + * the Oracle security defaults for the "Security Policy for OCI Console" sign-on policy + * shipped by Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("reason") + private String reason; + + /** + * The detailed reason for the change when an identity domain administrator opts to modify + * the Oracle security defaults for the "Security Policy for OCI Console" sign-on policy + * shipped by Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: string + * + * @param reason the value to set + * @return this builder + */ + public Builder reason(String reason) { + this.reason = reason; + this.__explicitlySet__.add("reason"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public ConditionExtensionOciconsolesignonpolicyconsentPolicy build() { + ConditionExtensionOciconsolesignonpolicyconsentPolicy model = + new ConditionExtensionOciconsolesignonpolicyconsentPolicy( + this.consent, this.justification, this.reason); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(ConditionExtensionOciconsolesignonpolicyconsentPolicy model) { + if (model.wasPropertyExplicitlySet("consent")) { + this.consent(model.getConsent()); + } + if (model.wasPropertyExplicitlySet("justification")) { + this.justification(model.getJustification()); + } + if (model.wasPropertyExplicitlySet("reason")) { + this.reason(model.getReason()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Set to true when an identity domain administrator opts to change the Oracle security defaults + * for the "Security Policy for OCI Console" sign-on policy shipped by Oracle. Defaults to + * false. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("consent") + private final Boolean consent; + + /** + * Set to true when an identity domain administrator opts to change the Oracle security defaults + * for the "Security Policy for OCI Console" sign-on policy shipped by Oracle. Defaults to + * false. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: boolean + * + * @return the value + */ + public Boolean getConsent() { + return consent; + } + + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("justification") + private final String justification; + + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: string + * + * @return the value + */ + public String getJustification() { + return justification; + } + + /** + * The detailed reason for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("reason") + private final String reason; + + /** + * The detailed reason for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: string + * + * @return the value + */ + public String getReason() { + return reason; + } + + @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("ConditionExtensionOciconsolesignonpolicyconsentPolicy("); + sb.append("super=").append(super.toString()); + sb.append("consent=").append(String.valueOf(this.consent)); + sb.append(", justification=").append(String.valueOf(this.justification)); + sb.append(", reason=").append(String.valueOf(this.reason)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ConditionExtensionOciconsolesignonpolicyconsentPolicy)) { + return false; + } + + ConditionExtensionOciconsolesignonpolicyconsentPolicy other = + (ConditionExtensionOciconsolesignonpolicyconsentPolicy) o; + return java.util.Objects.equals(this.consent, other.consent) + && java.util.Objects.equals(this.justification, other.justification) + && java.util.Objects.equals(this.reason, other.reason) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.consent == null ? 43 : this.consent.hashCode()); + result = + (result * PRIME) + + (this.justification == null ? 43 : this.justification.hashCode()); + result = (result * PRIME) + (this.reason == null ? 43 : this.reason.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsent.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsent.java new file mode 100644 index 00000000000..db5a59ab1c5 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsent.java @@ -0,0 +1,1311 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 "Security Policy for OCI Console" sign-on policy consent resource used to record consents. + * The schema to record the "Security Policy for OCI Console" sign-on policy consent.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are 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 = OciConsoleSignOnPolicyConsent.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OciConsoleSignOnPolicyConsent + 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", + "consentSignedBy", + "modifiedResource", + "policyResource", + "changeType", + "clientIp", + "justification", + "reason", + "timeConsentSigned", + "notificationRecipients" + }) + public OciConsoleSignOnPolicyConsent( + 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, + OciConsoleSignOnPolicyConsentConsentSignedBy consentSignedBy, + OciConsoleSignOnPolicyConsentModifiedResource modifiedResource, + OciConsoleSignOnPolicyConsentPolicyResource policyResource, + ChangeType changeType, + String clientIp, + String justification, + String reason, + String timeConsentSigned, + java.util.List notificationRecipients) { + 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.consentSignedBy = consentSignedBy; + this.modifiedResource = modifiedResource; + this.policyResource = policyResource; + this.changeType = changeType; + this.clientIp = clientIp; + this.justification = justification; + this.reason = reason; + this.timeConsentSigned = timeConsentSigned; + this.notificationRecipients = notificationRecipients; + } + + @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] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.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] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.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; + } + + @com.fasterxml.jackson.annotation.JsonProperty("consentSignedBy") + private OciConsoleSignOnPolicyConsentConsentSignedBy consentSignedBy; + + public Builder consentSignedBy( + OciConsoleSignOnPolicyConsentConsentSignedBy consentSignedBy) { + this.consentSignedBy = consentSignedBy; + this.__explicitlySet__.add("consentSignedBy"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("modifiedResource") + private OciConsoleSignOnPolicyConsentModifiedResource modifiedResource; + + public Builder modifiedResource( + OciConsoleSignOnPolicyConsentModifiedResource modifiedResource) { + this.modifiedResource = modifiedResource; + this.__explicitlySet__.add("modifiedResource"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonProperty("policyResource") + private OciConsoleSignOnPolicyConsentPolicyResource policyResource; + + public Builder policyResource(OciConsoleSignOnPolicyConsentPolicyResource policyResource) { + this.policyResource = policyResource; + this.__explicitlySet__.add("policyResource"); + return this; + } + /** + * Change Type - MODIFIED or RESTORED_TO_FACTORY_DEFAULT + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("changeType") + private ChangeType changeType; + + /** + * Change Type - MODIFIED or RESTORED_TO_FACTORY_DEFAULT + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + * + * @param changeType the value to set + * @return this builder + */ + public Builder changeType(ChangeType changeType) { + this.changeType = changeType; + this.__explicitlySet__.add("changeType"); + return this; + } + /** + * Client IP of the Consent Signer + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("clientIp") + private String clientIp; + + /** + * Client IP of the Consent Signer + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + * + * @param clientIp the value to set + * @return this builder + */ + public Builder clientIp(String clientIp) { + this.clientIp = clientIp; + this.__explicitlySet__.add("clientIp"); + return this; + } + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped + * by Oracle. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("justification") + private String justification; + + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped + * by Oracle. + * + *

*SCIM++ Properties:** - idcsSearchable: false - 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; + } + /** + * The detailed reason for the change when an identity domain administrator opts to modify + * the Oracle security defaults for the "Security Policy for OCI Console" sign-on policy + * shipped by Oracle. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("reason") + private String reason; + + /** + * The detailed reason for the change when an identity domain administrator opts to modify + * the Oracle security defaults for the "Security Policy for OCI Console" sign-on policy + * shipped by Oracle. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: false - returned: default - type: string - uniqueness: none + * + * @param reason the value to set + * @return this builder + */ + public Builder reason(String reason) { + this.reason = reason; + this.__explicitlySet__.add("reason"); + return this; + } + /** + * Time when Consent was signed. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: true - returned: default - type: dateTime - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeConsentSigned") + private String timeConsentSigned; + + /** + * Time when Consent was signed. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - required: true - returned: default - type: dateTime - uniqueness: none + * + * @param timeConsentSigned the value to set + * @return this builder + */ + public Builder timeConsentSigned(String timeConsentSigned) { + this.timeConsentSigned = timeConsentSigned; + this.__explicitlySet__.add("timeConsentSigned"); + return this; + } + /** + * The recipients of the email notification for the change in consent. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("notificationRecipients") + private java.util.List notificationRecipients; + + /** + * The recipients of the email notification for the change in consent. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: + * immutable - required: true - returned: default - type: string + * + * @param notificationRecipients the value to set + * @return this builder + */ + public Builder notificationRecipients(java.util.List notificationRecipients) { + this.notificationRecipients = notificationRecipients; + this.__explicitlySet__.add("notificationRecipients"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OciConsoleSignOnPolicyConsent build() { + OciConsoleSignOnPolicyConsent model = + new OciConsoleSignOnPolicyConsent( + 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.consentSignedBy, + this.modifiedResource, + this.policyResource, + this.changeType, + this.clientIp, + this.justification, + this.reason, + this.timeConsentSigned, + this.notificationRecipients); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OciConsoleSignOnPolicyConsent 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("consentSignedBy")) { + this.consentSignedBy(model.getConsentSignedBy()); + } + if (model.wasPropertyExplicitlySet("modifiedResource")) { + this.modifiedResource(model.getModifiedResource()); + } + if (model.wasPropertyExplicitlySet("policyResource")) { + this.policyResource(model.getPolicyResource()); + } + if (model.wasPropertyExplicitlySet("changeType")) { + this.changeType(model.getChangeType()); + } + if (model.wasPropertyExplicitlySet("clientIp")) { + this.clientIp(model.getClientIp()); + } + if (model.wasPropertyExplicitlySet("justification")) { + this.justification(model.getJustification()); + } + if (model.wasPropertyExplicitlySet("reason")) { + this.reason(model.getReason()); + } + if (model.wasPropertyExplicitlySet("timeConsentSigned")) { + this.timeConsentSigned(model.getTimeConsentSigned()); + } + if (model.wasPropertyExplicitlySet("notificationRecipients")) { + this.notificationRecipients(model.getNotificationRecipients()); + } + 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] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.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] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.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; + } + + @com.fasterxml.jackson.annotation.JsonProperty("consentSignedBy") + private final OciConsoleSignOnPolicyConsentConsentSignedBy consentSignedBy; + + public OciConsoleSignOnPolicyConsentConsentSignedBy getConsentSignedBy() { + return consentSignedBy; + } + + @com.fasterxml.jackson.annotation.JsonProperty("modifiedResource") + private final OciConsoleSignOnPolicyConsentModifiedResource modifiedResource; + + public OciConsoleSignOnPolicyConsentModifiedResource getModifiedResource() { + return modifiedResource; + } + + @com.fasterxml.jackson.annotation.JsonProperty("policyResource") + private final OciConsoleSignOnPolicyConsentPolicyResource policyResource; + + public OciConsoleSignOnPolicyConsentPolicyResource getPolicyResource() { + return policyResource; + } + + /** + * Change Type - MODIFIED or RESTORED_TO_FACTORY_DEFAULT + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: true - returned: default - type: string - uniqueness: none + */ + public enum ChangeType implements com.oracle.bmc.http.internal.BmcEnum { + Modified("MODIFIED"), + RestoredToFactoryDefault("RESTORED_TO_FACTORY_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(ChangeType.class); + + private final String value; + private static java.util.Map map; + + static { + map = new java.util.HashMap<>(); + for (ChangeType v : ChangeType.values()) { + if (v != UnknownEnumValue) { + map.put(v.getValue(), v); + } + } + } + + ChangeType(String value) { + this.value = value; + } + + @com.fasterxml.jackson.annotation.JsonValue + public String getValue() { + return value; + } + + @com.fasterxml.jackson.annotation.JsonCreator + public static ChangeType create(String key) { + if (map.containsKey(key)) { + return map.get(key); + } + LOG.warn( + "Received unknown value '{}' for enum 'ChangeType', returning UnknownEnumValue", + key); + return UnknownEnumValue; + } + }; + /** + * Change Type - MODIFIED or RESTORED_TO_FACTORY_DEFAULT + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("changeType") + private final ChangeType changeType; + + /** + * Change Type - MODIFIED or RESTORED_TO_FACTORY_DEFAULT + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public ChangeType getChangeType() { + return changeType; + } + + /** + * Client IP of the Consent Signer + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("clientIp") + private final String clientIp; + + /** + * Client IP of the Consent Signer + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getClientIp() { + return clientIp; + } + + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: true - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("justification") + private final String justification; + + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: true - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getJustification() { + return justification; + } + + /** + * The detailed reason for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: false - returned: default - type: string - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("reason") + private final String reason; + + /** + * The detailed reason for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: false - returned: default - type: string - uniqueness: none + * + * @return the value + */ + public String getReason() { + return reason; + } + + /** + * Time when Consent was signed. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: true - returned: default - type: dateTime - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("timeConsentSigned") + private final String timeConsentSigned; + + /** + * Time when Consent was signed. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - required: true - returned: default - type: dateTime - uniqueness: none + * + * @return the value + */ + public String getTimeConsentSigned() { + return timeConsentSigned; + } + + /** + * The recipients of the email notification for the change in consent. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: immutable + * - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("notificationRecipients") + private final java.util.List notificationRecipients; + + /** + * The recipients of the email notification for the change in consent. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: immutable + * - required: true - returned: default - type: string + * + * @return the value + */ + public java.util.List getNotificationRecipients() { + return notificationRecipients; + } + + @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("OciConsoleSignOnPolicyConsent("); + 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(", consentSignedBy=").append(String.valueOf(this.consentSignedBy)); + sb.append(", modifiedResource=").append(String.valueOf(this.modifiedResource)); + sb.append(", policyResource=").append(String.valueOf(this.policyResource)); + sb.append(", changeType=").append(String.valueOf(this.changeType)); + sb.append(", clientIp=").append(String.valueOf(this.clientIp)); + sb.append(", justification=").append(String.valueOf(this.justification)); + sb.append(", reason=").append(String.valueOf(this.reason)); + sb.append(", timeConsentSigned=").append(String.valueOf(this.timeConsentSigned)); + sb.append(", notificationRecipients=").append(String.valueOf(this.notificationRecipients)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OciConsoleSignOnPolicyConsent)) { + return false; + } + + OciConsoleSignOnPolicyConsent other = (OciConsoleSignOnPolicyConsent) 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.consentSignedBy, other.consentSignedBy) + && java.util.Objects.equals(this.modifiedResource, other.modifiedResource) + && java.util.Objects.equals(this.policyResource, other.policyResource) + && java.util.Objects.equals(this.changeType, other.changeType) + && java.util.Objects.equals(this.clientIp, other.clientIp) + && java.util.Objects.equals(this.justification, other.justification) + && java.util.Objects.equals(this.reason, other.reason) + && java.util.Objects.equals(this.timeConsentSigned, other.timeConsentSigned) + && java.util.Objects.equals( + this.notificationRecipients, other.notificationRecipients) + && 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.consentSignedBy == null ? 43 : this.consentSignedBy.hashCode()); + result = + (result * PRIME) + + (this.modifiedResource == null ? 43 : this.modifiedResource.hashCode()); + result = + (result * PRIME) + + (this.policyResource == null ? 43 : this.policyResource.hashCode()); + result = (result * PRIME) + (this.changeType == null ? 43 : this.changeType.hashCode()); + result = (result * PRIME) + (this.clientIp == null ? 43 : this.clientIp.hashCode()); + result = + (result * PRIME) + + (this.justification == null ? 43 : this.justification.hashCode()); + result = (result * PRIME) + (this.reason == null ? 43 : this.reason.hashCode()); + result = + (result * PRIME) + + (this.timeConsentSigned == null ? 43 : this.timeConsentSigned.hashCode()); + result = + (result * PRIME) + + (this.notificationRecipients == null + ? 43 + : this.notificationRecipients.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsentConsentSignedBy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsentConsentSignedBy.java new file mode 100644 index 00000000000..dda9815b47b --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsentConsentSignedBy.java @@ -0,0 +1,359 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 or App that signs the consent. + * + *

*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 = OciConsoleSignOnPolicyConsentConsentSignedBy.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OciConsoleSignOnPolicyConsentConsentSignedBy + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ocid", "displayName", "type"}) + public OciConsoleSignOnPolicyConsentConsentSignedBy( + String value, String ocid, String displayName, Type type) { + super(); + this.value = value; + this.ocid = ocid; + this.displayName = displayName; + this.type = type; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Id of the User or App that signed consent. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Id of the User or App that signed consent. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * OCID of the User or App that signed consent. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * OCID of the User or App that signed consent. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * Name of the User or App that signed consent. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private String displayName; + + /** + * Name of the User or App that signed consent. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false + * - mutability: immutable - required: true - returned: default - type: string + * + * @param displayName the value to set + * @return this builder + */ + public Builder displayName(String displayName) { + this.displayName = displayName; + this.__explicitlySet__.add("displayName"); + return this; + } + /** + * Type of principal that signed consent: User or App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * Type of principal that signed consent: User or App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: + * immutable - required: true - returned: default - type: string + * + * @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 OciConsoleSignOnPolicyConsentConsentSignedBy build() { + OciConsoleSignOnPolicyConsentConsentSignedBy model = + new OciConsoleSignOnPolicyConsentConsentSignedBy( + this.value, this.ocid, this.displayName, this.type); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OciConsoleSignOnPolicyConsentConsentSignedBy model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + if (model.wasPropertyExplicitlySet("displayName")) { + this.displayName(model.getDisplayName()); + } + 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 User or App that signed consent. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Id of the User or App that signed consent. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * OCID of the User or App that signed consent. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * OCID of the User or App that signed consent. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * Name of the User or App that signed consent. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("displayName") + private final String displayName; + + /** + * Name of the User or App that signed consent. + * + *

*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + * + * @return the value + */ + public String getDisplayName() { + return displayName; + } + + /** + * Type of principal that signed consent: User or App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: true - returned: default - type: string + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + User("User"), + 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; + } + }; + /** + * Type of principal that signed consent: User or App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * Type of principal that signed consent: User or App. + * + *

*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: immutable + * - required: true - returned: default - type: string + * + * @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("OciConsoleSignOnPolicyConsentConsentSignedBy("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(", displayName=").append(String.valueOf(this.displayName)); + 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 OciConsoleSignOnPolicyConsentConsentSignedBy)) { + return false; + } + + OciConsoleSignOnPolicyConsentConsentSignedBy other = + (OciConsoleSignOnPolicyConsentConsentSignedBy) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ocid, other.ocid) + && java.util.Objects.equals(this.displayName, other.displayName) + && 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.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + (this.displayName == null ? 43 : this.displayName.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/OciConsoleSignOnPolicyConsentModifiedResource.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsentModifiedResource.java new file mode 100644 index 00000000000..20929e48b38 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsentModifiedResource.java @@ -0,0 +1,319 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 modified Policy, Rule, ConditionGroup or Condition during consent signing. + * + *

*SCIM++ Properties:** - idcsSearchable: false - 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 = OciConsoleSignOnPolicyConsentModifiedResource.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OciConsoleSignOnPolicyConsentModifiedResource + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ocid", "type"}) + public OciConsoleSignOnPolicyConsentModifiedResource(String value, String ocid, Type type) { + super(); + this.value = value; + this.ocid = ocid; + this.type = type; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Modified Policy, Rule, ConditionGroup or Condition Id. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private String value; + + /** + * Modified Policy, Rule, ConditionGroup or Condition Id. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + * + * @param value the value to set + * @return this builder + */ + public Builder value(String value) { + this.value = value; + this.__explicitlySet__.add("value"); + return this; + } + /** + * The modified Policy, Rule, ConditionGroup, or Condition OCID. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * The modified Policy, Rule, ConditionGroup, or Condition OCID. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * The Modified Resource type - Policy, Rule, ConditionGroup, or Condition. A label that + * indicates the resource type. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - idcsDefaultValue: Policy - required: true - returned: default - type: string + * - uniqueness: none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private Type type; + + /** + * The Modified Resource type - Policy, Rule, ConditionGroup, or Condition. A label that + * indicates the resource type. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * immutable - idcsDefaultValue: Policy - 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 OciConsoleSignOnPolicyConsentModifiedResource build() { + OciConsoleSignOnPolicyConsentModifiedResource model = + new OciConsoleSignOnPolicyConsentModifiedResource( + this.value, this.ocid, this.type); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OciConsoleSignOnPolicyConsentModifiedResource model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + 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); + } + + /** + * Modified Policy, Rule, ConditionGroup or Condition Id. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("value") + private final String value; + + /** + * Modified Policy, Rule, ConditionGroup or Condition Id. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * The modified Policy, Rule, ConditionGroup, or Condition OCID. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * The modified Policy, Rule, ConditionGroup, or Condition OCID. + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * The Modified Resource type - Policy, Rule, ConditionGroup, or Condition. A label that + * indicates the resource type. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - idcsDefaultValue: Policy - required: true - returned: default - type: string - uniqueness: + * none + */ + public enum Type implements com.oracle.bmc.http.internal.BmcEnum { + Policy("Policy"), + Rule("Rule"), + ConditionGroup("ConditionGroup"), + Condition("Condition"), + + /** + * 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 Modified Resource type - Policy, Rule, ConditionGroup, or Condition. A label that + * indicates the resource type. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - idcsDefaultValue: Policy - required: true - returned: default - type: string - uniqueness: + * none + */ + @com.fasterxml.jackson.annotation.JsonProperty("type") + private final Type type; + + /** + * The Modified Resource type - Policy, Rule, ConditionGroup, or Condition. A label that + * indicates the resource type. + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable + * - idcsDefaultValue: Policy - 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("OciConsoleSignOnPolicyConsentModifiedResource("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + 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 OciConsoleSignOnPolicyConsentModifiedResource)) { + return false; + } + + OciConsoleSignOnPolicyConsentModifiedResource other = + (OciConsoleSignOnPolicyConsentModifiedResource) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ocid, other.ocid) + && 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.ocid == null ? 43 : this.ocid.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/OciConsoleSignOnPolicyConsentPolicyResource.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsentPolicyResource.java new file mode 100644 index 00000000000..4fa1ea5528a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsentPolicyResource.java @@ -0,0 +1,206 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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; + +/** + * Policy Resource + * + *

*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 = OciConsoleSignOnPolicyConsentPolicyResource.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OciConsoleSignOnPolicyConsentPolicyResource + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"value", "ocid"}) + public OciConsoleSignOnPolicyConsentPolicyResource(String value, String ocid) { + super(); + this.value = value; + this.ocid = ocid; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Policy Resource Id + * + *

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

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

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * Policy Resource Ocid + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public OciConsoleSignOnPolicyConsentPolicyResource build() { + OciConsoleSignOnPolicyConsentPolicyResource model = + new OciConsoleSignOnPolicyConsentPolicyResource(this.value, this.ocid); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(OciConsoleSignOnPolicyConsentPolicyResource model) { + if (model.wasPropertyExplicitlySet("value")) { + this.value(model.getValue()); + } + if (model.wasPropertyExplicitlySet("ocid")) { + this.ocid(model.getOcid()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Policy Resource Id + * + *

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

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Policy Resource Ocid + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * Policy Resource Ocid + * + *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: true - returned: default - type: string + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + @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("OciConsoleSignOnPolicyConsentPolicyResource("); + sb.append("super=").append(super.toString()); + sb.append("value=").append(String.valueOf(this.value)); + sb.append(", ocid=").append(String.valueOf(this.ocid)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof OciConsoleSignOnPolicyConsentPolicyResource)) { + return false; + } + + OciConsoleSignOnPolicyConsentPolicyResource other = + (OciConsoleSignOnPolicyConsentPolicyResource) o; + return java.util.Objects.equals(this.value, other.value) + && java.util.Objects.equals(this.ocid, other.ocid) + && 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.ocid == null ? 43 : this.ocid.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsentSearchRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsentSearchRequest.java new file mode 100644 index 00000000000..7aa7dde13e5 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsentSearchRequest.java @@ -0,0 +1,539 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 = OciConsoleSignOnPolicyConsentSearchRequest.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OciConsoleSignOnPolicyConsentSearchRequest + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "attributes", + "attributeSets", + "filter", + "sortBy", + "sortOrder", + "startIndex", + "count" + }) + public OciConsoleSignOnPolicyConsentSearchRequest( + 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 OciConsoleSignOnPolicyConsentSearchRequest build() { + OciConsoleSignOnPolicyConsentSearchRequest model = + new OciConsoleSignOnPolicyConsentSearchRequest( + 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(OciConsoleSignOnPolicyConsentSearchRequest 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("OciConsoleSignOnPolicyConsentSearchRequest("); + 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 OciConsoleSignOnPolicyConsentSearchRequest)) { + return false; + } + + OciConsoleSignOnPolicyConsentSearchRequest other = + (OciConsoleSignOnPolicyConsentSearchRequest) 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/OciConsoleSignOnPolicyConsents.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsents.java new file mode 100644 index 00000000000..5397b5f480d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/OciConsoleSignOnPolicyConsents.java @@ -0,0 +1,358 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 = OciConsoleSignOnPolicyConsents.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class OciConsoleSignOnPolicyConsents + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({ + "schemas", + "totalResults", + "resources", + "startIndex", + "itemsPerPage" + }) + public OciConsoleSignOnPolicyConsents( + 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 OciConsoleSignOnPolicyConsents build() { + OciConsoleSignOnPolicyConsents model = + new OciConsoleSignOnPolicyConsents( + 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(OciConsoleSignOnPolicyConsents 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("OciConsoleSignOnPolicyConsents("); + 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 OciConsoleSignOnPolicyConsents)) { + return false; + } + + OciConsoleSignOnPolicyConsents other = (OciConsoleSignOnPolicyConsents) 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/Policy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Policy.java index dabedffb638..9c5b5b950c0 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Policy.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Policy.java @@ -41,7 +41,8 @@ public final class Policy extends com.oracle.bmc.http.client.internal.Explicitly "active", "policyGroovy", "rules", - "policyType" + "policyType", + "urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy" }) public Policy( String id, @@ -63,7 +64,9 @@ public Policy( Boolean active, String policyGroovy, java.util.List rules, - PolicyPolicyType policyType) { + PolicyPolicyType policyType, + PolicyExtensionOciconsolesignonpolicyconsentPolicy + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy) { super(); this.id = id; this.ocid = ocid; @@ -85,6 +88,8 @@ public Policy( this.policyGroovy = policyGroovy; this.rules = rules; this.policyType = policyType; + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy = + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -244,9 +249,10 @@ public Builder 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 + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.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; @@ -254,9 +260,10 @@ public Builder 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 + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.value]] - idcsSearchable: true - multiValued: true - mutability: readWrite - + * required: false - returned: request - type: complex - uniqueness: none * * @param tags the value to set * @return this builder @@ -565,6 +572,22 @@ public Builder policyType(PolicyPolicyType policyType) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:ociconsolesignonpolicyconsent:Policy") + private PolicyExtensionOciconsolesignonpolicyconsentPolicy + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; + + public Builder + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy( + PolicyExtensionOciconsolesignonpolicyconsentPolicy + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy = + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; + this.__explicitlySet__.add( + "urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -590,7 +613,9 @@ public Policy build() { this.active, this.policyGroovy, this.rules, - this.policyType); + this.policyType, + this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -659,6 +684,12 @@ public Builder copy(Policy model) { if (model.wasPropertyExplicitlySet("policyType")) { this.policyType(model.getPolicyType()); } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy( + model + .getUrnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy()); + } return this; } } @@ -808,9 +839,10 @@ public java.util.List getIdcsPreventedOperations() { /** * 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 + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.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; @@ -818,9 +850,10 @@ public java.util.List getIdcsPreventedOperations() { /** * 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 + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.value]] - idcsSearchable: true - multiValued: true - mutability: readWrite - + * required: false - returned: request - type: complex - uniqueness: none * * @return the value */ @@ -1088,6 +1121,16 @@ public PolicyPolicyType getPolicyType() { return policyType; } + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:ociconsolesignonpolicyconsent:Policy") + private final PolicyExtensionOciconsolesignonpolicyconsentPolicy + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; + + public PolicyExtensionOciconsolesignonpolicyconsentPolicy + getUrnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy() { + return urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; + } + @Override public String toString() { return this.toString(true); @@ -1125,6 +1168,12 @@ public String toString(boolean includeByteArrayContents) { sb.append(", policyGroovy=").append(String.valueOf(this.policyGroovy)); sb.append(", rules=").append(String.valueOf(this.rules)); sb.append(", policyType=").append(String.valueOf(this.policyType)); + sb.append( + ", urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy=") + .append( + String.valueOf( + this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy)); sb.append(")"); return sb.toString(); } @@ -1161,6 +1210,10 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.policyGroovy, other.policyGroovy) && java.util.Objects.equals(this.rules, other.rules) && java.util.Objects.equals(this.policyType, other.policyType) + && java.util.Objects.equals( + this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy, + other.urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy) && super.equals(other); } @@ -1206,6 +1259,15 @@ public int hashCode() { result = (result * PRIME) + (this.policyGroovy == null ? 43 : this.policyGroovy.hashCode()); result = (result * PRIME) + (this.rules == null ? 43 : this.rules.hashCode()); result = (result * PRIME) + (this.policyType == null ? 43 : this.policyType.hashCode()); + result = + (result * PRIME) + + (this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy + == null + ? 43 + : this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy + .hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/PolicyExtensionOciconsolesignonpolicyconsentPolicy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/PolicyExtensionOciconsolesignonpolicyconsentPolicy.java new file mode 100644 index 00000000000..21ffed169e6 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/PolicyExtensionOciconsolesignonpolicyconsentPolicy.java @@ -0,0 +1,303 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 used to record consent for modification of the "Security Policy + * for OCI Console" sign-on policy, Rule, Condition or ConditionGroup.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are 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 = PolicyExtensionOciconsolesignonpolicyconsentPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class PolicyExtensionOciconsolesignonpolicyconsentPolicy + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"consent", "justification", "reason"}) + public PolicyExtensionOciconsolesignonpolicyconsentPolicy( + Boolean consent, String justification, String reason) { + super(); + this.consent = consent; + this.justification = justification; + this.reason = reason; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Set to true when an identity domain administrator opts to change the Oracle security + * defaults for the "Security Policy for OCI Console" shipped by Oracle. Defaults to false. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("consent") + private Boolean consent; + + /** + * Set to true when an identity domain administrator opts to change the Oracle security + * defaults for the "Security Policy for OCI Console" shipped by Oracle. Defaults to false. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: boolean + * + * @param consent the value to set + * @return this builder + */ + public Builder consent(Boolean consent) { + this.consent = consent; + this.__explicitlySet__.add("consent"); + return this; + } + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped + * by Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("justification") + private String justification; + + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped + * by Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: string + * + * @param justification the value to set + * @return this builder + */ + public Builder justification(String justification) { + this.justification = justification; + this.__explicitlySet__.add("justification"); + return this; + } + /** + * The detailed reason for the change when an identity domain administrator opts to modify + * the Oracle security defaults for the "Security Policy for OCI Console" sign-on policy + * shipped by Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("reason") + private String reason; + + /** + * The detailed reason for the change when an identity domain administrator opts to modify + * the Oracle security defaults for the "Security Policy for OCI Console" sign-on policy + * shipped by Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: string + * + * @param reason the value to set + * @return this builder + */ + public Builder reason(String reason) { + this.reason = reason; + this.__explicitlySet__.add("reason"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public PolicyExtensionOciconsolesignonpolicyconsentPolicy build() { + PolicyExtensionOciconsolesignonpolicyconsentPolicy model = + new PolicyExtensionOciconsolesignonpolicyconsentPolicy( + this.consent, this.justification, this.reason); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(PolicyExtensionOciconsolesignonpolicyconsentPolicy model) { + if (model.wasPropertyExplicitlySet("consent")) { + this.consent(model.getConsent()); + } + if (model.wasPropertyExplicitlySet("justification")) { + this.justification(model.getJustification()); + } + if (model.wasPropertyExplicitlySet("reason")) { + this.reason(model.getReason()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Set to true when an identity domain administrator opts to change the Oracle security defaults + * for the "Security Policy for OCI Console" shipped by Oracle. Defaults to false. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("consent") + private final Boolean consent; + + /** + * Set to true when an identity domain administrator opts to change the Oracle security defaults + * for the "Security Policy for OCI Console" shipped by Oracle. Defaults to false. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: boolean + * + * @return the value + */ + public Boolean getConsent() { + return consent; + } + + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("justification") + private final String justification; + + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: string + * + * @return the value + */ + public String getJustification() { + return justification; + } + + /** + * The detailed reason for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("reason") + private final String reason; + + /** + * The detailed reason for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: string + * + * @return the value + */ + public String getReason() { + return reason; + } + + @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("PolicyExtensionOciconsolesignonpolicyconsentPolicy("); + sb.append("super=").append(super.toString()); + sb.append("consent=").append(String.valueOf(this.consent)); + sb.append(", justification=").append(String.valueOf(this.justification)); + sb.append(", reason=").append(String.valueOf(this.reason)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof PolicyExtensionOciconsolesignonpolicyconsentPolicy)) { + return false; + } + + PolicyExtensionOciconsolesignonpolicyconsentPolicy other = + (PolicyExtensionOciconsolesignonpolicyconsentPolicy) o; + return java.util.Objects.equals(this.consent, other.consent) + && java.util.Objects.equals(this.justification, other.justification) + && java.util.Objects.equals(this.reason, other.reason) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.consent == null ? 43 : this.consent.hashCode()); + result = + (result * PRIME) + + (this.justification == null ? 43 : this.justification.hashCode()); + result = (result * PRIME) + (this.reason == null ? 43 : this.reason.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/PolicyPolicyType.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/PolicyPolicyType.java index cddb3e92baf..44b84dfb357 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/PolicyPolicyType.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/PolicyPolicyType.java @@ -35,7 +35,7 @@ public PolicyPolicyType(String value, String ref) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * PolicyType identifier + * PolicyType identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: default - type: string - uniqueness: @@ -45,7 +45,7 @@ public static class Builder { private String value; /** - * PolicyType identifier + * PolicyType identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: default - type: string - uniqueness: @@ -116,7 +116,7 @@ public Builder toBuilder() { } /** - * PolicyType identifier + * PolicyType identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: default - type: string - uniqueness: none @@ -125,7 +125,7 @@ public Builder toBuilder() { private final String value; /** - * PolicyType identifier + * PolicyType identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: immutable - required: true - returned: default - type: string - uniqueness: none diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/RestoreOciConsolePolicy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/RestoreOciConsolePolicy.java new file mode 100644 index 00000000000..408f1553f58 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/RestoreOciConsolePolicy.java @@ -0,0 +1,866 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 to restoring OCI Console Policy to Factory Defaults.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are 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 = RestoreOciConsolePolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class RestoreOciConsolePolicy + 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", + "consent", + "reason" + }) + public RestoreOciConsolePolicy( + 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 consent, + String reason) { + 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.consent = consent; + this.reason = reason; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global 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. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private String id; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: + * global 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. + * + * @param id the value to set + * @return this builder + */ + public Builder id(String id) { + this.id = id; + this.__explicitlySet__.add("id"); + return this; + } + /** + * **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global Unique OCI identifier for the SCIM Resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private String ocid; + + /** + * **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global Unique OCI identifier for the SCIM Resource. + * + * @param ocid the value to set + * @return this builder + */ + public Builder ocid(String ocid) { + this.ocid = ocid; + this.__explicitlySet__.add("ocid"); + return this; + } + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none 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. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private java.util.List schemas; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: + * none 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. + * + * @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; + } + /** + * **SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none Each value of + * this attribute specifies an operation that only an internal client may perform on this + * particular resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private java.util.List idcsPreventedOperations; + + /** + * **SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly + * - required: false - returned: request - type: string - uniqueness: none Each value of + * this attribute specifies an operation that only an internal client may perform on this + * particular resource. + * + * @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; + } + /** + * **SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.value]] - idcsSearchable: true - multiValued: true - mutability: readWrite - + * required: false - returned: request - type: complex - uniqueness: none A list of tags on + * this resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private java.util.List tags; + + /** + * **SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.value]] - idcsSearchable: true - multiValued: true - mutability: readWrite - + * required: false - returned: request - type: complex - uniqueness: none A list of tags on + * this resource. + * + * @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; + } + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none 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. + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private Boolean deleteInProgress; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: + * none 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. + * + * @param deleteInProgress the value to set + * @return this builder + */ + public Builder deleteInProgress(Boolean deleteInProgress) { + this.deleteInProgress = deleteInProgress; + this.__explicitlySet__.add("deleteInProgress"); + return this; + } + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none The release number when the resource was upgraded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private String idcsLastUpgradedInRelease; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: + * none The release number when the resource was upgraded. + * + * @param idcsLastUpgradedInRelease the value to set + * @return this builder + */ + public Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease) { + this.idcsLastUpgradedInRelease = idcsLastUpgradedInRelease; + this.__explicitlySet__.add("idcsLastUpgradedInRelease"); + return this; + } + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none OCI Domain Id (ocid) in which the resource lives. + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private String domainOcid; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none OCI Domain Id (ocid) in which the resource lives. + * + * @param domainOcid the value to set + * @return this builder + */ + public Builder domainOcid(String domainOcid) { + this.domainOcid = domainOcid; + this.__explicitlySet__.add("domainOcid"); + return this; + } + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none OCI Compartment Id (ocid) in which the resource lives. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private String compartmentOcid; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none OCI Compartment Id (ocid) in which the resource lives. + * + * @param compartmentOcid the value to set + * @return this builder + */ + public Builder compartmentOcid(String compartmentOcid) { + this.compartmentOcid = compartmentOcid; + this.__explicitlySet__.add("compartmentOcid"); + return this; + } + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none OCI Tenant Id (ocid) in which the resource lives. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private String tenancyOcid; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: + * none OCI Tenant Id (ocid) in which the resource lives. + * + * @param tenancyOcid the value to set + * @return this builder + */ + public Builder tenancyOcid(String tenancyOcid) { + this.tenancyOcid = tenancyOcid; + this.__explicitlySet__.add("tenancyOcid"); + return this; + } + /** + * **SCIM++ Properties:** - idcsSearchable: false - multiValued: false - required: true - + * mutability: writeOnly - returned: default - type: boolean Consent to be provided for + * restoring the Oci Console SignOn Policy to Factory Defaults. Defaults to false + */ + @com.fasterxml.jackson.annotation.JsonProperty("consent") + private Boolean consent; + + /** + * **SCIM++ Properties:** - idcsSearchable: false - multiValued: false - required: true - + * mutability: writeOnly - returned: default - type: boolean Consent to be provided for + * restoring the Oci Console SignOn Policy to Factory Defaults. Defaults to false + * + * @param consent the value to set + * @return this builder + */ + public Builder consent(Boolean consent) { + this.consent = consent; + this.__explicitlySet__.add("consent"); + return this; + } + /** + * **SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: true - returned: default - type: string Detailed reason when domain + * admin opts to restore the Oci Console SignOn Policy to Factory Defaults + */ + @com.fasterxml.jackson.annotation.JsonProperty("reason") + private String reason; + + /** + * **SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: true - returned: default - type: string Detailed reason when domain + * admin opts to restore the Oci Console SignOn Policy to Factory Defaults + * + * @param reason the value to set + * @return this builder + */ + public Builder reason(String reason) { + this.reason = reason; + this.__explicitlySet__.add("reason"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public RestoreOciConsolePolicy build() { + RestoreOciConsolePolicy model = + new RestoreOciConsolePolicy( + 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.consent, + this.reason); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(RestoreOciConsolePolicy 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("consent")) { + this.consent(model.getConsent()); + } + if (model.wasPropertyExplicitlySet("reason")) { + this.reason(model.getReason()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * 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. + */ + @com.fasterxml.jackson.annotation.JsonProperty("id") + private final String id; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: always - type: string - uniqueness: global + * 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. + * + * @return the value + */ + public String getId() { + return id; + } + + /** + * **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global Unique OCI identifier for the SCIM Resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("ocid") + private final String ocid; + + /** + * **SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - + * mutability: immutable - required: false - returned: default - type: string - uniqueness: + * global Unique OCI identifier for the SCIM Resource. + * + * @return the value + */ + public String getOcid() { + return ocid; + } + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * 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. + */ + @com.fasterxml.jackson.annotation.JsonProperty("schemas") + private final java.util.List schemas; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - + * mutability: readWrite - required: true - returned: default - type: string - uniqueness: none + * 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. + * + * @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; + } + + /** + * **SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none Each value of this + * attribute specifies an operation that only an internal client may perform on this particular + * resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsPreventedOperations") + private final java.util.List idcsPreventedOperations; + + /** + * **SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - + * required: false - returned: request - type: string - uniqueness: none Each value of this + * attribute specifies an operation that only an internal client may perform on this particular + * resource. + * + * @return the value + */ + public java.util.List getIdcsPreventedOperations() { + return idcsPreventedOperations; + } + + /** + * **SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.value]] - idcsSearchable: true - multiValued: true - mutability: readWrite - + * required: false - returned: request - type: complex - uniqueness: none A list of tags on this + * resource. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tags") + private final java.util.List tags; + + /** + * **SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.value]] - idcsSearchable: true - multiValued: true - mutability: readWrite - + * required: false - returned: request - type: complex - uniqueness: none A list of tags on this + * resource. + * + * @return the value + */ + public java.util.List getTags() { + return tags; + } + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * 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. + */ + @com.fasterxml.jackson.annotation.JsonProperty("deleteInProgress") + private final Boolean deleteInProgress; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none + * 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. + * + * @return the value + */ + public Boolean getDeleteInProgress() { + return deleteInProgress; + } + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * The release number when the resource was upgraded. + */ + @com.fasterxml.jackson.annotation.JsonProperty("idcsLastUpgradedInRelease") + private final String idcsLastUpgradedInRelease; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: request - type: string - uniqueness: none + * The release number when the resource was upgraded. + * + * @return the value + */ + public String getIdcsLastUpgradedInRelease() { + return idcsLastUpgradedInRelease; + } + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * OCI Domain Id (ocid) in which the resource lives. + */ + @com.fasterxml.jackson.annotation.JsonProperty("domainOcid") + private final String domainOcid; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * OCI Domain Id (ocid) in which the resource lives. + * + * @return the value + */ + public String getDomainOcid() { + return domainOcid; + } + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * OCI Compartment Id (ocid) in which the resource lives. + */ + @com.fasterxml.jackson.annotation.JsonProperty("compartmentOcid") + private final String compartmentOcid; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * OCI Compartment Id (ocid) in which the resource lives. + * + * @return the value + */ + public String getCompartmentOcid() { + return compartmentOcid; + } + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * OCI Tenant Id (ocid) in which the resource lives. + */ + @com.fasterxml.jackson.annotation.JsonProperty("tenancyOcid") + private final String tenancyOcid; + + /** + * **SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - + * mutability: readOnly - required: false - returned: default - type: string - uniqueness: none + * OCI Tenant Id (ocid) in which the resource lives. + * + * @return the value + */ + public String getTenancyOcid() { + return tenancyOcid; + } + + /** + * **SCIM++ Properties:** - idcsSearchable: false - multiValued: false - required: true - + * mutability: writeOnly - returned: default - type: boolean Consent to be provided for + * restoring the Oci Console SignOn Policy to Factory Defaults. Defaults to false + */ + @com.fasterxml.jackson.annotation.JsonProperty("consent") + private final Boolean consent; + + /** + * **SCIM++ Properties:** - idcsSearchable: false - multiValued: false - required: true - + * mutability: writeOnly - returned: default - type: boolean Consent to be provided for + * restoring the Oci Console SignOn Policy to Factory Defaults. Defaults to false + * + * @return the value + */ + public Boolean getConsent() { + return consent; + } + + /** + * **SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly - + * required: true - returned: default - type: string Detailed reason when domain admin opts to + * restore the Oci Console SignOn Policy to Factory Defaults + */ + @com.fasterxml.jackson.annotation.JsonProperty("reason") + private final String reason; + + /** + * **SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly - + * required: true - returned: default - type: string Detailed reason when domain admin opts to + * restore the Oci Console SignOn Policy to Factory Defaults + * + * @return the value + */ + public String getReason() { + return reason; + } + + @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("RestoreOciConsolePolicy("); + 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(", consent=").append(String.valueOf(this.consent)); + sb.append(", reason=").append(String.valueOf(this.reason)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RestoreOciConsolePolicy)) { + return false; + } + + RestoreOciConsolePolicy other = (RestoreOciConsolePolicy) 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.consent, other.consent) + && java.util.Objects.equals(this.reason, other.reason) + && 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.consent == null ? 43 : this.consent.hashCode()); + result = (result * PRIME) + (this.reason == null ? 43 : this.reason.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Rule.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Rule.java index 059094aa4d5..50158a38832 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Rule.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/Rule.java @@ -45,7 +45,8 @@ public final class Rule extends com.oracle.bmc.http.client.internal.ExplicitlySe "condition", "conditionGroup", "policyType", - "ruleReturn" + "ruleReturn", + "urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy" }) public Rule( String id, @@ -70,7 +71,9 @@ public Rule( String condition, RuleConditionGroup conditionGroup, RulePolicyType policyType, - java.util.List ruleReturn) { + java.util.List ruleReturn, + RuleExtensionOciconsolesignonpolicyconsentPolicy + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy) { super(); this.id = id; this.ocid = ocid; @@ -95,6 +98,8 @@ public Rule( this.conditionGroup = conditionGroup; this.policyType = policyType; this.ruleReturn = ruleReturn; + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy = + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; } @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") @@ -254,9 +259,10 @@ public Builder 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 + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.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; @@ -264,9 +270,10 @@ public Builder 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 + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.value]] - idcsSearchable: true - multiValued: true - mutability: readWrite - + * required: false - returned: request - type: complex - uniqueness: none * * @param tags the value to set * @return this builder @@ -636,6 +643,22 @@ public Builder ruleReturn(java.util.List ruleReturn) { return this; } + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:ociconsolesignonpolicyconsent:Policy") + private RuleExtensionOciconsolesignonpolicyconsentPolicy + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; + + public Builder + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy( + RuleExtensionOciconsolesignonpolicyconsentPolicy + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy = + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; + this.__explicitlySet__.add( + "urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy"); + return this; + } + @com.fasterxml.jackson.annotation.JsonIgnore private final java.util.Set __explicitlySet__ = new java.util.HashSet(); @@ -664,7 +687,9 @@ public Rule build() { this.condition, this.conditionGroup, this.policyType, - this.ruleReturn); + this.ruleReturn, + this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy); for (String explicitlySetProperty : this.__explicitlySet__) { model.markPropertyAsExplicitlySet(explicitlySetProperty); } @@ -742,6 +767,12 @@ public Builder copy(Rule model) { if (model.wasPropertyExplicitlySet("ruleReturn")) { this.ruleReturn(model.getRuleReturn()); } + if (model.wasPropertyExplicitlySet( + "urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy")) { + this.urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy( + model + .getUrnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy()); + } return this; } } @@ -891,9 +922,10 @@ public java.util.List getIdcsPreventedOperations() { /** * 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 + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.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; @@ -901,9 +933,10 @@ public java.util.List getIdcsPreventedOperations() { /** * 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 + *

*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsCsvAttributeNameMappings: + * [[columnHeaderName:Tag Key, mapsTo:tags.key], [columnHeaderName:Tag Value, + * mapsTo:tags.value]] - idcsSearchable: true - multiValued: true - mutability: readWrite - + * required: false - returned: request - type: complex - uniqueness: none * * @return the value */ @@ -1222,6 +1255,16 @@ public java.util.List getRuleReturn() { return ruleReturn; } + @com.fasterxml.jackson.annotation.JsonProperty( + "urn:ietf:params:scim:schemas:oracle:idcs:extension:ociconsolesignonpolicyconsent:Policy") + private final RuleExtensionOciconsolesignonpolicyconsentPolicy + urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; + + public RuleExtensionOciconsolesignonpolicyconsentPolicy + getUrnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy() { + return urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy; + } + @Override public String toString() { return this.toString(true); @@ -1262,6 +1305,12 @@ public String toString(boolean includeByteArrayContents) { sb.append(", conditionGroup=").append(String.valueOf(this.conditionGroup)); sb.append(", policyType=").append(String.valueOf(this.policyType)); sb.append(", ruleReturn=").append(String.valueOf(this.ruleReturn)); + sb.append( + ", urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy=") + .append( + String.valueOf( + this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy)); sb.append(")"); return sb.toString(); } @@ -1301,6 +1350,10 @@ public boolean equals(Object o) { && java.util.Objects.equals(this.conditionGroup, other.conditionGroup) && java.util.Objects.equals(this.policyType, other.policyType) && java.util.Objects.equals(this.ruleReturn, other.ruleReturn) + && java.util.Objects.equals( + this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy, + other.urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy) && super.equals(other); } @@ -1351,6 +1404,15 @@ public int hashCode() { + (this.conditionGroup == null ? 43 : this.conditionGroup.hashCode()); result = (result * PRIME) + (this.policyType == null ? 43 : this.policyType.hashCode()); result = (result * PRIME) + (this.ruleReturn == null ? 43 : this.ruleReturn.hashCode()); + result = + (result * PRIME) + + (this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy + == null + ? 43 + : this + .urnIetfParamsScimSchemasOracleIdcsExtensionOciconsolesignonpolicyconsentPolicy + .hashCode()); result = (result * PRIME) + super.hashCode(); return result; } diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/RuleConditionGroup.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/RuleConditionGroup.java index eaa76f620d3..0bcff8c555a 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/RuleConditionGroup.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/RuleConditionGroup.java @@ -38,7 +38,7 @@ public RuleConditionGroup(String value, String ref, Type type, String name) { @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") public static class Builder { /** - * Condition or ConditionGroup identifier + * Condition or ConditionGroup identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: @@ -48,7 +48,7 @@ public static class Builder { private String value; /** - * Condition or ConditionGroup identifier + * Condition or ConditionGroup identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: @@ -178,7 +178,7 @@ public Builder toBuilder() { } /** - * Condition or ConditionGroup identifier + * Condition or ConditionGroup identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - * mutability: readWrite - required: false - returned: default - type: string - uniqueness: none @@ -187,7 +187,7 @@ public Builder toBuilder() { private final String value; /** - * Condition or ConditionGroup identifier + * Condition or ConditionGroup identifier. * *

*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - 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/RuleExtensionOciconsolesignonpolicyconsentPolicy.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/RuleExtensionOciconsolesignonpolicyconsentPolicy.java new file mode 100644 index 00000000000..54ef274e60a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/model/RuleExtensionOciconsolesignonpolicyconsentPolicy.java @@ -0,0 +1,303 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 used to record consent for modification of the "Security Policy + * for OCI Console" sign-on policy, Rule, Condition or ConditionGroup.
+ * Note: Objects should always be created or deserialized using the {@link Builder}. This model + * distinguishes fields that are {@code null} because they are 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 = RuleExtensionOciconsolesignonpolicyconsentPolicy.Builder.class) +@com.fasterxml.jackson.annotation.JsonFilter( + com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME) +public final class RuleExtensionOciconsolesignonpolicyconsentPolicy + extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel { + @Deprecated + @java.beans.ConstructorProperties({"consent", "justification", "reason"}) + public RuleExtensionOciconsolesignonpolicyconsentPolicy( + Boolean consent, String justification, String reason) { + super(); + this.consent = consent; + this.justification = justification; + this.reason = reason; + } + + @com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "") + public static class Builder { + /** + * Set to true when an identity domain administrator opts to change the Oracle security + * defaults for the "Security Policy for OCI Console" shipped by Oracle. Defaults to false. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("consent") + private Boolean consent; + + /** + * Set to true when an identity domain administrator opts to change the Oracle security + * defaults for the "Security Policy for OCI Console" shipped by Oracle. Defaults to false. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: boolean + * + * @param consent the value to set + * @return this builder + */ + public Builder consent(Boolean consent) { + this.consent = consent; + this.__explicitlySet__.add("consent"); + return this; + } + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped + * by Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("justification") + private String justification; + + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped + * by Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: string + * + * @param justification the value to set + * @return this builder + */ + public Builder justification(String justification) { + this.justification = justification; + this.__explicitlySet__.add("justification"); + return this; + } + /** + * The detailed reason for the change when an identity domain administrator opts to modify + * the Oracle security defaults for the "Security Policy for OCI Console" sign-on policy + * shipped by Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("reason") + private String reason; + + /** + * The detailed reason for the change when an identity domain administrator opts to modify + * the Oracle security defaults for the "Security Policy for OCI Console" sign-on policy + * shipped by Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: + * writeOnly - required: false - returned: never - type: string + * + * @param reason the value to set + * @return this builder + */ + public Builder reason(String reason) { + this.reason = reason; + this.__explicitlySet__.add("reason"); + return this; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + private final java.util.Set __explicitlySet__ = new java.util.HashSet(); + + public RuleExtensionOciconsolesignonpolicyconsentPolicy build() { + RuleExtensionOciconsolesignonpolicyconsentPolicy model = + new RuleExtensionOciconsolesignonpolicyconsentPolicy( + this.consent, this.justification, this.reason); + for (String explicitlySetProperty : this.__explicitlySet__) { + model.markPropertyAsExplicitlySet(explicitlySetProperty); + } + return model; + } + + @com.fasterxml.jackson.annotation.JsonIgnore + public Builder copy(RuleExtensionOciconsolesignonpolicyconsentPolicy model) { + if (model.wasPropertyExplicitlySet("consent")) { + this.consent(model.getConsent()); + } + if (model.wasPropertyExplicitlySet("justification")) { + this.justification(model.getJustification()); + } + if (model.wasPropertyExplicitlySet("reason")) { + this.reason(model.getReason()); + } + return this; + } + } + + /** Create a new builder. */ + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().copy(this); + } + + /** + * Set to true when an identity domain administrator opts to change the Oracle security defaults + * for the "Security Policy for OCI Console" shipped by Oracle. Defaults to false. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: boolean + */ + @com.fasterxml.jackson.annotation.JsonProperty("consent") + private final Boolean consent; + + /** + * Set to true when an identity domain administrator opts to change the Oracle security defaults + * for the "Security Policy for OCI Console" shipped by Oracle. Defaults to false. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: boolean + * + * @return the value + */ + public Boolean getConsent() { + return consent; + } + + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("justification") + private final String justification; + + /** + * The justification for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: string + * + * @return the value + */ + public String getJustification() { + return justification; + } + + /** + * The detailed reason for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: string + */ + @com.fasterxml.jackson.annotation.JsonProperty("reason") + private final String reason; + + /** + * The detailed reason for the change when an identity domain administrator opts to modify the + * Oracle security defaults for the "Security Policy for OCI Console" sign-on policy shipped by + * Oracle. + * + *

*Added In:** 2405220110 + * + *

*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: writeOnly + * - required: false - returned: never - type: string + * + * @return the value + */ + public String getReason() { + return reason; + } + + @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("RuleExtensionOciconsolesignonpolicyconsentPolicy("); + sb.append("super=").append(super.toString()); + sb.append("consent=").append(String.valueOf(this.consent)); + sb.append(", justification=").append(String.valueOf(this.justification)); + sb.append(", reason=").append(String.valueOf(this.reason)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof RuleExtensionOciconsolesignonpolicyconsentPolicy)) { + return false; + } + + RuleExtensionOciconsolesignonpolicyconsentPolicy other = + (RuleExtensionOciconsolesignonpolicyconsentPolicy) o; + return java.util.Objects.equals(this.consent, other.consent) + && java.util.Objects.equals(this.justification, other.justification) + && java.util.Objects.equals(this.reason, other.reason) + && super.equals(other); + } + + @Override + public int hashCode() { + final int PRIME = 59; + int result = 1; + result = (result * PRIME) + (this.consent == null ? 43 : this.consent.hashCode()); + result = + (result * PRIME) + + (this.justification == null ? 43 : this.justification.hashCode()); + result = (result * PRIME) + (this.reason == null ? 43 : this.reason.hashCode()); + result = (result * PRIME) + super.hashCode(); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateConditionRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateConditionRequest.java index d23895a2b84..b6d13474205 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateConditionRequest.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateConditionRequest.java @@ -95,9 +95,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -107,9 +108,10 @@ public java.util.List getAtt * 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 + * 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 @@ -126,9 +128,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -138,9 +141,10 @@ public java.util.List getAtt * 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 + * 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 @@ -305,8 +309,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -317,8 +323,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 @@ -337,8 +345,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -349,8 +359,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreatePolicyRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreatePolicyRequest.java index 4ef7b0c6732..ba23a03886d 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreatePolicyRequest.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreatePolicyRequest.java @@ -95,9 +95,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -107,9 +108,10 @@ public java.util.List getAtt * 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 + * 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 @@ -126,9 +128,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -138,9 +141,10 @@ public java.util.List getAtt * 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 + * 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 @@ -305,8 +309,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -317,8 +323,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 @@ -337,8 +345,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -349,8 +359,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateRestoreOciConsolePolicyRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateRestoreOciConsolePolicyRequest.java new file mode 100644 index 00000000000..5c5f083adc4 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateRestoreOciConsolePolicyRequest.java @@ -0,0 +1,464 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 + * CreateRestoreOciConsolePolicyRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class CreateRestoreOciConsolePolicyRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.RestoreOciConsolePolicy> { + + /** + * 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; + } + /** + * RestoreOciConsolePolicy 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.RestoreOciConsolePolicy restoreOciConsolePolicy; + + /** + * RestoreOciConsolePolicy 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.RestoreOciConsolePolicy + getRestoreOciConsolePolicy() { + return restoreOciConsolePolicy; + } + /** + * 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.RestoreOciConsolePolicy getBody$() { + return restoreOciConsolePolicy; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + CreateRestoreOciConsolePolicyRequest, + com.oracle.bmc.identitydomains.model.RestoreOciConsolePolicy> { + 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; + } + + /** + * RestoreOciConsolePolicy 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.RestoreOciConsolePolicy + restoreOciConsolePolicy = null; + + /** + * RestoreOciConsolePolicy 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 restoreOciConsolePolicy the value to set + * @return this builder instance + */ + public Builder restoreOciConsolePolicy( + com.oracle.bmc.identitydomains.model.RestoreOciConsolePolicy + restoreOciConsolePolicy) { + this.restoreOciConsolePolicy = restoreOciConsolePolicy; + 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(CreateRestoreOciConsolePolicyRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + restoreOciConsolePolicy(o.getRestoreOciConsolePolicy()); + opcRetryToken(o.getOpcRetryToken()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of CreateRestoreOciConsolePolicyRequest 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 CreateRestoreOciConsolePolicyRequest + */ + public CreateRestoreOciConsolePolicyRequest build() { + CreateRestoreOciConsolePolicyRequest 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.RestoreOciConsolePolicy body) { + restoreOciConsolePolicy(body); + return this; + } + + /** + * Build the instance of CreateRestoreOciConsolePolicyRequest 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 CreateRestoreOciConsolePolicyRequest + */ + public CreateRestoreOciConsolePolicyRequest buildWithoutInvocationCallback() { + CreateRestoreOciConsolePolicyRequest request = + new CreateRestoreOciConsolePolicyRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.restoreOciConsolePolicy = restoreOciConsolePolicy; + request.opcRetryToken = opcRetryToken; + return request; + // new CreateRestoreOciConsolePolicyRequest(authorization, resourceTypeSchemaVersion, + // restoreOciConsolePolicy, 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) + .restoreOciConsolePolicy(restoreOciConsolePolicy) + .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(",restoreOciConsolePolicy=").append(String.valueOf(this.restoreOciConsolePolicy)); + 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 CreateRestoreOciConsolePolicyRequest)) { + return false; + } + + CreateRestoreOciConsolePolicyRequest other = (CreateRestoreOciConsolePolicyRequest) 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.restoreOciConsolePolicy, other.restoreOciConsolePolicy) + && 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.restoreOciConsolePolicy == null + ? 43 + : this.restoreOciConsolePolicy.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/CreateRuleRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateRuleRequest.java index 165397a48ef..5c2a7d32d0c 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateRuleRequest.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/CreateRuleRequest.java @@ -95,9 +95,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -107,9 +108,10 @@ public java.util.List getAtt * 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 + * 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 @@ -126,9 +128,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -138,9 +141,10 @@ public java.util.List getAtt * 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 + * 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 @@ -305,8 +309,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -317,8 +323,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 @@ -337,8 +345,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -349,8 +359,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetOciConsoleSignOnPolicyConsentRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetOciConsoleSignOnPolicyConsentRequest.java new file mode 100644 index 00000000000..9ea0bf6644d --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/GetOciConsoleSignOnPolicyConsentRequest.java @@ -0,0 +1,441 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 + * GetOciConsoleSignOnPolicyConsentRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class GetOciConsoleSignOnPolicyConsentRequest + extends com.oracle.bmc.requests.BmcRequest { + + /** ID of the resource */ + private String ociConsoleSignOnPolicyConsentId; + + /** ID of the resource */ + public String getOciConsoleSignOnPolicyConsentId() { + return ociConsoleSignOnPolicyConsentId; + } + /** + * 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< + GetOciConsoleSignOnPolicyConsentRequest, 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 ociConsoleSignOnPolicyConsentId = null; + + /** + * ID of the resource + * + * @param ociConsoleSignOnPolicyConsentId the value to set + * @return this builder instance + */ + public Builder ociConsoleSignOnPolicyConsentId(String ociConsoleSignOnPolicyConsentId) { + this.ociConsoleSignOnPolicyConsentId = ociConsoleSignOnPolicyConsentId; + 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(GetOciConsoleSignOnPolicyConsentRequest o) { + ociConsoleSignOnPolicyConsentId(o.getOciConsoleSignOnPolicyConsentId()); + 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 GetOciConsoleSignOnPolicyConsentRequest 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 GetOciConsoleSignOnPolicyConsentRequest + */ + public GetOciConsoleSignOnPolicyConsentRequest build() { + GetOciConsoleSignOnPolicyConsentRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of GetOciConsoleSignOnPolicyConsentRequest 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 GetOciConsoleSignOnPolicyConsentRequest + */ + public GetOciConsoleSignOnPolicyConsentRequest buildWithoutInvocationCallback() { + GetOciConsoleSignOnPolicyConsentRequest request = + new GetOciConsoleSignOnPolicyConsentRequest(); + request.ociConsoleSignOnPolicyConsentId = ociConsoleSignOnPolicyConsentId; + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.attributes = attributes; + request.attributeSets = attributeSets; + request.opcRetryToken = opcRetryToken; + return request; + // new GetOciConsoleSignOnPolicyConsentRequest(ociConsoleSignOnPolicyConsentId, + // 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() + .ociConsoleSignOnPolicyConsentId(ociConsoleSignOnPolicyConsentId) + .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(",ociConsoleSignOnPolicyConsentId=") + .append(String.valueOf(this.ociConsoleSignOnPolicyConsentId)); + 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 GetOciConsoleSignOnPolicyConsentRequest)) { + return false; + } + + GetOciConsoleSignOnPolicyConsentRequest other = (GetOciConsoleSignOnPolicyConsentRequest) o; + return super.equals(o) + && java.util.Objects.equals( + this.ociConsoleSignOnPolicyConsentId, other.ociConsoleSignOnPolicyConsentId) + && 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.ociConsoleSignOnPolicyConsentId == null + ? 43 + : this.ociConsoleSignOnPolicyConsentId.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/ListOciConsoleSignOnPolicyConsentsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListOciConsoleSignOnPolicyConsentsRequest.java new file mode 100644 index 00000000000..0a8df2eba97 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/ListOciConsoleSignOnPolicyConsentsRequest.java @@ -0,0 +1,701 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 + * ListOciConsoleSignOnPolicyConsentsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class ListOciConsoleSignOnPolicyConsentsRequest + 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< + ListOciConsoleSignOnPolicyConsentsRequest, 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(ListOciConsoleSignOnPolicyConsentsRequest 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 ListOciConsoleSignOnPolicyConsentsRequest 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 ListOciConsoleSignOnPolicyConsentsRequest + */ + public ListOciConsoleSignOnPolicyConsentsRequest build() { + ListOciConsoleSignOnPolicyConsentsRequest request = buildWithoutInvocationCallback(); + request.setInvocationCallback(invocationCallback); + request.setRetryConfiguration(retryConfiguration); + return request; + } + + /** + * Build the instance of ListOciConsoleSignOnPolicyConsentsRequest 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 ListOciConsoleSignOnPolicyConsentsRequest + */ + public ListOciConsoleSignOnPolicyConsentsRequest buildWithoutInvocationCallback() { + ListOciConsoleSignOnPolicyConsentsRequest request = + new ListOciConsoleSignOnPolicyConsentsRequest(); + 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 ListOciConsoleSignOnPolicyConsentsRequest(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 ListOciConsoleSignOnPolicyConsentsRequest)) { + return false; + } + + ListOciConsoleSignOnPolicyConsentsRequest other = + (ListOciConsoleSignOnPolicyConsentsRequest) 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/PatchConditionRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchConditionRequest.java index 785463c2093..57306d00cb1 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchConditionRequest.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchConditionRequest.java @@ -102,9 +102,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -114,9 +115,10 @@ public java.util.List getAtt * 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 + * 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 @@ -133,9 +135,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -145,9 +148,10 @@ public java.util.List getAtt * 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 + * 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 @@ -333,8 +337,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -345,8 +351,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 @@ -365,8 +373,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -377,8 +387,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchPolicyRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchPolicyRequest.java index cb24297dd71..1887a8f10af 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchPolicyRequest.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchPolicyRequest.java @@ -102,9 +102,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -114,9 +115,10 @@ public java.util.List getAtt * 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 + * 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 @@ -133,9 +135,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -145,9 +148,10 @@ public java.util.List getAtt * 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 + * 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 @@ -333,8 +337,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -345,8 +351,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 @@ -365,8 +373,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -377,8 +387,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchRuleRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchRuleRequest.java index 4bdb90a1be8..1614fc8f9ab 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchRuleRequest.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PatchRuleRequest.java @@ -102,9 +102,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -114,9 +115,10 @@ public java.util.List getAtt * 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 + * 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 @@ -133,9 +135,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -145,9 +148,10 @@ public java.util.List getAtt * 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 + * 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 @@ -333,8 +337,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -345,8 +351,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 @@ -365,8 +373,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -377,8 +387,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutConditionRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutConditionRequest.java index 23fe954e2ad..270ca4782b1 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutConditionRequest.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutConditionRequest.java @@ -102,9 +102,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -114,9 +115,10 @@ public java.util.List getAtt * 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 + * 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 @@ -133,9 +135,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -145,9 +148,10 @@ public java.util.List getAtt * 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 + * 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 @@ -333,8 +337,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -345,8 +351,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 @@ -365,8 +373,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -377,8 +387,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutPolicyRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutPolicyRequest.java index ec37e6a0a1a..da298b47a2d 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutPolicyRequest.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutPolicyRequest.java @@ -102,9 +102,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -114,9 +115,10 @@ public java.util.List getAtt * 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 + * 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 @@ -133,9 +135,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -145,9 +148,10 @@ public java.util.List getAtt * 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 + * 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 @@ -333,8 +337,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -345,8 +351,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 @@ -365,8 +373,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -377,8 +387,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutRuleRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutRuleRequest.java index e1a685709ef..516b171a2b7 100644 --- a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutRuleRequest.java +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/PutRuleRequest.java @@ -102,9 +102,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -114,9 +115,10 @@ public java.util.List getAtt * 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 + * 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 @@ -133,9 +135,10 @@ public java.util.List getAtt * *

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 + * 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 @@ -145,9 +148,10 @@ public java.util.List getAtt * 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 + * 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 @@ -333,8 +337,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -345,8 +351,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 @@ -365,8 +373,10 @@ public Builder attributeSets(AttributeSets singularValue) { *

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 + * 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 @@ -377,8 +387,10 @@ public Builder attributeSets(AttributeSets singularValue) { * *

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 + * 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 diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchOciConsoleSignOnPolicyConsentsRequest.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchOciConsoleSignOnPolicyConsentsRequest.java new file mode 100644 index 00000000000..dc1f4a7ebae --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/requests/SearchOciConsoleSignOnPolicyConsentsRequest.java @@ -0,0 +1,409 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 + * SearchOciConsoleSignOnPolicyConsentsRequest. + */ +@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: v1") +public class SearchOciConsoleSignOnPolicyConsentsRequest + extends com.oracle.bmc.requests.BmcRequest< + com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentSearchRequest> { + + /** + * 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 OciConsoleSignOnPolicyConsents */ + private com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentSearchRequest + ociConsoleSignOnPolicyConsentSearchRequest; + + /** Parameters for searching OciConsoleSignOnPolicyConsents */ + public com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentSearchRequest + getOciConsoleSignOnPolicyConsentSearchRequest() { + return ociConsoleSignOnPolicyConsentSearchRequest; + } + /** + * 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.OciConsoleSignOnPolicyConsentSearchRequest + getBody$() { + return ociConsoleSignOnPolicyConsentSearchRequest; + } + + public static class Builder + implements com.oracle.bmc.requests.BmcRequest.Builder< + SearchOciConsoleSignOnPolicyConsentsRequest, + com.oracle.bmc.identitydomains.model + .OciConsoleSignOnPolicyConsentSearchRequest> { + 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 OciConsoleSignOnPolicyConsents */ + private com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentSearchRequest + ociConsoleSignOnPolicyConsentSearchRequest = null; + + /** + * Parameters for searching OciConsoleSignOnPolicyConsents + * + * @param ociConsoleSignOnPolicyConsentSearchRequest the value to set + * @return this builder instance + */ + public Builder ociConsoleSignOnPolicyConsentSearchRequest( + com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentSearchRequest + ociConsoleSignOnPolicyConsentSearchRequest) { + this.ociConsoleSignOnPolicyConsentSearchRequest = + ociConsoleSignOnPolicyConsentSearchRequest; + 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(SearchOciConsoleSignOnPolicyConsentsRequest o) { + authorization(o.getAuthorization()); + resourceTypeSchemaVersion(o.getResourceTypeSchemaVersion()); + ociConsoleSignOnPolicyConsentSearchRequest( + o.getOciConsoleSignOnPolicyConsentSearchRequest()); + opcRetryToken(o.getOpcRetryToken()); + page(o.getPage()); + limit(o.getLimit()); + invocationCallback(o.getInvocationCallback()); + retryConfiguration(o.getRetryConfiguration()); + return this; + } + + /** + * Build the instance of SearchOciConsoleSignOnPolicyConsentsRequest 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 SearchOciConsoleSignOnPolicyConsentsRequest + */ + public SearchOciConsoleSignOnPolicyConsentsRequest build() { + SearchOciConsoleSignOnPolicyConsentsRequest 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.OciConsoleSignOnPolicyConsentSearchRequest + body) { + ociConsoleSignOnPolicyConsentSearchRequest(body); + return this; + } + + /** + * Build the instance of SearchOciConsoleSignOnPolicyConsentsRequest 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 SearchOciConsoleSignOnPolicyConsentsRequest + */ + public SearchOciConsoleSignOnPolicyConsentsRequest buildWithoutInvocationCallback() { + SearchOciConsoleSignOnPolicyConsentsRequest request = + new SearchOciConsoleSignOnPolicyConsentsRequest(); + request.authorization = authorization; + request.resourceTypeSchemaVersion = resourceTypeSchemaVersion; + request.ociConsoleSignOnPolicyConsentSearchRequest = + ociConsoleSignOnPolicyConsentSearchRequest; + request.opcRetryToken = opcRetryToken; + request.page = page; + request.limit = limit; + return request; + // new SearchOciConsoleSignOnPolicyConsentsRequest(authorization, + // resourceTypeSchemaVersion, ociConsoleSignOnPolicyConsentSearchRequest, 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) + .ociConsoleSignOnPolicyConsentSearchRequest( + ociConsoleSignOnPolicyConsentSearchRequest) + .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(",ociConsoleSignOnPolicyConsentSearchRequest=") + .append(String.valueOf(this.ociConsoleSignOnPolicyConsentSearchRequest)); + 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 SearchOciConsoleSignOnPolicyConsentsRequest)) { + return false; + } + + SearchOciConsoleSignOnPolicyConsentsRequest other = + (SearchOciConsoleSignOnPolicyConsentsRequest) 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.ociConsoleSignOnPolicyConsentSearchRequest, + other.ociConsoleSignOnPolicyConsentSearchRequest) + && 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.ociConsoleSignOnPolicyConsentSearchRequest == null + ? 43 + : this.ociConsoleSignOnPolicyConsentSearchRequest.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/CreateRestoreOciConsolePolicyResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateRestoreOciConsolePolicyResponse.java new file mode 100644 index 00000000000..411e407ce09 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/CreateRestoreOciConsolePolicyResponse.java @@ -0,0 +1,218 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 CreateRestoreOciConsolePolicyResponse 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 {@code RestoreOciConsolePolicy} instance. */ + private com.oracle.bmc.identitydomains.model.RestoreOciConsolePolicy restoreOciConsolePolicy; + + /** + * The returned {@code RestoreOciConsolePolicy} instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.RestoreOciConsolePolicy + getRestoreOciConsolePolicy() { + return restoreOciConsolePolicy; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "etag", + "restoreOciConsolePolicy" + }) + private CreateRestoreOciConsolePolicyResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String etag, + com.oracle.bmc.identitydomains.model.RestoreOciConsolePolicy restoreOciConsolePolicy) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.etag = etag; + this.restoreOciConsolePolicy = restoreOciConsolePolicy; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + CreateRestoreOciConsolePolicyResponse> { + 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 {@code RestoreOciConsolePolicy} instance. */ + private com.oracle.bmc.identitydomains.model.RestoreOciConsolePolicy + restoreOciConsolePolicy; + + /** + * The returned {@code RestoreOciConsolePolicy} instance. + * + * @param restoreOciConsolePolicy the value to set + * @return this builder + */ + public Builder restoreOciConsolePolicy( + com.oracle.bmc.identitydomains.model.RestoreOciConsolePolicy + restoreOciConsolePolicy) { + this.restoreOciConsolePolicy = restoreOciConsolePolicy; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(CreateRestoreOciConsolePolicyResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + etag(o.getEtag()); + restoreOciConsolePolicy(o.getRestoreOciConsolePolicy()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public CreateRestoreOciConsolePolicyResponse build() { + return new CreateRestoreOciConsolePolicyResponse( + __httpStatusCode__, headers, opcRequestId, etag, restoreOciConsolePolicy); + } + } + + /** + * 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(",restoreOciConsolePolicy=").append(String.valueOf(restoreOciConsolePolicy)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof CreateRestoreOciConsolePolicyResponse)) { + return false; + } + + CreateRestoreOciConsolePolicyResponse other = (CreateRestoreOciConsolePolicyResponse) 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.restoreOciConsolePolicy, other.restoreOciConsolePolicy); + } + + @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.restoreOciConsolePolicy == null + ? 43 + : this.restoreOciConsolePolicy.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetOciConsoleSignOnPolicyConsentResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetOciConsoleSignOnPolicyConsentResponse.java new file mode 100644 index 00000000000..4e07ab9cf05 --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/GetOciConsoleSignOnPolicyConsentResponse.java @@ -0,0 +1,189 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 GetOciConsoleSignOnPolicyConsentResponse 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 {@code OciConsoleSignOnPolicyConsent} instance. */ + private com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsent + ociConsoleSignOnPolicyConsent; + + /** + * The returned {@code OciConsoleSignOnPolicyConsent} instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsent + getOciConsoleSignOnPolicyConsent() { + return ociConsoleSignOnPolicyConsent; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "ociConsoleSignOnPolicyConsent" + }) + private GetOciConsoleSignOnPolicyConsentResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsent + ociConsoleSignOnPolicyConsent) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.ociConsoleSignOnPolicyConsent = ociConsoleSignOnPolicyConsent; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + GetOciConsoleSignOnPolicyConsentResponse> { + 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 {@code OciConsoleSignOnPolicyConsent} instance. */ + private com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsent + ociConsoleSignOnPolicyConsent; + + /** + * The returned {@code OciConsoleSignOnPolicyConsent} instance. + * + * @param ociConsoleSignOnPolicyConsent the value to set + * @return this builder + */ + public Builder ociConsoleSignOnPolicyConsent( + com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsent + ociConsoleSignOnPolicyConsent) { + this.ociConsoleSignOnPolicyConsent = ociConsoleSignOnPolicyConsent; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(GetOciConsoleSignOnPolicyConsentResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + ociConsoleSignOnPolicyConsent(o.getOciConsoleSignOnPolicyConsent()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public GetOciConsoleSignOnPolicyConsentResponse build() { + return new GetOciConsoleSignOnPolicyConsentResponse( + __httpStatusCode__, headers, opcRequestId, ociConsoleSignOnPolicyConsent); + } + } + + /** + * 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(",ociConsoleSignOnPolicyConsent=") + .append(String.valueOf(ociConsoleSignOnPolicyConsent)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof GetOciConsoleSignOnPolicyConsentResponse)) { + return false; + } + + GetOciConsoleSignOnPolicyConsentResponse other = + (GetOciConsoleSignOnPolicyConsentResponse) o; + return super.equals(o) + && java.util.Objects.equals(this.opcRequestId, other.opcRequestId) + && java.util.Objects.equals( + this.ociConsoleSignOnPolicyConsent, other.ociConsoleSignOnPolicyConsent); + } + + @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.ociConsoleSignOnPolicyConsent == null + ? 43 + : this.ociConsoleSignOnPolicyConsent.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListOciConsoleSignOnPolicyConsentsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListOciConsoleSignOnPolicyConsentsResponse.java new file mode 100644 index 00000000000..63c1977ce5f --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/ListOciConsoleSignOnPolicyConsentsResponse.java @@ -0,0 +1,239 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 ListOciConsoleSignOnPolicyConsentsResponse + 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 {@code OciConsoleSignOnPolicyConsents} instance. */ + private com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsents + ociConsoleSignOnPolicyConsents; + + /** + * The returned {@code OciConsoleSignOnPolicyConsents} instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsents + getOciConsoleSignOnPolicyConsents() { + return ociConsoleSignOnPolicyConsents; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "ociConsoleSignOnPolicyConsents" + }) + private ListOciConsoleSignOnPolicyConsentsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsents + ociConsoleSignOnPolicyConsents) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.ociConsoleSignOnPolicyConsents = ociConsoleSignOnPolicyConsents; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + ListOciConsoleSignOnPolicyConsentsResponse> { + 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 {@code OciConsoleSignOnPolicyConsents} instance. */ + private com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsents + ociConsoleSignOnPolicyConsents; + + /** + * The returned {@code OciConsoleSignOnPolicyConsents} instance. + * + * @param ociConsoleSignOnPolicyConsents the value to set + * @return this builder + */ + public Builder ociConsoleSignOnPolicyConsents( + com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsents + ociConsoleSignOnPolicyConsents) { + this.ociConsoleSignOnPolicyConsents = ociConsoleSignOnPolicyConsents; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(ListOciConsoleSignOnPolicyConsentsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + ociConsoleSignOnPolicyConsents(o.getOciConsoleSignOnPolicyConsents()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public ListOciConsoleSignOnPolicyConsentsResponse build() { + return new ListOciConsoleSignOnPolicyConsentsResponse( + __httpStatusCode__, + headers, + opcRequestId, + opcNextPage, + ociConsoleSignOnPolicyConsents); + } + } + + /** + * 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(",ociConsoleSignOnPolicyConsents=") + .append(String.valueOf(ociConsoleSignOnPolicyConsents)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof ListOciConsoleSignOnPolicyConsentsResponse)) { + return false; + } + + ListOciConsoleSignOnPolicyConsentsResponse other = + (ListOciConsoleSignOnPolicyConsentsResponse) 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.ociConsoleSignOnPolicyConsents, other.ociConsoleSignOnPolicyConsents); + } + + @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.ociConsoleSignOnPolicyConsents == null + ? 43 + : this.ociConsoleSignOnPolicyConsents.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchOciConsoleSignOnPolicyConsentsResponse.java b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchOciConsoleSignOnPolicyConsentsResponse.java new file mode 100644 index 00000000000..6178f64f38a --- /dev/null +++ b/bmc-identitydomains/src/main/java/com/oracle/bmc/identitydomains/responses/SearchOciConsoleSignOnPolicyConsentsResponse.java @@ -0,0 +1,239 @@ +/** + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or 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 SearchOciConsoleSignOnPolicyConsentsResponse + 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 {@code OciConsoleSignOnPolicyConsents} instance. */ + private com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsents + ociConsoleSignOnPolicyConsents; + + /** + * The returned {@code OciConsoleSignOnPolicyConsents} instance. + * + * @return the value + */ + public com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsents + getOciConsoleSignOnPolicyConsents() { + return ociConsoleSignOnPolicyConsents; + } + + @java.beans.ConstructorProperties({ + "__httpStatusCode__", + "headers", + "opcRequestId", + "opcNextPage", + "ociConsoleSignOnPolicyConsents" + }) + private SearchOciConsoleSignOnPolicyConsentsResponse( + int __httpStatusCode__, + java.util.Map> headers, + String opcRequestId, + String opcNextPage, + com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsents + ociConsoleSignOnPolicyConsents) { + super(__httpStatusCode__, headers); + this.opcRequestId = opcRequestId; + this.opcNextPage = opcNextPage; + this.ociConsoleSignOnPolicyConsents = ociConsoleSignOnPolicyConsents; + } + + public static class Builder + implements com.oracle.bmc.responses.BmcResponse.Builder< + SearchOciConsoleSignOnPolicyConsentsResponse> { + 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 {@code OciConsoleSignOnPolicyConsents} instance. */ + private com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsents + ociConsoleSignOnPolicyConsents; + + /** + * The returned {@code OciConsoleSignOnPolicyConsents} instance. + * + * @param ociConsoleSignOnPolicyConsents the value to set + * @return this builder + */ + public Builder ociConsoleSignOnPolicyConsents( + com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsents + ociConsoleSignOnPolicyConsents) { + this.ociConsoleSignOnPolicyConsents = ociConsoleSignOnPolicyConsents; + return this; + } + + /** + * Copy method to populate the builder with values from the given instance. + * + * @return this builder instance + */ + @Override + public Builder copy(SearchOciConsoleSignOnPolicyConsentsResponse o) { + __httpStatusCode__(o.get__httpStatusCode__()); + headers(o.getHeaders()); + opcRequestId(o.getOpcRequestId()); + opcNextPage(o.getOpcNextPage()); + ociConsoleSignOnPolicyConsents(o.getOciConsoleSignOnPolicyConsents()); + + return this; + } + + /** + * Build the response object. + * + * @return the response object + */ + @Override + public SearchOciConsoleSignOnPolicyConsentsResponse build() { + return new SearchOciConsoleSignOnPolicyConsentsResponse( + __httpStatusCode__, + headers, + opcRequestId, + opcNextPage, + ociConsoleSignOnPolicyConsents); + } + } + + /** + * 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(",ociConsoleSignOnPolicyConsents=") + .append(String.valueOf(ociConsoleSignOnPolicyConsents)); + sb.append(")"); + return sb.toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (!(o instanceof SearchOciConsoleSignOnPolicyConsentsResponse)) { + return false; + } + + SearchOciConsoleSignOnPolicyConsentsResponse other = + (SearchOciConsoleSignOnPolicyConsentsResponse) 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.ociConsoleSignOnPolicyConsents, other.ociConsoleSignOnPolicyConsents); + } + + @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.ociConsoleSignOnPolicyConsents == null + ? 43 + : this.ociConsoleSignOnPolicyConsents.hashCode()); + return result; + } +} diff --git a/bmc-identitydomains/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-identitydomains/reflect-config.json b/bmc-identitydomains/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-identitydomains/reflect-config.json index 66c8d5ca8ad..5ab1c5179f1 100644 --- a/bmc-identitydomains/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-identitydomains/reflect-config.json +++ b/bmc-identitydomains/src/main/resources/META-INF/native-image/com.oracle.oci.sdk/oci-java-sdk-identitydomains/reflect-config.json @@ -2237,6 +2237,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.ConditionExtensionOciconsolesignonpolicyconsentPolicy", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.ConditionExtensionOciconsolesignonpolicyconsentPolicy$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.identitydomains.model.ConditionSearchRequest", @@ -5335,6 +5349,108 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsent", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsent$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsent$ChangeType", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentConsentSignedBy", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentConsentSignedBy$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentConsentSignedBy$Type", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentModifiedResource", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentModifiedResource$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentModifiedResource$Type", + "allDeclaredFields": true, + "allDeclaredMethods": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentPolicyResource", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentPolicyResource$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentSearchRequest", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsentSearchRequest$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsents", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.OciConsoleSignOnPolicyConsents$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.identitydomains.model.Operations", @@ -5473,6 +5589,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.PolicyExtensionOciconsolesignonpolicyconsentPolicy", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.PolicyExtensionOciconsolesignonpolicyconsentPolicy$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.identitydomains.model.PolicyPolicyType", @@ -5605,6 +5735,20 @@ "allDeclaredMethods": true, "allDeclaredConstructors": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.RestoreOciConsolePolicy", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.RestoreOciConsolePolicy$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.identitydomains.model.Rule", @@ -5639,6 +5783,20 @@ "allDeclaredFields": true, "allDeclaredMethods": true }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.RuleExtensionOciconsolesignonpolicyconsentPolicy", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "queryAllDeclaredConstructors": true + }, + { + "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, + "name": "com.oracle.bmc.identitydomains.model.RuleExtensionOciconsolesignonpolicyconsentPolicy$Builder", + "allDeclaredFields": true, + "allDeclaredMethods": true, + "allDeclaredConstructors": true + }, { "condition" : { "typeReachable" : "com.fasterxml.jackson.databind.ObjectMapper" }, "name": "com.oracle.bmc.identitydomains.model.RulePolicyType", diff --git a/bmc-integration/pom.xml b/bmc-integration/pom.xml index 01082aaaf80..abc0c01af53 100644 --- a/bmc-integration/pom.xml +++ b/bmc-integration/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-integration @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-jms/pom.xml b/bmc-jms/pom.xml index 9090305d52d..33def6890f6 100644 --- a/bmc-jms/pom.xml +++ b/bmc-jms/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-jms @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-jmsjavadownloads/pom.xml b/bmc-jmsjavadownloads/pom.xml index c21f844b358..0d20c739277 100644 --- a/bmc-jmsjavadownloads/pom.xml +++ b/bmc-jmsjavadownloads/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-jmsjavadownloads @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-keymanagement/pom.xml b/bmc-keymanagement/pom.xml index 7ef4561cd1c..7a620832b6e 100644 --- a/bmc-keymanagement/pom.xml +++ b/bmc-keymanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-keymanagement @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-licensemanager/pom.xml b/bmc-licensemanager/pom.xml index c857d3e7681..5876eb098e3 100644 --- a/bmc-licensemanager/pom.xml +++ b/bmc-licensemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-licensemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-limits/pom.xml b/bmc-limits/pom.xml index 2c90a37d0da..38e3f380806 100644 --- a/bmc-limits/pom.xml +++ b/bmc-limits/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-limits @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-loadbalancer/pom.xml b/bmc-loadbalancer/pom.xml index f137b559a20..4986a64cfc7 100644 --- a/bmc-loadbalancer/pom.xml +++ b/bmc-loadbalancer/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml @@ -18,7 +18,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-lockbox/pom.xml b/bmc-lockbox/pom.xml index d5f0bb3120b..38405088d4d 100644 --- a/bmc-lockbox/pom.xml +++ b/bmc-lockbox/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-lockbox @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-loganalytics/pom.xml b/bmc-loganalytics/pom.xml index 0170882f404..e556c88adb1 100644 --- a/bmc-loganalytics/pom.xml +++ b/bmc-loganalytics/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-loganalytics @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-logging/pom.xml b/bmc-logging/pom.xml index ec35e2fc7e8..87199caace9 100644 --- a/bmc-logging/pom.xml +++ b/bmc-logging/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-logging @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-loggingingestion/pom.xml b/bmc-loggingingestion/pom.xml index 66745b762a6..1eb67310f11 100644 --- a/bmc-loggingingestion/pom.xml +++ b/bmc-loggingingestion/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-loggingingestion @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-loggingsearch/pom.xml b/bmc-loggingsearch/pom.xml index fe738a41a08..715ea0e1479 100644 --- a/bmc-loggingsearch/pom.xml +++ b/bmc-loggingsearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-loggingsearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-managementagent/pom.xml b/bmc-managementagent/pom.xml index 292fc3135a3..8954c80c7ef 100644 --- a/bmc-managementagent/pom.xml +++ b/bmc-managementagent/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-managementagent @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-managementdashboard/pom.xml b/bmc-managementdashboard/pom.xml index 5d5e83624ab..4904d3937c8 100644 --- a/bmc-managementdashboard/pom.xml +++ b/bmc-managementdashboard/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-managementdashboard @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-marketplace/pom.xml b/bmc-marketplace/pom.xml index 1c031aa72fd..d07f4ae7705 100644 --- a/bmc-marketplace/pom.xml +++ b/bmc-marketplace/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-marketplace @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-marketplaceprivateoffer/pom.xml b/bmc-marketplaceprivateoffer/pom.xml index a27f0c909fb..90d06b541d1 100644 --- a/bmc-marketplaceprivateoffer/pom.xml +++ b/bmc-marketplaceprivateoffer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-marketplaceprivateoffer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-marketplacepublisher/pom.xml b/bmc-marketplacepublisher/pom.xml index e99a9412116..ea01b7db9ba 100644 --- a/bmc-marketplacepublisher/pom.xml +++ b/bmc-marketplacepublisher/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-marketplacepublisher @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-mediaservices/pom.xml b/bmc-mediaservices/pom.xml index ca71058d55e..6f7a518e6f7 100644 --- a/bmc-mediaservices/pom.xml +++ b/bmc-mediaservices/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-mediaservices @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-monitoring/pom.xml b/bmc-monitoring/pom.xml index f41606792fc..477a2209d2b 100644 --- a/bmc-monitoring/pom.xml +++ b/bmc-monitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-monitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-mysql/pom.xml b/bmc-mysql/pom.xml index 6837091676a..5f87375ac2c 100644 --- a/bmc-mysql/pom.xml +++ b/bmc-mysql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-mysql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-networkfirewall/pom.xml b/bmc-networkfirewall/pom.xml index a692423dd5b..bfb024e1e19 100644 --- a/bmc-networkfirewall/pom.xml +++ b/bmc-networkfirewall/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-networkfirewall @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-networkloadbalancer/pom.xml b/bmc-networkloadbalancer/pom.xml index 54bf256d4b9..6e59871e848 100644 --- a/bmc-networkloadbalancer/pom.xml +++ b/bmc-networkloadbalancer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-networkloadbalancer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-nosql/pom.xml b/bmc-nosql/pom.xml index 9d694790923..19bb444dc62 100644 --- a/bmc-nosql/pom.xml +++ b/bmc-nosql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-nosql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-objectstorage/bmc-objectstorage-combined/pom.xml b/bmc-objectstorage/bmc-objectstorage-combined/pom.xml index 063ebdc7bdd..d6a2d0fcd32 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.52.1 + 3.53.0 ../pom.xml @@ -18,12 +18,12 @@ com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-objectstorage-extensions - 3.52.1 + 3.53.0 diff --git a/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml b/bmc-objectstorage/bmc-objectstorage-extensions/pom.xml index 93e44831b47..07957292bfd 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.52.1 + 3.53.0 ../pom.xml @@ -18,17 +18,17 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-common-httpclient - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-objectstorage-generated - 3.52.1 + 3.53.0 org.slf4j diff --git a/bmc-objectstorage/bmc-objectstorage-generated/pom.xml b/bmc-objectstorage/bmc-objectstorage-generated/pom.xml index 3a417e1a04c..6a17dba5b1d 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.52.1 + 3.53.0 ../pom.xml @@ -19,7 +19,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-objectstorage/pom.xml b/bmc-objectstorage/pom.xml index c22638c5c74..a378a2649c1 100644 --- a/bmc-objectstorage/pom.xml +++ b/bmc-objectstorage/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml diff --git a/bmc-oce/pom.xml b/bmc-oce/pom.xml index 519e9fe0d0d..a5e57abaa86 100644 --- a/bmc-oce/pom.xml +++ b/bmc-oce/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-oce @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-ocicontrolcenter/pom.xml b/bmc-ocicontrolcenter/pom.xml index cc00b342763..c66a2b77c3b 100644 --- a/bmc-ocicontrolcenter/pom.xml +++ b/bmc-ocicontrolcenter/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-ocicontrolcenter @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-ocvp/pom.xml b/bmc-ocvp/pom.xml index 68cde179ea6..d372e98ccc5 100644 --- a/bmc-ocvp/pom.xml +++ b/bmc-ocvp/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-ocvp @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-oda/pom.xml b/bmc-oda/pom.xml index 82a2cf8838e..9bbdd84368c 100644 --- a/bmc-oda/pom.xml +++ b/bmc-oda/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-oda @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-onesubscription/pom.xml b/bmc-onesubscription/pom.xml index 9491ce4f026..e1f495d84ff 100644 --- a/bmc-onesubscription/pom.xml +++ b/bmc-onesubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-onesubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-ons/pom.xml b/bmc-ons/pom.xml index 94bbd78b060..f7a82256760 100644 --- a/bmc-ons/pom.xml +++ b/bmc-ons/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-ons @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-opa/pom.xml b/bmc-opa/pom.xml index 3095680db0c..ab744f28f22 100644 --- a/bmc-opa/pom.xml +++ b/bmc-opa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-opa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-opensearch/pom.xml b/bmc-opensearch/pom.xml index eef8dfb55a5..b11fbd80753 100644 --- a/bmc-opensearch/pom.xml +++ b/bmc-opensearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-opensearch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-operatoraccesscontrol/pom.xml b/bmc-operatoraccesscontrol/pom.xml index c3db69387e0..f098a9e97ff 100644 --- a/bmc-operatoraccesscontrol/pom.xml +++ b/bmc-operatoraccesscontrol/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-operatoraccesscontrol @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-opsi/pom.xml b/bmc-opsi/pom.xml index 1896eb0c63d..9bf27b77b52 100644 --- a/bmc-opsi/pom.xml +++ b/bmc-opsi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-opsi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-optimizer/pom.xml b/bmc-optimizer/pom.xml index 9ebe74ec167..594e345355b 100644 --- a/bmc-optimizer/pom.xml +++ b/bmc-optimizer/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-optimizer @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-osmanagement/pom.xml b/bmc-osmanagement/pom.xml index 1fbf53ec310..196a02373a2 100644 --- a/bmc-osmanagement/pom.xml +++ b/bmc-osmanagement/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-osmanagement @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-osmanagementhub/pom.xml b/bmc-osmanagementhub/pom.xml index e89acdf233a..171e162b688 100644 --- a/bmc-osmanagementhub/pom.xml +++ b/bmc-osmanagementhub/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-osmanagementhub @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-ospgateway/pom.xml b/bmc-ospgateway/pom.xml index 876fc6ef47b..afdf1109ed3 100644 --- a/bmc-ospgateway/pom.xml +++ b/bmc-ospgateway/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-ospgateway @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-osubbillingschedule/pom.xml b/bmc-osubbillingschedule/pom.xml index 04e0fa53987..0a818688017 100644 --- a/bmc-osubbillingschedule/pom.xml +++ b/bmc-osubbillingschedule/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-osubbillingschedule @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-osuborganizationsubscription/pom.xml b/bmc-osuborganizationsubscription/pom.xml index 295539eb596..f1ea7eff3aa 100644 --- a/bmc-osuborganizationsubscription/pom.xml +++ b/bmc-osuborganizationsubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-osuborganizationsubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-osubsubscription/pom.xml b/bmc-osubsubscription/pom.xml index 218cb6e4e21..4d68d172e98 100644 --- a/bmc-osubsubscription/pom.xml +++ b/bmc-osubsubscription/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-osubsubscription @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-osubusage/pom.xml b/bmc-osubusage/pom.xml index adc2d56f449..ed6e6953899 100644 --- a/bmc-osubusage/pom.xml +++ b/bmc-osubusage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-osubusage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.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 106c7b4626c..067e2429156 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.52.1 + 3.53.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 @@ -58,7 +58,7 @@ com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.52.1 + 3.53.0 false @@ -95,14 +95,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.52.1 + 3.53.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.52.1 + 3.53.0 pom import diff --git a/bmc-other-examples/bmc-jersey3-examples/pom.xml b/bmc-other-examples/bmc-jersey3-examples/pom.xml index 222c42ab2ea..8bb96af0be2 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.52.1 + 3.53.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 @@ -58,7 +58,7 @@ com.oracle.oci.sdk oci-java-sdk-enforcer-rules - 3.52.1 + 3.53.0 false @@ -95,14 +95,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.52.1 + 3.53.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey3 - 3.52.1 + 3.53.0 pom import diff --git a/bmc-other-examples/native-maven-example/pom.xml b/bmc-other-examples/native-maven-example/pom.xml index a2c7e440df8..5b86f0e5fcf 100644 --- a/bmc-other-examples/native-maven-example/pom.xml +++ b/bmc-other-examples/native-maven-example/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk-examples-native - 3.52.1 + 3.53.0 Oracle Cloud Infrastructure SDK - Native Example This project contains an example on how to use the SDK used for Oracle Cloud Infrastructure in a native executable https://docs.cloud.oracle.com/Content/API/SDKDocs/javasdk.htm @@ -98,14 +98,14 @@ com.oracle.oci.sdk oci-java-sdk-bom - 3.52.1 + 3.53.0 pom import com.oracle.oci.sdk oci-java-sdk-common-httpclient-jersey - 3.52.1 + 3.53.0 pom import diff --git a/bmc-other-examples/pom.xml b/bmc-other-examples/pom.xml index 34b836a56c2..f3d30514282 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.52.1 + 3.53.0 ../pom.xml diff --git a/bmc-psql/pom.xml b/bmc-psql/pom.xml index c9074d693b6..fbba276fd6e 100644 --- a/bmc-psql/pom.xml +++ b/bmc-psql/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-psql @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-queue/pom.xml b/bmc-queue/pom.xml index 04010d61ef8..c7a5e47d314 100644 --- a/bmc-queue/pom.xml +++ b/bmc-queue/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-queue @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-recovery/pom.xml b/bmc-recovery/pom.xml index 4d7cabb049e..f9ffae1e363 100644 --- a/bmc-recovery/pom.xml +++ b/bmc-recovery/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-recovery @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-redis/pom.xml b/bmc-redis/pom.xml index f345b9181ed..ade0b78b3dd 100644 --- a/bmc-redis/pom.xml +++ b/bmc-redis/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-redis @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-resourcemanager/pom.xml b/bmc-resourcemanager/pom.xml index 15586b6540c..fb1e60c886c 100644 --- a/bmc-resourcemanager/pom.xml +++ b/bmc-resourcemanager/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-resourcemanager @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-resourcescheduler/pom.xml b/bmc-resourcescheduler/pom.xml index 6eea4f5b0aa..0e2952099fb 100644 --- a/bmc-resourcescheduler/pom.xml +++ b/bmc-resourcescheduler/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-resourcescheduler @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-resourcesearch/pom.xml b/bmc-resourcesearch/pom.xml index fff48a81ba6..0c81ab8d47f 100644 --- a/bmc-resourcesearch/pom.xml +++ b/bmc-resourcesearch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-resourcesearch @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-rover/pom.xml b/bmc-rover/pom.xml index 62902a8ad4e..d9fc2c7eddb 100644 --- a/bmc-rover/pom.xml +++ b/bmc-rover/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-rover @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-sch/pom.xml b/bmc-sch/pom.xml index 4be562f1601..abe05e5887f 100644 --- a/bmc-sch/pom.xml +++ b/bmc-sch/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-sch @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-secrets/pom.xml b/bmc-secrets/pom.xml index 8d871bc36bb..15278755415 100644 --- a/bmc-secrets/pom.xml +++ b/bmc-secrets/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-secrets @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-securityattribute/pom.xml b/bmc-securityattribute/pom.xml index 6bb8964d7f8..2e1c890969e 100644 --- a/bmc-securityattribute/pom.xml +++ b/bmc-securityattribute/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-securityattribute @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-servicecatalog/pom.xml b/bmc-servicecatalog/pom.xml index a7a52629421..3a6aec90101 100644 --- a/bmc-servicecatalog/pom.xml +++ b/bmc-servicecatalog/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-servicecatalog @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-servicemanagerproxy/pom.xml b/bmc-servicemanagerproxy/pom.xml index c0fa8e6e93d..8f009d50502 100644 --- a/bmc-servicemanagerproxy/pom.xml +++ b/bmc-servicemanagerproxy/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-servicemanagerproxy @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-servicemesh/pom.xml b/bmc-servicemesh/pom.xml index 11e47bfbfad..2f73111f7e7 100644 --- a/bmc-servicemesh/pom.xml +++ b/bmc-servicemesh/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-servicemesh @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.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 9ae0ee6aec0..570db2358ad 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.52.1 + 3.53.0 ../pom.xml oci-java-sdk-shaded-full diff --git a/bmc-shaded/pom.xml b/bmc-shaded/pom.xml index e01789ec64c..301a48e4562 100644 --- a/bmc-shaded/pom.xml +++ b/bmc-shaded/pom.xml @@ -5,7 +5,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml diff --git a/bmc-stackmonitoring/pom.xml b/bmc-stackmonitoring/pom.xml index 3b13f9c4f50..54749002457 100644 --- a/bmc-stackmonitoring/pom.xml +++ b/bmc-stackmonitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-stackmonitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-streaming/pom.xml b/bmc-streaming/pom.xml index ee113652c56..71317ae424e 100644 --- a/bmc-streaming/pom.xml +++ b/bmc-streaming/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-streaming @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-tenantmanagercontrolplane/pom.xml b/bmc-tenantmanagercontrolplane/pom.xml index 37d62a9a074..3d7c5ee2041 100644 --- a/bmc-tenantmanagercontrolplane/pom.xml +++ b/bmc-tenantmanagercontrolplane/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-tenantmanagercontrolplane @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-threatintelligence/pom.xml b/bmc-threatintelligence/pom.xml index 94afd054c62..aa66665ce97 100644 --- a/bmc-threatintelligence/pom.xml +++ b/bmc-threatintelligence/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-threatintelligence @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-usage/pom.xml b/bmc-usage/pom.xml index 0a260e375d1..3d528731991 100644 --- a/bmc-usage/pom.xml +++ b/bmc-usage/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-usage @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-usageapi/pom.xml b/bmc-usageapi/pom.xml index ca5af06b9fd..9675cee359e 100644 --- a/bmc-usageapi/pom.xml +++ b/bmc-usageapi/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-usageapi @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-vault/pom.xml b/bmc-vault/pom.xml index bccde5c606f..cd2285bafe8 100644 --- a/bmc-vault/pom.xml +++ b/bmc-vault/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-vault @@ -15,12 +15,12 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 com.oracle.oci.sdk oci-java-sdk-workrequests - 3.52.1 + 3.53.0 diff --git a/bmc-vbsinst/pom.xml b/bmc-vbsinst/pom.xml index d3d92000c3a..508a1c1a895 100644 --- a/bmc-vbsinst/pom.xml +++ b/bmc-vbsinst/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-vbsinst @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-visualbuilder/pom.xml b/bmc-visualbuilder/pom.xml index 6deb6a9c156..3e991afd42b 100644 --- a/bmc-visualbuilder/pom.xml +++ b/bmc-visualbuilder/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-visualbuilder @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-vnmonitoring/pom.xml b/bmc-vnmonitoring/pom.xml index 0e9615255e9..af934a16a34 100644 --- a/bmc-vnmonitoring/pom.xml +++ b/bmc-vnmonitoring/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-vnmonitoring @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-vulnerabilityscanning/pom.xml b/bmc-vulnerabilityscanning/pom.xml index fc6594878ec..86e5b050deb 100644 --- a/bmc-vulnerabilityscanning/pom.xml +++ b/bmc-vulnerabilityscanning/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-vulnerabilityscanning @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-waa/pom.xml b/bmc-waa/pom.xml index 72bd3645e4f..c8cb4570e2d 100644 --- a/bmc-waa/pom.xml +++ b/bmc-waa/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-waa @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-waas/pom.xml b/bmc-waas/pom.xml index 2127faf5da7..de7455d58da 100644 --- a/bmc-waas/pom.xml +++ b/bmc-waas/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-waas @@ -16,7 +16,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-waf/pom.xml b/bmc-waf/pom.xml index 88398f7f647..75df25639a8 100644 --- a/bmc-waf/pom.xml +++ b/bmc-waf/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-waf @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/bmc-workrequests/pom.xml b/bmc-workrequests/pom.xml index 157b8d71bdc..cf7795c3cdb 100644 --- a/bmc-workrequests/pom.xml +++ b/bmc-workrequests/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-workrequests @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 diff --git a/bmc-zpr/pom.xml b/bmc-zpr/pom.xml index a145fede8b8..c897b89c042 100644 --- a/bmc-zpr/pom.xml +++ b/bmc-zpr/pom.xml @@ -4,7 +4,7 @@ com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 ../pom.xml oci-java-sdk-zpr @@ -15,7 +15,7 @@ com.oracle.oci.sdk oci-java-sdk-common - 3.52.1 + 3.53.0 \ No newline at end of file diff --git a/pom.xml b/pom.xml index a2dd234b735..03d342bd489 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.oracle.oci.sdk oci-java-sdk - 3.52.1 + 3.53.0 pom Oracle Cloud Infrastructure SDK This project contains the SDK used for Oracle Cloud Infrastructure