Package microsoft.dynamics.crm.entity
Class Entityrelationship
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Entityrelationship
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Entityrelationship extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntityrelationship.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Integercomponentstateprotected Stringentityrelationshipidprotected OffsetDateTimeoverwritetimeprotected Stringschemanameprotected Stringsolutionid-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEntityrelationship()
-
Method Summary
-
-
-
Field Detail
-
entityrelationshipid
protected String entityrelationshipid
-
componentstate
protected Integer componentstate
-
schemaname
protected String schemaname
-
solutionid
protected String solutionid
-
overwritetime
protected OffsetDateTime overwritetime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderEntityrelationship
public static Entityrelationship.Builder builderEntityrelationship()
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
-
withEntityrelationshipid
public Entityrelationship withEntityrelationshipid(String entityrelationshipid)
-
withComponentstate
public Entityrelationship withComponentstate(Integer componentstate)
-
withSchemaname
public Entityrelationship withSchemaname(String schemaname)
-
withSolutionid
public Entityrelationship withSolutionid(String solutionid)
-
getOverwritetime
public Optional<OffsetDateTime> getOverwritetime()
-
withOverwritetime
public Entityrelationship withOverwritetime(OffsetDateTime overwritetime)
-
withUnmappedField
public Entityrelationship withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getEntityrelationship_config
public SolutioncomponentrelationshipconfigurationCollectionRequest getEntityrelationship_config()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Entityrelationship 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 Entityrelationship 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
-
-