-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(IAM Identity): Add support for IAM enterprise
Signed-off-by: Michael Beck <beckm@de.ibm.com>
- Loading branch information
1 parent
52cc95b
commit 108978d
Showing
226 changed files
with
16,201 additions
and
434 deletions.
There are no files selected for viewing
946 changes: 934 additions & 12 deletions
946
...es/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/IamIdentityExamples.java
Large diffs are not rendered by default.
Oops, something went wrong.
1,107 changes: 1,089 additions & 18 deletions
1,107
...m-identity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/IamIdentity.java
Large diffs are not rendered by default.
Oops, something went wrong.
434 changes: 434 additions & 0 deletions
434
.../java/com/ibm/cloud/platform_services/iam_identity/v1/model/AccountSettingsComponent.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
115 changes: 115 additions & 0 deletions
115
...va/com/ibm/cloud/platform_services/iam_identity/v1/model/AccountSettingsTemplateList.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
/* | ||
* (C) Copyright IBM Corp. 2023. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on | ||
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations under the License. | ||
*/ | ||
package com.ibm.cloud.platform_services.iam_identity.v1.model; | ||
|
||
import java.util.List; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import com.ibm.cloud.sdk.core.service.model.GenericModel; | ||
|
||
/** | ||
* AccountSettingsTemplateList. | ||
*/ | ||
public class AccountSettingsTemplateList extends GenericModel { | ||
|
||
protected ResponseContext context; | ||
protected Long offset; | ||
protected Long limit; | ||
protected String first; | ||
protected String previous; | ||
protected String next; | ||
@SerializedName("account_settings_templates") | ||
protected List<AccountSettingsTemplateResponse> accountSettingsTemplates; | ||
|
||
protected AccountSettingsTemplateList() { } | ||
|
||
/** | ||
* Gets the context. | ||
* | ||
* Context with key properties for problem determination. | ||
* | ||
* @return the context | ||
*/ | ||
public ResponseContext getContext() { | ||
return context; | ||
} | ||
|
||
/** | ||
* Gets the offset. | ||
* | ||
* The offset of the current page. | ||
* | ||
* @return the offset | ||
*/ | ||
public Long getOffset() { | ||
return offset; | ||
} | ||
|
||
/** | ||
* Gets the limit. | ||
* | ||
* Optional size of a single page. | ||
* | ||
* @return the limit | ||
*/ | ||
public Long getLimit() { | ||
return limit; | ||
} | ||
|
||
/** | ||
* Gets the first. | ||
* | ||
* Link to the first page. | ||
* | ||
* @return the first | ||
*/ | ||
public String getFirst() { | ||
return first; | ||
} | ||
|
||
/** | ||
* Gets the previous. | ||
* | ||
* Link to the previous available page. If 'previous' property is not part of the response no previous page is | ||
* available. | ||
* | ||
* @return the previous | ||
*/ | ||
public String getPrevious() { | ||
return previous; | ||
} | ||
|
||
/** | ||
* Gets the next. | ||
* | ||
* Link to the next available page. If 'next' property is not part of the response no next page is available. | ||
* | ||
* @return the next | ||
*/ | ||
public String getNext() { | ||
return next; | ||
} | ||
|
||
/** | ||
* Gets the accountSettingsTemplates. | ||
* | ||
* List of account settings templates based on the query paramters and the page size. The account_settings_templates | ||
* array is always part of the response but might be empty depending on the query parameter values provided. | ||
* | ||
* @return the accountSettingsTemplates | ||
*/ | ||
public List<AccountSettingsTemplateResponse> getAccountSettingsTemplates() { | ||
return accountSettingsTemplates; | ||
} | ||
} | ||
|
201 changes: 201 additions & 0 deletions
201
...om/ibm/cloud/platform_services/iam_identity/v1/model/AccountSettingsTemplateResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,201 @@ | ||
/* | ||
* (C) Copyright IBM Corp. 2023. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on | ||
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations under the License. | ||
*/ | ||
package com.ibm.cloud.platform_services.iam_identity.v1.model; | ||
|
||
import java.util.List; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import com.ibm.cloud.sdk.core.service.model.GenericModel; | ||
|
||
/** | ||
* Response body format for account settings template REST requests. | ||
*/ | ||
public class AccountSettingsTemplateResponse extends GenericModel { | ||
|
||
protected String id; | ||
protected Long version; | ||
@SerializedName("account_id") | ||
protected String accountId; | ||
protected String name; | ||
protected String description; | ||
protected Boolean committed; | ||
@SerializedName("account_settings") | ||
protected AccountSettingsComponent accountSettings; | ||
protected List<EnityHistoryRecord> history; | ||
@SerializedName("entity_tag") | ||
protected String entityTag; | ||
protected String crn; | ||
@SerializedName("created_at") | ||
protected String createdAt; | ||
@SerializedName("created_by_id") | ||
protected String createdById; | ||
@SerializedName("last_modified_at") | ||
protected String lastModifiedAt; | ||
@SerializedName("last_modified_by_id") | ||
protected String lastModifiedById; | ||
|
||
protected AccountSettingsTemplateResponse() { } | ||
|
||
/** | ||
* Gets the id. | ||
* | ||
* ID of the the template. | ||
* | ||
* @return the id | ||
*/ | ||
public String getId() { | ||
return id; | ||
} | ||
|
||
/** | ||
* Gets the version. | ||
* | ||
* Version of the the template. | ||
* | ||
* @return the version | ||
*/ | ||
public Long getVersion() { | ||
return version; | ||
} | ||
|
||
/** | ||
* Gets the accountId. | ||
* | ||
* ID of the account where the template resides. | ||
* | ||
* @return the accountId | ||
*/ | ||
public String getAccountId() { | ||
return accountId; | ||
} | ||
|
||
/** | ||
* Gets the name. | ||
* | ||
* The name of the trusted profile template. This is visible only in the enterprise account. | ||
* | ||
* @return the name | ||
*/ | ||
public String getName() { | ||
return name; | ||
} | ||
|
||
/** | ||
* Gets the description. | ||
* | ||
* The description of the trusted profile template. Describe the template for enterprise account users. | ||
* | ||
* @return the description | ||
*/ | ||
public String getDescription() { | ||
return description; | ||
} | ||
|
||
/** | ||
* Gets the committed. | ||
* | ||
* Committed flag determines if the template is ready for assignment. | ||
* | ||
* @return the committed | ||
*/ | ||
public Boolean isCommitted() { | ||
return committed; | ||
} | ||
|
||
/** | ||
* Gets the accountSettings. | ||
* | ||
* @return the accountSettings | ||
*/ | ||
public AccountSettingsComponent getAccountSettings() { | ||
return accountSettings; | ||
} | ||
|
||
/** | ||
* Gets the history. | ||
* | ||
* History of the Template. | ||
* | ||
* @return the history | ||
*/ | ||
public List<EnityHistoryRecord> getHistory() { | ||
return history; | ||
} | ||
|
||
/** | ||
* Gets the entityTag. | ||
* | ||
* Entity tag for this templateId-version combination. | ||
* | ||
* @return the entityTag | ||
*/ | ||
public String getEntityTag() { | ||
return entityTag; | ||
} | ||
|
||
/** | ||
* Gets the crn. | ||
* | ||
* Cloud resource name. | ||
* | ||
* @return the crn | ||
*/ | ||
public String getCrn() { | ||
return crn; | ||
} | ||
|
||
/** | ||
* Gets the createdAt. | ||
* | ||
* Template Created At. | ||
* | ||
* @return the createdAt | ||
*/ | ||
public String getCreatedAt() { | ||
return createdAt; | ||
} | ||
|
||
/** | ||
* Gets the createdById. | ||
* | ||
* IAMid of the creator. | ||
* | ||
* @return the createdById | ||
*/ | ||
public String getCreatedById() { | ||
return createdById; | ||
} | ||
|
||
/** | ||
* Gets the lastModifiedAt. | ||
* | ||
* Template last modified at. | ||
* | ||
* @return the lastModifiedAt | ||
*/ | ||
public String getLastModifiedAt() { | ||
return lastModifiedAt; | ||
} | ||
|
||
/** | ||
* Gets the lastModifiedById. | ||
* | ||
* IAMid of the identity that made the latest modification. | ||
* | ||
* @return the lastModifiedById | ||
*/ | ||
public String getLastModifiedById() { | ||
return lastModifiedById; | ||
} | ||
} | ||
|
2 changes: 1 addition & 1 deletion
2
...dentity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/Activity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...-identity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ApiKey.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ibm/cloud/platform_services/iam_identity/v1/model/ApiKeyInsideCreateServiceIdRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ntity/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ApiKeyList.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...y/src/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ApikeyActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ApikeyActivityServiceid.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...c/main/java/com/ibm/cloud/platform_services/iam_identity/v1/model/ApikeyActivityUser.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.