/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.aiplatform.v1beta1.model;

/**
 * Request message for MigrationService.SearchMigratableResources.
 *
 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
 * transmitted over HTTP when working with the Vertex AI API. For a detailed explanation see:
 * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
 * </p>
 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class GoogleCloudAiplatformV1beta1SearchMigratableResourcesRequest extends com.google.api.client.json.GenericJson {

  /**
   * A filter for your search. You can use the following types of filters: * Resource type filters.
   * The following strings filter for a specific type of MigratableResource: *
   * `ml_engine_model_version:*` * `automl_model:*` * `automl_dataset:*` * `data_labeling_dataset:*`
   * * "Migrated or not" filters. The following strings filter for resources that either have or
   * have not already been migrated: * `last_migrate_time:*` filters for migrated resources. * `NOT
   * last_migrate_time:*` filters for not yet migrated resources.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String filter;

  /**
   * The standard page size. The default and maximum value is 100.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Integer pageSize;

  /**
   * The standard page token.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String pageToken;

  /**
   * A filter for your search. You can use the following types of filters: * Resource type filters.
   * The following strings filter for a specific type of MigratableResource: *
   * `ml_engine_model_version:*` * `automl_model:*` * `automl_dataset:*` * `data_labeling_dataset:*`
   * * "Migrated or not" filters. The following strings filter for resources that either have or
   * have not already been migrated: * `last_migrate_time:*` filters for migrated resources. * `NOT
   * last_migrate_time:*` filters for not yet migrated resources.
   * @return value or {@code null} for none
   */
  public java.lang.String getFilter() {
    return filter;
  }

  /**
   * A filter for your search. You can use the following types of filters: * Resource type filters.
   * The following strings filter for a specific type of MigratableResource: *
   * `ml_engine_model_version:*` * `automl_model:*` * `automl_dataset:*` * `data_labeling_dataset:*`
   * * "Migrated or not" filters. The following strings filter for resources that either have or
   * have not already been migrated: * `last_migrate_time:*` filters for migrated resources. * `NOT
   * last_migrate_time:*` filters for not yet migrated resources.
   * @param filter filter or {@code null} for none
   */
  public GoogleCloudAiplatformV1beta1SearchMigratableResourcesRequest setFilter(java.lang.String filter) {
    this.filter = filter;
    return this;
  }

  /**
   * The standard page size. The default and maximum value is 100.
   * @return value or {@code null} for none
   */
  public java.lang.Integer getPageSize() {
    return pageSize;
  }

  /**
   * The standard page size. The default and maximum value is 100.
   * @param pageSize pageSize or {@code null} for none
   */
  public GoogleCloudAiplatformV1beta1SearchMigratableResourcesRequest setPageSize(java.lang.Integer pageSize) {
    this.pageSize = pageSize;
    return this;
  }

  /**
   * The standard page token.
   * @return value or {@code null} for none
   */
  public java.lang.String getPageToken() {
    return pageToken;
  }

  /**
   * The standard page token.
   * @param pageToken pageToken or {@code null} for none
   */
  public GoogleCloudAiplatformV1beta1SearchMigratableResourcesRequest setPageToken(java.lang.String pageToken) {
    this.pageToken = pageToken;
    return this;
  }

  @Override
  public GoogleCloudAiplatformV1beta1SearchMigratableResourcesRequest set(String fieldName, Object value) {
    return (GoogleCloudAiplatformV1beta1SearchMigratableResourcesRequest) super.set(fieldName, value);
  }

  @Override
  public GoogleCloudAiplatformV1beta1SearchMigratableResourcesRequest clone() {
    return (GoogleCloudAiplatformV1beta1SearchMigratableResourcesRequest) super.clone();
  }

}
