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 Details

    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The Description. Description for the schema extension. Supports $filter (eq).
    • owner

      @SerializedName(value="owner", alternate="Owner") @Expose @Nullable public String 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> properties
      The Properties. The collection of property names and types that make up the schema extension definition.
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public String 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> targetTypes
      The 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to