Class Roles
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.dph_services.dph.v1.model.Roles
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Roles extends com.ibm.cloud.sdk.core.service.model.GenericModelRepresents a role associated with the contract.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRoles.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringaccess()Gets the access.java.util.List<ContractTemplateCustomProperty>customProperties()Gets the customProperties.java.lang.Stringdescription()Gets the description.java.lang.StringfirstLevelApprovers()Gets the firstLevelApprovers.java.lang.Stringid()Gets the id.Roles.BuildernewBuilder()New builder.java.lang.Stringrole()Gets the role.java.lang.StringsecondLevelApprovers()Gets the secondLevelApprovers.
-
-
-
Method Detail
-
newBuilder
public Roles.Builder newBuilder()
New builder.- Returns:
- a Roles builder
-
id
public java.lang.String id()
Gets the id. Unique identifier for the role.- Returns:
- the id
-
role
public java.lang.String role()
Gets the role. The role associated with the contract.- Returns:
- the role
-
access
public java.lang.String access()
Gets the access. Access level for the role.- Returns:
- the access
-
firstLevelApprovers
public java.lang.String firstLevelApprovers()
Gets the firstLevelApprovers. First level approvers for the role.- Returns:
- the firstLevelApprovers
-
secondLevelApprovers
public java.lang.String secondLevelApprovers()
Gets the secondLevelApprovers. Second level approvers for the role.- Returns:
- the secondLevelApprovers
-
description
public java.lang.String description()
Gets the description. Description of the role.- Returns:
- the description
-
customProperties
public java.util.List<ContractTemplateCustomProperty> customProperties()
Gets the customProperties. List of custom properties for the role.- Returns:
- the customProperties
-
-