Package microsoft.dynamics.crm.entity
Class Timezonedefinition
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Timezonedefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Timezonedefinition extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimezonedefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected String_createdby_valueprotected String_createdonbehalfby_valueprotected String_modifiedby_valueprotected String_modifiedonbehalfby_valueprotected String_organizationid_valueprotected Integerbiasprotected OffsetDateTimecreatedonprotected Stringdaylightnameprotected OffsetDateTimemodifiedonprotected Integerretiredorderprotected Stringstandardnameprotected Integertimezonecodeprotected Stringtimezonedefinitionidprotected Stringuserinterfacenameprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTimezonedefinition()
-
Method Summary
-
-
-
Field Detail
-
timezonecode
protected Integer timezonecode
-
versionnumber
protected Long versionnumber
-
userinterfacename
protected String userinterfacename
-
bias
protected Integer bias
-
retiredorder
protected Integer retiredorder
-
modifiedon
protected OffsetDateTime modifiedon
-
_createdonbehalfby_value
protected String _createdonbehalfby_value
-
createdon
protected OffsetDateTime createdon
-
standardname
protected String standardname
-
daylightname
protected String daylightname
-
_createdby_value
protected String _createdby_value
-
timezonedefinitionid
protected String timezonedefinitionid
-
_modifiedby_value
protected String _modifiedby_value
-
_organizationid_value
protected String _organizationid_value
-
_modifiedonbehalfby_value
protected String _modifiedonbehalfby_value
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderTimezonedefinition
public static Timezonedefinition.Builder builderTimezonedefinition()
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
-
withTimezonecode
public Timezonedefinition withTimezonecode(Integer timezonecode)
-
withVersionnumber
public Timezonedefinition withVersionnumber(Long versionnumber)
-
withUserinterfacename
public Timezonedefinition withUserinterfacename(String userinterfacename)
-
withBias
public Timezonedefinition withBias(Integer bias)
-
withRetiredorder
public Timezonedefinition withRetiredorder(Integer retiredorder)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Timezonedefinition withModifiedon(OffsetDateTime modifiedon)
-
with_createdonbehalfby_value
public Timezonedefinition with_createdonbehalfby_value(String _createdonbehalfby_value)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Timezonedefinition withCreatedon(OffsetDateTime createdon)
-
withStandardname
public Timezonedefinition withStandardname(String standardname)
-
withDaylightname
public Timezonedefinition withDaylightname(String daylightname)
-
with_createdby_value
public Timezonedefinition with_createdby_value(String _createdby_value)
-
withTimezonedefinitionid
public Timezonedefinition withTimezonedefinitionid(String timezonedefinitionid)
-
with_modifiedby_value
public Timezonedefinition with_modifiedby_value(String _modifiedby_value)
-
with_organizationid_value
public Timezonedefinition with_organizationid_value(String _organizationid_value)
-
with_modifiedonbehalfby_value
public Timezonedefinition with_modifiedonbehalfby_value(String _modifiedonbehalfby_value)
-
withUnmappedField
public Timezonedefinition withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getLk_timezonelocalizedname_timezonedefinitionid
public TimezonelocalizednameCollectionRequest getLk_timezonelocalizedname_timezonedefinitionid()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getLk_timezonerule_timezonedefinitionid
public TimezoneruleCollectionRequest getLk_timezonerule_timezonedefinitionid()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Timezonedefinition 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 Timezonedefinition 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
-
-