Package odata.msgraph.client.entity
Class SchemaExtension
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.SchemaExtension
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SchemaExtension extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchemaExtension.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected Stringownerprotected List<ExtensionSchemaProperty>propertiesprotected StringpropertiesNextLinkprotected Stringstatusprotected List<String>targetTypesprotected StringtargetTypesNextLink-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSchemaExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SchemaExtension.BuilderbuilderSchemaExtension()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<String>getDescription()Optional<String>getOwner()com.github.davidmoten.odata.client.CollectionPage<ExtensionSchemaProperty>getProperties()com.github.davidmoten.odata.client.CollectionPage<ExtensionSchemaProperty>getProperties(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getStatus()com.github.davidmoten.odata.client.CollectionPage<String>getTargetTypes()com.github.davidmoten.odata.client.CollectionPage<String>getTargetTypes(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()SchemaExtensionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SchemaExtensionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SchemaExtensionwithDescription(String description)SchemaExtensionwithOwner(String owner)SchemaExtensionwithProperties(List<ExtensionSchemaProperty> properties)SchemaExtensionwithStatus(String status)SchemaExtensionwithTargetTypes(List<String> targetTypes)SchemaExtensionwithUnmappedField(String name, Object value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSchemaExtension
public static SchemaExtension.Builder builderSchemaExtension()
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
-
withDescription
public SchemaExtension withDescription(String description)
-
withOwner
public SchemaExtension withOwner(String owner)
-
getProperties
public com.github.davidmoten.odata.client.CollectionPage<ExtensionSchemaProperty> getProperties()
-
withProperties
public SchemaExtension withProperties(List<ExtensionSchemaProperty> properties)
-
getProperties
public com.github.davidmoten.odata.client.CollectionPage<ExtensionSchemaProperty> getProperties(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withStatus
public SchemaExtension withStatus(String status)
-
getTargetTypes
public com.github.davidmoten.odata.client.CollectionPage<String> getTargetTypes()
-
withTargetTypes
public SchemaExtension withTargetTypes(List<String> targetTypes)
-
getTargetTypes
public com.github.davidmoten.odata.client.CollectionPage<String> getTargetTypes(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public SchemaExtension withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public SchemaExtension patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SchemaExtension put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-