Class Tag
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.ediscovery.entity.Tag
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Tag extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTag.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ChildSelectabilitychildSelectabilityprotected IdentitySetcreatedByprotected Stringdescriptionprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTime-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTag()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Tag.BuilderbuilderTag()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()Optional<ChildSelectability>getChildSelectability()TagCollectionRequestgetChildTags()Optional<IdentitySet>getCreatedBy()Optional<String>getDescription()Optional<String>getDisplayName()Optional<OffsetDateTime>getLastModifiedDateTime()TagRequestgetParent()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Tagpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Tagput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()TagwithChildSelectability(ChildSelectability childSelectability)TagwithCreatedBy(IdentitySet createdBy)TagwithDescription(String description)TagwithDisplayName(String displayName)TagwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)TagwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
childSelectability
protected ChildSelectability childSelectability
-
createdBy
protected IdentitySet createdBy
-
description
protected String description
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderTag
public static Tag.Builder builderTag()
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
-
getChildSelectability
public Optional<ChildSelectability> getChildSelectability()
-
withChildSelectability
public Tag withChildSelectability(ChildSelectability childSelectability)
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
-
withCreatedBy
public Tag withCreatedBy(IdentitySet createdBy)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public Tag withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
withUnmappedField
public Tag withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getChildTags
public TagCollectionRequest getChildTags()
-
getParent
public TagRequest getParent()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Tag patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Tag put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-