DefaultCognitiveServicesAccount.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.Fluent;
  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. /** An empty object that represents the default cognitive service resource for a skillset. */
  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.DefaultCognitiveServices")
  20. @Fluent
  21. public final class DefaultCognitiveServicesAccount extends CognitiveServicesAccount {

  22.     /*
  23.      * Identifies the concrete type of the cognitive service resource attached
  24.      * to a skillset.
  25.      */
  26.     @JsonTypeId
  27.     @JsonProperty(value = "@odata.type", required = true)
  28.     private String odataType = "#Microsoft.Azure.Search.DefaultCognitiveServices";
  29. }