Package microsoft.dynamics.crm.entity
Class Knowledgearticlescategories
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Knowledgearticlescategories
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Knowledgearticlescategories extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKnowledgearticlescategories.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUIDcategoryidprotected UUIDknowledgearticlecategoryidprotected UUIDknowledgearticleidprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedKnowledgearticlescategories()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Knowledgearticlescategories.BuilderbuilderKnowledgearticlescategories()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<UUID>getCategoryid()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<UUID>getKnowledgearticlecategoryid()Optional<UUID>getKnowledgearticleid()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Long>getVersionnumber()StringodataTypeName()Knowledgearticlescategoriespatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Knowledgearticlescategoriesput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()KnowledgearticlescategorieswithCategoryid(UUID categoryid)KnowledgearticlescategorieswithKnowledgearticlecategoryid(UUID knowledgearticlecategoryid)KnowledgearticlescategorieswithKnowledgearticleid(UUID knowledgearticleid)KnowledgearticlescategorieswithUnmappedField(String name, String value)KnowledgearticlescategorieswithVersionnumber(Long versionnumber)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderKnowledgearticlescategories
public static Knowledgearticlescategories.Builder builderKnowledgearticlescategories()
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
-
withKnowledgearticlecategoryid
public Knowledgearticlescategories withKnowledgearticlecategoryid(UUID knowledgearticlecategoryid)
-
withCategoryid
public Knowledgearticlescategories withCategoryid(UUID categoryid)
-
withKnowledgearticleid
public Knowledgearticlescategories withKnowledgearticleid(UUID knowledgearticleid)
-
withVersionnumber
public Knowledgearticlescategories withVersionnumber(Long versionnumber)
-
withUnmappedField
public Knowledgearticlescategories withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Knowledgearticlescategories 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 Knowledgearticlescategories 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
-
-