Class Set
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.termStore.entity.Set
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Set extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSet.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected List<LocalizedName>localizedNamesprotected StringlocalizedNamesNextLinkprotected 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 protectedSet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Set.BuilderbuilderSet()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()Optional<String>getDescription()com.github.davidmoten.odata.client.CollectionPage<LocalizedName>getLocalizedNames()com.github.davidmoten.odata.client.CollectionPage<LocalizedName>getLocalizedNames(com.github.davidmoten.odata.client.HttpRequestOptions options)GroupRequestgetParentGroup()com.github.davidmoten.odata.client.CollectionPage<KeyValue>getProperties()com.github.davidmoten.odata.client.CollectionPage<KeyValue>getProperties(com.github.davidmoten.odata.client.HttpRequestOptions options)RelationCollectionRequestgetRelations()TermCollectionRequestgetTerms()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Setpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Setput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SetwithCreatedDateTime(OffsetDateTime createdDateTime)SetwithDescription(String description)SetwithLocalizedNames(List<LocalizedName> localizedNames)SetwithProperties(List<KeyValue> properties)SetwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
localizedNames
protected List<LocalizedName> localizedNames
-
localizedNamesNextLink
protected String localizedNamesNextLink
-
propertiesNextLink
protected String propertiesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSet
public static Set.Builder builderSet()
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 Set withCreatedDateTime(OffsetDateTime createdDateTime)
-
getLocalizedNames
public com.github.davidmoten.odata.client.CollectionPage<LocalizedName> getLocalizedNames()
-
withLocalizedNames
public Set withLocalizedNames(List<LocalizedName> localizedNames)
-
getLocalizedNames
public com.github.davidmoten.odata.client.CollectionPage<LocalizedName> getLocalizedNames(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
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 Set withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getChildren
public TermCollectionRequest getChildren()
-
getParentGroup
public GroupRequest getParentGroup()
-
getRelations
public RelationCollectionRequest getRelations()
-
getTerms
public TermCollectionRequest getTerms()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Set patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Set put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-