Package microsoft.dynamics.crm.entity
Class Timezonerule
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Timezonerule
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Timezonerule extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimezonerule.Builder
-
Field Summary
-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTimezonerule()
-
Method Summary
-
-
-
Field Detail
-
daylighthour
protected Integer daylighthour
-
daylightminute
protected Integer daylightminute
-
standardsecond
protected Integer standardsecond
-
createdon
protected OffsetDateTime createdon
-
standardmonth
protected Integer standardmonth
-
standardhour
protected Integer standardhour
-
bias
protected Integer bias
-
_timezonedefinitionid_value
protected UUID _timezonedefinitionid_value
-
versionnumber
protected Long versionnumber
-
modifiedon
protected OffsetDateTime modifiedon
-
standardday
protected Integer standardday
-
daylightbias
protected Integer daylightbias
-
standardminute
protected Integer standardminute
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
timezoneruleid
protected UUID timezoneruleid
-
daylightyear
protected Integer daylightyear
-
standardbias
protected Integer standardbias
-
timezoneruleversionnumber
protected Integer timezoneruleversionnumber
-
standardyear
protected Integer standardyear
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
_createdby_value
protected UUID _createdby_value
-
standarddayofweek
protected Integer standarddayofweek
-
daylightsecond
protected Integer daylightsecond
-
daylightmonth
protected Integer daylightmonth
-
_organizationid_value
protected UUID _organizationid_value
-
daylightdayofweek
protected Integer daylightdayofweek
-
_modifiedby_value
protected UUID _modifiedby_value
-
daylightday
protected Integer daylightday
-
effectivedatetime
protected OffsetDateTime effectivedatetime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderTimezonerule
public static Timezonerule.Builder builderTimezonerule()
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
-
withDaylighthour
public Timezonerule withDaylighthour(Integer daylighthour)
-
withDaylightminute
public Timezonerule withDaylightminute(Integer daylightminute)
-
withStandardsecond
public Timezonerule withStandardsecond(Integer standardsecond)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Timezonerule withCreatedon(OffsetDateTime createdon)
-
withStandardmonth
public Timezonerule withStandardmonth(Integer standardmonth)
-
withStandardhour
public Timezonerule withStandardhour(Integer standardhour)
-
withBias
public Timezonerule withBias(Integer bias)
-
with_timezonedefinitionid_value
public Timezonerule with_timezonedefinitionid_value(UUID _timezonedefinitionid_value)
-
withVersionnumber
public Timezonerule withVersionnumber(Long versionnumber)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Timezonerule withModifiedon(OffsetDateTime modifiedon)
-
withStandardday
public Timezonerule withStandardday(Integer standardday)
-
withDaylightbias
public Timezonerule withDaylightbias(Integer daylightbias)
-
withStandardminute
public Timezonerule withStandardminute(Integer standardminute)
-
with_createdonbehalfby_value
public Timezonerule with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
withTimezoneruleid
public Timezonerule withTimezoneruleid(UUID timezoneruleid)
-
withDaylightyear
public Timezonerule withDaylightyear(Integer daylightyear)
-
withStandardbias
public Timezonerule withStandardbias(Integer standardbias)
-
withTimezoneruleversionnumber
public Timezonerule withTimezoneruleversionnumber(Integer timezoneruleversionnumber)
-
withStandardyear
public Timezonerule withStandardyear(Integer standardyear)
-
with_modifiedonbehalfby_value
public Timezonerule with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
with_createdby_value
public Timezonerule with_createdby_value(UUID _createdby_value)
-
withStandarddayofweek
public Timezonerule withStandarddayofweek(Integer standarddayofweek)
-
withDaylightsecond
public Timezonerule withDaylightsecond(Integer daylightsecond)
-
withDaylightmonth
public Timezonerule withDaylightmonth(Integer daylightmonth)
-
with_organizationid_value
public Timezonerule with_organizationid_value(UUID _organizationid_value)
-
withDaylightdayofweek
public Timezonerule withDaylightdayofweek(Integer daylightdayofweek)
-
with_modifiedby_value
public Timezonerule with_modifiedby_value(UUID _modifiedby_value)
-
withDaylightday
public Timezonerule withDaylightday(Integer daylightday)
-
getEffectivedatetime
public Optional<OffsetDateTime> getEffectivedatetime()
-
withEffectivedatetime
public Timezonerule withEffectivedatetime(OffsetDateTime effectivedatetime)
-
withUnmappedField
public Timezonerule withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getTimezonedefinitionid
public TimezonedefinitionRequest getTimezonedefinitionid()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Timezonerule 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 Timezonerule 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
-
-