public class Role extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Role.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
_businessunitid_value |
protected String |
_createdby_value |
protected String |
_createdonbehalfby_value |
protected String |
_modifiedby_value |
protected String |
_modifiedonbehalfby_value |
protected String |
_parentroleid_value |
protected String |
_parentrootroleid_value |
protected String |
_roletemplateid_value |
protected BooleanManagedProperty |
canbedeleted |
protected Integer |
componentstate |
protected OffsetDateTime |
createdon |
protected Integer |
importsequencenumber |
protected BooleanManagedProperty |
iscustomizable |
protected Integer |
isinherited |
protected Boolean |
ismanaged |
protected OffsetDateTime |
modifiedon |
protected String |
name |
protected String |
organizationid |
protected OffsetDateTime |
overriddencreatedon |
protected OffsetDateTime |
overwritetime |
protected String |
roleid |
protected String |
roleidunique |
protected String |
solutionid |
protected Long |
versionnumber |
changedFields, contextPath, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Role() |
protected Integer importsequencenumber
protected String solutionid
protected String _roletemplateid_value
protected String _parentroleid_value
protected OffsetDateTime modifiedon
protected String _modifiedby_value
protected String _modifiedonbehalfby_value
protected String organizationid
protected String name
protected BooleanManagedProperty canbedeleted
protected String _createdonbehalfby_value
protected String _createdby_value
protected String _businessunitid_value
protected String roleid
protected OffsetDateTime overwritetime
protected Boolean ismanaged
protected Integer componentstate
protected BooleanManagedProperty iscustomizable
protected String _parentrootroleid_value
protected String roleidunique
protected Integer isinherited
protected OffsetDateTime overriddencreatedon
protected OffsetDateTime createdon
protected Long versionnumber
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Crmbaseentitypublic static Role.Builder builderRole()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Crmbaseentitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Crmbaseentitypublic Optional<OffsetDateTime> getModifiedon()
public Role withModifiedon(OffsetDateTime modifiedon)
public Role with_modifiedonbehalfby_value(String _modifiedonbehalfby_value)
public Optional<BooleanManagedProperty> getCanbedeleted()
public Role withCanbedeleted(BooleanManagedProperty canbedeleted)
public Role with_createdonbehalfby_value(String _createdonbehalfby_value)
public Optional<OffsetDateTime> getOverwritetime()
public Role withOverwritetime(OffsetDateTime overwritetime)
public Optional<BooleanManagedProperty> getIscustomizable()
public Role withIscustomizable(BooleanManagedProperty iscustomizable)
public Optional<OffsetDateTime> getOverriddencreatedon()
public Role withOverriddencreatedon(OffsetDateTime overriddencreatedon)
public Optional<OffsetDateTime> getCreatedon()
public Role withCreatedon(OffsetDateTime createdon)
public Role withUnmappedField(String name, String value)
withUnmappedField in class Crmbaseentitypublic SystemuserCollectionRequest getSystemuserroles_association()
public PrivilegeCollectionRequest getRoleprivileges_association()
public AppmoduleCollectionRequest getAppmoduleroles_association()
public SystemuserRequest getCreatedonbehalfby()
public SystemuserRequest getModifiedby()
public SystemuserRequest getModifiedonbehalfby()
public RoleRequest getParentroleid()
public RoleCollectionRequest getRole_parent_role()
public BusinessunitRequest getBusinessunitid()
public RoletemplateRequest getRoletemplateid()
public AsyncoperationCollectionRequest getRole_AsyncOperations()
public BulkdeletefailureCollectionRequest getRole_BulkDeleteFailures()
public OrganizationRequest getOrganizationid_organization()
public SystemuserRequest getCreatedby()
public TeamCollectionRequest getTeamroles_association()
public RoleRequest getParentrootroleid()
public RoleCollectionRequest getRole_parent_root_role()
public SyncerrorCollectionRequest getRole_SyncErrors()
public SolutionRequest getSolution_role()
public ApplicationuserCollectionRequest getApplicationuserrole()
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Crmbaseentitypublic Role patch()
this with changed fields reset.patch in class Crmbaseentitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic Role put()
this
with changed fields reset (they were ignored anyway).put in class Crmbaseentitythis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic com.github.davidmoten.odata.client.ActionRequestNoReturn addPrivilegesRole(List<RolePrivilege> privileges)
public com.github.davidmoten.odata.client.ActionRequestNoReturn removePrivilegeRole(Privilege privilege)
public com.github.davidmoten.odata.client.ActionRequestNoReturn replacePrivilegesRole(List<RolePrivilege> privileges)
public String toString()
toString in class CrmbaseentityCopyright © 2018–2020. All rights reserved.