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. This property can be supplied on creation, to set the owner. If not supplied, then the calling application's appId will be set as the owner. In either case, the signed-in user must be the owner of the application. 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