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

/**
 * USB connected peripheral report.
 *
 * <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 Chrome Management 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 GoogleChromeManagementV1UsbPeripheralReport extends com.google.api.client.json.GenericJson {

  /**
   * Output only. Categories the device belongs to https://www.usb.org/defined-class-codes
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.util.List<java.lang.String> categories;

  /**
   * Output only. Class ID https://www.usb.org/defined-class-codes
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Integer classId;

  /**
   * Output only. Firmware version
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String firmwareVersion;

  /**
   * Output only. Device name, model name, or product name
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String name;

  /**
   * Output only. Product ID
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Integer pid;

  /**
   * Output only. Subclass ID https://www.usb.org/defined-class-codes
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Integer subclassId;

  /**
   * Output only. Vendor name
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String vendor;

  /**
   * Output only. Vendor ID
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.Integer vid;

  /**
   * Output only. Categories the device belongs to https://www.usb.org/defined-class-codes
   * @return value or {@code null} for none
   */
  public java.util.List<java.lang.String> getCategories() {
    return categories;
  }

  /**
   * Output only. Categories the device belongs to https://www.usb.org/defined-class-codes
   * @param categories categories or {@code null} for none
   */
  public GoogleChromeManagementV1UsbPeripheralReport setCategories(java.util.List<java.lang.String> categories) {
    this.categories = categories;
    return this;
  }

  /**
   * Output only. Class ID https://www.usb.org/defined-class-codes
   * @return value or {@code null} for none
   */
  public java.lang.Integer getClassId() {
    return classId;
  }

  /**
   * Output only. Class ID https://www.usb.org/defined-class-codes
   * @param classId classId or {@code null} for none
   */
  public GoogleChromeManagementV1UsbPeripheralReport setClassId(java.lang.Integer classId) {
    this.classId = classId;
    return this;
  }

  /**
   * Output only. Firmware version
   * @return value or {@code null} for none
   */
  public java.lang.String getFirmwareVersion() {
    return firmwareVersion;
  }

  /**
   * Output only. Firmware version
   * @param firmwareVersion firmwareVersion or {@code null} for none
   */
  public GoogleChromeManagementV1UsbPeripheralReport setFirmwareVersion(java.lang.String firmwareVersion) {
    this.firmwareVersion = firmwareVersion;
    return this;
  }

  /**
   * Output only. Device name, model name, or product name
   * @return value or {@code null} for none
   */
  public java.lang.String getName() {
    return name;
  }

  /**
   * Output only. Device name, model name, or product name
   * @param name name or {@code null} for none
   */
  public GoogleChromeManagementV1UsbPeripheralReport setName(java.lang.String name) {
    this.name = name;
    return this;
  }

  /**
   * Output only. Product ID
   * @return value or {@code null} for none
   */
  public java.lang.Integer getPid() {
    return pid;
  }

  /**
   * Output only. Product ID
   * @param pid pid or {@code null} for none
   */
  public GoogleChromeManagementV1UsbPeripheralReport setPid(java.lang.Integer pid) {
    this.pid = pid;
    return this;
  }

  /**
   * Output only. Subclass ID https://www.usb.org/defined-class-codes
   * @return value or {@code null} for none
   */
  public java.lang.Integer getSubclassId() {
    return subclassId;
  }

  /**
   * Output only. Subclass ID https://www.usb.org/defined-class-codes
   * @param subclassId subclassId or {@code null} for none
   */
  public GoogleChromeManagementV1UsbPeripheralReport setSubclassId(java.lang.Integer subclassId) {
    this.subclassId = subclassId;
    return this;
  }

  /**
   * Output only. Vendor name
   * @return value or {@code null} for none
   */
  public java.lang.String getVendor() {
    return vendor;
  }

  /**
   * Output only. Vendor name
   * @param vendor vendor or {@code null} for none
   */
  public GoogleChromeManagementV1UsbPeripheralReport setVendor(java.lang.String vendor) {
    this.vendor = vendor;
    return this;
  }

  /**
   * Output only. Vendor ID
   * @return value or {@code null} for none
   */
  public java.lang.Integer getVid() {
    return vid;
  }

  /**
   * Output only. Vendor ID
   * @param vid vid or {@code null} for none
   */
  public GoogleChromeManagementV1UsbPeripheralReport setVid(java.lang.Integer vid) {
    this.vid = vid;
    return this;
  }

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

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

}
