Package microsoft.dynamics.crm.entity
Class Privilege
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Privilege
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Privilege extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrivilege.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Integeraccessrightprotected Booleancanbebasicprotected Booleancanbedeepprotected Booleancanbeentityreferenceprotected Booleancanbeglobalprotected Booleancanbelocalprotected Booleancanbeparententityreferenceprotected Integercomponentstateprotected Stringintroducedversionprotected Booleanismanagedprotected Stringnameprotected OffsetDateTimeoverwritetimeprotected Stringprivilegeidprotected Stringprivilegerowidprotected Stringsolutionidprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPrivilege()
-
Method Summary
-
-
-
Field Detail
-
privilegerowid
protected String privilegerowid
-
canbebasic
protected Boolean canbebasic
-
accessright
protected Integer accessright
-
privilegeid
protected String privilegeid
-
overwritetime
protected OffsetDateTime overwritetime
-
componentstate
protected Integer componentstate
-
solutionid
protected String solutionid
-
canbeentityreference
protected Boolean canbeentityreference
-
canbeglobal
protected Boolean canbeglobal
-
canbedeep
protected Boolean canbedeep
-
name
protected String name
-
canbeparententityreference
protected Boolean canbeparententityreference
-
ismanaged
protected Boolean ismanaged
-
versionnumber
protected Long versionnumber
-
introducedversion
protected String introducedversion
-
canbelocal
protected Boolean canbelocal
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderPrivilege
public static Privilege.Builder builderPrivilege()
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
-
getOverwritetime
public Optional<OffsetDateTime> getOverwritetime()
-
withOverwritetime
public Privilege withOverwritetime(OffsetDateTime overwritetime)
-
withCanbeparententityreference
public Privilege withCanbeparententityreference(Boolean canbeparententityreference)
-
withUnmappedField
public Privilege withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getRoletemplateprivileges_association
public RoletemplateCollectionRequest getRoletemplateprivileges_association()
-
getRoleprivileges_association
public RoleCollectionRequest getRoleprivileges_association()
-
getPrivilege_AsyncOperations
public AsyncoperationCollectionRequest getPrivilege_AsyncOperations()
-
getPrivilege_BulkDeleteFailures
public BulkdeletefailureCollectionRequest getPrivilege_BulkDeleteFailures()
-
getSolution_privilege
public SolutionRequest getSolution_privilege()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Privilege 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 Privilege 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
-
-