Package microsoft.dynamics.crm.entity
Class Fieldpermission
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Fieldpermission
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Fieldpermission extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFieldpermission.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUID_fieldsecurityprofileid_valueprotected UUID_organizationid_valueprotected Stringattributelogicalnameprotected Integercancreateprotected Integercanreadprotected Integercanupdateprotected Integercomponentstateprotected Stringentitynameprotected UUIDfieldpermissionidprotected UUIDfieldpermissioniduniqueprotected Booleanismanagedprotected OffsetDateTimeoverwritetimeprotected UUIDsolutionidprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFieldpermission()
-
Method Summary
-
-
-
Field Detail
-
fieldpermissionid
protected UUID fieldpermissionid
-
ismanaged
protected Boolean ismanaged
-
componentstate
protected Integer componentstate
-
canupdate
protected Integer canupdate
-
overwritetime
protected OffsetDateTime overwritetime
-
solutionid
protected UUID solutionid
-
entityname
protected String entityname
-
canread
protected Integer canread
-
_organizationid_value
protected UUID _organizationid_value
-
cancreate
protected Integer cancreate
-
_fieldsecurityprofileid_value
protected UUID _fieldsecurityprofileid_value
-
versionnumber
protected Long versionnumber
-
fieldpermissionidunique
protected UUID fieldpermissionidunique
-
attributelogicalname
protected String attributelogicalname
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderFieldpermission
public static Fieldpermission.Builder builderFieldpermission()
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
-
withFieldpermissionid
public Fieldpermission withFieldpermissionid(UUID fieldpermissionid)
-
withIsmanaged
public Fieldpermission withIsmanaged(Boolean ismanaged)
-
withComponentstate
public Fieldpermission withComponentstate(Integer componentstate)
-
withCanupdate
public Fieldpermission withCanupdate(Integer canupdate)
-
getOverwritetime
public Optional<OffsetDateTime> getOverwritetime()
-
withOverwritetime
public Fieldpermission withOverwritetime(OffsetDateTime overwritetime)
-
withSolutionid
public Fieldpermission withSolutionid(UUID solutionid)
-
withEntityname
public Fieldpermission withEntityname(String entityname)
-
withCanread
public Fieldpermission withCanread(Integer canread)
-
with_organizationid_value
public Fieldpermission with_organizationid_value(UUID _organizationid_value)
-
withCancreate
public Fieldpermission withCancreate(Integer cancreate)
-
with_fieldsecurityprofileid_value
public Fieldpermission with_fieldsecurityprofileid_value(UUID _fieldsecurityprofileid_value)
-
withVersionnumber
public Fieldpermission withVersionnumber(Long versionnumber)
-
withFieldpermissionidunique
public Fieldpermission withFieldpermissionidunique(UUID fieldpermissionidunique)
-
withAttributelogicalname
public Fieldpermission withAttributelogicalname(String attributelogicalname)
-
withUnmappedField
public Fieldpermission withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getFieldPermission_SyncErrors
public SyncerrorCollectionRequest getFieldPermission_SyncErrors()
-
getFieldsecurityprofileid
public FieldsecurityprofileRequest getFieldsecurityprofileid()
-
getSolution_fieldpermission
public SolutionRequest getSolution_fieldpermission()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Fieldpermission 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 Fieldpermission 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
-
-