Package microsoft.dynamics.crm.entity
Class Principalobjectaccess
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Principalobjectaccess
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Principalobjectaccess extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrincipalobjectaccess.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Integeraccessrightsmaskprotected OffsetDateTimechangedonprotected Integerinheritedaccessrightsmaskprotected UUIDobjectidprotected Stringobjecttypecodeprotected UUIDprincipalidprotected UUIDprincipalobjectaccessidprotected Stringprincipaltypecodeprotected Integertimezoneruleversionnumberprotected Integerutcconversiontimezonecodeprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPrincipalobjectaccess()
-
Method Summary
-
-
-
Field Detail
-
timezoneruleversionnumber
protected Integer timezoneruleversionnumber
-
principalobjectaccessid
protected UUID principalobjectaccessid
-
changedon
protected OffsetDateTime changedon
-
principalid
protected UUID principalid
-
versionnumber
protected Long versionnumber
-
objecttypecode
protected String objecttypecode
-
utcconversiontimezonecode
protected Integer utcconversiontimezonecode
-
objectid
protected UUID objectid
-
principaltypecode
protected String principaltypecode
-
inheritedaccessrightsmask
protected Integer inheritedaccessrightsmask
-
accessrightsmask
protected Integer accessrightsmask
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderPrincipalobjectaccess
public static Principalobjectaccess.Builder builderPrincipalobjectaccess()
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
-
withTimezoneruleversionnumber
public Principalobjectaccess withTimezoneruleversionnumber(Integer timezoneruleversionnumber)
-
withPrincipalobjectaccessid
public Principalobjectaccess withPrincipalobjectaccessid(UUID principalobjectaccessid)
-
getChangedon
public Optional<OffsetDateTime> getChangedon()
-
withChangedon
public Principalobjectaccess withChangedon(OffsetDateTime changedon)
-
withPrincipalid
public Principalobjectaccess withPrincipalid(UUID principalid)
-
withVersionnumber
public Principalobjectaccess withVersionnumber(Long versionnumber)
-
withObjecttypecode
public Principalobjectaccess withObjecttypecode(String objecttypecode)
-
withUtcconversiontimezonecode
public Principalobjectaccess withUtcconversiontimezonecode(Integer utcconversiontimezonecode)
-
withObjectid
public Principalobjectaccess withObjectid(UUID objectid)
-
withPrincipaltypecode
public Principalobjectaccess withPrincipaltypecode(String principaltypecode)
-
withInheritedaccessrightsmask
public Principalobjectaccess withInheritedaccessrightsmask(Integer inheritedaccessrightsmask)
-
withAccessrightsmask
public Principalobjectaccess withAccessrightsmask(Integer accessrightsmask)
-
withUnmappedField
public Principalobjectaccess withUnmappedField(String name, String 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 Principalobjectaccess 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 Principalobjectaccess 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
-
-