Package microsoft.dynamics.crm.entity
Class Category
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Category
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Category extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCategory.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUID_createdby_valueprotected UUID_createdonbehalfby_valueprotected UUID_modifiedby_valueprotected UUID_modifiedonbehalfby_valueprotected UUID_ownerid_valueprotected UUID_owningbusinessunit_valueprotected UUID_owningteam_valueprotected UUID_owninguser_valueprotected UUID_parentcategoryid_valueprotected UUID_transactioncurrencyid_valueprotected UUIDcategoryidprotected Stringcategorynumberprotected OffsetDateTimecreatedonprotected Stringdescriptionprotected BigDecimalexchangerateprotected Integerimportsequencenumberprotected OffsetDateTimemodifiedonprotected OffsetDateTimeoverriddencreatedonprotected Integersequencenumberprotected Stringtitleprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCategory()
-
Method Summary
-
-
-
Field Detail
-
_modifiedby_value
protected UUID _modifiedby_value
-
_createdonbehalfby_value
protected UUID _createdonbehalfby_value
-
modifiedon
protected OffsetDateTime modifiedon
-
createdon
protected OffsetDateTime createdon
-
title
protected String title
-
description
protected String description
-
overriddencreatedon
protected OffsetDateTime overriddencreatedon
-
_ownerid_value
protected UUID _ownerid_value
-
categorynumber
protected String categorynumber
-
_modifiedonbehalfby_value
protected UUID _modifiedonbehalfby_value
-
_owningteam_value
protected UUID _owningteam_value
-
_parentcategoryid_value
protected UUID _parentcategoryid_value
-
sequencenumber
protected Integer sequencenumber
-
_createdby_value
protected UUID _createdby_value
-
_transactioncurrencyid_value
protected UUID _transactioncurrencyid_value
-
exchangerate
protected BigDecimal exchangerate
-
_owningbusinessunit_value
protected UUID _owningbusinessunit_value
-
versionnumber
protected Long versionnumber
-
importsequencenumber
protected Integer importsequencenumber
-
_owninguser_value
protected UUID _owninguser_value
-
categoryid
protected UUID categoryid
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderCategory
public static Category.Builder builderCategory()
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_createdonbehalfby_value
public Category with_createdonbehalfby_value(UUID _createdonbehalfby_value)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Category withModifiedon(OffsetDateTime modifiedon)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Category withCreatedon(OffsetDateTime createdon)
-
getOverriddencreatedon
public Optional<OffsetDateTime> getOverriddencreatedon()
-
withOverriddencreatedon
public Category withOverriddencreatedon(OffsetDateTime overriddencreatedon)
-
with_modifiedonbehalfby_value
public Category with_modifiedonbehalfby_value(UUID _modifiedonbehalfby_value)
-
with_parentcategoryid_value
public Category with_parentcategoryid_value(UUID _parentcategoryid_value)
-
with_transactioncurrencyid_value
public Category with_transactioncurrencyid_value(UUID _transactioncurrencyid_value)
-
getExchangerate
public Optional<BigDecimal> getExchangerate()
-
withExchangerate
public Category withExchangerate(BigDecimal exchangerate)
-
with_owningbusinessunit_value
public Category with_owningbusinessunit_value(UUID _owningbusinessunit_value)
-
withUnmappedField
public Category withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getParentcategoryid
public CategoryRequest getParentcategoryid()
-
getCategory_parent_category
public CategoryCollectionRequest getCategory_parent_category()
-
getCategory_SyncErrors
public SyncerrorCollectionRequest getCategory_SyncErrors()
-
getLk_category_modifiedonbehalfby
public SystemuserRequest getLk_category_modifiedonbehalfby()
-
getOwnerid
public PrincipalRequest getOwnerid()
-
getLk_category_createdonbehalfby
public SystemuserRequest getLk_category_createdonbehalfby()
-
getTransactioncurrencyid
public TransactioncurrencyRequest getTransactioncurrencyid()
-
getLk_category_modifiedby
public SystemuserRequest getLk_category_modifiedby()
-
getKnowledgearticle_category
public KnowledgearticleCollectionRequest getKnowledgearticle_category()
-
getLk_category_createdby
public SystemuserRequest getLk_category_createdby()
-
getOwningbusinessunit
public BusinessunitRequest getOwningbusinessunit()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Category 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 Category 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
-
-