DocumentKeysOrIds.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
package com.azure.search.documents.indexes.implementation.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** The DocumentKeysOrIds model. */
@Fluent
public final class DocumentKeysOrIds {
/*
* document keys to be reset
*/
@JsonProperty(value = "documentKeys")
private List<String> documentKeys;
/*
* datasource document identifiers to be reset
*/
@JsonProperty(value = "datasourceDocumentIds")
private List<String> datasourceDocumentIds;
/**
* Get the documentKeys property: document keys to be reset.
*
* @return the documentKeys value.
*/
public List<String> getDocumentKeys() {
return this.documentKeys;
}
/**
* Set the documentKeys property: document keys to be reset.
*
* @param documentKeys the documentKeys value to set.
* @return the DocumentKeysOrIds object itself.
*/
public DocumentKeysOrIds setDocumentKeys(List<String> documentKeys) {
this.documentKeys = documentKeys;
return this;
}
/**
* Get the datasourceDocumentIds property: datasource document identifiers to be reset.
*
* @return the datasourceDocumentIds value.
*/
public List<String> getDatasourceDocumentIds() {
return this.datasourceDocumentIds;
}
/**
* Set the datasourceDocumentIds property: datasource document identifiers to be reset.
*
* @param datasourceDocumentIds the datasourceDocumentIds value to set.
* @return the DocumentKeysOrIds object itself.
*/
public DocumentKeysOrIds setDatasourceDocumentIds(List<String> datasourceDocumentIds) {
this.datasourceDocumentIds = datasourceDocumentIds;
return this;
}
}