Class Term
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.termStore.entity.Term
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Term extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTerm.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected List<LocalizedDescription>descriptionsprotected StringdescriptionsNextLinkprotected List<LocalizedLabel>labelsprotected StringlabelsNextLinkprotected OffsetDateTimelastModifiedDateTimeprotected List<KeyValue>propertiesprotected StringpropertiesNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTerm()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Term.BuilderbuilderTerm()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()TermCollectionRequestgetChildren()Optional<OffsetDateTime>getCreatedDateTime()com.github.davidmoten.odata.client.CollectionPage<LocalizedDescription>getDescriptions()com.github.davidmoten.odata.client.CollectionPage<LocalizedDescription>getDescriptions(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<LocalizedLabel>getLabels()com.github.davidmoten.odata.client.CollectionPage<LocalizedLabel>getLabels(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<OffsetDateTime>getLastModifiedDateTime()com.github.davidmoten.odata.client.CollectionPage<KeyValue>getProperties()com.github.davidmoten.odata.client.CollectionPage<KeyValue>getProperties(com.github.davidmoten.odata.client.HttpRequestOptions options)RelationCollectionRequestgetRelations()SetRequestgetSet()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Termpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Termput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()TermwithCreatedDateTime(OffsetDateTime createdDateTime)TermwithDescriptions(List<LocalizedDescription> descriptions)TermwithLabels(List<LocalizedLabel> labels)TermwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)TermwithProperties(List<KeyValue> properties)TermwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
descriptions
protected List<LocalizedDescription> descriptions
-
descriptionsNextLink
protected String descriptionsNextLink
-
labels
protected List<LocalizedLabel> labels
-
labelsNextLink
protected String labelsNextLink
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
propertiesNextLink
protected String propertiesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderTerm
public static Term.Builder builderTerm()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public Term withCreatedDateTime(OffsetDateTime createdDateTime)
-
getDescriptions
public com.github.davidmoten.odata.client.CollectionPage<LocalizedDescription> getDescriptions()
-
withDescriptions
public Term withDescriptions(List<LocalizedDescription> descriptions)
-
getDescriptions
public com.github.davidmoten.odata.client.CollectionPage<LocalizedDescription> getDescriptions(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getLabels
public com.github.davidmoten.odata.client.CollectionPage<LocalizedLabel> getLabels()
-
withLabels
public Term withLabels(List<LocalizedLabel> labels)
-
getLabels
public com.github.davidmoten.odata.client.CollectionPage<LocalizedLabel> getLabels(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public Term withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getProperties
public com.github.davidmoten.odata.client.CollectionPage<KeyValue> getProperties()
-
getProperties
public com.github.davidmoten.odata.client.CollectionPage<KeyValue> getProperties(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public Term withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getChildren
public TermCollectionRequest getChildren()
-
getRelations
public RelationCollectionRequest getRelations()
-
getSet
public SetRequest getSet()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Term patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Term put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-