Package microsoft.dynamics.crm.entity
Class Timestampdatemapping
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Timestampdatemapping
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Timestampdatemapping extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimestampdatemapping.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimedateprotected Longtimestampprotected Stringtimestampdatemappingid-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTimestampdatemapping()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Timestampdatemapping.BuilderbuilderTimestampdatemapping()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getDate()Optional<Long>getTimestamp()Optional<String>getTimestampdatemappingid()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Timestampdatemappingpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Timestampdatemappingput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()TimestampdatemappingwithDate(OffsetDateTime date)TimestampdatemappingwithTimestamp(Long timestamp)TimestampdatemappingwithTimestampdatemappingid(String timestampdatemappingid)TimestampdatemappingwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
timestamp
protected Long timestamp
-
date
protected OffsetDateTime date
-
timestampdatemappingid
protected String timestampdatemappingid
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderTimestampdatemapping
public static Timestampdatemapping.Builder builderTimestampdatemapping()
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
-
withTimestamp
public Timestampdatemapping withTimestamp(Long timestamp)
-
getDate
public Optional<OffsetDateTime> getDate()
-
withDate
public Timestampdatemapping withDate(OffsetDateTime date)
-
withTimestampdatemappingid
public Timestampdatemapping withTimestampdatemappingid(String timestampdatemappingid)
-
withUnmappedField
public Timestampdatemapping 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 Timestampdatemapping 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 Timestampdatemapping 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
-
-