Package microsoft.dynamics.crm.entity
Class Post
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Post
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Post extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPost.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUID_createdby_valueprotected UUID_createdonbehalfby_valueprotected UUID_modifiedby_valueprotected UUID_modifiedonbehalfby_valueprotected UUID_organizationid_valueprotected UUID_regardingobjectid_valueprotected UUID_regardingobjectownerid_valueprotected UUID_regardingobjectowningbusinessunit_valueprotected OffsetDateTimecreatedonprotected OffsetDateTimemodifiedonprotected UUIDpostidprotected Integersourceprotected Stringtextprotected Integertimezoneruleversionnumberprotected Integertypeprotected Integerutcconversiontimezonecode-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPost()
-
Method Summary
-
-
-
Field Detail
-
_regardingobjectid_value
protected UUID _regardingobjectid_value
-
createdon
protected OffsetDateTime createdon
-
type
protected Integer type
-
text
protected String text
-
_organizationid_value
protected UUID _organizationid_value
-
source
protected Integer source
-
_createdby_value
protected UUID _createdby_value
-
timezoneruleversionnumber
protected Integer timezoneruleversionnumber
-
_regardingobjectowningbusinessunit_value
protected UUID _regardingobjectowningbusinessunit_value
-
utcconversiontimezonecode
protected Integer utcconversiontimezonecode
-
modifiedon
protected OffsetDateTime modifiedon
-
_regardingobjectownerid_value
protected UUID _regardingobjectownerid_value
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
_modifiedby_value
protected UUID _modifiedby_value
-
postid
protected UUID postid
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderPost
public static Post.Builder builderPost()
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_regardingobjectid_value
public Post with_regardingobjectid_value(UUID _regardingobjectid_value)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Post withCreatedon(OffsetDateTime createdon)
-
withTimezoneruleversionnumber
public Post withTimezoneruleversionnumber(Integer timezoneruleversionnumber)
-
get_regardingobjectowningbusinessunit_value
public Optional<UUID> get_regardingobjectowningbusinessunit_value()
-
with_regardingobjectowningbusinessunit_value
public Post with_regardingobjectowningbusinessunit_value(UUID _regardingobjectowningbusinessunit_value)
-
withUtcconversiontimezonecode
public Post withUtcconversiontimezonecode(Integer utcconversiontimezonecode)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Post withModifiedon(OffsetDateTime modifiedon)
-
with_regardingobjectownerid_value
public Post with_regardingobjectownerid_value(UUID _regardingobjectownerid_value)
-
with_createdonbehalfby_value
public Post with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
with_modifiedonbehalfby_value
public Post with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
withUnmappedField
public Post withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getPost_AsyncOperations
public AsyncoperationCollectionRequest getPost_AsyncOperations()
-
getPost_BulkDeleteFailures
public BulkdeletefailureCollectionRequest getPost_BulkDeleteFailures()
-
getPostregardingid
public PostregardingRequest getPostregardingid()
-
getOrganizationid
public OrganizationRequest getOrganizationid()
-
getPost_Comments
public PostcommentCollectionRequest getPost_Comments()
-
getPost_Likes
public PostlikeCollectionRequest getPost_Likes()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Post 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 Post 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
-
-