SearchIndexerDataNoneIdentity.java

  1. // Copyright (c) Microsoft Corporation. All rights reserved.
  2. // Licensed under the MIT License.
  3. //
  4. // Code generated by Microsoft (R) AutoRest Code Generator.
  5. // Changes may cause incorrect behavior and will be lost if the code is
  6. // regenerated.

  7. package com.azure.search.documents.indexes.models;

  8. import com.azure.core.annotation.Immutable;
  9. import com.fasterxml.jackson.annotation.JsonProperty;
  10. import com.fasterxml.jackson.annotation.JsonTypeId;
  11. import com.fasterxml.jackson.annotation.JsonTypeInfo;
  12. import com.fasterxml.jackson.annotation.JsonTypeName;

  13. /** Clears the identity property of a datasource. */
  14. @JsonTypeInfo(
  15.         use = JsonTypeInfo.Id.NAME,
  16.         include = JsonTypeInfo.As.EXISTING_PROPERTY,
  17.         property = "@odata.type",
  18.         visible = true)
  19. @JsonTypeName("#Microsoft.Azure.Search.SearchIndexerDataNoneIdentity")
  20. @Immutable
  21. public final class SearchIndexerDataNoneIdentity extends SearchIndexerDataIdentity {
  22.     /*
  23.      * Identifies the concrete type of the identity.
  24.      */
  25.     @JsonTypeId
  26.     @JsonProperty(value = "@odata.type", required = true)
  27.     private String odataType = "#Microsoft.Azure.Search.SearchIndexerDataNoneIdentity";
  28. }