Package com.microsoft.graph.models
Class SchemaExtension
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.SchemaExtension
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class SchemaExtension
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Schema Extension.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Description.The Owner.The Properties.The Status.The Target Types. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
description
@SerializedName(value="description", alternate="Description") @Expose @Nullable public String descriptionThe Description. Description for the schema extension. Supports $filter (eq). -
owner
The Owner. The appId of the application that is the owner of the schema extension. The owner of the schema definition must be explicitly specified during the Create and Update operations, or it will be implied and auto-assigned by Azure AD as follows: In delegated access: The signed-in user must be the owner of the app that calls Microsoft Graph to create the schema extension definition. If the signed-in user isn't the owner of the calling app, they must explicitly specify the owner property, and assign it the appId of an app that they own. In app-only access: The owner property isn't required in the request body. Instead, the calling app is assigned ownership of the schema extension. So, for example, if creating a new schema extension definition using Graph Explorer, you must supply the owner property. Once set, this property is read-only and cannot be changed. Supports $filter (eq). -
properties
@SerializedName(value="properties", alternate="Properties") @Expose @Nullable public List<ExtensionSchemaProperty> propertiesThe Properties. The collection of property names and types that make up the schema extension definition. -
status
The Status. The lifecycle state of the schema extension. Possible states are InDevelopment, Available, and Deprecated. Automatically set to InDevelopment on creation. For more information about the possible state transitions and behaviors, see Schema extensions lifecycle. Supports $filter (eq). -
targetTypes
@SerializedName(value="targetTypes", alternate="TargetTypes") @Expose @Nullable public List<String> targetTypesThe Target Types. Set of Microsoft Graph types (that can support extensions) that the schema extension can be applied to. Select from administrativeUnit, contact, device, event, group, message, organization, post, todoTask, todoTaskList, or user.
-
-
Constructor Details
-
SchemaExtension
public SchemaExtension()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-