Package microsoft.dynamics.crm.entity
Class Roleprivileges
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Roleprivileges
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Roleprivileges extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRoleprivileges.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanManagedPropertycanbedeletedprotected Integercomponentstateprotected Booleanismanagedprotected OffsetDateTimeoverwritetimeprotected Integerprivilegedepthmaskprotected UUIDprivilegeidprotected UUIDroleidprotected UUIDroleprivilegeidprotected UUIDroleprivilegeiduniqueprotected UUIDsolutionidprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRoleprivileges()
-
Method Summary
-
-
-
Field Detail
-
privilegeid
protected UUID privilegeid
-
roleid
protected UUID roleid
-
privilegedepthmask
protected Integer privilegedepthmask
-
ismanaged
protected Boolean ismanaged
-
canbedeleted
protected BooleanManagedProperty canbedeleted
-
roleprivilegeidunique
protected UUID roleprivilegeidunique
-
roleprivilegeid
protected UUID roleprivilegeid
-
solutionid
protected UUID solutionid
-
versionnumber
protected Long versionnumber
-
componentstate
protected Integer componentstate
-
overwritetime
protected OffsetDateTime overwritetime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderRoleprivileges
public static Roleprivileges.Builder builderRoleprivileges()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classCrmbaseentity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classCrmbaseentity
-
withPrivilegeid
public Roleprivileges withPrivilegeid(UUID privilegeid)
-
withRoleid
public Roleprivileges withRoleid(UUID roleid)
-
withPrivilegedepthmask
public Roleprivileges withPrivilegedepthmask(Integer privilegedepthmask)
-
withIsmanaged
public Roleprivileges withIsmanaged(Boolean ismanaged)
-
getCanbedeleted
public Optional<BooleanManagedProperty> getCanbedeleted()
-
withCanbedeleted
public Roleprivileges withCanbedeleted(BooleanManagedProperty canbedeleted)
-
withRoleprivilegeidunique
public Roleprivileges withRoleprivilegeidunique(UUID roleprivilegeidunique)
-
withRoleprivilegeid
public Roleprivileges withRoleprivilegeid(UUID roleprivilegeid)
-
withSolutionid
public Roleprivileges withSolutionid(UUID solutionid)
-
withVersionnumber
public Roleprivileges withVersionnumber(Long versionnumber)
-
withComponentstate
public Roleprivileges withComponentstate(Integer componentstate)
-
getOverwritetime
public Optional<OffsetDateTime> getOverwritetime()
-
withOverwritetime
public Roleprivileges withOverwritetime(OffsetDateTime overwritetime)
-
withUnmappedField
public Roleprivileges withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Roleprivileges patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Roleprivileges put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classCrmbaseentity
-
-