Package microsoft.dynamics.crm.entity
Class Calendar
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Calendar
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Calendar extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCalendar.Builder
-
Field Summary
Fields Modifier and Type Field Description protected String_businessunitid_valueprotected String_createdby_valueprotected String_createdonbehalfby_valueprotected String_holidayschedulecalendarid_valueprotected String_modifiedby_valueprotected String_modifiedonbehalfby_valueprotected String_organizationid_valueprotected Stringcalendaridprotected OffsetDateTimecreatedonprotected Stringdescriptionprotected Booleanissharedprotected OffsetDateTimemodifiedonprotected Stringnameprotected Stringprimaryuseridprotected Integertypeprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCalendar()
-
Method Summary
-
-
-
Field Detail
-
name
protected String name
-
_modifiedonbehalfby_value
protected String _modifiedonbehalfby_value
-
type
protected Integer type
-
primaryuserid
protected String primaryuserid
-
_createdonbehalfby_value
protected String _createdonbehalfby_value
-
_businessunitid_value
protected String _businessunitid_value
-
description
protected String description
-
versionnumber
protected Long versionnumber
-
createdon
protected OffsetDateTime createdon
-
modifiedon
protected OffsetDateTime modifiedon
-
_holidayschedulecalendarid_value
protected String _holidayschedulecalendarid_value
-
calendarid
protected String calendarid
-
_createdby_value
protected String _createdby_value
-
isshared
protected Boolean isshared
-
_organizationid_value
protected String _organizationid_value
-
_modifiedby_value
protected String _modifiedby_value
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderCalendar
public static Calendar.Builder builderCalendar()
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
-
with_modifiedonbehalfby_value
public Calendar with_modifiedonbehalfby_value(String _modifiedonbehalfby_value)
-
with_createdonbehalfby_value
public Calendar with_createdonbehalfby_value(String _createdonbehalfby_value)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Calendar withCreatedon(OffsetDateTime createdon)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Calendar withModifiedon(OffsetDateTime modifiedon)
-
with_holidayschedulecalendarid_value
public Calendar with_holidayschedulecalendarid_value(String _holidayschedulecalendarid_value)
-
withUnmappedField
public Calendar withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getCalendar_calendar_rules
public CalendarruleCollectionRequest getCalendar_calendar_rules()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getCalendar_BulkDeleteFailures
public BulkdeletefailureCollectionRequest getCalendar_BulkDeleteFailures()
-
getSlabase_businesshoursid
public SlaCollectionRequest getSlabase_businesshoursid()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getCalendar_organization
public OrganizationCollectionRequest getCalendar_organization()
-
getBusinessunitid
public BusinessunitRequest getBusinessunitid()
-
getBusinessUnit_Calendar
public BusinessunitCollectionRequest getBusinessUnit_Calendar()
-
getCalendar_Annotation
public AnnotationCollectionRequest getCalendar_Annotation()
-
getHolidayschedulecalendarid
public CalendarRequest getHolidayschedulecalendarid()
-
getCalendar_customercalendar_holidaycalendar
public CalendarCollectionRequest getCalendar_customercalendar_holidaycalendar()
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getCalendar_system_users
public SystemuserCollectionRequest getCalendar_system_users()
-
getCalendar_AsyncOperations
public AsyncoperationCollectionRequest getCalendar_AsyncOperations()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getInner_calendar_calendar_rules
public CalendarruleCollectionRequest getInner_calendar_calendar_rules()
-
getOrganizationid
public OrganizationRequest getOrganizationid()
-
getCalendar_slaitem
public SlaitemCollectionRequest getCalendar_slaitem()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Calendar 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 Calendar 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
-
expandCalendar
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<ExpandCalendarResponse> expandCalendar(OffsetDateTime start, OffsetDateTime end)
-
toString
public String toString()
- Overrides:
toStringin classCrmbaseentity
-
-