├── .bumpversion.toml ├── .cra └── .cveignore ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── pull_request_template.md └── workflows │ ├── build.yaml │ └── publish.yaml ├── .gitignore ├── .npmrc ├── .releaserc ├── .secrets.baseline ├── .travis.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── build ├── .travis.settings.xml ├── generateJavadocIndex.sh ├── publishJavadoc-gha.sh ├── publishJavadoc.sh ├── setMavenVersion.sh ├── setupSigning.sh └── signing.key.enc ├── checkstyle.xml ├── modules ├── case-management │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── case_management │ │ │ └── v1 │ │ │ ├── CaseManagement.java │ │ │ ├── model │ │ │ ├── AcceptPayload.java │ │ │ ├── AddCommentOptions.java │ │ │ ├── AddResourceOptions.java │ │ │ ├── AddWatchlistOptions.java │ │ │ ├── Attachment.java │ │ │ ├── AttachmentList.java │ │ │ ├── Case.java │ │ │ ├── CaseEu.java │ │ │ ├── CaseList.java │ │ │ ├── CasePayloadEu.java │ │ │ ├── Comment.java │ │ │ ├── CreateCaseOptions.java │ │ │ ├── DeleteFileOptions.java │ │ │ ├── DownloadFileOptions.java │ │ │ ├── GetCaseOptions.java │ │ │ ├── GetCasesOptions.java │ │ │ ├── GetCasesPager.java │ │ │ ├── Offering.java │ │ │ ├── OfferingType.java │ │ │ ├── PaginationLink.java │ │ │ ├── RemoveWatchlistOptions.java │ │ │ ├── ResolvePayload.java │ │ │ ├── Resource.java │ │ │ ├── ResourcePayload.java │ │ │ ├── StatusPayload.java │ │ │ ├── UnresolvePayload.java │ │ │ ├── UpdateCaseStatusOptions.java │ │ │ ├── UploadFileOptions.java │ │ │ ├── User.java │ │ │ ├── Watchlist.java │ │ │ └── WatchlistAddResponse.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── case_management │ │ └── v1 │ │ ├── CaseManagementIT.java │ │ ├── CaseManagementTest.java │ │ ├── model │ │ ├── AcceptPayloadTest.java │ │ ├── AddCommentOptionsTest.java │ │ ├── AddResourceOptionsTest.java │ │ ├── AddWatchlistOptionsTest.java │ │ ├── AttachmentListTest.java │ │ ├── AttachmentTest.java │ │ ├── CaseEuTest.java │ │ ├── CaseListTest.java │ │ ├── CasePayloadEuTest.java │ │ ├── CaseTest.java │ │ ├── CommentTest.java │ │ ├── CreateCaseOptionsTest.java │ │ ├── DeleteFileOptionsTest.java │ │ ├── DownloadFileOptionsTest.java │ │ ├── GetCaseOptionsTest.java │ │ ├── GetCasesOptionsTest.java │ │ ├── OfferingTest.java │ │ ├── OfferingTypeTest.java │ │ ├── PaginationLinkTest.java │ │ ├── RemoveWatchlistOptionsTest.java │ │ ├── ResolvePayloadTest.java │ │ ├── ResourcePayloadTest.java │ │ ├── ResourceTest.java │ │ ├── StatusPayloadTest.java │ │ ├── UnresolvePayloadTest.java │ │ ├── UpdateCaseStatusOptionsTest.java │ │ ├── UploadFileOptionsTest.java │ │ ├── UserTest.java │ │ ├── WatchlistAddResponseTest.java │ │ └── WatchlistTest.java │ │ └── utils │ │ └── TestUtilities.java ├── catalog-management │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── catalog_management │ │ │ └── v1 │ │ │ ├── CatalogManagement.java │ │ │ ├── model │ │ │ ├── AccessListBulkResponse.java │ │ │ ├── Account.java │ │ │ ├── AccountPublishObjectOptions.java │ │ │ ├── AccountPublishVersionOptions.java │ │ │ ├── AccumulatedFilters.java │ │ │ ├── AccumulatedFiltersCatalogFiltersItem.java │ │ │ ├── AccumulatedFiltersCatalogFiltersItemCatalog.java │ │ │ ├── AddObjectAccessListOptions.java │ │ │ ├── ApprovalResult.java │ │ │ ├── AuditLog.java │ │ │ ├── AuditRecord.java │ │ │ ├── Catalog.java │ │ │ ├── CatalogObject.java │ │ │ ├── CatalogSearchResult.java │ │ │ ├── CategoryFilter.java │ │ │ ├── ClusterInfo.java │ │ │ ├── CommitVersionOptions.java │ │ │ ├── Configuration.java │ │ │ ├── CopyVersionOptions.java │ │ │ ├── CreateCatalogOptions.java │ │ │ ├── CreateObjectAccessOptions.java │ │ │ ├── CreateObjectOptions.java │ │ │ ├── CreateOfferingInstanceOptions.java │ │ │ ├── CreateOfferingOptions.java │ │ │ ├── CreateOperatorOptions.java │ │ │ ├── DeleteCatalogOptions.java │ │ │ ├── DeleteObjectAccessListOptions.java │ │ │ ├── DeleteObjectAccessOptions.java │ │ │ ├── DeleteObjectOptions.java │ │ │ ├── DeleteOfferingInstanceOptions.java │ │ │ ├── DeleteOfferingOptions.java │ │ │ ├── DeleteOperatorOptions.java │ │ │ ├── DeleteOperatorsOptions.java │ │ │ ├── DeleteVersionOptions.java │ │ │ ├── DeployOperatorsOptions.java │ │ │ ├── DeployRequestBodySchematics.java │ │ │ ├── Deployment.java │ │ │ ├── DeprecateOfferingOptions.java │ │ │ ├── DeprecateVersionOptions.java │ │ │ ├── Feature.java │ │ │ ├── FilterTerms.java │ │ │ ├── Filters.java │ │ │ ├── GetCatalogAccountAuditOptions.java │ │ │ ├── GetCatalogAccountFiltersOptions.java │ │ │ ├── GetCatalogAccountOptions.java │ │ │ ├── GetCatalogAuditOptions.java │ │ │ ├── GetCatalogOptions.java │ │ │ ├── GetClusterOptions.java │ │ │ ├── GetConsumptionOfferingsOptions.java │ │ │ ├── GetLicenseEntitlementsOptions.java │ │ │ ├── GetLicenseProvidersOptions.java │ │ │ ├── GetLicensesOptions.java │ │ │ ├── GetNamespacesOptions.java │ │ │ ├── GetObjectAccessListOptions.java │ │ │ ├── GetObjectAccessOptions.java │ │ │ ├── GetObjectAuditOptions.java │ │ │ ├── GetObjectOptions.java │ │ │ ├── GetOfferingAboutOptions.java │ │ │ ├── GetOfferingAuditOptions.java │ │ │ ├── GetOfferingContainerImagesOptions.java │ │ │ ├── GetOfferingInstanceOptions.java │ │ │ ├── GetOfferingLicenseOptions.java │ │ │ ├── GetOfferingOptions.java │ │ │ ├── GetOfferingSourceOptions.java │ │ │ ├── GetOfferingUpdatesOptions.java │ │ │ ├── GetOfferingWorkingCopyOptions.java │ │ │ ├── GetOverrideValuesOptions.java │ │ │ ├── GetPreinstallOptions.java │ │ │ ├── GetValidationStatusOptions.java │ │ │ ├── GetVersionOptions.java │ │ │ ├── IDFilter.java │ │ │ ├── IbmPublishObjectOptions.java │ │ │ ├── IbmPublishVersionOptions.java │ │ │ ├── Image.java │ │ │ ├── ImageManifest.java │ │ │ ├── ImportOfferingOptions.java │ │ │ ├── ImportOfferingVersionOptions.java │ │ │ ├── InstallStatus.java │ │ │ ├── InstallStatusContentMgmt.java │ │ │ ├── InstallStatusMetadata.java │ │ │ ├── InstallStatusRelease.java │ │ │ ├── InstallVersionOptions.java │ │ │ ├── JsonPatchOperation.java │ │ │ ├── Kind.java │ │ │ ├── License.java │ │ │ ├── ListCatalogsOptions.java │ │ │ ├── ListObjectsOptions.java │ │ │ ├── ListOfferingsOptions.java │ │ │ ├── ListOperatorsOptions.java │ │ │ ├── MediaItem.java │ │ │ ├── NamespaceSearchResult.java │ │ │ ├── ObjectAccess.java │ │ │ ├── ObjectAccessListResult.java │ │ │ ├── ObjectListResult.java │ │ │ ├── ObjectSearchResult.java │ │ │ ├── Offering.java │ │ │ ├── OfferingInstance.java │ │ │ ├── OfferingInstanceLastOperation.java │ │ │ ├── OfferingSearchResult.java │ │ │ ├── OperatorDeployResult.java │ │ │ ├── Plan.java │ │ │ ├── PreinstallVersionOptions.java │ │ │ ├── ProviderInfo.java │ │ │ ├── PublicPublishObjectOptions.java │ │ │ ├── PublicPublishVersionOptions.java │ │ │ ├── PublishObject.java │ │ │ ├── PutOfferingInstanceOptions.java │ │ │ ├── Rating.java │ │ │ ├── ReloadOfferingOptions.java │ │ │ ├── ReplaceCatalogOptions.java │ │ │ ├── ReplaceObjectOptions.java │ │ │ ├── ReplaceOfferingIconOptions.java │ │ │ ├── ReplaceOfferingOptions.java │ │ │ ├── ReplaceOperatorOptions.java │ │ │ ├── ReplaceOperatorsOptions.java │ │ │ ├── RepoInfo.java │ │ │ ├── Resource.java │ │ │ ├── Script.java │ │ │ ├── SearchObjectsOptions.java │ │ │ ├── SetDeprecateVersionOptions.java │ │ │ ├── SharedPublishObjectOptions.java │ │ │ ├── State.java │ │ │ ├── Support.java │ │ │ ├── SyndicationAuthorization.java │ │ │ ├── SyndicationCluster.java │ │ │ ├── SyndicationHistory.java │ │ │ ├── SyndicationResource.java │ │ │ ├── UpdateCatalogAccountOptions.java │ │ │ ├── UpdateOfferingIbmOptions.java │ │ │ ├── UpdateOfferingOptions.java │ │ │ ├── ValidateInstallOptions.java │ │ │ ├── Validation.java │ │ │ ├── ValidationInstallOptions.java │ │ │ ├── Version.java │ │ │ ├── VersionEntitlement.java │ │ │ └── VersionUpdateDescriptor.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── catalog_management │ │ └── v1 │ │ ├── CatalogManagementIT.java │ │ ├── CatalogManagementTest.java │ │ ├── model │ │ ├── AccessListBulkResponseTest.java │ │ ├── AccountPublishObjectOptionsTest.java │ │ ├── AccountPublishVersionOptionsTest.java │ │ ├── AccountTest.java │ │ ├── AccumulatedFiltersCatalogFiltersItemCatalogTest.java │ │ ├── AccumulatedFiltersCatalogFiltersItemTest.java │ │ ├── AccumulatedFiltersTest.java │ │ ├── AddObjectAccessListOptionsTest.java │ │ ├── ApprovalResultTest.java │ │ ├── AuditLogTest.java │ │ ├── AuditRecordTest.java │ │ ├── CatalogObjectTest.java │ │ ├── CatalogSearchResultTest.java │ │ ├── CatalogTest.java │ │ ├── CategoryFilterTest.java │ │ ├── ClusterInfoTest.java │ │ ├── CommitVersionOptionsTest.java │ │ ├── ConfigurationTest.java │ │ ├── CopyVersionOptionsTest.java │ │ ├── CreateCatalogOptionsTest.java │ │ ├── CreateObjectAccessOptionsTest.java │ │ ├── CreateObjectOptionsTest.java │ │ ├── CreateOfferingInstanceOptionsTest.java │ │ ├── CreateOfferingOptionsTest.java │ │ ├── CreateOperatorOptionsTest.java │ │ ├── DeleteCatalogOptionsTest.java │ │ ├── DeleteObjectAccessListOptionsTest.java │ │ ├── DeleteObjectAccessOptionsTest.java │ │ ├── DeleteObjectOptionsTest.java │ │ ├── DeleteOfferingInstanceOptionsTest.java │ │ ├── DeleteOfferingOptionsTest.java │ │ ├── DeleteOperatorOptionsTest.java │ │ ├── DeleteOperatorsOptionsTest.java │ │ ├── DeleteVersionOptionsTest.java │ │ ├── DeployOperatorsOptionsTest.java │ │ ├── DeployRequestBodySchematicsTest.java │ │ ├── DeploymentTest.java │ │ ├── DeprecateOfferingOptionsTest.java │ │ ├── DeprecateVersionOptionsTest.java │ │ ├── FeatureTest.java │ │ ├── FilterTermsTest.java │ │ ├── FiltersTest.java │ │ ├── GetCatalogAccountAuditOptionsTest.java │ │ ├── GetCatalogAccountFiltersOptionsTest.java │ │ ├── GetCatalogAccountOptionsTest.java │ │ ├── GetCatalogAuditOptionsTest.java │ │ ├── GetCatalogOptionsTest.java │ │ ├── GetClusterOptionsTest.java │ │ ├── GetConsumptionOfferingsOptionsTest.java │ │ ├── GetLicenseEntitlementsOptionsTest.java │ │ ├── GetLicenseProvidersOptionsTest.java │ │ ├── GetLicensesOptionsTest.java │ │ ├── GetNamespacesOptionsTest.java │ │ ├── GetObjectAccessListOptionsTest.java │ │ ├── GetObjectAccessOptionsTest.java │ │ ├── GetObjectAuditOptionsTest.java │ │ ├── GetObjectOptionsTest.java │ │ ├── GetOfferingAboutOptionsTest.java │ │ ├── GetOfferingAuditOptionsTest.java │ │ ├── GetOfferingContainerImagesOptionsTest.java │ │ ├── GetOfferingInstanceOptionsTest.java │ │ ├── GetOfferingLicenseOptionsTest.java │ │ ├── GetOfferingOptionsTest.java │ │ ├── GetOfferingSourceOptionsTest.java │ │ ├── GetOfferingUpdatesOptionsTest.java │ │ ├── GetOfferingWorkingCopyOptionsTest.java │ │ ├── GetOverrideValuesOptionsTest.java │ │ ├── GetPreinstallOptionsTest.java │ │ ├── GetValidationStatusOptionsTest.java │ │ ├── GetVersionOptionsTest.java │ │ ├── IDFilterTest.java │ │ ├── IbmPublishObjectOptionsTest.java │ │ ├── IbmPublishVersionOptionsTest.java │ │ ├── ImageManifestTest.java │ │ ├── ImageTest.java │ │ ├── ImportOfferingOptionsTest.java │ │ ├── ImportOfferingVersionOptionsTest.java │ │ ├── InstallStatusContentMgmtTest.java │ │ ├── InstallStatusMetadataTest.java │ │ ├── InstallStatusReleaseTest.java │ │ ├── InstallStatusTest.java │ │ ├── InstallVersionOptionsTest.java │ │ ├── JsonPatchOperationTest.java │ │ ├── KindTest.java │ │ ├── LicenseTest.java │ │ ├── ListCatalogsOptionsTest.java │ │ ├── ListObjectsOptionsTest.java │ │ ├── ListOfferingsOptionsTest.java │ │ ├── ListOperatorsOptionsTest.java │ │ ├── MediaItemTest.java │ │ ├── NamespaceSearchResultTest.java │ │ ├── ObjectAccessListResultTest.java │ │ ├── ObjectAccessTest.java │ │ ├── ObjectListResultTest.java │ │ ├── ObjectSearchResultTest.java │ │ ├── OfferingInstanceLastOperationTest.java │ │ ├── OfferingInstanceTest.java │ │ ├── OfferingSearchResultTest.java │ │ ├── OfferingTest.java │ │ ├── OperatorDeployResultTest.java │ │ ├── PlanTest.java │ │ ├── PreinstallVersionOptionsTest.java │ │ ├── ProviderInfoTest.java │ │ ├── PublicPublishObjectOptionsTest.java │ │ ├── PublicPublishVersionOptionsTest.java │ │ ├── PublishObjectTest.java │ │ ├── PutOfferingInstanceOptionsTest.java │ │ ├── RatingTest.java │ │ ├── ReloadOfferingOptionsTest.java │ │ ├── ReplaceCatalogOptionsTest.java │ │ ├── ReplaceObjectOptionsTest.java │ │ ├── ReplaceOfferingIconOptionsTest.java │ │ ├── ReplaceOfferingOptionsTest.java │ │ ├── ReplaceOperatorOptionsTest.java │ │ ├── ReplaceOperatorsOptionsTest.java │ │ ├── RepoInfoTest.java │ │ ├── ResourceTest.java │ │ ├── ScriptTest.java │ │ ├── SearchObjectsOptionsTest.java │ │ ├── SetDeprecateVersionOptionsTest.java │ │ ├── SharedPublishObjectOptionsTest.java │ │ ├── StateTest.java │ │ ├── SupportTest.java │ │ ├── SyndicationAuthorizationTest.java │ │ ├── SyndicationClusterTest.java │ │ ├── SyndicationHistoryTest.java │ │ ├── SyndicationResourceTest.java │ │ ├── UpdateCatalogAccountOptionsTest.java │ │ ├── UpdateOfferingIbmOptionsTest.java │ │ ├── UpdateOfferingOptionsTest.java │ │ ├── ValidateInstallOptionsTest.java │ │ ├── ValidationInstallOptionsTest.java │ │ ├── ValidationTest.java │ │ ├── VersionEntitlementTest.java │ │ ├── VersionTest.java │ │ └── VersionUpdateDescriptorTest.java │ │ └── utils │ │ └── TestUtilities.java ├── common │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── ibm │ │ │ │ └── cloud │ │ │ │ └── platform_services │ │ │ │ └── common │ │ │ │ └── SdkCommon.java │ │ └── resources │ │ │ └── platform-services.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── test │ │ ├── SdkCommonTest.java │ │ └── SdkIntegrationTestBase.java ├── context-based-restrictions │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── context_based_restrictions │ │ │ └── v1 │ │ │ ├── ContextBasedRestrictions.java │ │ │ ├── model │ │ │ ├── APIType.java │ │ │ ├── AccountSettings.java │ │ │ ├── Action.java │ │ │ ├── Address.java │ │ │ ├── AddressIPAddress.java │ │ │ ├── AddressIPAddressRange.java │ │ │ ├── AddressServiceRef.java │ │ │ ├── AddressSubnet.java │ │ │ ├── AddressVPC.java │ │ │ ├── CreateRuleOptions.java │ │ │ ├── CreateZoneOptions.java │ │ │ ├── DeleteRuleOptions.java │ │ │ ├── DeleteZoneOptions.java │ │ │ ├── GetAccountSettingsOptions.java │ │ │ ├── GetRuleOptions.java │ │ │ ├── GetServicerefTargetOptions.java │ │ │ ├── GetZoneOptions.java │ │ │ ├── ListAvailableServiceOperationsOptions.java │ │ │ ├── ListAvailableServicerefTargetsOptions.java │ │ │ ├── ListRulesOptions.java │ │ │ ├── ListZonesOptions.java │ │ │ ├── NewRuleOperations.java │ │ │ ├── NewRuleOperationsApiTypesItem.java │ │ │ ├── OperationsList.java │ │ │ ├── ReplaceRuleOptions.java │ │ │ ├── ReplaceZoneOptions.java │ │ │ ├── Resource.java │ │ │ ├── ResourceAttribute.java │ │ │ ├── ResourceTagAttribute.java │ │ │ ├── Rule.java │ │ │ ├── RuleContext.java │ │ │ ├── RuleContextAttribute.java │ │ │ ├── RuleList.java │ │ │ ├── ServiceRefTarget.java │ │ │ ├── ServiceRefTargetList.java │ │ │ ├── ServiceRefTargetLocationsItem.java │ │ │ ├── ServiceRefValue.java │ │ │ ├── Zone.java │ │ │ ├── ZoneList.java │ │ │ └── ZoneSummary.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── context_based_restrictions │ │ └── v1 │ │ ├── ContextBasedRestrictionsIT.java │ │ ├── ContextBasedRestrictionsTest.java │ │ ├── model │ │ ├── APITypeTest.java │ │ ├── AccountSettingsTest.java │ │ ├── ActionTest.java │ │ ├── AddressIPAddressRangeTest.java │ │ ├── AddressIPAddressTest.java │ │ ├── AddressServiceRefTest.java │ │ ├── AddressSubnetTest.java │ │ ├── AddressTest.java │ │ ├── AddressVPCTest.java │ │ ├── CreateRuleOptionsTest.java │ │ ├── CreateZoneOptionsTest.java │ │ ├── DeleteRuleOptionsTest.java │ │ ├── DeleteZoneOptionsTest.java │ │ ├── GetAccountSettingsOptionsTest.java │ │ ├── GetRuleOptionsTest.java │ │ ├── GetServicerefTargetOptionsTest.java │ │ ├── GetZoneOptionsTest.java │ │ ├── ListAvailableServiceOperationsOptionsTest.java │ │ ├── ListAvailableServicerefTargetsOptionsTest.java │ │ ├── ListRulesOptionsTest.java │ │ ├── ListZonesOptionsTest.java │ │ ├── NewRuleOperationsApiTypesItemTest.java │ │ ├── NewRuleOperationsTest.java │ │ ├── OperationsListTest.java │ │ ├── ReplaceRuleOptionsTest.java │ │ ├── ReplaceZoneOptionsTest.java │ │ ├── ResourceAttributeTest.java │ │ ├── ResourceTagAttributeTest.java │ │ ├── ResourceTest.java │ │ ├── RuleContextAttributeTest.java │ │ ├── RuleContextTest.java │ │ ├── RuleListTest.java │ │ ├── RuleTest.java │ │ ├── ServiceRefTargetListTest.java │ │ ├── ServiceRefTargetLocationsItemTest.java │ │ ├── ServiceRefTargetTest.java │ │ ├── ServiceRefValueTest.java │ │ ├── ZoneListTest.java │ │ ├── ZoneSummaryTest.java │ │ └── ZoneTest.java │ │ └── utils │ │ └── TestUtilities.java ├── coverage-reports │ └── pom.xml ├── enterprise-billing-units │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── enterprise_billing_units │ │ │ └── v1 │ │ │ ├── EnterpriseBillingUnits.java │ │ │ ├── model │ │ │ ├── BillingOption.java │ │ │ ├── BillingOptionsList.java │ │ │ ├── BillingOptionsPager.java │ │ │ ├── BillingUnit.java │ │ │ ├── BillingUnitsList.java │ │ │ ├── BillingUnitsPager.java │ │ │ ├── CreditPool.java │ │ │ ├── CreditPoolOverage.java │ │ │ ├── CreditPoolsList.java │ │ │ ├── GetBillingUnitOptions.java │ │ │ ├── GetCreditPoolsOptions.java │ │ │ ├── ListBillingOptionsOptions.java │ │ │ ├── ListBillingUnitsOptions.java │ │ │ └── TermCredits.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── enterprise_billing_units │ │ └── v1 │ │ ├── EnterpriseBillingUnitsIT.java │ │ ├── EnterpriseBillingUnitsTest.java │ │ ├── model │ │ ├── BillingOptionTest.java │ │ ├── BillingOptionsListTest.java │ │ ├── BillingUnitTest.java │ │ ├── BillingUnitsListTest.java │ │ ├── CreditPoolOverageTest.java │ │ ├── CreditPoolTest.java │ │ ├── CreditPoolsListTest.java │ │ ├── GetBillingUnitOptionsTest.java │ │ ├── GetCreditPoolsOptionsTest.java │ │ ├── ListBillingOptionsOptionsTest.java │ │ ├── ListBillingUnitsOptionsTest.java │ │ └── TermCreditsTest.java │ │ └── utils │ │ └── TestUtilities.java ├── enterprise-management │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── enterprise_management │ │ │ └── v1 │ │ │ ├── EnterpriseManagement.java │ │ │ ├── model │ │ │ ├── Account.java │ │ │ ├── AccountGroup.java │ │ │ ├── AccountGroupsPager.java │ │ │ ├── AccountsPager.java │ │ │ ├── CreateAccountGroupOptions.java │ │ │ ├── CreateAccountGroupResponse.java │ │ │ ├── CreateAccountOptions.java │ │ │ ├── CreateAccountRequestOptions.java │ │ │ ├── CreateAccountRequestTraits.java │ │ │ ├── CreateAccountResponse.java │ │ │ ├── CreateEnterpriseOptions.java │ │ │ ├── CreateEnterpriseResponse.java │ │ │ ├── DeleteAccountGroupOptions.java │ │ │ ├── DeleteAccountOptions.java │ │ │ ├── Enterprise.java │ │ │ ├── EnterprisesPager.java │ │ │ ├── GetAccountGroupOptions.java │ │ │ ├── GetAccountOptions.java │ │ │ ├── GetEnterpriseOptions.java │ │ │ ├── ImportAccountToEnterpriseOptions.java │ │ │ ├── ListAccountGroupsOptions.java │ │ │ ├── ListAccountGroupsResponse.java │ │ │ ├── ListAccountsOptions.java │ │ │ ├── ListAccountsResponse.java │ │ │ ├── ListEnterprisesOptions.java │ │ │ ├── ListEnterprisesResponse.java │ │ │ ├── UpdateAccountGroupOptions.java │ │ │ ├── UpdateAccountOptions.java │ │ │ └── UpdateEnterpriseOptions.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── enterprise_management │ │ └── v1 │ │ ├── EnterpriseManagementIT.java │ │ ├── EnterpriseManagementTest.java │ │ ├── model │ │ ├── AccountGroupTest.java │ │ ├── AccountTest.java │ │ ├── CreateAccountGroupOptionsTest.java │ │ ├── CreateAccountGroupResponseTest.java │ │ ├── CreateAccountOptionsTest.java │ │ ├── CreateAccountRequestOptionsTest.java │ │ ├── CreateAccountRequestTraitsTest.java │ │ ├── CreateAccountResponseTest.java │ │ ├── CreateEnterpriseOptionsTest.java │ │ ├── CreateEnterpriseResponseTest.java │ │ ├── DeleteAccountGroupOptionsTest.java │ │ ├── DeleteAccountOptionsTest.java │ │ ├── EnterpriseTest.java │ │ ├── GetAccountGroupOptionsTest.java │ │ ├── GetAccountOptionsTest.java │ │ ├── GetEnterpriseOptionsTest.java │ │ ├── ImportAccountToEnterpriseOptionsTest.java │ │ ├── ListAccountGroupsOptionsTest.java │ │ ├── ListAccountGroupsResponseTest.java │ │ ├── ListAccountsOptionsTest.java │ │ ├── ListAccountsResponseTest.java │ │ ├── ListEnterprisesOptionsTest.java │ │ ├── ListEnterprisesResponseTest.java │ │ ├── UpdateAccountGroupOptionsTest.java │ │ ├── UpdateAccountOptionsTest.java │ │ └── UpdateEnterpriseOptionsTest.java │ │ └── utils │ │ └── TestUtilities.java ├── enterprise-usage-reports │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── enterprise_usage_reports │ │ │ └── v1 │ │ │ ├── EnterpriseUsageReports.java │ │ │ ├── model │ │ │ ├── GetResourceUsageReportOptions.java │ │ │ ├── GetResourceUsageReportPager.java │ │ │ ├── Link.java │ │ │ ├── MetricUsage.java │ │ │ ├── PlanUsage.java │ │ │ ├── Reports.java │ │ │ ├── ResourceUsage.java │ │ │ └── ResourceUsageReport.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── enterprise_usage_reports │ │ └── v1 │ │ ├── EnterpriseUsageReportsIT.java │ │ ├── EnterpriseUsageReportsTest.java │ │ ├── model │ │ ├── GetResourceUsageReportOptionsTest.java │ │ ├── LinkTest.java │ │ ├── MetricUsageTest.java │ │ ├── PlanUsageTest.java │ │ ├── ReportsTest.java │ │ ├── ResourceUsageReportTest.java │ │ └── ResourceUsageTest.java │ │ └── utils │ │ └── TestUtilities.java ├── examples │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ ├── case_management │ │ └── v1 │ │ │ └── CaseManagementExamples.java │ │ ├── catalog_management │ │ └── v1 │ │ │ └── CatalogManagementExamples.java │ │ ├── context_based_restrictions │ │ └── v1 │ │ │ └── ContextBasedRestrictionsExamples.java │ │ ├── enterprise_billing_units │ │ └── v1 │ │ │ └── EnterpriseBillingUnitsExamples.java │ │ ├── enterprise_management │ │ └── v1 │ │ │ └── EnterpriseManagementExamples.java │ │ ├── enterprise_usage_reports │ │ └── v1 │ │ │ └── EnterpriseUsageReportsExamples.java │ │ ├── global_catalog │ │ └── v1 │ │ │ └── GlobalCatalogExamples.java │ │ ├── global_search │ │ └── v2 │ │ │ └── GlobalSearchExamples.java │ │ ├── global_tagging │ │ └── v1 │ │ │ └── GlobalTaggingExamples.java │ │ ├── iam_access_groups │ │ └── v2 │ │ │ └── IamAccessGroupsExamples.java │ │ ├── iam_identity │ │ └── v1 │ │ │ └── IamIdentityExamples.java │ │ ├── iam_policy_management │ │ └── v1 │ │ │ └── IamPolicyManagementExamples.java │ │ ├── ibm_cloud_shell │ │ └── v1 │ │ │ └── IbmCloudShellExamples.java │ │ ├── open_service_broker │ │ └── v1 │ │ │ └── OpenServiceBrokerExamples.java │ │ ├── partner_management │ │ └── v1 │ │ │ └── PartnerManagementExamples.java │ │ ├── resource_controller │ │ └── v2 │ │ │ └── ResourceControllerExamples.java │ │ ├── resource_manager │ │ └── v2 │ │ │ └── ResourceManagerExamples.java │ │ ├── usage_metering │ │ └── v4 │ │ │ └── UsageMeteringExamples.java │ │ ├── usage_reports │ │ └── v4 │ │ │ └── UsageReportsExamples.java │ │ └── user_management │ │ └── v1 │ │ └── UserManagementExamples.java ├── global-catalog │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── global_catalog │ │ │ └── v1 │ │ │ ├── GlobalCatalog.java │ │ │ ├── model │ │ │ ├── AliasMetaData.java │ │ │ ├── Amount.java │ │ │ ├── Artifact.java │ │ │ ├── Artifacts.java │ │ │ ├── AuditSearchResult.java │ │ │ ├── Broker.java │ │ │ ├── Bullets.java │ │ │ ├── CFMetaData.java │ │ │ ├── Callbacks.java │ │ │ ├── CatalogEntry.java │ │ │ ├── CatalogEntryMetadata.java │ │ │ ├── CatalogEntryMetadataDeployment.java │ │ │ ├── CatalogEntryMetadataPricing.java │ │ │ ├── CreateCatalogEntryOptions.java │ │ │ ├── DRMetaData.java │ │ │ ├── DeleteArtifactOptions.java │ │ │ ├── DeleteCatalogEntryOptions.java │ │ │ ├── DeploymentBase.java │ │ │ ├── EntrySearchResult.java │ │ │ ├── GetArtifactOptions.java │ │ │ ├── GetAuditLogsOptions.java │ │ │ ├── GetCatalogEntryOptions.java │ │ │ ├── GetChildObjectsOptions.java │ │ │ ├── GetPricingDeploymentsOptions.java │ │ │ ├── GetPricingOptions.java │ │ │ ├── GetVisibilityOptions.java │ │ │ ├── Image.java │ │ │ ├── ListArtifactsOptions.java │ │ │ ├── ListCatalogEntriesOptions.java │ │ │ ├── Message.java │ │ │ ├── Metrics.java │ │ │ ├── ObjectMetadataSet.java │ │ │ ├── Overview.java │ │ │ ├── PlanMetaData.java │ │ │ ├── Price.java │ │ │ ├── PricingGet.java │ │ │ ├── PricingSearchResult.java │ │ │ ├── PricingSet.java │ │ │ ├── Provider.java │ │ │ ├── RestoreCatalogEntryOptions.java │ │ │ ├── SLAMetaData.java │ │ │ ├── SourceMetaData.java │ │ │ ├── StartingPrice.java │ │ │ ├── Strings.java │ │ │ ├── TemplateMetaData.java │ │ │ ├── UIMediaSourceMetaData.java │ │ │ ├── UIMetaData.java │ │ │ ├── UIMetaMedia.java │ │ │ ├── URLS.java │ │ │ ├── UpdateCatalogEntryOptions.java │ │ │ ├── UpdateVisibilityOptions.java │ │ │ ├── UploadArtifactOptions.java │ │ │ ├── Visibility.java │ │ │ ├── VisibilityDetail.java │ │ │ └── VisibilityDetailAccounts.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── global_catalog │ │ └── v1 │ │ ├── GlobalCatalogIT.java │ │ ├── GlobalCatalogTest.java │ │ ├── model │ │ ├── AliasMetaDataTest.java │ │ ├── AmountTest.java │ │ ├── ArtifactTest.java │ │ ├── ArtifactsTest.java │ │ ├── AuditSearchResultTest.java │ │ ├── BrokerTest.java │ │ ├── BulletsTest.java │ │ ├── CFMetaDataTest.java │ │ ├── CallbacksTest.java │ │ ├── CatalogEntryMetadataDeploymentTest.java │ │ ├── CatalogEntryMetadataPricingTest.java │ │ ├── CatalogEntryMetadataTest.java │ │ ├── CatalogEntryTest.java │ │ ├── CreateCatalogEntryOptionsTest.java │ │ ├── DRMetaDataTest.java │ │ ├── DeleteArtifactOptionsTest.java │ │ ├── DeleteCatalogEntryOptionsTest.java │ │ ├── DeploymentBaseTest.java │ │ ├── EntrySearchResultTest.java │ │ ├── GetArtifactOptionsTest.java │ │ ├── GetAuditLogsOptionsTest.java │ │ ├── GetCatalogEntryOptionsTest.java │ │ ├── GetChildObjectsOptionsTest.java │ │ ├── GetPricingDeploymentsOptionsTest.java │ │ ├── GetPricingOptionsTest.java │ │ ├── GetVisibilityOptionsTest.java │ │ ├── ImageTest.java │ │ ├── ListArtifactsOptionsTest.java │ │ ├── ListCatalogEntriesOptionsTest.java │ │ ├── MessageTest.java │ │ ├── MetricsTest.java │ │ ├── ObjectMetadataSetTest.java │ │ ├── OverviewTest.java │ │ ├── PlanMetaDataTest.java │ │ ├── PriceTest.java │ │ ├── PricingGetTest.java │ │ ├── PricingSearchResultTest.java │ │ ├── PricingSetTest.java │ │ ├── ProviderTest.java │ │ ├── RestoreCatalogEntryOptionsTest.java │ │ ├── SLAMetaDataTest.java │ │ ├── SourceMetaDataTest.java │ │ ├── StartingPriceTest.java │ │ ├── StringsTest.java │ │ ├── TemplateMetaDataTest.java │ │ ├── UIMediaSourceMetaDataTest.java │ │ ├── UIMetaDataTest.java │ │ ├── UIMetaMediaTest.java │ │ ├── URLSTest.java │ │ ├── UpdateCatalogEntryOptionsTest.java │ │ ├── UpdateVisibilityOptionsTest.java │ │ ├── UploadArtifactOptionsTest.java │ │ ├── VisibilityDetailAccountsTest.java │ │ ├── VisibilityDetailTest.java │ │ └── VisibilityTest.java │ │ └── utils │ │ └── TestUtilities.java ├── global-search │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── global_search │ │ │ └── v2 │ │ │ ├── GlobalSearch.java │ │ │ ├── model │ │ │ ├── GetSupportedTypesOptions.java │ │ │ ├── ResultItem.java │ │ │ ├── ScanResult.java │ │ │ ├── SearchOptions.java │ │ │ └── SupportedTypesList.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── global_search │ │ └── v2 │ │ ├── GlobalSearchIT.java │ │ ├── GlobalSearchTest.java │ │ ├── model │ │ ├── GetSupportedTypesOptionsTest.java │ │ ├── ResultItemTest.java │ │ ├── ScanResultTest.java │ │ ├── SearchOptionsTest.java │ │ └── SupportedTypesListTest.java │ │ └── utils │ │ └── TestUtilities.java ├── global-tagging │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── global_tagging │ │ │ └── v1 │ │ │ ├── GlobalTagging.java │ │ │ ├── model │ │ │ ├── AttachTagOptions.java │ │ │ ├── CreateTagOptions.java │ │ │ ├── CreateTagResults.java │ │ │ ├── CreateTagResultsResultsItem.java │ │ │ ├── DeleteTagAllOptions.java │ │ │ ├── DeleteTagOptions.java │ │ │ ├── DeleteTagResults.java │ │ │ ├── DeleteTagResultsItem.java │ │ │ ├── DeleteTagsResult.java │ │ │ ├── DeleteTagsResultItem.java │ │ │ ├── DetachTagOptions.java │ │ │ ├── ListTagsOptions.java │ │ │ ├── Resource.java │ │ │ ├── Tag.java │ │ │ ├── TagList.java │ │ │ ├── TagResults.java │ │ │ └── TagResultsItem.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── global_tagging │ │ └── v1 │ │ ├── GlobalTaggingIT.java │ │ ├── GlobalTaggingTest.java │ │ ├── model │ │ ├── AttachTagOptionsTest.java │ │ ├── CreateTagOptionsTest.java │ │ ├── CreateTagResultsResultsItemTest.java │ │ ├── CreateTagResultsTest.java │ │ ├── DeleteTagAllOptionsTest.java │ │ ├── DeleteTagOptionsTest.java │ │ ├── DeleteTagResultsItemTest.java │ │ ├── DeleteTagResultsTest.java │ │ ├── DeleteTagsResultItemTest.java │ │ ├── DeleteTagsResultTest.java │ │ ├── DetachTagOptionsTest.java │ │ ├── ListTagsOptionsTest.java │ │ ├── ResourceTest.java │ │ ├── TagListTest.java │ │ ├── TagResultsItemTest.java │ │ ├── TagResultsTest.java │ │ └── TagTest.java │ │ └── utils │ │ └── TestUtilities.java ├── iam-access-groups │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── iam_access_groups │ │ │ └── v2 │ │ │ ├── IamAccessGroups.java │ │ │ ├── model │ │ │ ├── AccessActionControls.java │ │ │ ├── AccessGroupInput.java │ │ │ ├── AccessGroupMembersPager.java │ │ │ ├── AccessGroupRequest.java │ │ │ ├── AccessGroupResponse.java │ │ │ ├── AccessGroupsPager.java │ │ │ ├── AccountSettings.java │ │ │ ├── AddAccessGroupRuleOptions.java │ │ │ ├── AddGroupMembersRequestMembersItem.java │ │ │ ├── AddGroupMembersResponse.java │ │ │ ├── AddGroupMembersResponseMembersItem.java │ │ │ ├── AddMemberToMultipleAccessGroupsOptions.java │ │ │ ├── AddMembersToAccessGroupOptions.java │ │ │ ├── AddMembershipMultipleGroupsResponse.java │ │ │ ├── AddMembershipMultipleGroupsResponseGroupsItem.java │ │ │ ├── Assertions.java │ │ │ ├── AssertionsActionControls.java │ │ │ ├── AssertionsInput.java │ │ │ ├── AssertionsRule.java │ │ │ ├── AssignmentResourceAccessGroup.java │ │ │ ├── AssignmentResourceEntry.java │ │ │ ├── CommitTemplateOptions.java │ │ │ ├── ConditionInput.java │ │ │ ├── Conditions.java │ │ │ ├── CreateAccessGroupOptions.java │ │ │ ├── CreateAssignmentOptions.java │ │ │ ├── CreateTemplateOptions.java │ │ │ ├── CreateTemplateResponse.java │ │ │ ├── CreateTemplateVersionOptions.java │ │ │ ├── DeleteAccessGroupOptions.java │ │ │ ├── DeleteAssignmentOptions.java │ │ │ ├── DeleteFromAllGroupsResponse.java │ │ │ ├── DeleteFromAllGroupsResponseGroupsItem.java │ │ │ ├── DeleteGroupBulkMembersResponse.java │ │ │ ├── DeleteGroupBulkMembersResponseMembersItem.java │ │ │ ├── DeleteTemplateOptions.java │ │ │ ├── DeleteTemplateVersionOptions.java │ │ │ ├── Error.java │ │ │ ├── GetAccessGroupOptions.java │ │ │ ├── GetAccessGroupRuleOptions.java │ │ │ ├── GetAccountSettingsOptions.java │ │ │ ├── GetAssignmentOptions.java │ │ │ ├── GetLatestTemplateVersionOptions.java │ │ │ ├── GetTemplateAssignmentResponse.java │ │ │ ├── GetTemplateVersionOptions.java │ │ │ ├── Group.java │ │ │ ├── GroupActionControls.java │ │ │ ├── GroupMembersList.java │ │ │ ├── GroupTemplate.java │ │ │ ├── GroupsList.java │ │ │ ├── HrefStruct.java │ │ │ ├── IsMemberOfAccessGroupOptions.java │ │ │ ├── ListAccessGroupMembersOptions.java │ │ │ ├── ListAccessGroupRulesOptions.java │ │ │ ├── ListAccessGroupsOptions.java │ │ │ ├── ListAssignmentsOptions.java │ │ │ ├── ListGroupMembersResponseMember.java │ │ │ ├── ListTemplateAssignmentResponse.java │ │ │ ├── ListTemplateVersionResponse.java │ │ │ ├── ListTemplateVersionsOptions.java │ │ │ ├── ListTemplateVersionsResponse.java │ │ │ ├── ListTemplatesOptions.java │ │ │ ├── ListTemplatesResponse.java │ │ │ ├── ListTemplatesVersionsResponse.java │ │ │ ├── Members.java │ │ │ ├── MembersActionControls.java │ │ │ ├── MembersInput.java │ │ │ ├── PolicyTemplates.java │ │ │ ├── PolicyTemplatesInput.java │ │ │ ├── RemoveAccessGroupRuleOptions.java │ │ │ ├── RemoveMemberFromAccessGroupOptions.java │ │ │ ├── RemoveMemberFromAllAccessGroupsOptions.java │ │ │ ├── RemoveMembersFromAccessGroupOptions.java │ │ │ ├── ReplaceAccessGroupRuleOptions.java │ │ │ ├── ResourceListWithTargetAccountID.java │ │ │ ├── Rule.java │ │ │ ├── RuleActionControls.java │ │ │ ├── RuleConditions.java │ │ │ ├── RuleInput.java │ │ │ ├── RulesActionControls.java │ │ │ ├── RulesList.java │ │ │ ├── TemplateAssignmentResponse.java │ │ │ ├── TemplateAssignmentVerboseResponse.java │ │ │ ├── TemplateCreateAssignmentResponse.java │ │ │ ├── TemplateItem.java │ │ │ ├── TemplateResponse.java │ │ │ ├── TemplateVersionResponse.java │ │ │ ├── TemplateVersionsPager.java │ │ │ ├── TemplatesListAssignmentResponse.java │ │ │ ├── TemplatesPager.java │ │ │ ├── UpdateAccessGroupOptions.java │ │ │ ├── UpdateAccountSettingsOptions.java │ │ │ ├── UpdateAssignmentOptions.java │ │ │ └── UpdateTemplateVersionOptions.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── iam_access_groups │ │ └── v2 │ │ ├── IamAccessGroupsIT.java │ │ ├── IamAccessGroupsTest.java │ │ ├── model │ │ ├── AccessActionControlsTest.java │ │ ├── AccessGroupInputTest.java │ │ ├── AccessGroupRequestTest.java │ │ ├── AccessGroupResponseTest.java │ │ ├── AccountSettingsTest.java │ │ ├── AddAccessGroupRuleOptionsTest.java │ │ ├── AddGroupMembersRequestMembersItemTest.java │ │ ├── AddGroupMembersResponseMembersItemTest.java │ │ ├── AddGroupMembersResponseTest.java │ │ ├── AddMemberToMultipleAccessGroupsOptionsTest.java │ │ ├── AddMembersToAccessGroupOptionsTest.java │ │ ├── AddMembershipMultipleGroupsResponseGroupsItemTest.java │ │ ├── AddMembershipMultipleGroupsResponseTest.java │ │ ├── AssertionsActionControlsTest.java │ │ ├── AssertionsInputTest.java │ │ ├── AssertionsRuleTest.java │ │ ├── AssertionsTest.java │ │ ├── AssignmentResourceAccessGroupTest.java │ │ ├── AssignmentResourceEntryTest.java │ │ ├── CommitTemplateOptionsTest.java │ │ ├── ConditionInputTest.java │ │ ├── ConditionsTest.java │ │ ├── CreateAccessGroupOptionsTest.java │ │ ├── CreateAssignmentOptionsTest.java │ │ ├── CreateTemplateOptionsTest.java │ │ ├── CreateTemplateResponseTest.java │ │ ├── CreateTemplateVersionOptionsTest.java │ │ ├── DeleteAccessGroupOptionsTest.java │ │ ├── DeleteAssignmentOptionsTest.java │ │ ├── DeleteFromAllGroupsResponseGroupsItemTest.java │ │ ├── DeleteFromAllGroupsResponseTest.java │ │ ├── DeleteGroupBulkMembersResponseMembersItemTest.java │ │ ├── DeleteGroupBulkMembersResponseTest.java │ │ ├── DeleteTemplateOptionsTest.java │ │ ├── DeleteTemplateVersionOptionsTest.java │ │ ├── ErrorTest.java │ │ ├── GetAccessGroupOptionsTest.java │ │ ├── GetAccessGroupRuleOptionsTest.java │ │ ├── GetAccountSettingsOptionsTest.java │ │ ├── GetAssignmentOptionsTest.java │ │ ├── GetLatestTemplateVersionOptionsTest.java │ │ ├── GetTemplateAssignmentResponseTest.java │ │ ├── GetTemplateVersionOptionsTest.java │ │ ├── GroupActionControlsTest.java │ │ ├── GroupMembersListTest.java │ │ ├── GroupTemplateTest.java │ │ ├── GroupTest.java │ │ ├── GroupsListTest.java │ │ ├── HrefStructTest.java │ │ ├── IsMemberOfAccessGroupOptionsTest.java │ │ ├── ListAccessGroupMembersOptionsTest.java │ │ ├── ListAccessGroupRulesOptionsTest.java │ │ ├── ListAccessGroupsOptionsTest.java │ │ ├── ListAssignmentsOptionsTest.java │ │ ├── ListGroupMembersResponseMemberTest.java │ │ ├── ListTemplateAssignmentResponseTest.java │ │ ├── ListTemplateVersionResponseTest.java │ │ ├── ListTemplateVersionsOptionsTest.java │ │ ├── ListTemplateVersionsResponseTest.java │ │ ├── ListTemplatesOptionsTest.java │ │ ├── ListTemplatesResponseTest.java │ │ ├── ListTemplatesVersionsResponseTest.java │ │ ├── MembersActionControlsTest.java │ │ ├── MembersInputTest.java │ │ ├── MembersTest.java │ │ ├── PolicyTemplatesInputTest.java │ │ ├── PolicyTemplatesTest.java │ │ ├── RemoveAccessGroupRuleOptionsTest.java │ │ ├── RemoveMemberFromAccessGroupOptionsTest.java │ │ ├── RemoveMemberFromAllAccessGroupsOptionsTest.java │ │ ├── RemoveMembersFromAccessGroupOptionsTest.java │ │ ├── ReplaceAccessGroupRuleOptionsTest.java │ │ ├── ResourceListWithTargetAccountIDTest.java │ │ ├── RuleActionControlsTest.java │ │ ├── RuleConditionsTest.java │ │ ├── RuleInputTest.java │ │ ├── RuleTest.java │ │ ├── RulesActionControlsTest.java │ │ ├── RulesListTest.java │ │ ├── TemplateAssignmentResponseTest.java │ │ ├── TemplateAssignmentVerboseResponseTest.java │ │ ├── TemplateCreateAssignmentResponseTest.java │ │ ├── TemplateItemTest.java │ │ ├── TemplateResponseTest.java │ │ ├── TemplateVersionResponseTest.java │ │ ├── TemplatesListAssignmentResponseTest.java │ │ ├── UpdateAccessGroupOptionsTest.java │ │ ├── UpdateAccountSettingsOptionsTest.java │ │ ├── UpdateAssignmentOptionsTest.java │ │ └── UpdateTemplateVersionOptionsTest.java │ │ └── utils │ │ └── TestUtilities.java ├── iam-identity │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── iam_identity │ │ │ └── v1 │ │ │ ├── IamIdentity.java │ │ │ ├── model │ │ │ ├── AccountBasedMfaEnrollment.java │ │ │ ├── AccountSettingsAccountSection.java │ │ │ ├── AccountSettingsAssignedTemplatesSection.java │ │ │ ├── AccountSettingsComponent.java │ │ │ ├── AccountSettingsEffectiveSection.java │ │ │ ├── AccountSettingsResponse.java │ │ │ ├── AccountSettingsTemplateList.java │ │ │ ├── AccountSettingsTemplateResponse.java │ │ │ ├── AccountSettingsUserMFA.java │ │ │ ├── ActionControls.java │ │ │ ├── ActionControlsIdentities.java │ │ │ ├── ActionControlsPolicies.java │ │ │ ├── ActionControlsRules.java │ │ │ ├── Activity.java │ │ │ ├── AllIdentityPreferencesResponse.java │ │ │ ├── ApiKey.java │ │ │ ├── ApiKeyInsideCreateServiceIdRequest.java │ │ │ ├── ApiKeyList.java │ │ │ ├── ApikeyActivity.java │ │ │ ├── ApikeyActivityServiceid.java │ │ │ ├── ApikeyActivityUser.java │ │ │ ├── CommitAccountSettingsTemplateOptions.java │ │ │ ├── CommitProfileTemplateOptions.java │ │ │ ├── CreateAccountSettingsAssignmentOptions.java │ │ │ ├── CreateAccountSettingsTemplateOptions.java │ │ │ ├── CreateAccountSettingsTemplateVersionOptions.java │ │ │ ├── CreateApiKeyOptions.java │ │ │ ├── CreateClaimRuleOptions.java │ │ │ ├── CreateLinkOptions.java │ │ │ ├── CreateMfaReportOptions.java │ │ │ ├── CreateProfileLinkRequestLink.java │ │ │ ├── CreateProfileOptions.java │ │ │ ├── CreateProfileTemplateOptions.java │ │ │ ├── CreateProfileTemplateVersionOptions.java │ │ │ ├── CreateReportOptions.java │ │ │ ├── CreateServiceIdOptions.java │ │ │ ├── CreateTrustedProfileAssignmentOptions.java │ │ │ ├── DeleteAccountSettingsAssignmentOptions.java │ │ │ ├── DeleteAccountSettingsTemplateVersionOptions.java │ │ │ ├── DeleteAllVersionsOfAccountSettingsTemplateOptions.java │ │ │ ├── DeleteAllVersionsOfProfileTemplateOptions.java │ │ │ ├── DeleteApiKeyOptions.java │ │ │ ├── DeleteClaimRuleOptions.java │ │ │ ├── DeleteLinkOptions.java │ │ │ ├── DeletePreferencesOnScopeAccountOptions.java │ │ │ ├── DeleteProfileIdentityOptions.java │ │ │ ├── DeleteProfileOptions.java │ │ │ ├── DeleteProfileTemplateVersionOptions.java │ │ │ ├── DeleteServiceIdOptions.java │ │ │ ├── DeleteTrustedProfileAssignmentOptions.java │ │ │ ├── DisableApiKeyOptions.java │ │ │ ├── EffectiveAccountSettingsResponse.java │ │ │ ├── EffectiveAccountSettingsUserMFA.java │ │ │ ├── EnableApiKeyOptions.java │ │ │ ├── EnityHistoryRecord.java │ │ │ ├── EntityActivity.java │ │ │ ├── Error.java │ │ │ ├── ExceptionResponse.java │ │ │ ├── GetAccountSettingsAssignmentOptions.java │ │ │ ├── GetAccountSettingsOptions.java │ │ │ ├── GetAccountSettingsTemplateVersionOptions.java │ │ │ ├── GetAllPreferencesOnScopeAccountOptions.java │ │ │ ├── GetApiKeyOptions.java │ │ │ ├── GetApiKeysDetailsOptions.java │ │ │ ├── GetClaimRuleOptions.java │ │ │ ├── GetEffectiveAccountSettingsOptions.java │ │ │ ├── GetLatestAccountSettingsTemplateVersionOptions.java │ │ │ ├── GetLatestProfileTemplateVersionOptions.java │ │ │ ├── GetLatestTemplateVersionOptions.java │ │ │ ├── GetLinkOptions.java │ │ │ ├── GetMfaReportOptions.java │ │ │ ├── GetMfaStatusOptions.java │ │ │ ├── GetPreferencesOnScopeAccountOptions.java │ │ │ ├── GetProfileIdentitiesOptions.java │ │ │ ├── GetProfileIdentityOptions.java │ │ │ ├── GetProfileOptions.java │ │ │ ├── GetProfileTemplateVersionOptions.java │ │ │ ├── GetReportOptions.java │ │ │ ├── GetServiceIdOptions.java │ │ │ ├── GetTrustedProfileAssignmentOptions.java │ │ │ ├── IdBasedMfaEnrollment.java │ │ │ ├── IdentityPreferenceResponse.java │ │ │ ├── ListAccountSettingsAssignmentsOptions.java │ │ │ ├── ListAccountSettingsTemplatesOptions.java │ │ │ ├── ListApiKeysOptions.java │ │ │ ├── ListClaimRulesOptions.java │ │ │ ├── ListLinksOptions.java │ │ │ ├── ListProfileTemplatesOptions.java │ │ │ ├── ListProfilesOptions.java │ │ │ ├── ListServiceIdsOptions.java │ │ │ ├── ListTrustedProfileAssignmentsOptions.java │ │ │ ├── ListVersionsOfAccountSettingsTemplateOptions.java │ │ │ ├── ListVersionsOfProfileTemplateOptions.java │ │ │ ├── LockApiKeyOptions.java │ │ │ ├── LockServiceIdOptions.java │ │ │ ├── MfaEnrollmentTypeStatus.java │ │ │ ├── MfaEnrollments.java │ │ │ ├── PolicyTemplateReference.java │ │ │ ├── ProfileClaimRule.java │ │ │ ├── ProfileClaimRuleConditions.java │ │ │ ├── ProfileClaimRuleList.java │ │ │ ├── ProfileIdentitiesResponse.java │ │ │ ├── ProfileIdentityRequest.java │ │ │ ├── ProfileIdentityResponse.java │ │ │ ├── ProfileLink.java │ │ │ ├── ProfileLinkLink.java │ │ │ ├── ProfileLinkList.java │ │ │ ├── Report.java │ │ │ ├── ReportMfaEnrollmentStatus.java │ │ │ ├── ReportReference.java │ │ │ ├── ResponseContext.java │ │ │ ├── ServiceId.java │ │ │ ├── ServiceIdList.java │ │ │ ├── SetProfileIdentitiesOptions.java │ │ │ ├── SetProfileIdentityOptions.java │ │ │ ├── TemplateAssignmentListResponse.java │ │ │ ├── TemplateAssignmentResource.java │ │ │ ├── TemplateAssignmentResourceError.java │ │ │ ├── TemplateAssignmentResponse.java │ │ │ ├── TemplateAssignmentResponseResource.java │ │ │ ├── TemplateAssignmentResponseResourceDetail.java │ │ │ ├── TemplateProfileComponentRequest.java │ │ │ ├── TemplateProfileComponentResponse.java │ │ │ ├── TrustedProfile.java │ │ │ ├── TrustedProfileTemplateClaimRule.java │ │ │ ├── TrustedProfileTemplateList.java │ │ │ ├── TrustedProfileTemplateResponse.java │ │ │ ├── TrustedProfilesList.java │ │ │ ├── UnlockApiKeyOptions.java │ │ │ ├── UnlockServiceIdOptions.java │ │ │ ├── UpdateAccountSettingsAssignmentOptions.java │ │ │ ├── UpdateAccountSettingsOptions.java │ │ │ ├── UpdateAccountSettingsTemplateVersionOptions.java │ │ │ ├── UpdateApiKeyOptions.java │ │ │ ├── UpdateClaimRuleOptions.java │ │ │ ├── UpdatePreferenceOnScopeAccountOptions.java │ │ │ ├── UpdateProfileOptions.java │ │ │ ├── UpdateProfileTemplateVersionOptions.java │ │ │ ├── UpdateServiceIdOptions.java │ │ │ ├── UpdateTrustedProfileAssignmentOptions.java │ │ │ ├── UserActivity.java │ │ │ ├── UserMfaEnrollments.java │ │ │ └── UserReportMfaEnrollmentStatus.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── iam_identity │ │ └── v1 │ │ ├── IamIdentityIT.java │ │ ├── IamIdentityTest.java │ │ ├── model │ │ ├── AccountBasedMfaEnrollmentTest.java │ │ ├── AccountSettingsAccountSectionTest.java │ │ ├── AccountSettingsAssignedTemplatesSectionTest.java │ │ ├── AccountSettingsComponentTest.java │ │ ├── AccountSettingsEffectiveSectionTest.java │ │ ├── AccountSettingsResponseTest.java │ │ ├── AccountSettingsTemplateListTest.java │ │ ├── AccountSettingsTemplateResponseTest.java │ │ ├── AccountSettingsUserMFATest.java │ │ ├── ActionControlsIdentitiesTest.java │ │ ├── ActionControlsPoliciesTest.java │ │ ├── ActionControlsRulesTest.java │ │ ├── ActionControlsTest.java │ │ ├── ActivityTest.java │ │ ├── AllIdentityPreferencesResponseTest.java │ │ ├── ApiKeyInsideCreateServiceIdRequestTest.java │ │ ├── ApiKeyListTest.java │ │ ├── ApiKeyTest.java │ │ ├── ApikeyActivityServiceidTest.java │ │ ├── ApikeyActivityTest.java │ │ ├── ApikeyActivityUserTest.java │ │ ├── CommitAccountSettingsTemplateOptionsTest.java │ │ ├── CommitProfileTemplateOptionsTest.java │ │ ├── CreateAccountSettingsAssignmentOptionsTest.java │ │ ├── CreateAccountSettingsTemplateOptionsTest.java │ │ ├── CreateAccountSettingsTemplateVersionOptionsTest.java │ │ ├── CreateApiKeyOptionsTest.java │ │ ├── CreateClaimRuleOptionsTest.java │ │ ├── CreateLinkOptionsTest.java │ │ ├── CreateMfaReportOptionsTest.java │ │ ├── CreateProfileLinkRequestLinkTest.java │ │ ├── CreateProfileOptionsTest.java │ │ ├── CreateProfileTemplateOptionsTest.java │ │ ├── CreateProfileTemplateVersionOptionsTest.java │ │ ├── CreateReportOptionsTest.java │ │ ├── CreateServiceIdOptionsTest.java │ │ ├── CreateTrustedProfileAssignmentOptionsTest.java │ │ ├── DeleteAccountSettingsAssignmentOptionsTest.java │ │ ├── DeleteAccountSettingsTemplateVersionOptionsTest.java │ │ ├── DeleteAllVersionsOfAccountSettingsTemplateOptionsTest.java │ │ ├── DeleteAllVersionsOfProfileTemplateOptionsTest.java │ │ ├── DeleteApiKeyOptionsTest.java │ │ ├── DeleteClaimRuleOptionsTest.java │ │ ├── DeleteLinkOptionsTest.java │ │ ├── DeletePreferencesOnScopeAccountOptionsTest.java │ │ ├── DeleteProfileIdentityOptionsTest.java │ │ ├── DeleteProfileOptionsTest.java │ │ ├── DeleteProfileTemplateVersionOptionsTest.java │ │ ├── DeleteServiceIdOptionsTest.java │ │ ├── DeleteTrustedProfileAssignmentOptionsTest.java │ │ ├── DisableApiKeyOptionsTest.java │ │ ├── EffectiveAccountSettingsResponseTest.java │ │ ├── EffectiveAccountSettingsUserMFATest.java │ │ ├── EnableApiKeyOptionsTest.java │ │ ├── EnityHistoryRecordTest.java │ │ ├── EntityActivityTest.java │ │ ├── ErrorTest.java │ │ ├── ExceptionResponseTest.java │ │ ├── GetAccountSettingsAssignmentOptionsTest.java │ │ ├── GetAccountSettingsOptionsTest.java │ │ ├── GetAccountSettingsTemplateVersionOptionsTest.java │ │ ├── GetAllPreferencesOnScopeAccountOptionsTest.java │ │ ├── GetApiKeyOptionsTest.java │ │ ├── GetApiKeysDetailsOptionsTest.java │ │ ├── GetClaimRuleOptionsTest.java │ │ ├── GetEffectiveAccountSettingsOptionsTest.java │ │ ├── GetLatestAccountSettingsTemplateVersionOptionsTest.java │ │ ├── GetLatestProfileTemplateVersionOptionsTest.java │ │ ├── GetLatestTemplateVersionOptionsTest.java │ │ ├── GetLinkOptionsTest.java │ │ ├── GetMfaReportOptionsTest.java │ │ ├── GetMfaStatusOptionsTest.java │ │ ├── GetPreferencesOnScopeAccountOptionsTest.java │ │ ├── GetProfileIdentitiesOptionsTest.java │ │ ├── GetProfileIdentityOptionsTest.java │ │ ├── GetProfileOptionsTest.java │ │ ├── GetProfileTemplateVersionOptionsTest.java │ │ ├── GetReportOptionsTest.java │ │ ├── GetServiceIdOptionsTest.java │ │ ├── GetTrustedProfileAssignmentOptionsTest.java │ │ ├── IdBasedMfaEnrollmentTest.java │ │ ├── IdentityPreferenceResponseTest.java │ │ ├── ListAccountSettingsAssignmentsOptionsTest.java │ │ ├── ListAccountSettingsTemplatesOptionsTest.java │ │ ├── ListApiKeysOptionsTest.java │ │ ├── ListClaimRulesOptionsTest.java │ │ ├── ListLinksOptionsTest.java │ │ ├── ListProfileTemplatesOptionsTest.java │ │ ├── ListProfilesOptionsTest.java │ │ ├── ListServiceIdsOptionsTest.java │ │ ├── ListTrustedProfileAssignmentsOptionsTest.java │ │ ├── ListVersionsOfAccountSettingsTemplateOptionsTest.java │ │ ├── ListVersionsOfProfileTemplateOptionsTest.java │ │ ├── LockApiKeyOptionsTest.java │ │ ├── LockServiceIdOptionsTest.java │ │ ├── MfaEnrollmentTypeStatusTest.java │ │ ├── MfaEnrollmentsTest.java │ │ ├── PolicyTemplateReferenceTest.java │ │ ├── ProfileClaimRuleConditionsTest.java │ │ ├── ProfileClaimRuleListTest.java │ │ ├── ProfileClaimRuleTest.java │ │ ├── ProfileIdentitiesResponseTest.java │ │ ├── ProfileIdentityRequestTest.java │ │ ├── ProfileIdentityResponseTest.java │ │ ├── ProfileLinkLinkTest.java │ │ ├── ProfileLinkListTest.java │ │ ├── ProfileLinkTest.java │ │ ├── ReportMfaEnrollmentStatusTest.java │ │ ├── ReportReferenceTest.java │ │ ├── ReportTest.java │ │ ├── ResponseContextTest.java │ │ ├── ServiceIdListTest.java │ │ ├── ServiceIdTest.java │ │ ├── SetProfileIdentitiesOptionsTest.java │ │ ├── SetProfileIdentityOptionsTest.java │ │ ├── TemplateAssignmentListResponseTest.java │ │ ├── TemplateAssignmentResourceErrorTest.java │ │ ├── TemplateAssignmentResourceTest.java │ │ ├── TemplateAssignmentResponseResourceDetailTest.java │ │ ├── TemplateAssignmentResponseResourceTest.java │ │ ├── TemplateAssignmentResponseTest.java │ │ ├── TemplateProfileComponentRequestTest.java │ │ ├── TemplateProfileComponentResponseTest.java │ │ ├── TrustedProfileTemplateClaimRuleTest.java │ │ ├── TrustedProfileTemplateListTest.java │ │ ├── TrustedProfileTemplateResponseTest.java │ │ ├── TrustedProfileTest.java │ │ ├── TrustedProfilesListTest.java │ │ ├── UnlockApiKeyOptionsTest.java │ │ ├── UnlockServiceIdOptionsTest.java │ │ ├── UpdateAccountSettingsAssignmentOptionsTest.java │ │ ├── UpdateAccountSettingsOptionsTest.java │ │ ├── UpdateAccountSettingsTemplateVersionOptionsTest.java │ │ ├── UpdateApiKeyOptionsTest.java │ │ ├── UpdateClaimRuleOptionsTest.java │ │ ├── UpdatePreferenceOnScopeAccountOptionsTest.java │ │ ├── UpdateProfileOptionsTest.java │ │ ├── UpdateProfileTemplateVersionOptionsTest.java │ │ ├── UpdateServiceIdOptionsTest.java │ │ ├── UpdateTrustedProfileAssignmentOptionsTest.java │ │ ├── UserActivityTest.java │ │ ├── UserMfaEnrollmentsTest.java │ │ └── UserReportMfaEnrollmentStatusTest.java │ │ └── utils │ │ └── TestUtilities.java ├── iam-policy-management │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── iam_policy_management │ │ │ └── v1 │ │ │ ├── IamPolicyManagement.java │ │ │ ├── model │ │ │ ├── AccountSettingsAccessManagement.java │ │ │ ├── ActionControlAssignment.java │ │ │ ├── ActionControlAssignmentCollection.java │ │ │ ├── ActionControlAssignmentResource.java │ │ │ ├── ActionControlAssignmentResourceActionControl.java │ │ │ ├── ActionControlAssignmentResourceCreated.java │ │ │ ├── ActionControlAssignmentTemplate.java │ │ │ ├── ActionControlAssignmentsPager.java │ │ │ ├── ActionControlTemplate.java │ │ │ ├── ActionControlTemplateCollection.java │ │ │ ├── ActionControlTemplateVersionsCollection.java │ │ │ ├── ActionControlTemplateVersionsPager.java │ │ │ ├── ActionControlTemplatesPager.java │ │ │ ├── AssignmentResourceCreated.java │ │ │ ├── AssignmentTargetDetails.java │ │ │ ├── AssignmentTemplateDetails.java │ │ │ ├── CommitActionControlTemplateOptions.java │ │ │ ├── CommitPolicyTemplateOptions.java │ │ │ ├── ConflictsWith.java │ │ │ ├── Control.java │ │ │ ├── ControlResponse.java │ │ │ ├── ControlResponseControl.java │ │ │ ├── ControlResponseControlWithEnrichedRoles.java │ │ │ ├── CreateActionControlTemplateAssignmentOptions.java │ │ │ ├── CreateActionControlTemplateOptions.java │ │ │ ├── CreateActionControlTemplateVersionOptions.java │ │ │ ├── CreatePolicyOptions.java │ │ │ ├── CreatePolicyTemplateAssignmentOptions.java │ │ │ ├── CreatePolicyTemplateOptions.java │ │ │ ├── CreatePolicyTemplateVersionOptions.java │ │ │ ├── CreateRoleOptions.java │ │ │ ├── CreateV2PolicyOptions.java │ │ │ ├── CustomRole.java │ │ │ ├── DeleteActionControlAssignmentOptions.java │ │ │ ├── DeleteActionControlTemplateOptions.java │ │ │ ├── DeleteActionControlTemplateVersionOptions.java │ │ │ ├── DeletePolicyAssignmentOptions.java │ │ │ ├── DeletePolicyOptions.java │ │ │ ├── DeletePolicyTemplateOptions.java │ │ │ ├── DeletePolicyTemplateVersionOptions.java │ │ │ ├── DeleteRoleOptions.java │ │ │ ├── DeleteV2PolicyOptions.java │ │ │ ├── EnrichedRoles.java │ │ │ ├── ErrorDetails.java │ │ │ ├── ErrorObject.java │ │ │ ├── ErrorResponse.java │ │ │ ├── ExternalAccountIdentityInteraction.java │ │ │ ├── ExternalAccountIdentityInteractionPatch.java │ │ │ ├── First.java │ │ │ ├── GetActionControlAssignmentOptions.java │ │ │ ├── GetActionControlTemplateOptions.java │ │ │ ├── GetActionControlTemplateVersionOptions.java │ │ │ ├── GetPolicyAssignmentOptions.java │ │ │ ├── GetPolicyOptions.java │ │ │ ├── GetPolicyTemplateOptions.java │ │ │ ├── GetPolicyTemplateVersionOptions.java │ │ │ ├── GetRoleOptions.java │ │ │ ├── GetSettingsOptions.java │ │ │ ├── GetV2PolicyOptions.java │ │ │ ├── Grant.java │ │ │ ├── GrantWithEnrichedRoles.java │ │ │ ├── IdentityTypes.java │ │ │ ├── IdentityTypesBase.java │ │ │ ├── IdentityTypesPatch.java │ │ │ ├── LimitData.java │ │ │ ├── ListActionControlAssignmentsOptions.java │ │ │ ├── ListActionControlTemplateVersionsOptions.java │ │ │ ├── ListActionControlTemplatesOptions.java │ │ │ ├── ListPoliciesOptions.java │ │ │ ├── ListPolicyAssignmentsOptions.java │ │ │ ├── ListPolicyTemplateVersionsOptions.java │ │ │ ├── ListPolicyTemplateVerssionsOptions.java │ │ │ ├── ListPolicyTemplatesOptions.java │ │ │ ├── ListRolesOptions.java │ │ │ ├── ListV2PoliciesOptions.java │ │ │ ├── NestedCondition.java │ │ │ ├── NestedConditionRuleAttribute.java │ │ │ ├── NestedConditionRuleWithConditions.java │ │ │ ├── Next.java │ │ │ ├── PatchPolicyAssignmentOptions.java │ │ │ ├── PolcyTemplateAssignmentCollection.java │ │ │ ├── PoliciesPager.java │ │ │ ├── Policy.java │ │ │ ├── PolicyAssignmentRecord.java │ │ │ ├── PolicyAssignmentRequestOptionsItem.java │ │ │ ├── PolicyAssignmentResourcePolicy.java │ │ │ ├── PolicyAssignmentResources.java │ │ │ ├── PolicyAssignmentResourcesPolicy.java │ │ │ ├── PolicyAssignmentV1.java │ │ │ ├── PolicyAssignmentV1Collection.java │ │ │ ├── PolicyAssignmentV1Options.java │ │ │ ├── PolicyAssignmentV1OptionsRoot.java │ │ │ ├── PolicyAssignmentV1OptionsRootTemplate.java │ │ │ ├── PolicyAssignmentV1Resources.java │ │ │ ├── PolicyAssignmentV1Subject.java │ │ │ ├── PolicyAssignmentsPager.java │ │ │ ├── PolicyCollection.java │ │ │ ├── PolicyList.java │ │ │ ├── PolicyResource.java │ │ │ ├── PolicyRole.java │ │ │ ├── PolicySubject.java │ │ │ ├── PolicyTemplate.java │ │ │ ├── PolicyTemplateAssignmentCollection.java │ │ │ ├── PolicyTemplateAssignmentItems.java │ │ │ ├── PolicyTemplateAssignmentItemsPolicyAssignment.java │ │ │ ├── PolicyTemplateAssignmentItemsPolicyAssignmentV1.java │ │ │ ├── PolicyTemplateCollection.java │ │ │ ├── PolicyTemplateLimitData.java │ │ │ ├── PolicyTemplateMetaData.java │ │ │ ├── PolicyTemplateVersionsCollection.java │ │ │ ├── PolicyTemplateVersionsPager.java │ │ │ ├── PolicyTemplatesPager.java │ │ │ ├── Previous.java │ │ │ ├── ReplaceActionControlTemplateOptions.java │ │ │ ├── ReplacePolicyOptions.java │ │ │ ├── ReplacePolicyTemplateOptions.java │ │ │ ├── ReplaceRoleOptions.java │ │ │ ├── ReplaceV2PolicyOptions.java │ │ │ ├── ResourceAttribute.java │ │ │ ├── ResourceTag.java │ │ │ ├── Role.java │ │ │ ├── RoleAction.java │ │ │ ├── RoleCollection.java │ │ │ ├── RoleInDisplayFormat.java │ │ │ ├── RoleList.java │ │ │ ├── Roles.java │ │ │ ├── RuleAttribute.java │ │ │ ├── RuleAttributeWithConditions.java │ │ │ ├── SubjectAttribute.java │ │ │ ├── TemplateActionControl.java │ │ │ ├── TemplateCountData.java │ │ │ ├── TemplateMetada.java │ │ │ ├── TemplateMetadata.java │ │ │ ├── TemplatePolicy.java │ │ │ ├── UpdateActionControlAssignmentOptions.java │ │ │ ├── UpdatePolicyAssignmentOptions.java │ │ │ ├── UpdatePolicyStateOptions.java │ │ │ ├── UpdateSettingsOptions.java │ │ │ ├── V2PoliciesPager.java │ │ │ ├── V2Policy.java │ │ │ ├── V2PolicyCollection.java │ │ │ ├── V2PolicyResource.java │ │ │ ├── V2PolicyResourceAttribute.java │ │ │ ├── V2PolicyResourceTag.java │ │ │ ├── V2PolicyRule.java │ │ │ ├── V2PolicyRuleRuleAttribute.java │ │ │ ├── V2PolicyRuleRuleWithNestedConditions.java │ │ │ ├── V2PolicySubject.java │ │ │ ├── V2PolicySubjectAttribute.java │ │ │ └── V2PolicyTemplateMetaData.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── iam_policy_management │ │ └── v1 │ │ ├── IamPolicyManagementIT.java │ │ ├── IamPolicyManagementTest.java │ │ ├── model │ │ ├── AccountSettingsAccessManagementTest.java │ │ ├── ActionControlAssignmentCollectionTest.java │ │ ├── ActionControlAssignmentResourceActionControlTest.java │ │ ├── ActionControlAssignmentResourceCreatedTest.java │ │ ├── ActionControlAssignmentResourceTest.java │ │ ├── ActionControlAssignmentTemplateTest.java │ │ ├── ActionControlAssignmentTest.java │ │ ├── ActionControlTemplateCollectionTest.java │ │ ├── ActionControlTemplateTest.java │ │ ├── ActionControlTemplateVersionsCollectionTest.java │ │ ├── AssignmentResourceCreatedTest.java │ │ ├── AssignmentTargetDetailsTest.java │ │ ├── AssignmentTemplateDetailsTest.java │ │ ├── CommitActionControlTemplateOptionsTest.java │ │ ├── CommitPolicyTemplateOptionsTest.java │ │ ├── ConflictsWithTest.java │ │ ├── ControlResponseControlTest.java │ │ ├── ControlResponseControlWithEnrichedRolesTest.java │ │ ├── ControlResponseTest.java │ │ ├── ControlTest.java │ │ ├── CreateActionControlTemplateAssignmentOptionsTest.java │ │ ├── CreateActionControlTemplateOptionsTest.java │ │ ├── CreateActionControlTemplateVersionOptionsTest.java │ │ ├── CreatePolicyOptionsTest.java │ │ ├── CreatePolicyTemplateAssignmentOptionsTest.java │ │ ├── CreatePolicyTemplateOptionsTest.java │ │ ├── CreatePolicyTemplateVersionOptionsTest.java │ │ ├── CreateRoleOptionsTest.java │ │ ├── CreateV2PolicyOptionsTest.java │ │ ├── CustomRoleTest.java │ │ ├── DeleteActionControlAssignmentOptionsTest.java │ │ ├── DeleteActionControlTemplateOptionsTest.java │ │ ├── DeleteActionControlTemplateVersionOptionsTest.java │ │ ├── DeletePolicyAssignmentOptionsTest.java │ │ ├── DeletePolicyOptionsTest.java │ │ ├── DeletePolicyTemplateOptionsTest.java │ │ ├── DeletePolicyTemplateVersionOptionsTest.java │ │ ├── DeleteRoleOptionsTest.java │ │ ├── DeleteV2PolicyOptionsTest.java │ │ ├── EnrichedRolesTest.java │ │ ├── ErrorDetailsTest.java │ │ ├── ErrorObjectTest.java │ │ ├── ErrorResponseTest.java │ │ ├── ExternalAccountIdentityInteractionPatchTest.java │ │ ├── ExternalAccountIdentityInteractionTest.java │ │ ├── FirstTest.java │ │ ├── GetActionControlAssignmentOptionsTest.java │ │ ├── GetActionControlTemplateOptionsTest.java │ │ ├── GetActionControlTemplateVersionOptionsTest.java │ │ ├── GetPolicyAssignmentOptionsTest.java │ │ ├── GetPolicyOptionsTest.java │ │ ├── GetPolicyTemplateOptionsTest.java │ │ ├── GetPolicyTemplateVersionOptionsTest.java │ │ ├── GetRoleOptionsTest.java │ │ ├── GetSettingsOptionsTest.java │ │ ├── GetV2PolicyOptionsTest.java │ │ ├── GrantTest.java │ │ ├── GrantWithEnrichedRolesTest.java │ │ ├── IdentityTypesBaseTest.java │ │ ├── IdentityTypesPatchTest.java │ │ ├── IdentityTypesTest.java │ │ ├── LimitDataTest.java │ │ ├── ListActionControlAssignmentsOptionsTest.java │ │ ├── ListActionControlTemplateVersionsOptionsTest.java │ │ ├── ListActionControlTemplatesOptionsTest.java │ │ ├── ListPoliciesOptionsTest.java │ │ ├── ListPolicyAssignmentsOptionsTest.java │ │ ├── ListPolicyTemplateVersionsOptionsTest.java │ │ ├── ListPolicyTemplateVerssionsOptionsTest.java │ │ ├── ListPolicyTemplatesOptionsTest.java │ │ ├── ListRolesOptionsTest.java │ │ ├── ListV2PoliciesOptionsTest.java │ │ ├── NestedConditionRuleAttributeTest.java │ │ ├── NestedConditionRuleWithConditionsTest.java │ │ ├── NestedConditionTest.java │ │ ├── NextTest.java │ │ ├── PatchPolicyAssignmentOptionsTest.java │ │ ├── PolcyTemplateAssignmentCollectionTest.java │ │ ├── PolicyAssignmentRecordTest.java │ │ ├── PolicyAssignmentRequestOptionsItemTest.java │ │ ├── PolicyAssignmentResourcePolicyTest.java │ │ ├── PolicyAssignmentResourcesPolicyTest.java │ │ ├── PolicyAssignmentResourcesTest.java │ │ ├── PolicyAssignmentV1CollectionTest.java │ │ ├── PolicyAssignmentV1OptionsRootTemplateTest.java │ │ ├── PolicyAssignmentV1OptionsRootTest.java │ │ ├── PolicyAssignmentV1OptionsTest.java │ │ ├── PolicyAssignmentV1ResourcesTest.java │ │ ├── PolicyAssignmentV1SubjectTest.java │ │ ├── PolicyAssignmentV1Test.java │ │ ├── PolicyCollectionTest.java │ │ ├── PolicyListTest.java │ │ ├── PolicyResourceTest.java │ │ ├── PolicyRoleTest.java │ │ ├── PolicySubjectTest.java │ │ ├── PolicyTemplateAssignmentCollectionTest.java │ │ ├── PolicyTemplateAssignmentItemsPolicyAssignmentTest.java │ │ ├── PolicyTemplateAssignmentItemsPolicyAssignmentV1Test.java │ │ ├── PolicyTemplateAssignmentItemsTest.java │ │ ├── PolicyTemplateCollectionTest.java │ │ ├── PolicyTemplateLimitDataTest.java │ │ ├── PolicyTemplateMetaDataTest.java │ │ ├── PolicyTemplateTest.java │ │ ├── PolicyTemplateVersionsCollectionTest.java │ │ ├── PolicyTest.java │ │ ├── PreviousTest.java │ │ ├── ReplaceActionControlTemplateOptionsTest.java │ │ ├── ReplacePolicyOptionsTest.java │ │ ├── ReplacePolicyTemplateOptionsTest.java │ │ ├── ReplaceRoleOptionsTest.java │ │ ├── ReplaceV2PolicyOptionsTest.java │ │ ├── ResourceAttributeTest.java │ │ ├── ResourceTagTest.java │ │ ├── RoleActionTest.java │ │ ├── RoleCollectionTest.java │ │ ├── RoleInDisplayFormatTest.java │ │ ├── RoleListTest.java │ │ ├── RoleTest.java │ │ ├── RolesTest.java │ │ ├── RuleAttributeTest.java │ │ ├── RuleAttributeWithConditionsTest.java │ │ ├── SubjectAttributeTest.java │ │ ├── TemplateActionControlTest.java │ │ ├── TemplateCountDataTest.java │ │ ├── TemplateMetadaTest.java │ │ ├── TemplateMetadataTest.java │ │ ├── TemplatePolicyTest.java │ │ ├── UpdateActionControlAssignmentOptionsTest.java │ │ ├── UpdatePolicyAssignmentOptionsTest.java │ │ ├── UpdatePolicyStateOptionsTest.java │ │ ├── UpdateSettingsOptionsTest.java │ │ ├── V2PolicyCollectionTest.java │ │ ├── V2PolicyResourceAttributeTest.java │ │ ├── V2PolicyResourceTagTest.java │ │ ├── V2PolicyResourceTest.java │ │ ├── V2PolicyRuleRuleAttributeTest.java │ │ ├── V2PolicyRuleRuleWithNestedConditionsTest.java │ │ ├── V2PolicyRuleTest.java │ │ ├── V2PolicySubjectAttributeTest.java │ │ ├── V2PolicySubjectTest.java │ │ ├── V2PolicyTemplateMetaDataTest.java │ │ └── V2PolicyTest.java │ │ └── utils │ │ └── TestUtilities.java ├── ibm-cloud-shell │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── ibm_cloud_shell │ │ │ └── v1 │ │ │ ├── IbmCloudShell.java │ │ │ ├── model │ │ │ ├── AccountSettings.java │ │ │ ├── Feature.java │ │ │ ├── GetAccountSettingsOptions.java │ │ │ ├── RegionSetting.java │ │ │ └── UpdateAccountSettingsOptions.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── ibm_cloud_shell │ │ └── v1 │ │ ├── IbmCloudShellIT.java │ │ ├── IbmCloudShellTest.java │ │ ├── model │ │ ├── AccountSettingsTest.java │ │ ├── FeatureTest.java │ │ ├── GetAccountSettingsOptionsTest.java │ │ ├── RegionSettingTest.java │ │ └── UpdateAccountSettingsOptionsTest.java │ │ └── utils │ │ └── TestUtilities.java ├── open-service-broker │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── open_service_broker │ │ │ └── v1 │ │ │ ├── OpenServiceBroker.java │ │ │ ├── model │ │ │ ├── BindResource.java │ │ │ ├── Context.java │ │ │ ├── DeleteServiceBindingOptions.java │ │ │ ├── DeleteServiceInstanceOptions.java │ │ │ ├── GetLastOperationOptions.java │ │ │ ├── GetServiceInstanceStateOptions.java │ │ │ ├── ListCatalogOptions.java │ │ │ ├── Plans.java │ │ │ ├── ReplaceServiceBindingOptions.java │ │ │ ├── ReplaceServiceInstanceOptions.java │ │ │ ├── ReplaceServiceInstanceStateOptions.java │ │ │ ├── Resp1874644Root.java │ │ │ ├── Resp1874650Root.java │ │ │ ├── Resp2079872Root.java │ │ │ ├── Resp2079874Root.java │ │ │ ├── Resp2079876Root.java │ │ │ ├── Resp2079894Root.java │ │ │ ├── Resp2448145Root.java │ │ │ ├── Services.java │ │ │ ├── UpdateServiceInstanceOptions.java │ │ │ └── VolumeMount.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── open_service_broker │ │ └── v1 │ │ ├── OpenServiceBrokerIT.java │ │ ├── OpenServiceBrokerTest.java │ │ ├── model │ │ ├── BindResourceTest.java │ │ ├── ContextTest.java │ │ ├── DeleteServiceBindingOptionsTest.java │ │ ├── DeleteServiceInstanceOptionsTest.java │ │ ├── GetLastOperationOptionsTest.java │ │ ├── GetServiceInstanceStateOptionsTest.java │ │ ├── ListCatalogOptionsTest.java │ │ ├── PlansTest.java │ │ ├── ReplaceServiceBindingOptionsTest.java │ │ ├── ReplaceServiceInstanceOptionsTest.java │ │ ├── ReplaceServiceInstanceStateOptionsTest.java │ │ ├── Resp1874644RootTest.java │ │ ├── Resp1874650RootTest.java │ │ ├── Resp2079872RootTest.java │ │ ├── Resp2079874RootTest.java │ │ ├── Resp2079876RootTest.java │ │ ├── Resp2079894RootTest.java │ │ ├── Resp2448145RootTest.java │ │ ├── ServicesTest.java │ │ ├── UpdateServiceInstanceOptionsTest.java │ │ └── VolumeMountTest.java │ │ └── utils │ │ └── TestUtilities.java ├── partner-management │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── partner_management │ │ │ └── v1 │ │ │ ├── PartnerManagement.java │ │ │ ├── model │ │ │ ├── BillingOption.java │ │ │ ├── BillingOptionsSummary.java │ │ │ ├── CreditPoolsReport.java │ │ │ ├── CreditPoolsReportSummary.java │ │ │ ├── GetBillingOptionsOptions.java │ │ │ ├── GetCreditPoolsReportOptions.java │ │ │ ├── GetResourceUsageReportOptions.java │ │ │ ├── GetResourceUsageReportPager.java │ │ │ ├── MetricUsage.java │ │ │ ├── Overage.java │ │ │ ├── PartnerUsageReport.java │ │ │ ├── PartnerUsageReportSummary.java │ │ │ ├── PartnerUsageReportSummaryFirst.java │ │ │ ├── PartnerUsageReportSummaryNext.java │ │ │ ├── PlanUsage.java │ │ │ ├── ResourceUsage.java │ │ │ └── TermCredits.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── partner_management │ │ └── v1 │ │ ├── PartnerManagementIT.java │ │ ├── PartnerManagementTest.java │ │ ├── model │ │ ├── BillingOptionTest.java │ │ ├── BillingOptionsSummaryTest.java │ │ ├── CreditPoolsReportSummaryTest.java │ │ ├── CreditPoolsReportTest.java │ │ ├── GetBillingOptionsOptionsTest.java │ │ ├── GetCreditPoolsReportOptionsTest.java │ │ ├── GetResourceUsageReportOptionsTest.java │ │ ├── MetricUsageTest.java │ │ ├── OverageTest.java │ │ ├── PartnerUsageReportSummaryFirstTest.java │ │ ├── PartnerUsageReportSummaryNextTest.java │ │ ├── PartnerUsageReportSummaryTest.java │ │ ├── PartnerUsageReportTest.java │ │ ├── PlanUsageTest.java │ │ ├── ResourceUsageTest.java │ │ └── TermCreditsTest.java │ │ └── utils │ │ └── TestUtilities.java ├── resource-controller │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── resource_controller │ │ │ └── v2 │ │ │ ├── ResourceController.java │ │ │ ├── model │ │ │ ├── CancelLastopResourceInstanceOptions.java │ │ │ ├── CreateResourceAliasOptions.java │ │ │ ├── CreateResourceBindingOptions.java │ │ │ ├── CreateResourceInstanceOptions.java │ │ │ ├── CreateResourceKeyOptions.java │ │ │ ├── Credentials.java │ │ │ ├── DeleteResourceAliasOptions.java │ │ │ ├── DeleteResourceBindingOptions.java │ │ │ ├── DeleteResourceInstanceOptions.java │ │ │ ├── DeleteResourceKeyOptions.java │ │ │ ├── GetResourceAliasOptions.java │ │ │ ├── GetResourceBindingOptions.java │ │ │ ├── GetResourceInstanceOptions.java │ │ │ ├── GetResourceKeyOptions.java │ │ │ ├── ListReclamationsOptions.java │ │ │ ├── ListResourceAliasesForInstanceOptions.java │ │ │ ├── ListResourceAliasesOptions.java │ │ │ ├── ListResourceBindingsForAliasOptions.java │ │ │ ├── ListResourceBindingsOptions.java │ │ │ ├── ListResourceInstancesOptions.java │ │ │ ├── ListResourceKeysForInstanceOptions.java │ │ │ ├── ListResourceKeysOptions.java │ │ │ ├── LockResourceInstanceOptions.java │ │ │ ├── PlanHistoryItem.java │ │ │ ├── Reclamation.java │ │ │ ├── ReclamationsList.java │ │ │ ├── ResourceAlias.java │ │ │ ├── ResourceAliasesForInstancePager.java │ │ │ ├── ResourceAliasesList.java │ │ │ ├── ResourceAliasesPager.java │ │ │ ├── ResourceBinding.java │ │ │ ├── ResourceBindingPostParameters.java │ │ │ ├── ResourceBindingsForAliasPager.java │ │ │ ├── ResourceBindingsList.java │ │ │ ├── ResourceBindingsPager.java │ │ │ ├── ResourceInstance.java │ │ │ ├── ResourceInstanceLastOperation.java │ │ │ ├── ResourceInstancesList.java │ │ │ ├── ResourceInstancesPager.java │ │ │ ├── ResourceKey.java │ │ │ ├── ResourceKeyPostParameters.java │ │ │ ├── ResourceKeysForInstancePager.java │ │ │ ├── ResourceKeysList.java │ │ │ ├── ResourceKeysPager.java │ │ │ ├── RunReclamationActionOptions.java │ │ │ ├── UnlockResourceInstanceOptions.java │ │ │ ├── UpdateResourceAliasOptions.java │ │ │ ├── UpdateResourceBindingOptions.java │ │ │ ├── UpdateResourceInstanceOptions.java │ │ │ └── UpdateResourceKeyOptions.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── resource_controller │ │ └── v2 │ │ ├── ResourceControllerIT.java │ │ ├── ResourceControllerTest.java │ │ ├── model │ │ ├── CancelLastopResourceInstanceOptionsTest.java │ │ ├── CreateResourceAliasOptionsTest.java │ │ ├── CreateResourceBindingOptionsTest.java │ │ ├── CreateResourceInstanceOptionsTest.java │ │ ├── CreateResourceKeyOptionsTest.java │ │ ├── CredentialsTest.java │ │ ├── DeleteResourceAliasOptionsTest.java │ │ ├── DeleteResourceBindingOptionsTest.java │ │ ├── DeleteResourceInstanceOptionsTest.java │ │ ├── DeleteResourceKeyOptionsTest.java │ │ ├── GetResourceAliasOptionsTest.java │ │ ├── GetResourceBindingOptionsTest.java │ │ ├── GetResourceInstanceOptionsTest.java │ │ ├── GetResourceKeyOptionsTest.java │ │ ├── ListReclamationsOptionsTest.java │ │ ├── ListResourceAliasesForInstanceOptionsTest.java │ │ ├── ListResourceAliasesOptionsTest.java │ │ ├── ListResourceBindingsForAliasOptionsTest.java │ │ ├── ListResourceBindingsOptionsTest.java │ │ ├── ListResourceInstancesOptionsTest.java │ │ ├── ListResourceKeysForInstanceOptionsTest.java │ │ ├── ListResourceKeysOptionsTest.java │ │ ├── LockResourceInstanceOptionsTest.java │ │ ├── PlanHistoryItemTest.java │ │ ├── ReclamationTest.java │ │ ├── ReclamationsListTest.java │ │ ├── ResourceAliasTest.java │ │ ├── ResourceAliasesListTest.java │ │ ├── ResourceBindingPostParametersTest.java │ │ ├── ResourceBindingTest.java │ │ ├── ResourceBindingsListTest.java │ │ ├── ResourceInstanceLastOperationTest.java │ │ ├── ResourceInstanceTest.java │ │ ├── ResourceInstancesListTest.java │ │ ├── ResourceKeyPostParametersTest.java │ │ ├── ResourceKeyTest.java │ │ ├── ResourceKeysListTest.java │ │ ├── RunReclamationActionOptionsTest.java │ │ ├── UnlockResourceInstanceOptionsTest.java │ │ ├── UpdateResourceAliasOptionsTest.java │ │ ├── UpdateResourceBindingOptionsTest.java │ │ ├── UpdateResourceInstanceOptionsTest.java │ │ └── UpdateResourceKeyOptionsTest.java │ │ └── utils │ │ └── TestUtilities.java ├── resource-manager │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── resource_manager │ │ │ └── v2 │ │ │ ├── ResourceManager.java │ │ │ ├── model │ │ │ ├── CreateResourceGroupOptions.java │ │ │ ├── DeleteResourceGroupOptions.java │ │ │ ├── GetQuotaDefinitionOptions.java │ │ │ ├── GetResourceGroupOptions.java │ │ │ ├── ListQuotaDefinitionsOptions.java │ │ │ ├── ListResourceGroupsOptions.java │ │ │ ├── QuotaDefinition.java │ │ │ ├── QuotaDefinitionList.java │ │ │ ├── ResCreateResourceGroup.java │ │ │ ├── ResourceGroup.java │ │ │ ├── ResourceGroupList.java │ │ │ ├── ResourceQuota.java │ │ │ └── UpdateResourceGroupOptions.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── resource_manager │ │ └── v2 │ │ ├── ResourceManagerIT.java │ │ ├── ResourceManagerTest.java │ │ ├── model │ │ ├── CreateResourceGroupOptionsTest.java │ │ ├── DeleteResourceGroupOptionsTest.java │ │ ├── GetQuotaDefinitionOptionsTest.java │ │ ├── GetResourceGroupOptionsTest.java │ │ ├── ListQuotaDefinitionsOptionsTest.java │ │ ├── ListResourceGroupsOptionsTest.java │ │ ├── QuotaDefinitionListTest.java │ │ ├── QuotaDefinitionTest.java │ │ ├── ResCreateResourceGroupTest.java │ │ ├── ResourceGroupListTest.java │ │ ├── ResourceGroupTest.java │ │ ├── ResourceQuotaTest.java │ │ └── UpdateResourceGroupOptionsTest.java │ │ └── utils │ │ └── TestUtilities.java ├── usage-metering │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── usage_metering │ │ │ └── v4 │ │ │ ├── UsageMetering.java │ │ │ ├── model │ │ │ ├── MeasureAndQuantity.java │ │ │ ├── ReportResourceUsageOptions.java │ │ │ ├── ResourceInstanceUsage.java │ │ │ ├── ResourceUsageDetails.java │ │ │ └── ResponseAccepted.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── usage_metering │ │ └── v4 │ │ ├── UsageMeteringIT.java │ │ ├── UsageMeteringTest.java │ │ ├── model │ │ ├── MeasureAndQuantityTest.java │ │ ├── ReportResourceUsageOptionsTest.java │ │ ├── ResourceInstanceUsageTest.java │ │ ├── ResourceUsageDetailsTest.java │ │ └── ResponseAcceptedTest.java │ │ └── utils │ │ └── TestUtilities.java ├── usage-reports │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── ibm │ │ │ └── cloud │ │ │ └── platform_services │ │ │ └── usage_reports │ │ │ └── v4 │ │ │ ├── UsageReports.java │ │ │ ├── model │ │ │ ├── AccountSummary.java │ │ │ ├── AccountUsage.java │ │ │ ├── CreateReportsSnapshotConfigOptions.java │ │ │ ├── DeleteReportsSnapshotConfigOptions.java │ │ │ ├── Discount.java │ │ │ ├── GetAccountSummaryOptions.java │ │ │ ├── GetAccountUsageOptions.java │ │ │ ├── GetOrgUsageOptions.java │ │ │ ├── GetReportsSnapshotConfigOptions.java │ │ │ ├── GetReportsSnapshotOptions.java │ │ │ ├── GetReportsSnapshotPager.java │ │ │ ├── GetResourceGroupUsageOptions.java │ │ │ ├── GetResourceUsageAccountOptions.java │ │ │ ├── GetResourceUsageAccountPager.java │ │ │ ├── GetResourceUsageOrgOptions.java │ │ │ ├── GetResourceUsageOrgPager.java │ │ │ ├── GetResourceUsageResourceGroupOptions.java │ │ │ ├── GetResourceUsageResourceGroupPager.java │ │ │ ├── InstanceUsage.java │ │ │ ├── InstancesUsage.java │ │ │ ├── InstancesUsageFirst.java │ │ │ ├── InstancesUsageNext.java │ │ │ ├── Metric.java │ │ │ ├── Offer.java │ │ │ ├── OfferCredits.java │ │ │ ├── OrgUsage.java │ │ │ ├── Plan.java │ │ │ ├── Resource.java │ │ │ ├── ResourceGroupUsage.java │ │ │ ├── ResourcesSummary.java │ │ │ ├── SnapshotConfig.java │ │ │ ├── SnapshotConfigHistoryItem.java │ │ │ ├── SnapshotConfigValidateResponse.java │ │ │ ├── SnapshotList.java │ │ │ ├── SnapshotListFirst.java │ │ │ ├── SnapshotListNext.java │ │ │ ├── SnapshotListSnapshotsItem.java │ │ │ ├── SnapshotListSnapshotsItemBillingPeriod.java │ │ │ ├── SnapshotListSnapshotsItemFilesItem.java │ │ │ ├── SnapshotListSnapshotsItemReportTypesItem.java │ │ │ ├── Subscription.java │ │ │ ├── SubscriptionSummary.java │ │ │ ├── SubscriptionTerm.java │ │ │ ├── SubscriptionTermCredits.java │ │ │ ├── SupportSummary.java │ │ │ ├── UpdateReportsSnapshotConfigOptions.java │ │ │ └── ValidateReportsSnapshotConfigOptions.java │ │ │ └── package-info.java │ │ └── test │ │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── usage_reports │ │ └── v4 │ │ ├── UsageReportsIT.java │ │ ├── UsageReportsTest.java │ │ ├── model │ │ ├── AccountSummaryTest.java │ │ ├── AccountUsageTest.java │ │ ├── CreateReportsSnapshotConfigOptionsTest.java │ │ ├── DeleteReportsSnapshotConfigOptionsTest.java │ │ ├── DiscountTest.java │ │ ├── GetAccountSummaryOptionsTest.java │ │ ├── GetAccountUsageOptionsTest.java │ │ ├── GetOrgUsageOptionsTest.java │ │ ├── GetReportsSnapshotConfigOptionsTest.java │ │ ├── GetReportsSnapshotOptionsTest.java │ │ ├── GetResourceGroupUsageOptionsTest.java │ │ ├── GetResourceUsageAccountOptionsTest.java │ │ ├── GetResourceUsageOrgOptionsTest.java │ │ ├── GetResourceUsageResourceGroupOptionsTest.java │ │ ├── InstanceUsageTest.java │ │ ├── InstancesUsageFirstTest.java │ │ ├── InstancesUsageNextTest.java │ │ ├── InstancesUsageTest.java │ │ ├── MetricTest.java │ │ ├── OfferCreditsTest.java │ │ ├── OfferTest.java │ │ ├── OrgUsageTest.java │ │ ├── PlanTest.java │ │ ├── ResourceGroupUsageTest.java │ │ ├── ResourceTest.java │ │ ├── ResourcesSummaryTest.java │ │ ├── SnapshotConfigHistoryItemTest.java │ │ ├── SnapshotConfigTest.java │ │ ├── SnapshotConfigValidateResponseTest.java │ │ ├── SnapshotListFirstTest.java │ │ ├── SnapshotListNextTest.java │ │ ├── SnapshotListSnapshotsItemBillingPeriodTest.java │ │ ├── SnapshotListSnapshotsItemFilesItemTest.java │ │ ├── SnapshotListSnapshotsItemReportTypesItemTest.java │ │ ├── SnapshotListSnapshotsItemTest.java │ │ ├── SnapshotListTest.java │ │ ├── SubscriptionSummaryTest.java │ │ ├── SubscriptionTermCreditsTest.java │ │ ├── SubscriptionTermTest.java │ │ ├── SubscriptionTest.java │ │ ├── SupportSummaryTest.java │ │ ├── UpdateReportsSnapshotConfigOptionsTest.java │ │ └── ValidateReportsSnapshotConfigOptionsTest.java │ │ └── utils │ │ └── TestUtilities.java └── user-management │ ├── pom.xml │ └── src │ ├── main │ └── java │ │ └── com │ │ └── ibm │ │ └── cloud │ │ └── platform_services │ │ └── user_management │ │ └── v1 │ │ ├── UserManagement.java │ │ ├── model │ │ ├── AcceptOptions.java │ │ ├── Attribute.java │ │ ├── GetUserProfileOptions.java │ │ ├── GetUserSettingsOptions.java │ │ ├── InviteUser.java │ │ ├── InviteUserIamPolicy.java │ │ ├── InviteUsersOptions.java │ │ ├── InvitedUser.java │ │ ├── InvitedUserList.java │ │ ├── ListUsersOptions.java │ │ ├── RemoveUserOptions.java │ │ ├── Resource.java │ │ ├── Role.java │ │ ├── UpdateUserProfileOptions.java │ │ ├── UpdateUserSettingsOptions.java │ │ ├── UserList.java │ │ ├── UserProfile.java │ │ ├── UserSettings.java │ │ ├── UsersPager.java │ │ └── V3RemoveUserOptions.java │ │ └── package-info.java │ └── test │ └── java │ └── com │ └── ibm │ └── cloud │ └── platform_services │ └── user_management │ └── v1 │ ├── UserManagementIT.java │ ├── UserManagementTest.java │ ├── model │ ├── AcceptOptionsTest.java │ ├── AttributeTest.java │ ├── GetUserProfileOptionsTest.java │ ├── GetUserSettingsOptionsTest.java │ ├── InviteUserIamPolicyTest.java │ ├── InviteUserTest.java │ ├── InviteUsersOptionsTest.java │ ├── InvitedUserListTest.java │ ├── InvitedUserTest.java │ ├── ListUsersOptionsTest.java │ ├── RemoveUserOptionsTest.java │ ├── ResourceTest.java │ ├── RoleTest.java │ ├── UpdateUserProfileOptionsTest.java │ ├── UpdateUserSettingsOptionsTest.java │ ├── UserListTest.java │ ├── UserProfileTest.java │ ├── UserSettingsTest.java │ └── V3RemoveUserOptionsTest.java │ └── utils │ └── TestUtilities.java ├── package.json ├── pom.xml ├── scripts └── fix-copyrights.sh ├── service-pom.xml └── update_service.md /.bumpversion.toml: -------------------------------------------------------------------------------- 1 | [tool.bumpversion] 2 | current_version = "0.66.1" 3 | commit = true 4 | message = "Update version {current_version} -> {new_version}" 5 | 6 | [[tool.bumpversion.files]] 7 | filename = "README.md" 8 | search = "{current_version}" 9 | replace = "{new_version}" 10 | -------------------------------------------------------------------------------- /.cra/.cveignore: -------------------------------------------------------------------------------- 1 | [ 2 | ] -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.enc binary 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a bug report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | List the steps that can be used to demonstrate the bug. Include the name of the service and operation that you're trying to invoke, if applicable. Be sure to describe any relevant info regarding parameter values used with your API invocation. 15 | 16 | **Expected behavior** 17 | A clear and concise description of what you expected to happen. 18 | 19 | **Screenshots** 20 | If applicable, add screenshots to help explain your problem. 21 | 22 | **Must gather (please complete the following information):** 23 | - SDK Version [e.g. 1.2.1] 24 | - Java Version [e.g. openjdk 8] 25 | - Name of service that you're trying to use (if applicable) 26 | - Name of operation that you're trying to invoke (if applicable) 27 | 28 | **Additional context** 29 | Add any other context about the problem here. 30 | Were you able to avoid the problem by changing your application code slightly? 31 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | ## PR summary 2 | 3 | 4 | 5 | ## PR Checklist 6 | Please make sure that your PR fulfills the following requirements: 7 | - [ ] The commit message follows the [Angular Commit Message Guidelines](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines). 8 | - [ ] Tests for the changes have been added (for bug fixes / features) 9 | - [ ] Docs have been added / updated (for bug fixes / features) 10 | 11 | ## Current vs new behavior 12 | 13 | 14 | ## Does this PR introduce a breaking change? 15 | - [ ] Yes 16 | - [ ] No 17 | 18 | 19 | 20 | ## Other information 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled class file 2 | *.class 3 | 4 | # Log file 5 | *.log 6 | 7 | # BlueJ files 8 | *.ctxt 9 | 10 | # Mobile Tools for Java (J2ME) 11 | .mtj.tmp/ 12 | 13 | # Package Files # 14 | *.jar 15 | *.war 16 | *.nar 17 | *.ear 18 | *.zip 19 | *.tar.gz 20 | *.rar 21 | 22 | *.env 23 | *.key 24 | 25 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 26 | hs_err_pid* 27 | 28 | /**/target/ 29 | /**/test-output/ 30 | /**/.settings/ 31 | .classpath 32 | .project 33 | .factorypath 34 | *-apiref.json 35 | 36 | *.iml 37 | .idea 38 | .vscode 39 | .openapi-generator/ 40 | .openapi-generator-ignore 41 | 42 | # files produced by "npm install" commands during build 43 | package-lock.json 44 | node_modules/ 45 | 46 | # MacOS specific .DS_Store file 47 | .DS_Store 48 | 49 | .vscode/ -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false -------------------------------------------------------------------------------- /.releaserc: -------------------------------------------------------------------------------- 1 | { 2 | "debug": true, 3 | "tagFormat": "${version}", 4 | "branches": [ "main" ], 5 | "plugins": [ 6 | "@semantic-release/commit-analyzer", 7 | "@semantic-release/release-notes-generator", 8 | "@semantic-release/changelog", 9 | [ 10 | "@semantic-release/exec", 11 | { 12 | "prepareCmd": "bump-my-version bump --allow-dirty --current-version ${lastRelease.version} --new-version ${nextRelease.version}" 13 | } 14 | ], 15 | [ 16 | "@semantic-release/git", 17 | { 18 | "assets" : [ "CHANGELOG.md" ], 19 | "message": "chore(release): ${nextRelease.version} release notes\n\n${nextRelease.notes}" 20 | } 21 | ], 22 | "@semantic-release/github" 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Questions 2 | If you are having difficulties using this SDK or have a question about the IBM Cloud services, 3 | please ask a question at 4 | [Stack Overflow](http://stackoverflow.com/questions/ask?tags=ibm-cloud). 5 | 6 | ## Issues 7 | If you encounter an issue with the project, you are welcome to submit a 8 | [bug report](https://github.com/IBM/platform-services-java-sdk/issues). 9 | Before that, please search for similar issues. It's possible that someone has already reported the problem. 10 | 11 | # General Information 12 | For general guidance on contributing to this project, please see 13 | [this link](https://github.com/IBM/ibm-cloud-sdk-common/blob/main/CONTRIBUTING_java.md) 14 | 15 | # Prerequisites 16 | The following tools are required in order to build this project: 17 | * Git 18 | * Maven 3.5.2 or later 19 | * Java 11 or later 20 | 21 | Windows users might find it more convenient to use 22 | [`Windows Subsystem for Linux (WSL)`](https://learn.microsoft.com/en-us/windows/wsl/about) 23 | or [`Cygwin`](https://www.cygwin.com/) when making contributions to this project. 24 | 25 | # Updating an existing service within the SDK 26 | For instructions on updating an existing service within the SDK, please see [update_service.md](update_service.md) 27 | -------------------------------------------------------------------------------- /build/.travis.settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | ossrh 7 | ${env.OSSRH_USERNAME} 8 | ${env.OSSRH_PASSWORD} 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /build/generateJavadocIndex.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # based on https://odoepner.wordpress.com/2012/02/17/shell-script-to-generate-simple-index-html/ 4 | 5 | echo ' 6 | 7 | 8 | 9 | 10 | 11 | IBM Cloud Platform Services 12 | 13 | 14 | 15 |
16 | 19 | 20 |

Platform Services Info 21 | | GitHub 22 |

23 | 24 |

Javadoc by release:

25 | 29 |
30 | 31 | ' 32 | -------------------------------------------------------------------------------- /build/publishJavadoc-gha.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Required environment variables: 4 | # GH_TOKEN 5 | # GH_REPO_SLUG 6 | # GH_TAG 7 | 8 | printf "\n>>>>> Publishing javadoc for release build: repo=%s tag=%s\n" ${GH_REPO_SLUG} ${GH_TAG} 9 | 10 | printf "\n>>>>> Cloning repository's gh-pages branch into directory 'gh-pages'\n" 11 | rm -fr ./gh-pages 12 | git config --global user.email "devxsdk@us.ibm.com" 13 | git config --global user.name "ibm-devx-sdk" 14 | git clone --branch=gh-pages https://${GH_TOKEN}@github.com/IBM/platform-services-java-sdk.git gh-pages 15 | 16 | printf "\n>>>>> Finished cloning...\n" 17 | 18 | pushd gh-pages 19 | 20 | # Create a new directory for this branch/tag and copy the javadocs there. 21 | printf "\n>>>>> Copying javadocs to new directory: docs/%s\n" ${GH_TAG} 22 | rm -rf docs/${GH_TAG} 23 | mkdir -p docs/${GH_TAG} 24 | cp -rf ../target/site/apidocs/* docs/${GH_TAG} 25 | 26 | printf "\n>>>>> Generating gh-pages index.html...\n" 27 | ../build/generateJavadocIndex.sh > index.html 28 | 29 | printf "\n>>>>> Committing new javadoc...\n" 30 | git add -f . 31 | git commit -m "docs: latest javadoc for ${GH_TAG}" 32 | git push -f origin gh-pages 33 | 34 | popd 35 | 36 | printf "\n>>>>> Published javadoc for release build: repo=%s tag=%s\n" ${GH_REPO_SLUG} ${GH_TAG} 37 | 38 | -------------------------------------------------------------------------------- /build/publishJavadoc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Publish javadocs only for a tagged-release. 4 | if [[ -n "${TRAVIS_TAG}" ]]; then 5 | 6 | printf "\n>>>>> Publishing javadoc for release build: repo=%s release=%s build_num=%s job_num=%s\n" ${TRAVIS_REPO_SLUG} ${TRAVIS_TAG} ${TRAVIS_BUILD_NUMBER} ${TRAVIS_JOB_NUMBER} 7 | 8 | printf "\n>>>>> Cloning repository's gh-pages branch into directory 'gh-pages'\n" 9 | rm -fr ./gh-pages 10 | git clone --branch=gh-pages https://${GH_TOKEN}@github.com/IBM/platform-services-java-sdk.git gh-pages 11 | 12 | printf "\n>>>>> Finished cloning...\n" 13 | 14 | pushd gh-pages 15 | 16 | # Create a new directory for this branch/tag and copy the javadocs there. 17 | printf "\n>>>>> Copying javadocs to new directory: docs/%s\n" ${TRAVIS_TAG} 18 | rm -rf docs/${TRAVIS_TAG} 19 | mkdir -p docs/${TRAVIS_TAG} 20 | cp -rf ../target/site/apidocs/* docs/${TRAVIS_TAG} 21 | 22 | printf "\n>>>>> Generating gh-pages index.html...\n" 23 | ../build/generateJavadocIndex.sh > index.html 24 | 25 | printf "\n>>>>> Committing new javadoc...\n" 26 | git add -f . 27 | git commit -m "docs: latest javadoc for ${TRAVIS_TAG} (${TRAVIS_COMMIT})" 28 | git push -f origin gh-pages 29 | 30 | popd 31 | 32 | printf "\n>>>>> Published javadoc for release build: repo=%s release=%s build_num=%s job_num=%s\n" ${TRAVIS_REPO_SLUG} ${TRAVIS_TAG} ${TRAVIS_BUILD_NUMBER} ${TRAVIS_JOB_NUMBER} 33 | 34 | else 35 | 36 | printf "\n>>>>> Javadoc publishing bypassed for non-release build: repo=%s branch=%s build_num=%s job_num=%s\n" ${TRAVIS_REPO_SLUG} ${TRAVIS_BRANCH} ${TRAVIS_BUILD_NUMBER} ${TRAVIS_JOB_NUMBER} 37 | 38 | fi 39 | -------------------------------------------------------------------------------- /build/setMavenVersion.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # This script will check $TRAVIS_TAG to see if we need to run maven to 4 | # set the artifact version #'s. 5 | 6 | if [[ -n "${TRAVIS_TAG}" ]]; then 7 | printf "\n>>>>> Setting artifact version #'s to: %s\n" ${TRAVIS_TAG} 8 | mvn versions:set -DnewVersion=${TRAVIS_TAG} -DgenerateBackupPoms=false 9 | else 10 | printf "\n>>>>> Bypassing artifact version setting for non-tagged build\n" 11 | fi 12 | -------------------------------------------------------------------------------- /build/setupSigning.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -x 3 | 4 | echo "Importing signing key..." 5 | openssl aes-256-cbc -K $encrypted_4b7d603e7466_key -iv $encrypted_4b7d603e7466_iv -in build/signing.key.enc -out build/signing.key -d 6 | 7 | gpg --version 8 | gpg --batch --import build/signing.key 9 | rm build/signing.key 10 | 11 | echo "Signing key import finished!" 12 | -------------------------------------------------------------------------------- /build/signing.key.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/platform-services-java-sdk/6939cd7d034783e12f2c2fa0a5beac6b5046a6a3/build/signing.key.enc -------------------------------------------------------------------------------- /modules/case-management/src/main/java/com/ibm/cloud/platform_services/case_management/v1/model/AttachmentList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.case_management.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * List of attachments in the case. 21 | */ 22 | public class AttachmentList extends GenericModel { 23 | 24 | protected List attachments; 25 | 26 | protected AttachmentList() { } 27 | 28 | /** 29 | * Gets the attachments. 30 | * 31 | * New attachments array. 32 | * 33 | * @return the attachments 34 | */ 35 | public List getAttachments() { 36 | return attachments; 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /modules/case-management/src/main/java/com/ibm/cloud/platform_services/case_management/v1/model/CaseEu.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.case_management.v1.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * EU support. 20 | */ 21 | public class CaseEu extends GenericModel { 22 | 23 | protected Boolean support; 24 | @SerializedName("data_center") 25 | protected String dataCenter; 26 | 27 | protected CaseEu() { } 28 | 29 | /** 30 | * Gets the support. 31 | * 32 | * Identifying whether the case has EU Support. 33 | * 34 | * @return the support 35 | */ 36 | public Boolean isSupport() { 37 | return support; 38 | } 39 | 40 | /** 41 | * Gets the dataCenter. 42 | * 43 | * Information about the data center. 44 | * 45 | * @return the dataCenter 46 | */ 47 | public String getDataCenter() { 48 | return dataCenter; 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /modules/case-management/src/main/java/com/ibm/cloud/platform_services/case_management/v1/model/PaginationLink.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.case_management.v1.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * Container for URL pointer to related pages of cases. 19 | */ 20 | public class PaginationLink extends GenericModel { 21 | 22 | protected String href; 23 | 24 | protected PaginationLink() { } 25 | 26 | /** 27 | * Gets the href. 28 | * 29 | * URL to related pages of cases. 30 | * 31 | * @return the href 32 | */ 33 | public String getHref() { 34 | return href; 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /modules/case-management/src/main/java/com/ibm/cloud/platform_services/case_management/v1/model/WatchlistAddResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.case_management.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * Response of a request when adding to watchlist. 21 | */ 22 | public class WatchlistAddResponse extends GenericModel { 23 | 24 | protected List added; 25 | protected List failed; 26 | 27 | protected WatchlistAddResponse() { } 28 | 29 | /** 30 | * Gets the added. 31 | * 32 | * List of added user. 33 | * 34 | * @return the added 35 | */ 36 | public List getAdded() { 37 | return added; 38 | } 39 | 40 | /** 41 | * Gets the failed. 42 | * 43 | * List of failed to add user. 44 | * 45 | * @return the failed 46 | */ 47 | public List getFailed() { 48 | return failed; 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /modules/case-management/src/main/java/com/ibm/cloud/platform_services/case_management/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * Case Management API & SDK Reference v1. 15 | */ 16 | package com.ibm.cloud.platform_services.case_management.v1; 17 | -------------------------------------------------------------------------------- /modules/case-management/src/test/java/com/ibm/cloud/platform_services/case_management/v1/model/CaseEuTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.case_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.case_management.v1.model.CaseEu; 17 | import com.ibm.cloud.platform_services.case_management.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the CaseEu model. 27 | */ 28 | public class CaseEuTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testCaseEu() throws Throwable { 34 | CaseEu caseEuModel = new CaseEu(); 35 | assertNull(caseEuModel.isSupport()); 36 | assertNull(caseEuModel.getDataCenter()); 37 | } 38 | } -------------------------------------------------------------------------------- /modules/case-management/src/test/java/com/ibm/cloud/platform_services/case_management/v1/model/PaginationLinkTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.case_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.case_management.v1.model.PaginationLink; 17 | import com.ibm.cloud.platform_services.case_management.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the PaginationLink model. 27 | */ 28 | public class PaginationLinkTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testPaginationLink() throws Throwable { 34 | PaginationLink paginationLinkModel = new PaginationLink(); 35 | assertNull(paginationLinkModel.getHref()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/case-management/src/test/java/com/ibm/cloud/platform_services/case_management/v1/model/StatusPayloadTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.case_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.case_management.v1.model.StatusPayload; 17 | import com.ibm.cloud.platform_services.case_management.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the StatusPayload model. 27 | */ 28 | public class StatusPayloadTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | // TODO: Add tests for models that are abstract 33 | @Test 34 | public void testStatusPayload() throws Throwable { 35 | StatusPayload statusPayloadModel = new StatusPayload(); 36 | assertNotNull(statusPayloadModel); 37 | } 38 | } -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/model/AccessListBulkResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 14 | 15 | import java.util.Map; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * Access List Add/Remove result. 21 | */ 22 | public class AccessListBulkResponse extends GenericModel { 23 | 24 | protected Map errors; 25 | 26 | /** 27 | * Gets the errors. 28 | * 29 | * in the case of error on an account add/remove - account: error. 30 | * 31 | * @return the errors 32 | */ 33 | public Map getErrors() { 34 | return errors; 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/model/AccumulatedFiltersCatalogFiltersItem.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * AccumulatedFiltersCatalogFiltersItem. 19 | */ 20 | public class AccumulatedFiltersCatalogFiltersItem extends GenericModel { 21 | 22 | protected AccumulatedFiltersCatalogFiltersItemCatalog catalog; 23 | protected Filters filters; 24 | 25 | /** 26 | * Gets the catalog. 27 | * 28 | * Filters for catalog. 29 | * 30 | * @return the catalog 31 | */ 32 | public AccumulatedFiltersCatalogFiltersItemCatalog getCatalog() { 33 | return catalog; 34 | } 35 | 36 | /** 37 | * Gets the filters. 38 | * 39 | * Filters for account and catalog filters. 40 | * 41 | * @return the filters 42 | */ 43 | public Filters getFilters() { 44 | return filters; 45 | } 46 | } 47 | 48 | -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/model/AccumulatedFiltersCatalogFiltersItemCatalog.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * Filters for catalog. 19 | */ 20 | public class AccumulatedFiltersCatalogFiltersItemCatalog extends GenericModel { 21 | 22 | protected String id; 23 | protected String name; 24 | 25 | /** 26 | * Gets the id. 27 | * 28 | * The ID of the catalog. 29 | * 30 | * @return the id 31 | */ 32 | public String getId() { 33 | return id; 34 | } 35 | 36 | /** 37 | * Gets the name. 38 | * 39 | * The name of the catalog. 40 | * 41 | * @return the name 42 | */ 43 | public String getName() { 44 | return name; 45 | } 46 | } 47 | 48 | -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/model/AuditLog.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * A collection of audit records. 21 | */ 22 | public class AuditLog extends GenericModel { 23 | 24 | protected List list; 25 | 26 | /** 27 | * Gets the list. 28 | * 29 | * A list of audit records. 30 | * 31 | * @return the list 32 | */ 33 | public List getList() { 34 | return list; 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/model/CatalogSearchResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.google.gson.annotations.SerializedName; 18 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 19 | 20 | /** 21 | * Paginated catalog search result. 22 | */ 23 | public class CatalogSearchResult extends GenericModel { 24 | 25 | @SerializedName("total_count") 26 | protected Long totalCount; 27 | protected List resources; 28 | 29 | /** 30 | * Gets the totalCount. 31 | * 32 | * The overall total number of resources in the search result set. 33 | * 34 | * @return the totalCount 35 | */ 36 | public Long getTotalCount() { 37 | return totalCount; 38 | } 39 | 40 | /** 41 | * Gets the resources. 42 | * 43 | * Resulting objects. 44 | * 45 | * @return the resources 46 | */ 47 | public List getResources() { 48 | return resources; 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/model/GetCatalogAccountAuditOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * The getCatalogAccountAudit options. 19 | */ 20 | public class GetCatalogAccountAuditOptions extends GenericModel { 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/model/GetCatalogAccountOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * The getCatalogAccount options. 19 | */ 20 | public class GetCatalogAccountOptions extends GenericModel { 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/model/GetLicenseProvidersOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2020. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * The getLicenseProviders options. 19 | */ 20 | public class GetLicenseProvidersOptions extends GenericModel { 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/model/Image.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * Image. 19 | */ 20 | public class Image extends GenericModel { 21 | 22 | protected String image; 23 | 24 | /** 25 | * Gets the image. 26 | * 27 | * Image. 28 | * 29 | * @return the image 30 | */ 31 | public String getImage() { 32 | return image; 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/model/ImageManifest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * Image Manifest. 21 | */ 22 | public class ImageManifest extends GenericModel { 23 | 24 | protected String description; 25 | protected List images; 26 | 27 | /** 28 | * Gets the description. 29 | * 30 | * Image manifest description. 31 | * 32 | * @return the description 33 | */ 34 | public String getDescription() { 35 | return description; 36 | } 37 | 38 | /** 39 | * Gets the images. 40 | * 41 | * List of images. 42 | * 43 | * @return the images 44 | */ 45 | public List getImages() { 46 | return images; 47 | } 48 | } 49 | 50 | -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/model/InstallStatusContentMgmt.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 14 | 15 | import java.util.List; 16 | import java.util.Map; 17 | 18 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 19 | 20 | /** 21 | * Content management information. 22 | */ 23 | public class InstallStatusContentMgmt extends GenericModel { 24 | 25 | protected List> pods; 26 | protected List> errors; 27 | 28 | /** 29 | * Gets the pods. 30 | * 31 | * Pods. 32 | * 33 | * @return the pods 34 | */ 35 | public List> getPods() { 36 | return pods; 37 | } 38 | 39 | /** 40 | * Gets the errors. 41 | * 42 | * Errors. 43 | * 44 | * @return the errors 45 | */ 46 | public List> getErrors() { 47 | return errors; 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/model/ListCatalogsOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * The listCatalogs options. 19 | */ 20 | public class ListCatalogsOptions extends GenericModel { 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /modules/catalog-management/src/main/java/com/ibm/cloud/platform_services/catalog_management/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * Catalog Management API v1. 15 | */ 16 | package com.ibm.cloud.platform_services.catalog_management.v1; 17 | -------------------------------------------------------------------------------- /modules/catalog-management/src/test/java/com/ibm/cloud/platform_services/catalog_management/v1/model/GetLicenseProvidersOptionsTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2020. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.catalog_management.v1.utils.TestUtilities; 17 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 18 | import org.testng.annotations.Test; 19 | 20 | import java.io.InputStream; 21 | import java.util.HashMap; 22 | import java.util.List; 23 | 24 | import static org.testng.Assert.assertNotNull; 25 | 26 | /** 27 | * Unit test class for the GetLicenseProvidersOptions model. 28 | */ 29 | public class GetLicenseProvidersOptionsTest { 30 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 31 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 32 | 33 | @Test 34 | public void testGetLicenseProvidersOptions() throws Throwable { 35 | GetLicenseProvidersOptions getLicenseProvidersOptionsModel = new GetLicenseProvidersOptions(); 36 | assertNotNull(getLicenseProvidersOptionsModel); 37 | } 38 | } -------------------------------------------------------------------------------- /modules/catalog-management/src/test/java/com/ibm/cloud/platform_services/catalog_management/v1/model/ImageTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.catalog_management.v1.model.Image; 17 | import com.ibm.cloud.platform_services.catalog_management.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Image model. 27 | */ 28 | public class ImageTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testImage() throws Throwable { 34 | Image imageModel = new Image(); 35 | assertNull(imageModel.getImage()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/catalog-management/src/test/java/com/ibm/cloud/platform_services/catalog_management/v1/model/ListCatalogsOptionsTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.catalog_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.catalog_management.v1.model.ListCatalogsOptions; 17 | import com.ibm.cloud.platform_services.catalog_management.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the ListCatalogsOptions model. 27 | */ 28 | public class ListCatalogsOptionsTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testListCatalogsOptions() throws Throwable { 34 | ListCatalogsOptions listCatalogsOptionsModel = new ListCatalogsOptions(); 35 | assertNotNull(listCatalogsOptionsModel); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/common/src/main/resources/platform-services.properties: -------------------------------------------------------------------------------- 1 | title = platform-services-java-sdk 2 | gitCommit = ${buildNumber} 3 | buildTimestamp = ${timestamp} 4 | version = ${project.version} 5 | -------------------------------------------------------------------------------- /modules/context-based-restrictions/src/main/java/com/ibm/cloud/platform_services/context_based_restrictions/v1/model/Action.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.context_based_restrictions.v1.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * Service API Type actions. 20 | */ 21 | public class Action extends GenericModel { 22 | 23 | @SerializedName("action_id") 24 | protected String actionId; 25 | protected String description; 26 | 27 | protected Action() { } 28 | 29 | /** 30 | * Gets the actionId. 31 | * 32 | * The id of the action. 33 | * 34 | * @return the actionId 35 | */ 36 | public String getActionId() { 37 | return actionId; 38 | } 39 | 40 | /** 41 | * Gets the description. 42 | * 43 | * The description of the action. 44 | * 45 | * @return the description 46 | */ 47 | public String getDescription() { 48 | return description; 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /modules/context-based-restrictions/src/main/java/com/ibm/cloud/platform_services/context_based_restrictions/v1/model/OperationsList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.context_based_restrictions.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.google.gson.annotations.SerializedName; 18 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 19 | 20 | /** 21 | * The response object of the `list_available_service_operations` operation. 22 | */ 23 | public class OperationsList extends GenericModel { 24 | 25 | @SerializedName("api_types") 26 | protected List apiTypes; 27 | 28 | protected OperationsList() { } 29 | 30 | /** 31 | * Gets the apiTypes. 32 | * 33 | * The returned API types. 34 | * 35 | * @return the apiTypes 36 | */ 37 | public List getApiTypes() { 38 | return apiTypes; 39 | } 40 | } 41 | 42 | -------------------------------------------------------------------------------- /modules/context-based-restrictions/src/main/java/com/ibm/cloud/platform_services/context_based_restrictions/v1/model/RuleList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.context_based_restrictions.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * The response object of the ListRules operation. 21 | */ 22 | public class RuleList extends GenericModel { 23 | 24 | protected Long count; 25 | protected List rules; 26 | 27 | protected RuleList() { } 28 | 29 | /** 30 | * Gets the count. 31 | * 32 | * The number of returned results. 33 | * 34 | * @return the count 35 | */ 36 | public Long getCount() { 37 | return count; 38 | } 39 | 40 | /** 41 | * Gets the rules. 42 | * 43 | * The returned rules. 44 | * 45 | * @return the rules 46 | */ 47 | public List getRules() { 48 | return rules; 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /modules/context-based-restrictions/src/main/java/com/ibm/cloud/platform_services/context_based_restrictions/v1/model/ServiceRefTargetList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.context_based_restrictions.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * A list of service reference targets. 21 | */ 22 | public class ServiceRefTargetList extends GenericModel { 23 | 24 | protected Long count; 25 | protected List targets; 26 | 27 | protected ServiceRefTargetList() { } 28 | 29 | /** 30 | * Gets the count. 31 | * 32 | * The number of returned results. 33 | * 34 | * @return the count 35 | */ 36 | public Long getCount() { 37 | return count; 38 | } 39 | 40 | /** 41 | * Gets the targets. 42 | * 43 | * The list of service reference targets. 44 | * 45 | * @return the targets 46 | */ 47 | public List getTargets() { 48 | return targets; 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /modules/context-based-restrictions/src/main/java/com/ibm/cloud/platform_services/context_based_restrictions/v1/model/ZoneList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.context_based_restrictions.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * The response object of the ListZones operation. 21 | */ 22 | public class ZoneList extends GenericModel { 23 | 24 | protected Long count; 25 | protected List zones; 26 | 27 | protected ZoneList() { } 28 | 29 | /** 30 | * Gets the count. 31 | * 32 | * The number of returned results. 33 | * 34 | * @return the count 35 | */ 36 | public Long getCount() { 37 | return count; 38 | } 39 | 40 | /** 41 | * Gets the zones. 42 | * 43 | * The returned zones. 44 | * 45 | * @return the zones 46 | */ 47 | public List getZones() { 48 | return zones; 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /modules/context-based-restrictions/src/main/java/com/ibm/cloud/platform_services/context_based_restrictions/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * Context Based Restrictions v1. 15 | */ 16 | package com.ibm.cloud.platform_services.context_based_restrictions.v1; 17 | -------------------------------------------------------------------------------- /modules/context-based-restrictions/src/test/java/com/ibm/cloud/platform_services/context_based_restrictions/v1/model/ActionTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.context_based_restrictions.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.context_based_restrictions.v1.model.Action; 17 | import com.ibm.cloud.platform_services.context_based_restrictions.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Action model. 27 | */ 28 | public class ActionTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testAction() throws Throwable { 34 | Action actionModel = new Action(); 35 | assertNull(actionModel.getActionId()); 36 | assertNull(actionModel.getDescription()); 37 | } 38 | } -------------------------------------------------------------------------------- /modules/context-based-restrictions/src/test/java/com/ibm/cloud/platform_services/context_based_restrictions/v1/model/AddressTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.context_based_restrictions.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.context_based_restrictions.v1.model.Address; 17 | import com.ibm.cloud.platform_services.context_based_restrictions.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Address model. 27 | */ 28 | public class AddressTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | // TODO: Add tests for models that are abstract 33 | @Test 34 | public void testAddress() throws Throwable { 35 | Address addressModel = new Address(); 36 | assertNotNull(addressModel); 37 | } 38 | } -------------------------------------------------------------------------------- /modules/enterprise-billing-units/src/main/java/com/ibm/cloud/platform_services/enterprise_billing_units/v1/model/CreditPoolOverage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.enterprise_billing_units.v1.model; 14 | 15 | import java.util.List; 16 | import java.util.Map; 17 | 18 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 19 | 20 | /** 21 | * Overage that was generated on the credit pool. 22 | */ 23 | public class CreditPoolOverage extends GenericModel { 24 | 25 | protected Double cost; 26 | protected List> resources; 27 | 28 | protected CreditPoolOverage() { } 29 | 30 | /** 31 | * Gets the cost. 32 | * 33 | * The number of credits used as overage. 34 | * 35 | * @return the cost 36 | */ 37 | public Double getCost() { 38 | return cost; 39 | } 40 | 41 | /** 42 | * Gets the resources. 43 | * 44 | * A list of resources that generated overage. 45 | * 46 | * @return the resources 47 | */ 48 | public List> getResources() { 49 | return resources; 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /modules/enterprise-billing-units/src/main/java/com/ibm/cloud/platform_services/enterprise_billing_units/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * Enterprise Billing Units v1. 15 | */ 16 | package com.ibm.cloud.platform_services.enterprise_billing_units.v1; 17 | -------------------------------------------------------------------------------- /modules/enterprise-management/src/main/java/com/ibm/cloud/platform_services/enterprise_management/v1/model/CreateAccountGroupResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.enterprise_management.v1.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * A newly-created account group. 20 | */ 21 | public class CreateAccountGroupResponse extends GenericModel { 22 | 23 | @SerializedName("account_group_id") 24 | protected String accountGroupId; 25 | 26 | protected CreateAccountGroupResponse() { } 27 | 28 | /** 29 | * Gets the accountGroupId. 30 | * 31 | * The ID of the account group entity that was created. 32 | * 33 | * @return the accountGroupId 34 | */ 35 | public String getAccountGroupId() { 36 | return accountGroupId; 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /modules/enterprise-management/src/main/java/com/ibm/cloud/platform_services/enterprise_management/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * Enterprise Management v1. 15 | */ 16 | package com.ibm.cloud.platform_services.enterprise_management.v1; 17 | -------------------------------------------------------------------------------- /modules/enterprise-usage-reports/src/main/java/com/ibm/cloud/platform_services/enterprise_usage_reports/v1/model/Link.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.enterprise_usage_reports.v1.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * An object that contains a link to a page of search results. 19 | */ 20 | public class Link extends GenericModel { 21 | 22 | protected String href; 23 | 24 | protected Link() { } 25 | 26 | /** 27 | * Gets the href. 28 | * 29 | * A link to a page of search results. 30 | * 31 | * @return the href 32 | */ 33 | public String getHref() { 34 | return href; 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /modules/enterprise-usage-reports/src/main/java/com/ibm/cloud/platform_services/enterprise_usage_reports/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * Enterprise Usage Reports API v1. 15 | */ 16 | package com.ibm.cloud.platform_services.enterprise_usage_reports.v1; 17 | -------------------------------------------------------------------------------- /modules/enterprise-usage-reports/src/test/java/com/ibm/cloud/platform_services/enterprise_usage_reports/v1/model/LinkTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.enterprise_usage_reports.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.enterprise_usage_reports.v1.model.Link; 17 | import com.ibm.cloud.platform_services.enterprise_usage_reports.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Link model. 27 | */ 28 | public class LinkTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testLink() throws Throwable { 34 | Link linkModel = new Link(); 35 | assertNull(linkModel.getHref()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/global-catalog/src/main/java/com/ibm/cloud/platform_services/global_catalog/v1/model/Artifacts.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.global_catalog.v1.model; 15 | 16 | import java.util.List; 17 | 18 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 19 | 20 | /** 21 | * Artifacts List. 22 | */ 23 | public class Artifacts extends GenericModel { 24 | 25 | protected Long count; 26 | protected List resources; 27 | 28 | protected Artifacts() { } 29 | 30 | /** 31 | * Gets the count. 32 | * 33 | * The total number of artifacts. 34 | * 35 | * @return the count 36 | */ 37 | public Long getCount() { 38 | return count; 39 | } 40 | 41 | /** 42 | * Gets the resources. 43 | * 44 | * The list of artifacts. 45 | * 46 | * @return the resources 47 | */ 48 | public List getResources() { 49 | return resources; 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /modules/global-catalog/src/main/java/com/ibm/cloud/platform_services/global_catalog/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | /** 15 | * Global Catalog API v1. 16 | */ 17 | package com.ibm.cloud.platform_services.global_catalog.v1; 18 | -------------------------------------------------------------------------------- /modules/global-search/src/main/java/com/ibm/cloud/platform_services/global_search/v2/model/GetSupportedTypesOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.global_search.v2.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * The getSupportedTypes options. 19 | */ 20 | public class GetSupportedTypesOptions extends GenericModel { 21 | 22 | /** 23 | * Construct a new instance of GetSupportedTypesOptions. 24 | */ 25 | public GetSupportedTypesOptions() { 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /modules/global-search/src/main/java/com/ibm/cloud/platform_services/global_search/v2/model/ResultItem.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.global_search.v2.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | import com.google.gson.reflect.TypeToken; 17 | import com.ibm.cloud.sdk.core.service.model.DynamicModel; 18 | 19 | /** 20 | * A resource returned in a search result, which is identified by its `crn`. It contains other properties that depend on 21 | * the resource type. 22 | */ 23 | public class ResultItem extends DynamicModel { 24 | 25 | @SerializedName("crn") 26 | protected String crn; 27 | 28 | public ResultItem() { 29 | super(new TypeToken() { }); 30 | } 31 | 32 | /** 33 | * Gets the crn. 34 | * 35 | * Resource identifier in CRN format. 36 | * 37 | * @return the crn 38 | */ 39 | public String getCrn() { 40 | return this.crn; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /modules/global-search/src/main/java/com/ibm/cloud/platform_services/global_search/v2/model/SupportedTypesList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.global_search.v2.model; 14 | 15 | import java.util.List; 16 | 17 | import com.google.gson.annotations.SerializedName; 18 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 19 | 20 | /** 21 | * A list of all GhoST indexes. 22 | */ 23 | public class SupportedTypesList extends GenericModel { 24 | 25 | @SerializedName("supported_types") 26 | protected List supportedTypes; 27 | 28 | protected SupportedTypesList() { } 29 | 30 | /** 31 | * Gets the supportedTypes. 32 | * 33 | * A list of all GhoST indexes. 34 | * 35 | * @return the supportedTypes 36 | */ 37 | public List getSupportedTypes() { 38 | return supportedTypes; 39 | } 40 | } 41 | 42 | -------------------------------------------------------------------------------- /modules/global-search/src/main/java/com/ibm/cloud/platform_services/global_search/v2/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * Global Search v2. 15 | */ 16 | package com.ibm.cloud.platform_services.global_search.v2; 17 | -------------------------------------------------------------------------------- /modules/global-search/src/test/java/com/ibm/cloud/platform_services/global_search/v2/model/ResultItemTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.global_search.v2.model; 15 | 16 | import com.ibm.cloud.platform_services.global_search.v2.model.ResultItem; 17 | import com.ibm.cloud.platform_services.global_search.v2.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the ResultItem model. 27 | */ 28 | public class ResultItemTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testResultItem() throws Throwable { 34 | ResultItem resultItemModel = new ResultItem(); 35 | assertNull(resultItemModel.getCrn()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/global-search/src/test/java/com/ibm/cloud/platform_services/global_search/v2/model/SupportedTypesListTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.global_search.v2.model; 15 | 16 | import com.ibm.cloud.platform_services.global_search.v2.model.SupportedTypesList; 17 | import com.ibm.cloud.platform_services.global_search.v2.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the SupportedTypesList model. 27 | */ 28 | public class SupportedTypesListTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testSupportedTypesList() throws Throwable { 34 | SupportedTypesList supportedTypesListModel = new SupportedTypesList(); 35 | assertNull(supportedTypesListModel.getSupportedTypes()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/global-tagging/src/main/java/com/ibm/cloud/platform_services/global_tagging/v1/model/CreateTagResults.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.global_tagging.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * Results of a create tag(s) request. 21 | */ 22 | public class CreateTagResults extends GenericModel { 23 | 24 | protected List results; 25 | 26 | protected CreateTagResults() { } 27 | 28 | /** 29 | * Gets the results. 30 | * 31 | * Array of results of a create_tag request. 32 | * 33 | * @return the results 34 | */ 35 | public List getResults() { 36 | return results; 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /modules/global-tagging/src/main/java/com/ibm/cloud/platform_services/global_tagging/v1/model/CreateTagResultsResultsItem.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.global_tagging.v1.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * CreateTagResultsResultsItem. 20 | */ 21 | public class CreateTagResultsResultsItem extends GenericModel { 22 | 23 | @SerializedName("tag_name") 24 | protected String tagName; 25 | @SerializedName("is_error") 26 | protected Boolean isError; 27 | 28 | protected CreateTagResultsResultsItem() { } 29 | 30 | /** 31 | * Gets the tagName. 32 | * 33 | * The name of the tag created. 34 | * 35 | * @return the tagName 36 | */ 37 | public String getTagName() { 38 | return tagName; 39 | } 40 | 41 | /** 42 | * Gets the isError. 43 | * 44 | * true if the tag was not created (for example, the tag already exists). 45 | * 46 | * @return the isError 47 | */ 48 | public Boolean isIsError() { 49 | return isError; 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /modules/global-tagging/src/main/java/com/ibm/cloud/platform_services/global_tagging/v1/model/DeleteTagResults.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.global_tagging.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * Results of a delete_tag request. 21 | */ 22 | public class DeleteTagResults extends GenericModel { 23 | 24 | protected List results; 25 | 26 | protected DeleteTagResults() { } 27 | 28 | /** 29 | * Gets the results. 30 | * 31 | * Array of results of a delete_tag request. 32 | * 33 | * @return the results 34 | */ 35 | public List getResults() { 36 | return results; 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /modules/global-tagging/src/main/java/com/ibm/cloud/platform_services/global_tagging/v1/model/DeleteTagsResultItem.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.global_tagging.v1.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * Result of a delete_tags request. 20 | */ 21 | public class DeleteTagsResultItem extends GenericModel { 22 | 23 | @SerializedName("tag_name") 24 | protected String tagName; 25 | @SerializedName("is_error") 26 | protected Boolean isError; 27 | 28 | protected DeleteTagsResultItem() { } 29 | 30 | /** 31 | * Gets the tagName. 32 | * 33 | * The name of the deleted tag. 34 | * 35 | * @return the tagName 36 | */ 37 | public String getTagName() { 38 | return tagName; 39 | } 40 | 41 | /** 42 | * Gets the isError. 43 | * 44 | * true if the tag was not deleted. 45 | * 46 | * @return the isError 47 | */ 48 | public Boolean isIsError() { 49 | return isError; 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /modules/global-tagging/src/main/java/com/ibm/cloud/platform_services/global_tagging/v1/model/Tag.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.global_tagging.v1.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * A tag. 19 | */ 20 | public class Tag extends GenericModel { 21 | 22 | protected String name; 23 | 24 | protected Tag() { } 25 | 26 | /** 27 | * Gets the name. 28 | * 29 | * The name of the tag. 30 | * 31 | * @return the name 32 | */ 33 | public String getName() { 34 | return name; 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /modules/global-tagging/src/main/java/com/ibm/cloud/platform_services/global_tagging/v1/model/TagResults.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.global_tagging.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * Results of an attach_tag or detach_tag request. 21 | */ 22 | public class TagResults extends GenericModel { 23 | 24 | protected List results; 25 | 26 | protected TagResults() { } 27 | 28 | /** 29 | * Gets the results. 30 | * 31 | * Array of results of an attach_tag or detach_tag request. 32 | * 33 | * @return the results 34 | */ 35 | public List getResults() { 36 | return results; 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /modules/global-tagging/src/main/java/com/ibm/cloud/platform_services/global_tagging/v1/model/TagResultsItem.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.global_tagging.v1.model; 14 | 15 | import com.google.gson.annotations.SerializedName; 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * Result of an attach_tag or detach_tag request for a tagged resource. 20 | */ 21 | public class TagResultsItem extends GenericModel { 22 | 23 | @SerializedName("resource_id") 24 | protected String resourceId; 25 | @SerializedName("is_error") 26 | protected Boolean isError; 27 | 28 | protected TagResultsItem() { } 29 | 30 | /** 31 | * Gets the resourceId. 32 | * 33 | * The CRN or IMS ID of the resource. 34 | * 35 | * @return the resourceId 36 | */ 37 | public String getResourceId() { 38 | return resourceId; 39 | } 40 | 41 | /** 42 | * Gets the isError. 43 | * 44 | * It is `true` if the operation exits with an error. 45 | * 46 | * @return the isError 47 | */ 48 | public Boolean isIsError() { 49 | return isError; 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /modules/global-tagging/src/main/java/com/ibm/cloud/platform_services/global_tagging/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * Global Tagging v1. 15 | */ 16 | package com.ibm.cloud.platform_services.global_tagging.v1; 17 | -------------------------------------------------------------------------------- /modules/global-tagging/src/test/java/com/ibm/cloud/platform_services/global_tagging/v1/model/TagResultsItemTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.global_tagging.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.global_tagging.v1.model.TagResultsItem; 17 | import com.ibm.cloud.platform_services.global_tagging.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the TagResultsItem model. 27 | */ 28 | public class TagResultsItemTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testTagResultsItem() throws Throwable { 34 | TagResultsItem tagResultsItemModel = new TagResultsItem(); 35 | assertNull(tagResultsItemModel.getResourceId()); 36 | assertNull(tagResultsItemModel.isIsError()); 37 | } 38 | } -------------------------------------------------------------------------------- /modules/global-tagging/src/test/java/com/ibm/cloud/platform_services/global_tagging/v1/model/TagResultsTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.global_tagging.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.global_tagging.v1.model.TagResults; 17 | import com.ibm.cloud.platform_services.global_tagging.v1.model.TagResultsItem; 18 | import com.ibm.cloud.platform_services.global_tagging.v1.utils.TestUtilities; 19 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 20 | import java.io.InputStream; 21 | import java.util.HashMap; 22 | import java.util.List; 23 | import org.testng.annotations.Test; 24 | import static org.testng.Assert.*; 25 | 26 | /** 27 | * Unit test class for the TagResults model. 28 | */ 29 | public class TagResultsTest { 30 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 31 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 32 | 33 | @Test 34 | public void testTagResults() throws Throwable { 35 | TagResults tagResultsModel = new TagResults(); 36 | assertNull(tagResultsModel.getResults()); 37 | } 38 | } -------------------------------------------------------------------------------- /modules/global-tagging/src/test/java/com/ibm/cloud/platform_services/global_tagging/v1/model/TagTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.global_tagging.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.global_tagging.v1.model.Tag; 17 | import com.ibm.cloud.platform_services.global_tagging.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Tag model. 27 | */ 28 | public class TagTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testTag() throws Throwable { 34 | Tag tagModel = new Tag(); 35 | assertNull(tagModel.getName()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/iam-access-groups/src/main/java/com/ibm/cloud/platform_services/iam_access_groups/v2/model/AddGroupMembersResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.iam_access_groups.v2.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * The members added to an access group. 21 | */ 22 | public class AddGroupMembersResponse extends GenericModel { 23 | 24 | protected List members; 25 | 26 | protected AddGroupMembersResponse() { } 27 | 28 | /** 29 | * Gets the members. 30 | * 31 | * The members added to an access group. 32 | * 33 | * @return the members 34 | */ 35 | public List getMembers() { 36 | return members; 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /modules/iam-access-groups/src/main/java/com/ibm/cloud/platform_services/iam_access_groups/v2/model/Error.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.iam_access_groups.v2.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * Error contains the code and message for an error returned to the user code is a string identifying the problem, 19 | * examples "missing_field", "reserved_value" message is a string explaining the solution to the problem that was 20 | * encountered. 21 | */ 22 | public class Error extends GenericModel { 23 | 24 | protected String code; 25 | protected String message; 26 | 27 | protected Error() { } 28 | 29 | /** 30 | * Gets the code. 31 | * 32 | * A human-readable error code represented by a snake case string. 33 | * 34 | * @return the code 35 | */ 36 | public String getCode() { 37 | return code; 38 | } 39 | 40 | /** 41 | * Gets the message. 42 | * 43 | * A specific error message that details the issue or an action to take. 44 | * 45 | * @return the message 46 | */ 47 | public String getMessage() { 48 | return message; 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /modules/iam-access-groups/src/main/java/com/ibm/cloud/platform_services/iam_access_groups/v2/model/HrefStruct.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.iam_access_groups.v2.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * A link object. 19 | */ 20 | public class HrefStruct extends GenericModel { 21 | 22 | protected String href; 23 | 24 | protected HrefStruct() { } 25 | 26 | /** 27 | * Gets the href. 28 | * 29 | * A string containing the link’s URL. 30 | * 31 | * @return the href 32 | */ 33 | public String getHref() { 34 | return href; 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /modules/iam-access-groups/src/main/java/com/ibm/cloud/platform_services/iam_access_groups/v2/model/RulesList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.iam_access_groups.v2.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * A list of dynamic rules attached to the access group. 21 | */ 22 | public class RulesList extends GenericModel { 23 | 24 | protected List rules; 25 | 26 | protected RulesList() { } 27 | 28 | /** 29 | * Gets the rules. 30 | * 31 | * A list of dynamic rules. 32 | * 33 | * @return the rules 34 | */ 35 | public List getRules() { 36 | return rules; 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /modules/iam-access-groups/src/main/java/com/ibm/cloud/platform_services/iam_access_groups/v2/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * IAM Access Groups v2. 15 | */ 16 | package com.ibm.cloud.platform_services.iam_access_groups.v2; 17 | -------------------------------------------------------------------------------- /modules/iam-access-groups/src/test/java/com/ibm/cloud/platform_services/iam_access_groups/v2/model/ErrorTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_access_groups.v2.model; 15 | 16 | import com.ibm.cloud.platform_services.iam_access_groups.v2.model.Error; 17 | import com.ibm.cloud.platform_services.iam_access_groups.v2.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Error model. 27 | */ 28 | public class ErrorTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testError() throws Throwable { 34 | Error errorModel = new Error(); 35 | assertNull(errorModel.getCode()); 36 | assertNull(errorModel.getMessage()); 37 | } 38 | } -------------------------------------------------------------------------------- /modules/iam-access-groups/src/test/java/com/ibm/cloud/platform_services/iam_access_groups/v2/model/HrefStructTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_access_groups.v2.model; 15 | 16 | import com.ibm.cloud.platform_services.iam_access_groups.v2.model.HrefStruct; 17 | import com.ibm.cloud.platform_services.iam_access_groups.v2.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the HrefStruct model. 27 | */ 28 | public class HrefStructTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testHrefStruct() throws Throwable { 34 | HrefStruct hrefStructModel = new HrefStruct(); 35 | assertNull(hrefStructModel.getHref()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/iam-identity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/Activity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_identity.v1.model; 15 | 16 | import com.google.gson.annotations.SerializedName; 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * Activity. 21 | */ 22 | public class Activity extends GenericModel { 23 | 24 | @SerializedName("last_authn") 25 | protected String lastAuthn; 26 | @SerializedName("authn_count") 27 | protected Long authnCount; 28 | 29 | protected Activity() { } 30 | 31 | /** 32 | * Gets the lastAuthn. 33 | * 34 | * Time when the entity was last authenticated. 35 | * 36 | * @return the lastAuthn 37 | */ 38 | public String getLastAuthn() { 39 | return lastAuthn; 40 | } 41 | 42 | /** 43 | * Gets the authnCount. 44 | * 45 | * Authentication count, number of times the entity was authenticated. 46 | * 47 | * @return the authnCount 48 | */ 49 | public Long getAuthnCount() { 50 | return authnCount; 51 | } 52 | } 53 | 54 | -------------------------------------------------------------------------------- /modules/iam-identity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/AllIdentityPreferencesResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_identity.v1.model; 15 | 16 | import java.util.List; 17 | 18 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 19 | 20 | /** 21 | * AllIdentityPreferencesResponse. 22 | */ 23 | public class AllIdentityPreferencesResponse extends GenericModel { 24 | 25 | protected List preferences; 26 | 27 | protected AllIdentityPreferencesResponse() { } 28 | 29 | /** 30 | * Gets the preferences. 31 | * 32 | * List of Identity Preferences. 33 | * 34 | * @return the preferences 35 | */ 36 | public List getPreferences() { 37 | return preferences; 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /modules/iam-identity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ApikeyActivityServiceid.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_identity.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * serviceid details will be present if type is `serviceid`. 20 | */ 21 | public class ApikeyActivityServiceid extends GenericModel { 22 | 23 | protected String id; 24 | protected String name; 25 | 26 | protected ApikeyActivityServiceid() { } 27 | 28 | /** 29 | * Gets the id. 30 | * 31 | * Unique identifier of this Service Id. 32 | * 33 | * @return the id 34 | */ 35 | public String getId() { 36 | return id; 37 | } 38 | 39 | /** 40 | * Gets the name. 41 | * 42 | * Name provided during creation of the serviceid. 43 | * 44 | * @return the name 45 | */ 46 | public String getName() { 47 | return name; 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /modules/iam-identity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/MfaEnrollmentTypeStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_identity.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * MfaEnrollmentTypeStatus. 20 | */ 21 | public class MfaEnrollmentTypeStatus extends GenericModel { 22 | 23 | protected Boolean required; 24 | protected Boolean enrolled; 25 | 26 | protected MfaEnrollmentTypeStatus() { } 27 | 28 | /** 29 | * Gets the required. 30 | * 31 | * Describes whether the enrollment type is required. 32 | * 33 | * @return the required 34 | */ 35 | public Boolean isRequired() { 36 | return required; 37 | } 38 | 39 | /** 40 | * Gets the enrolled. 41 | * 42 | * Describes whether the enrollment type is enrolled. 43 | * 44 | * @return the enrolled 45 | */ 46 | public Boolean isEnrolled() { 47 | return enrolled; 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /modules/iam-identity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ProfileClaimRuleList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_identity.v1.model; 15 | 16 | import java.util.List; 17 | 18 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 19 | 20 | /** 21 | * ProfileClaimRuleList. 22 | */ 23 | public class ProfileClaimRuleList extends GenericModel { 24 | 25 | protected ResponseContext context; 26 | protected List rules; 27 | 28 | protected ProfileClaimRuleList() { } 29 | 30 | /** 31 | * Gets the context. 32 | * 33 | * Context with key properties for problem determination. 34 | * 35 | * @return the context 36 | */ 37 | public ResponseContext getContext() { 38 | return context; 39 | } 40 | 41 | /** 42 | * Gets the rules. 43 | * 44 | * List of claim rules. 45 | * 46 | * @return the rules 47 | */ 48 | public List getRules() { 49 | return rules; 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /modules/iam-identity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ProfileIdentitiesResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_identity.v1.model; 15 | 16 | import java.util.List; 17 | 18 | import com.google.gson.annotations.SerializedName; 19 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 20 | 21 | /** 22 | * ProfileIdentitiesResponse. 23 | */ 24 | public class ProfileIdentitiesResponse extends GenericModel { 25 | 26 | @SerializedName("entity_tag") 27 | protected String entityTag; 28 | protected List identities; 29 | 30 | protected ProfileIdentitiesResponse() { } 31 | 32 | /** 33 | * Gets the entityTag. 34 | * 35 | * Entity tag of the profile identities response. 36 | * 37 | * @return the entityTag 38 | */ 39 | public String getEntityTag() { 40 | return entityTag; 41 | } 42 | 43 | /** 44 | * Gets the identities. 45 | * 46 | * List of identities. 47 | * 48 | * @return the identities 49 | */ 50 | public List getIdentities() { 51 | return identities; 52 | } 53 | } 54 | 55 | -------------------------------------------------------------------------------- /modules/iam-identity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ProfileLinkList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_identity.v1.model; 15 | 16 | import java.util.List; 17 | 18 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 19 | 20 | /** 21 | * ProfileLinkList. 22 | */ 23 | public class ProfileLinkList extends GenericModel { 24 | 25 | protected List links; 26 | 27 | protected ProfileLinkList() { } 28 | 29 | /** 30 | * Gets the links. 31 | * 32 | * List of links to a trusted profile. 33 | * 34 | * @return the links 35 | */ 36 | public List getLinks() { 37 | return links; 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /modules/iam-identity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ReportReference.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_identity.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * ReportReference. 20 | */ 21 | public class ReportReference extends GenericModel { 22 | 23 | protected String reference; 24 | 25 | protected ReportReference() { } 26 | 27 | /** 28 | * Gets the reference. 29 | * 30 | * Reference for the report to be generated. 31 | * 32 | * @return the reference 33 | */ 34 | public String getReference() { 35 | return reference; 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /modules/iam-identity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/TemplateAssignmentResource.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_identity.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * Body parameters for created resource. 20 | */ 21 | public class TemplateAssignmentResource extends GenericModel { 22 | 23 | protected String id; 24 | 25 | protected TemplateAssignmentResource() { } 26 | 27 | /** 28 | * Gets the id. 29 | * 30 | * Id of the created resource. 31 | * 32 | * @return the id 33 | */ 34 | public String getId() { 35 | return id; 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /modules/iam-identity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | /** 15 | * IAM Identity Services v1. 16 | */ 17 | package com.ibm.cloud.platform_services.iam_identity.v1; 18 | -------------------------------------------------------------------------------- /modules/iam-identity/src/test/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ActivityTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_identity.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.iam_identity.v1.model.Activity; 17 | import com.ibm.cloud.platform_services.iam_identity.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Activity model. 27 | */ 28 | public class ActivityTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testActivity() throws Throwable { 34 | Activity activityModel = new Activity(); 35 | assertNull(activityModel.getLastAuthn()); 36 | assertNull(activityModel.getAuthnCount()); 37 | } 38 | } -------------------------------------------------------------------------------- /modules/iam-identity/src/test/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ErrorTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_identity.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.iam_identity.v1.model.Error; 17 | import com.ibm.cloud.platform_services.iam_identity.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Error model. 27 | */ 28 | public class ErrorTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testError() throws Throwable { 34 | Error errorModel = new Error(); 35 | assertNull(errorModel.getCode()); 36 | assertNull(errorModel.getMessageCode()); 37 | assertNull(errorModel.getMessage()); 38 | assertNull(errorModel.getDetails()); 39 | } 40 | } -------------------------------------------------------------------------------- /modules/iam-identity/src/test/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ReportReferenceTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_identity.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.iam_identity.v1.model.ReportReference; 17 | import com.ibm.cloud.platform_services.iam_identity.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the ReportReference model. 27 | */ 28 | public class ReportReferenceTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testReportReference() throws Throwable { 34 | ReportReference reportReferenceModel = new ReportReference(); 35 | assertNull(reportReferenceModel.getReference()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/AccountSettingsAccessManagement.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.google.gson.annotations.SerializedName; 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * The Access Management Account Settings that are currently set for the requested account. 21 | */ 22 | public class AccountSettingsAccessManagement extends GenericModel { 23 | 24 | @SerializedName("external_account_identity_interaction") 25 | protected ExternalAccountIdentityInteraction externalAccountIdentityInteraction; 26 | 27 | protected AccountSettingsAccessManagement() { } 28 | 29 | /** 30 | * Gets the externalAccountIdentityInteraction. 31 | * 32 | * How external accounts can interact in relation to the requested account. 33 | * 34 | * @return the externalAccountIdentityInteraction 35 | */ 36 | public ExternalAccountIdentityInteraction getExternalAccountIdentityInteraction() { 37 | return externalAccountIdentityInteraction; 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/ActionControlAssignmentResourceCreated.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * On success, it includes the action control assigned. 20 | */ 21 | public class ActionControlAssignmentResourceCreated extends GenericModel { 22 | 23 | protected String id; 24 | 25 | protected ActionControlAssignmentResourceCreated() { } 26 | 27 | /** 28 | * Gets the id. 29 | * 30 | * action control id. 31 | * 32 | * @return the id 33 | */ 34 | public String getId() { 35 | return id; 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/AssignmentResourceCreated.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * On success, includes the policy that is assigned. 20 | */ 21 | public class AssignmentResourceCreated extends GenericModel { 22 | 23 | protected String id; 24 | 25 | protected AssignmentResourceCreated() { } 26 | 27 | /** 28 | * Gets the id. 29 | * 30 | * Policy id. 31 | * 32 | * @return the id 33 | */ 34 | public String getId() { 35 | return id; 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/ConflictsWith.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * Details of conflicting resource. 20 | */ 21 | public class ConflictsWith extends GenericModel { 22 | 23 | protected String etag; 24 | protected String role; 25 | protected String policy; 26 | 27 | protected ConflictsWith() { } 28 | 29 | /** 30 | * Gets the etag. 31 | * 32 | * The revision number of the resource. 33 | * 34 | * @return the etag 35 | */ 36 | public String getEtag() { 37 | return etag; 38 | } 39 | 40 | /** 41 | * Gets the role. 42 | * 43 | * The conflicting role of ID. 44 | * 45 | * @return the role 46 | */ 47 | public String getRole() { 48 | return role; 49 | } 50 | 51 | /** 52 | * Gets the policy. 53 | * 54 | * The conflicting policy ID. 55 | * 56 | * @return the policy 57 | */ 58 | public String getPolicy() { 59 | return policy; 60 | } 61 | } 62 | 63 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/ControlResponse.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * ControlResponse. 20 | * 21 | * Classes which extend this class: 22 | * - ControlResponseControl 23 | * - ControlResponseControlWithEnrichedRoles 24 | */ 25 | public class ControlResponse extends GenericModel { 26 | 27 | protected Grant grant; 28 | 29 | protected ControlResponse() { } 30 | 31 | /** 32 | * Gets the grant. 33 | * 34 | * Permission is granted by the policy. 35 | * 36 | * @return the grant 37 | */ 38 | public Grant getGrant() { 39 | return grant; 40 | } 41 | } 42 | 43 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/ControlResponseControl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | /** 17 | * Specifies the type of access that is granted by the policy. 18 | */ 19 | public class ControlResponseControl extends ControlResponse { 20 | 21 | 22 | protected ControlResponseControl() { } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/ControlResponseControlWithEnrichedRoles.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | /** 17 | * Specifies the type of access that is granted by the policy with additional role information. 18 | */ 19 | public class ControlResponseControlWithEnrichedRoles extends ControlResponse { 20 | 21 | 22 | protected ControlResponseControlWithEnrichedRoles() { } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/ErrorDetails.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.google.gson.annotations.SerializedName; 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * Additional error details. 21 | */ 22 | public class ErrorDetails extends GenericModel { 23 | 24 | @SerializedName("conflicts_with") 25 | protected ConflictsWith conflictsWith; 26 | 27 | protected ErrorDetails() { } 28 | 29 | /** 30 | * Gets the conflictsWith. 31 | * 32 | * Details of conflicting resource. 33 | * 34 | * @return the conflictsWith 35 | */ 36 | public ConflictsWith getConflictsWith() { 37 | return conflictsWith; 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/ExternalAccountIdentityInteraction.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.google.gson.annotations.SerializedName; 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * How external accounts can interact in relation to the requested account. 21 | */ 22 | public class ExternalAccountIdentityInteraction extends GenericModel { 23 | 24 | @SerializedName("identity_types") 25 | protected IdentityTypes identityTypes; 26 | 27 | protected ExternalAccountIdentityInteraction() { } 28 | 29 | /** 30 | * Gets the identityTypes. 31 | * 32 | * The settings for each identity type. 33 | * 34 | * @return the identityTypes 35 | */ 36 | public IdentityTypes getIdentityTypes() { 37 | return identityTypes; 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/First.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * Details with linking href to first page of requested collection. 20 | */ 21 | public class First extends GenericModel { 22 | 23 | protected String href; 24 | 25 | protected First() { } 26 | 27 | /** 28 | * Gets the href. 29 | * 30 | * The href linking to the page of requested collection. 31 | * 32 | * @return the href 33 | */ 34 | public String getHref() { 35 | return href; 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/GrantWithEnrichedRoles.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import java.util.List; 17 | 18 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 19 | 20 | /** 21 | * Permission granted by the policy with translated roles and additional role information. 22 | */ 23 | public class GrantWithEnrichedRoles extends GenericModel { 24 | 25 | protected List roles; 26 | 27 | protected GrantWithEnrichedRoles() { } 28 | 29 | /** 30 | * Gets the roles. 31 | * 32 | * A set of roles granted by the policy. 33 | * 34 | * @return the roles 35 | */ 36 | public List getRoles() { 37 | return roles; 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/LimitData.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * policy template current and limit details with in an account. 20 | */ 21 | public class LimitData extends GenericModel { 22 | 23 | protected Long current; 24 | protected Long limit; 25 | 26 | protected LimitData() { } 27 | 28 | /** 29 | * Gets the current. 30 | * 31 | * policy template current count. 32 | * 33 | * @return the current 34 | */ 35 | public Long getCurrent() { 36 | return current; 37 | } 38 | 39 | /** 40 | * Gets the limit. 41 | * 42 | * policy template limit count. 43 | * 44 | * @return the limit 45 | */ 46 | public Long getLimit() { 47 | return limit; 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/Next.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * Details with href linking to the following page of requested collection. 20 | */ 21 | public class Next extends GenericModel { 22 | 23 | protected String href; 24 | protected String start; 25 | 26 | protected Next() { } 27 | 28 | /** 29 | * Gets the href. 30 | * 31 | * The href linking to the page of requested collection. 32 | * 33 | * @return the href 34 | */ 35 | public String getHref() { 36 | return href; 37 | } 38 | 39 | /** 40 | * Gets the start. 41 | * 42 | * Page token that refers to the page of the collection. 43 | * 44 | * @return the start 45 | */ 46 | public String getStart() { 47 | return start; 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/PolcyTemplateAssignmentCollection.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.google.gson.annotations.SerializedName; 18 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 19 | 20 | /** 21 | * A collection of policies assignments. 22 | */ 23 | public class PolcyTemplateAssignmentCollection extends GenericModel { 24 | 25 | @SerializedName("policy_assignments") 26 | protected List policyAssignments; 27 | 28 | protected PolcyTemplateAssignmentCollection() { } 29 | 30 | /** 31 | * Gets the policyAssignments. 32 | * 33 | * List of policy assignments. 34 | * 35 | * @return the policyAssignments 36 | */ 37 | public List getPolicyAssignments() { 38 | return policyAssignments; 39 | } 40 | } 41 | 42 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/PolicyAssignmentResources.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * The policy assignment resources. 20 | */ 21 | public class PolicyAssignmentResources extends GenericModel { 22 | 23 | protected String target; 24 | protected PolicyAssignmentResourcePolicy policy; 25 | 26 | protected PolicyAssignmentResources() { } 27 | 28 | /** 29 | * Gets the target. 30 | * 31 | * Account ID where resources are assigned. 32 | * 33 | * @return the target 34 | */ 35 | public String getTarget() { 36 | return target; 37 | } 38 | 39 | /** 40 | * Gets the policy. 41 | * 42 | * Set of properties for the assigned resource. 43 | * 44 | * @return the policy 45 | */ 46 | public PolicyAssignmentResourcePolicy getPolicy() { 47 | return policy; 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/PolicyAssignmentV1Resources.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * The policy assignment resources. 20 | */ 21 | public class PolicyAssignmentV1Resources extends GenericModel { 22 | 23 | protected AssignmentTargetDetails target; 24 | protected PolicyAssignmentResourcePolicy policy; 25 | 26 | protected PolicyAssignmentV1Resources() { } 27 | 28 | /** 29 | * Gets the target. 30 | * 31 | * assignment target account and type. 32 | * 33 | * @return the target 34 | */ 35 | public AssignmentTargetDetails getTarget() { 36 | return target; 37 | } 38 | 39 | /** 40 | * Gets the policy. 41 | * 42 | * Set of properties for the assigned resource. 43 | * 44 | * @return the policy 45 | */ 46 | public PolicyAssignmentResourcePolicy getPolicy() { 47 | return policy; 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/PolicyList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * A collection of policies. 21 | */ 22 | public class PolicyList extends GenericModel { 23 | 24 | protected List policies; 25 | 26 | protected PolicyList() { } 27 | 28 | /** 29 | * Gets the policies. 30 | * 31 | * List of policies. 32 | * 33 | * @return the policies 34 | */ 35 | public List getPolicies() { 36 | return policies; 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/PolicyTemplateAssignmentItemsPolicyAssignmentV1.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | /** 17 | * The set of properties associated with the policy template assignment. 18 | */ 19 | public class PolicyTemplateAssignmentItemsPolicyAssignmentV1 extends PolicyTemplateAssignmentItems { 20 | 21 | /** 22 | * The policy assignment status. 23 | */ 24 | public interface Status { 25 | /** in_progress. */ 26 | String IN_PROGRESS = "in_progress"; 27 | /** succeeded. */ 28 | String SUCCEEDED = "succeeded"; 29 | /** succeed_with_errors. */ 30 | String SUCCEED_WITH_ERRORS = "succeed_with_errors"; 31 | /** failed. */ 32 | String FAILED = "failed"; 33 | } 34 | 35 | 36 | protected PolicyTemplateAssignmentItemsPolicyAssignmentV1() { } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/Previous.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * Details with linking href to previous page of requested collection. 20 | */ 21 | public class Previous extends GenericModel { 22 | 23 | protected String href; 24 | protected String start; 25 | 26 | protected Previous() { } 27 | 28 | /** 29 | * Gets the href. 30 | * 31 | * The href linking to the page of requested collection. 32 | * 33 | * @return the href 34 | */ 35 | public String getHref() { 36 | return href; 37 | } 38 | 39 | /** 40 | * Gets the start. 41 | * 42 | * Page token that refers to the page of the collection. 43 | * 44 | * @return the start 45 | */ 46 | public String getStart() { 47 | return start; 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/TemplateCountData.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * policy template count details. 20 | */ 21 | public class TemplateCountData extends GenericModel { 22 | 23 | protected LimitData template; 24 | protected LimitData version; 25 | 26 | protected TemplateCountData() { } 27 | 28 | /** 29 | * Gets the template. 30 | * 31 | * policy template current and limit details with in an account. 32 | * 33 | * @return the template 34 | */ 35 | public LimitData getTemplate() { 36 | return template; 37 | } 38 | 39 | /** 40 | * Gets the version. 41 | * 42 | * policy template current and limit details with in an account. 43 | * 44 | * @return the version 45 | */ 46 | public LimitData getVersion() { 47 | return version; 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/TemplateMetada.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * Origin Template information. 19 | */ 20 | public class TemplateMetada extends GenericModel { 21 | 22 | protected String crn; 23 | protected String version; 24 | 25 | protected TemplateMetada() { } 26 | 27 | /** 28 | * Gets the crn. 29 | * 30 | * Origin Template CRN. 31 | * 32 | * @return the crn 33 | */ 34 | public String getCrn() { 35 | return crn; 36 | } 37 | 38 | /** 39 | * Gets the version. 40 | * 41 | * Template version. 42 | * 43 | * @return the version 44 | */ 45 | public String getVersion() { 46 | return version; 47 | } 48 | } 49 | 50 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/main/java/com/ibm/cloud/platform_services/iam_policy_management/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | /** 15 | * IAM Policy Management v1. 16 | */ 17 | package com.ibm.cloud.platform_services.iam_policy_management.v1; 18 | -------------------------------------------------------------------------------- /modules/iam-policy-management/src/test/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/FirstTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.iam_policy_management.v1.model.First; 17 | import com.ibm.cloud.platform_services.iam_policy_management.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the First model. 27 | */ 28 | public class FirstTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testFirst() throws Throwable { 34 | First firstModel = new First(); 35 | } 36 | } -------------------------------------------------------------------------------- /modules/iam-policy-management/src/test/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/LimitDataTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.iam_policy_management.v1.model.LimitData; 17 | import com.ibm.cloud.platform_services.iam_policy_management.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the LimitData model. 27 | */ 28 | public class LimitDataTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testLimitData() throws Throwable { 34 | LimitData limitDataModel = new LimitData(); 35 | } 36 | } -------------------------------------------------------------------------------- /modules/iam-policy-management/src/test/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/NextTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.iam_policy_management.v1.model.Next; 17 | import com.ibm.cloud.platform_services.iam_policy_management.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Next model. 27 | */ 28 | public class NextTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testNext() throws Throwable { 34 | Next nextModel = new Next(); 35 | assertNull(nextModel.getStart()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/iam-policy-management/src/test/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/PolicyAssignmentV1SubjectTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.iam_policy_management.v1.model.PolicyAssignmentV1Subject; 17 | import com.ibm.cloud.platform_services.iam_policy_management.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the PolicyAssignmentV1Subject model. 27 | */ 28 | public class PolicyAssignmentV1SubjectTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testPolicyAssignmentV1Subject() throws Throwable { 34 | PolicyAssignmentV1Subject policyAssignmentV1SubjectModel = new PolicyAssignmentV1Subject(); 35 | } 36 | } -------------------------------------------------------------------------------- /modules/iam-policy-management/src/test/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/PreviousTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.iam_policy_management.v1.model.Previous; 17 | import com.ibm.cloud.platform_services.iam_policy_management.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Previous model. 27 | */ 28 | public class PreviousTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testPrevious() throws Throwable { 34 | Previous previousModel = new Previous(); 35 | assertNull(previousModel.getStart()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/iam-policy-management/src/test/java/com/ibm/cloud/platform_services/iam_policy_management/v1/model/V2PolicyRuleTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2025. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.iam_policy_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.iam_policy_management.v1.model.V2PolicyRule; 17 | import com.ibm.cloud.platform_services.iam_policy_management.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the V2PolicyRule model. 27 | */ 28 | public class V2PolicyRuleTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | // TODO: Add tests for models that are abstract 33 | @Test 34 | public void testV2PolicyRule() throws Throwable { 35 | V2PolicyRule v2PolicyRuleModel = new V2PolicyRule(); 36 | assertNotNull(v2PolicyRuleModel); 37 | } 38 | } -------------------------------------------------------------------------------- /modules/ibm-cloud-shell/src/main/java/com/ibm/cloud/platform_services/ibm_cloud_shell/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * IBM Cloud Shell v1. 15 | */ 16 | package com.ibm.cloud.platform_services.ibm_cloud_shell.v1; 17 | -------------------------------------------------------------------------------- /modules/open-service-broker/src/main/java/com/ibm/cloud/platform_services/open_service_broker/v1/model/ListCatalogOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2020. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.open_service_broker.v1.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * The listCatalog options. 19 | */ 20 | public class ListCatalogOptions extends GenericModel { 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /modules/open-service-broker/src/main/java/com/ibm/cloud/platform_services/open_service_broker/v1/model/Resp1874650Root.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2020. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.open_service_broker.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * Resp1874650Root. 21 | */ 22 | public class Resp1874650Root extends GenericModel { 23 | 24 | protected List services; 25 | 26 | /** 27 | * Gets the services. 28 | * 29 | * List of services. 30 | * 31 | * @return the services 32 | */ 33 | public List getServices() { 34 | return services; 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /modules/open-service-broker/src/main/java/com/ibm/cloud/platform_services/open_service_broker/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2020. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * IBM Cloud Open Service Broker API v1. 15 | */ 16 | package com.ibm.cloud.platform_services.open_service_broker.v1; 17 | -------------------------------------------------------------------------------- /modules/open-service-broker/src/test/java/com/ibm/cloud/platform_services/open_service_broker/v1/model/ListCatalogOptionsTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2020. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.open_service_broker.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.open_service_broker.v1.model.ListCatalogOptions; 17 | import com.ibm.cloud.platform_services.open_service_broker.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the ListCatalogOptions model. 27 | */ 28 | public class ListCatalogOptionsTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testListCatalogOptions() throws Throwable { 34 | ListCatalogOptions listCatalogOptionsModel = new ListCatalogOptions(); 35 | assertNotNull(listCatalogOptionsModel); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/open-service-broker/src/test/java/com/ibm/cloud/platform_services/open_service_broker/v1/model/PlansTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2020. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.open_service_broker.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.open_service_broker.v1.model.Plans; 17 | import com.ibm.cloud.platform_services.open_service_broker.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Plans model. 27 | */ 28 | public class PlansTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testPlans() throws Throwable { 34 | Plans plansModel = new Plans(); 35 | assertNull(plansModel.getDescription()); 36 | assertNull(plansModel.isFree()); 37 | assertNull(plansModel.getId()); 38 | assertNull(plansModel.getName()); 39 | } 40 | } -------------------------------------------------------------------------------- /modules/open-service-broker/src/test/java/com/ibm/cloud/platform_services/open_service_broker/v1/model/Resp2079874RootTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2020. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.open_service_broker.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.open_service_broker.v1.model.Resp2079874Root; 17 | import com.ibm.cloud.platform_services.open_service_broker.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Resp2079874Root model. 27 | */ 28 | public class Resp2079874RootTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testResp2079874Root() throws Throwable { 34 | Resp2079874Root resp2079874RootModel = new Resp2079874Root(); 35 | assertNull(resp2079874RootModel.getOperation()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/partner-management/src/main/java/com/ibm/cloud/platform_services/partner_management/v1/model/Overage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.partner_management.v1.model; 15 | 16 | import java.util.List; 17 | import java.util.Map; 18 | 19 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 20 | 21 | /** 22 | * Overage that was generated on the credit pool. 23 | */ 24 | public class Overage extends GenericModel { 25 | 26 | protected Double cost; 27 | protected List> resources; 28 | 29 | protected Overage() { } 30 | 31 | /** 32 | * Gets the cost. 33 | * 34 | * The number of credits used as overage. 35 | * 36 | * @return the cost 37 | */ 38 | public Double getCost() { 39 | return cost; 40 | } 41 | 42 | /** 43 | * Gets the resources. 44 | * 45 | * A list of resources that generated overage. 46 | * 47 | * @return the resources 48 | */ 49 | public List> getResources() { 50 | return resources; 51 | } 52 | } 53 | 54 | -------------------------------------------------------------------------------- /modules/partner-management/src/main/java/com/ibm/cloud/platform_services/partner_management/v1/model/PartnerUsageReportSummaryFirst.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.partner_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * The link to the first page of the search query. 20 | */ 21 | public class PartnerUsageReportSummaryFirst extends GenericModel { 22 | 23 | protected String href; 24 | 25 | protected PartnerUsageReportSummaryFirst() { } 26 | 27 | /** 28 | * Gets the href. 29 | * 30 | * A link to a page of query results. 31 | * 32 | * @return the href 33 | */ 34 | public String getHref() { 35 | return href; 36 | } 37 | } 38 | 39 | -------------------------------------------------------------------------------- /modules/partner-management/src/main/java/com/ibm/cloud/platform_services/partner_management/v1/model/PartnerUsageReportSummaryNext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.partner_management.v1.model; 15 | 16 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 17 | 18 | /** 19 | * The link to the next page of the search query. 20 | */ 21 | public class PartnerUsageReportSummaryNext extends GenericModel { 22 | 23 | protected String href; 24 | protected String offset; 25 | 26 | protected PartnerUsageReportSummaryNext() { } 27 | 28 | /** 29 | * Gets the href. 30 | * 31 | * A link to a page of query results. 32 | * 33 | * @return the href 34 | */ 35 | public String getHref() { 36 | return href; 37 | } 38 | 39 | /** 40 | * Gets the offset. 41 | * 42 | * The value of the `_start` query parameter to fetch the next page. 43 | * 44 | * @return the offset 45 | */ 46 | public String getOffset() { 47 | return offset; 48 | } 49 | } 50 | 51 | -------------------------------------------------------------------------------- /modules/partner-management/src/main/java/com/ibm/cloud/platform_services/partner_management/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | /** 15 | * Partner Management APIs v1. 16 | */ 17 | package com.ibm.cloud.platform_services.partner_management.v1; 18 | -------------------------------------------------------------------------------- /modules/partner-management/src/test/java/com/ibm/cloud/platform_services/partner_management/v1/model/OverageTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.partner_management.v1.model; 15 | 16 | import com.ibm.cloud.platform_services.partner_management.v1.model.Overage; 17 | import com.ibm.cloud.platform_services.partner_management.v1.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the Overage model. 27 | */ 28 | public class OverageTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testOverage() throws Throwable { 34 | Overage overageModel = new Overage(); 35 | assertNull(overageModel.getCost()); 36 | assertNull(overageModel.getResources()); 37 | } 38 | } -------------------------------------------------------------------------------- /modules/resource-controller/src/main/java/com/ibm/cloud/platform_services/resource_controller/v2/model/ReclamationsList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.resource_controller.v2.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * A list of reclamations. 21 | */ 22 | public class ReclamationsList extends GenericModel { 23 | 24 | protected List resources; 25 | 26 | protected ReclamationsList() { } 27 | 28 | /** 29 | * Gets the resources. 30 | * 31 | * A list of reclamations. 32 | * 33 | * @return the resources 34 | */ 35 | public List getResources() { 36 | return resources; 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /modules/resource-controller/src/main/java/com/ibm/cloud/platform_services/resource_controller/v2/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2022. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * Resource Controller v2. 15 | */ 16 | package com.ibm.cloud.platform_services.resource_controller.v2; 17 | -------------------------------------------------------------------------------- /modules/resource-manager/src/main/java/com/ibm/cloud/platform_services/resource_manager/v2/model/ListQuotaDefinitionsOptions.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.resource_manager.v2.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * The listQuotaDefinitions options. 19 | */ 20 | public class ListQuotaDefinitionsOptions extends GenericModel { 21 | 22 | } 23 | 24 | -------------------------------------------------------------------------------- /modules/resource-manager/src/main/java/com/ibm/cloud/platform_services/resource_manager/v2/model/QuotaDefinitionList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.resource_manager.v2.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * A list of quota definitions. 21 | */ 22 | public class QuotaDefinitionList extends GenericModel { 23 | 24 | protected List resources; 25 | 26 | /** 27 | * Gets the resources. 28 | * 29 | * The list of quota definitions. 30 | * 31 | * @return the resources 32 | */ 33 | public List getResources() { 34 | return resources; 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /modules/resource-manager/src/main/java/com/ibm/cloud/platform_services/resource_manager/v2/model/ResCreateResourceGroup.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.resource_manager.v2.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * A newly-created resource group. 19 | */ 20 | public class ResCreateResourceGroup extends GenericModel { 21 | 22 | protected String id; 23 | protected String crn; 24 | 25 | /** 26 | * Gets the id. 27 | * 28 | * An alpha-numeric value identifying the resource group. 29 | * 30 | * @return the id 31 | */ 32 | public String getId() { 33 | return id; 34 | } 35 | 36 | /** 37 | * Gets the crn. 38 | * 39 | * The full CRN (cloud resource name) associated with the resource group. For more on this format, see [Cloud Resource 40 | * Names](https://cloud.ibm.com/docs/account?topic=account-crn). 41 | * 42 | * @return the crn 43 | */ 44 | public String getCrn() { 45 | return crn; 46 | } 47 | } 48 | 49 | -------------------------------------------------------------------------------- /modules/resource-manager/src/main/java/com/ibm/cloud/platform_services/resource_manager/v2/model/ResourceGroupList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.resource_manager.v2.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * A list of resource groups. 21 | */ 22 | public class ResourceGroupList extends GenericModel { 23 | 24 | protected List resources; 25 | 26 | /** 27 | * Gets the resources. 28 | * 29 | * The list of resource groups. 30 | * 31 | * @return the resources 32 | */ 33 | public List getResources() { 34 | return resources; 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /modules/resource-manager/src/main/java/com/ibm/cloud/platform_services/resource_manager/v2/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2021. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * Resource Manager v2. 15 | */ 16 | package com.ibm.cloud.platform_services.resource_manager.v2; 17 | -------------------------------------------------------------------------------- /modules/usage-metering/src/main/java/com/ibm/cloud/platform_services/usage_metering/v4/model/ResponseAccepted.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.usage_metering.v4.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * Response when usage submitted is accepted. 21 | */ 22 | public class ResponseAccepted extends GenericModel { 23 | 24 | protected List resources; 25 | 26 | protected ResponseAccepted() { } 27 | 28 | /** 29 | * Gets the resources. 30 | * 31 | * Response body that contains the status of each submitted usage record. 32 | * 33 | * @return the resources 34 | */ 35 | public List getResources() { 36 | return resources; 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /modules/usage-metering/src/main/java/com/ibm/cloud/platform_services/usage_metering/v4/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2024. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * Usage Metering v4. 15 | */ 16 | package com.ibm.cloud.platform_services.usage_metering.v4; 17 | -------------------------------------------------------------------------------- /modules/usage-reports/src/main/java/com/ibm/cloud/platform_services/usage_reports/v4/model/InstancesUsageFirst.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.usage_reports.v4.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * The link to the first page of the search query. 19 | */ 20 | public class InstancesUsageFirst extends GenericModel { 21 | 22 | protected String href; 23 | 24 | protected InstancesUsageFirst() { } 25 | 26 | /** 27 | * Gets the href. 28 | * 29 | * A link to a page of query results. 30 | * 31 | * @return the href 32 | */ 33 | public String getHref() { 34 | return href; 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /modules/usage-reports/src/main/java/com/ibm/cloud/platform_services/usage_reports/v4/model/InstancesUsageNext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.usage_reports.v4.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * The link to the next page of the search query. 19 | */ 20 | public class InstancesUsageNext extends GenericModel { 21 | 22 | protected String href; 23 | protected String offset; 24 | 25 | protected InstancesUsageNext() { } 26 | 27 | /** 28 | * Gets the href. 29 | * 30 | * A link to a page of query results. 31 | * 32 | * @return the href 33 | */ 34 | public String getHref() { 35 | return href; 36 | } 37 | 38 | /** 39 | * Gets the offset. 40 | * 41 | * The value of the `_start` query parameter to fetch the next page. 42 | * 43 | * @return the offset 44 | */ 45 | public String getOffset() { 46 | return offset; 47 | } 48 | } 49 | 50 | -------------------------------------------------------------------------------- /modules/usage-reports/src/main/java/com/ibm/cloud/platform_services/usage_reports/v4/model/SnapshotListFirst.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.usage_reports.v4.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * Reference to the first page of the search query. 19 | */ 20 | public class SnapshotListFirst extends GenericModel { 21 | 22 | protected String href; 23 | 24 | protected SnapshotListFirst() { } 25 | 26 | /** 27 | * Gets the href. 28 | * 29 | * @return the href 30 | */ 31 | public String getHref() { 32 | return href; 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /modules/usage-reports/src/main/java/com/ibm/cloud/platform_services/usage_reports/v4/model/SnapshotListNext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.usage_reports.v4.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * Reference to the next page of the search query if any. 19 | */ 20 | public class SnapshotListNext extends GenericModel { 21 | 22 | protected String href; 23 | protected String offset; 24 | 25 | protected SnapshotListNext() { } 26 | 27 | /** 28 | * Gets the href. 29 | * 30 | * @return the href 31 | */ 32 | public String getHref() { 33 | return href; 34 | } 35 | 36 | /** 37 | * Gets the offset. 38 | * 39 | * The value of the `_start` query parameter to fetch the next page. 40 | * 41 | * @return the offset 42 | */ 43 | public String getOffset() { 44 | return offset; 45 | } 46 | } 47 | 48 | -------------------------------------------------------------------------------- /modules/usage-reports/src/main/java/com/ibm/cloud/platform_services/usage_reports/v4/model/SnapshotListSnapshotsItemBillingPeriod.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.usage_reports.v4.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * Period of billing in snapshot. 19 | */ 20 | public class SnapshotListSnapshotsItemBillingPeriod extends GenericModel { 21 | 22 | protected String start; 23 | protected String end; 24 | 25 | protected SnapshotListSnapshotsItemBillingPeriod() { } 26 | 27 | /** 28 | * Gets the start. 29 | * 30 | * Date and time of start of billing in the respective snapshot. 31 | * 32 | * @return the start 33 | */ 34 | public String getStart() { 35 | return start; 36 | } 37 | 38 | /** 39 | * Gets the end. 40 | * 41 | * Date and time of end of billing in the respective snapshot. 42 | * 43 | * @return the end 44 | */ 45 | public String getEnd() { 46 | return end; 47 | } 48 | } 49 | 50 | -------------------------------------------------------------------------------- /modules/usage-reports/src/main/java/com/ibm/cloud/platform_services/usage_reports/v4/model/SubscriptionSummary.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.usage_reports.v4.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * A summary of charges and credits related to a subscription. 21 | */ 22 | public class SubscriptionSummary extends GenericModel { 23 | 24 | protected Double overage; 25 | protected List subscriptions; 26 | 27 | protected SubscriptionSummary() { } 28 | 29 | /** 30 | * Gets the overage. 31 | * 32 | * The charges after exhausting subscription credits and offers credits. 33 | * 34 | * @return the overage 35 | */ 36 | public Double getOverage() { 37 | return overage; 38 | } 39 | 40 | /** 41 | * Gets the subscriptions. 42 | * 43 | * The list of subscriptions applicable for the month. 44 | * 45 | * @return the subscriptions 46 | */ 47 | public List getSubscriptions() { 48 | return subscriptions; 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /modules/usage-reports/src/main/java/com/ibm/cloud/platform_services/usage_reports/v4/model/SupportSummary.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.usage_reports.v4.model; 14 | 15 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 16 | 17 | /** 18 | * SupportSummary. 19 | */ 20 | public class SupportSummary extends GenericModel { 21 | 22 | protected Double cost; 23 | protected String type; 24 | protected Double overage; 25 | 26 | protected SupportSummary() { } 27 | 28 | /** 29 | * Gets the cost. 30 | * 31 | * The monthly support cost. 32 | * 33 | * @return the cost 34 | */ 35 | public Double getCost() { 36 | return cost; 37 | } 38 | 39 | /** 40 | * Gets the type. 41 | * 42 | * The type of support. 43 | * 44 | * @return the type 45 | */ 46 | public String getType() { 47 | return type; 48 | } 49 | 50 | /** 51 | * Gets the overage. 52 | * 53 | * Additional support cost for the month. 54 | * 55 | * @return the overage 56 | */ 57 | public Double getOverage() { 58 | return overage; 59 | } 60 | } 61 | 62 | -------------------------------------------------------------------------------- /modules/usage-reports/src/main/java/com/ibm/cloud/platform_services/usage_reports/v4/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * Usage Reports v4. 15 | */ 16 | package com.ibm.cloud.platform_services.usage_reports.v4; 17 | -------------------------------------------------------------------------------- /modules/usage-reports/src/test/java/com/ibm/cloud/platform_services/usage_reports/v4/model/InstancesUsageFirstTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.usage_reports.v4.model; 15 | 16 | import com.ibm.cloud.platform_services.usage_reports.v4.model.InstancesUsageFirst; 17 | import com.ibm.cloud.platform_services.usage_reports.v4.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the InstancesUsageFirst model. 27 | */ 28 | public class InstancesUsageFirstTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testInstancesUsageFirst() throws Throwable { 34 | InstancesUsageFirst instancesUsageFirstModel = new InstancesUsageFirst(); 35 | assertNull(instancesUsageFirstModel.getHref()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/usage-reports/src/test/java/com/ibm/cloud/platform_services/usage_reports/v4/model/SnapshotListFirstTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.usage_reports.v4.model; 15 | 16 | import com.ibm.cloud.platform_services.usage_reports.v4.model.SnapshotListFirst; 17 | import com.ibm.cloud.platform_services.usage_reports.v4.utils.TestUtilities; 18 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 19 | import java.io.InputStream; 20 | import java.util.HashMap; 21 | import java.util.List; 22 | import org.testng.annotations.Test; 23 | import static org.testng.Assert.*; 24 | 25 | /** 26 | * Unit test class for the SnapshotListFirst model. 27 | */ 28 | public class SnapshotListFirstTest { 29 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 30 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 31 | 32 | @Test 33 | public void testSnapshotListFirst() throws Throwable { 34 | SnapshotListFirst snapshotListFirstModel = new SnapshotListFirst(); 35 | assertNull(snapshotListFirstModel.getHref()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/usage-reports/src/test/java/com/ibm/cloud/platform_services/usage_reports/v4/model/SnapshotListNextTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | 14 | package com.ibm.cloud.platform_services.usage_reports.v4.model; 15 | 16 | import com.ibm.cloud.platform_services.usage_reports.v4.utils.TestUtilities; 17 | import com.ibm.cloud.sdk.core.service.model.FileWithMetadata; 18 | import java.io.InputStream; 19 | import java.util.HashMap; 20 | import java.util.List; 21 | import org.testng.annotations.Test; 22 | import static org.testng.Assert.*; 23 | 24 | /** 25 | * Unit test class for the SnapshotListNext model. 26 | */ 27 | public class SnapshotListNextTest { 28 | final HashMap mockStreamMap = TestUtilities.createMockStreamMap(); 29 | final List mockListFileWithMetadata = TestUtilities.creatMockListFileWithMetadata(); 30 | 31 | @Test 32 | public void testSnapshotListNext() throws Throwable { 33 | SnapshotListNext snapshotListNextModel = new SnapshotListNext(); 34 | assertNull(snapshotListNextModel.getHref()); 35 | assertNull(snapshotListNextModel.getOffset()); 36 | } 37 | } -------------------------------------------------------------------------------- /modules/user-management/src/main/java/com/ibm/cloud/platform_services/user_management/v1/model/InvitedUserList.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | package com.ibm.cloud.platform_services.user_management.v1.model; 14 | 15 | import java.util.List; 16 | 17 | import com.ibm.cloud.sdk.core.service.model.GenericModel; 18 | 19 | /** 20 | * A collection of invited users. This is the response returned by the invite_users operation. 21 | */ 22 | public class InvitedUserList extends GenericModel { 23 | 24 | protected List resources; 25 | 26 | protected InvitedUserList() { } 27 | 28 | /** 29 | * Gets the resources. 30 | * 31 | * The list of users that have been invited to join the account. 32 | * 33 | * @return the resources 34 | */ 35 | public List getResources() { 36 | return resources; 37 | } 38 | } 39 | 40 | -------------------------------------------------------------------------------- /modules/user-management/src/main/java/com/ibm/cloud/platform_services/user_management/v1/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * (C) Copyright IBM Corp. 2023. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with 5 | * the License. You may obtain a copy of the License at 6 | * 7 | * http://www.apache.org/licenses/LICENSE-2.0 8 | * 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the 11 | * specific language governing permissions and limitations under the License. 12 | */ 13 | /** 14 | * User Management v1. 15 | */ 16 | package com.ibm.cloud.platform_services.user_management.v1; 17 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "semantic-release-dependencies", 3 | "version": "0.0.0", 4 | "description": "This package.json is being used to manage semantic-release and its dependencies", 5 | "license": "Apache-2.0", 6 | "devDependencies": { 7 | "semantic-release": "21.0.7", 8 | "@semantic-release/changelog": "6.0.3", 9 | "@semantic-release/exec": "6.0.3", 10 | "@semantic-release/git": "10.0.1" 11 | }, 12 | "scripts": { 13 | "semantic-release": "semantic-release" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /scripts/fix-copyrights.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # * Copyright 2017 - 2024 IBM Corporation. 4 | # * SPDX-License-Identifier: Apache2.0 5 | # 6 | 7 | # 8 | # The purpose of this script is to revert changes to generated files where the file changed 9 | # only in the copyright statement (i.e. no other differences in the file contents). 10 | # 11 | # Run this script in a git repo containing uncommitted changes produced from SDK generation. 12 | # 13 | # Usage: 14 | # /scripts/fix-copyrights.sh 15 | # 16 | 17 | git diff --name-only | while read f; do 18 | # Must be only one line added and one deleted 19 | git diff --shortstat "$f" | grep "1 insertion(+), 1 deletion(-)" > /dev/null 20 | if [ $? == 0 ]; then 21 | git diff "$f" | grep "(C) Copyright IBM Corp\. 20[0-9][0-9]." > /dev/null 22 | if [ $? == 0 ]; then 23 | echo "Reverting copyright change in $f" 24 | git checkout -- "$f" 25 | fi 26 | fi 27 | done 28 | --------------------------------------------------------------------------------