/*
 * 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.contentwarehouse.v1.model;

/**
 * A Resolution proto indicates the size of the application window. All fields are required.
 *
 * <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 Document AI Warehouse 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 AssistantApiScreenCapabilitiesResolution extends com.google.api.client.json.GenericJson {

  /**
   * Dots (pixels) per inch of the screen.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Integer dpi;

  /**
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Integer heightPx;

  /**
   * m_size is the smallest square box size to display a capital letter M so that the user can still
   * easily understand it.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Integer mSize;

  /**
   * neng_size is the smallest square box size to display a letter 螚 (Neng, U+879A) so that the user
   * can easily understand it. (Neng is a visually dense Chinese letter, and so may require a larger
   * box than an M.)
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Integer nengSize;

  /**
   * The dimensions of the application window, in pixels.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Integer widthPx;

  /**
   * Dots (pixels) per inch of the screen.
   * @return value or {@code null} for none
   */
  public java.lang.Integer getDpi() {
    return dpi;
  }

  /**
   * Dots (pixels) per inch of the screen.
   * @param dpi dpi or {@code null} for none
   */
  public AssistantApiScreenCapabilitiesResolution setDpi(java.lang.Integer dpi) {
    this.dpi = dpi;
    return this;
  }

  /**
   * @return value or {@code null} for none
   */
  public java.lang.Integer getHeightPx() {
    return heightPx;
  }

  /**
   * @param heightPx heightPx or {@code null} for none
   */
  public AssistantApiScreenCapabilitiesResolution setHeightPx(java.lang.Integer heightPx) {
    this.heightPx = heightPx;
    return this;
  }

  /**
   * m_size is the smallest square box size to display a capital letter M so that the user can still
   * easily understand it.
   * @return value or {@code null} for none
   */
  public java.lang.Integer getMSize() {
    return mSize;
  }

  /**
   * m_size is the smallest square box size to display a capital letter M so that the user can still
   * easily understand it.
   * @param mSize mSize or {@code null} for none
   */
  public AssistantApiScreenCapabilitiesResolution setMSize(java.lang.Integer mSize) {
    this.mSize = mSize;
    return this;
  }

  /**
   * neng_size is the smallest square box size to display a letter 螚 (Neng, U+879A) so that the user
   * can easily understand it. (Neng is a visually dense Chinese letter, and so may require a larger
   * box than an M.)
   * @return value or {@code null} for none
   */
  public java.lang.Integer getNengSize() {
    return nengSize;
  }

  /**
   * neng_size is the smallest square box size to display a letter 螚 (Neng, U+879A) so that the user
   * can easily understand it. (Neng is a visually dense Chinese letter, and so may require a larger
   * box than an M.)
   * @param nengSize nengSize or {@code null} for none
   */
  public AssistantApiScreenCapabilitiesResolution setNengSize(java.lang.Integer nengSize) {
    this.nengSize = nengSize;
    return this;
  }

  /**
   * The dimensions of the application window, in pixels.
   * @return value or {@code null} for none
   */
  public java.lang.Integer getWidthPx() {
    return widthPx;
  }

  /**
   * The dimensions of the application window, in pixels.
   * @param widthPx widthPx or {@code null} for none
   */
  public AssistantApiScreenCapabilitiesResolution setWidthPx(java.lang.Integer widthPx) {
    this.widthPx = widthPx;
    return this;
  }

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

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

}
