SqlIntegratedChangeTrackingPolicy.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. /**
  14.  * Defines a data change detection policy that captures changes using the Integrated Change Tracking feature of Azure
  15.  * SQL Database.
  16.  */
  17. @JsonTypeInfo(
  18.         use = JsonTypeInfo.Id.NAME,
  19.         include = JsonTypeInfo.As.EXISTING_PROPERTY,
  20.         property = "@odata.type",
  21.         visible = true)
  22. @JsonTypeName("#Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy")
  23. @Immutable
  24. public final class SqlIntegratedChangeTrackingPolicy extends DataChangeDetectionPolicy {

  25.     /*
  26.      * Identifies the concrete type of the data change detection policy.
  27.      */
  28.     @JsonTypeId
  29.     @JsonProperty(value = "@odata.type", required = true)
  30.     private String odataType = "#Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy";
  31. }