com.google.api.services.youtubereporting.model.Job Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* 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/google/apis-client-generator/
* (build: 2017-11-07 19:12:12 UTC)
* on 2017-11-28 at 12:03:23 UTC
* Modify at your own risk.
*/
package com.google.api.services.youtubereporting.model;
/**
* A job creating reports of a specific type.
*
* 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 YouTube Reporting API. For a detailed explanation
* see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class Job extends com.google.api.client.json.GenericJson {
/**
* The creation date/time of the job.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;
/**
* The date/time when this job will expire/expired. After a job expired, no new reports are
* generated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String expireTime;
/**
* The server-generated ID of the job (max. 40 characters).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String id;
/**
* The name of the job (max. 100 characters).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* The type of reports this job creates. Corresponds to the ID of a ReportType.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String reportTypeId;
/**
* True if this a system-managed job that cannot be modified by the user; otherwise false.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean systemManaged;
/**
* The creation date/time of the job.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}
/**
* The creation date/time of the job.
* @param createTime createTime or {@code null} for none
*/
public Job setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* The date/time when this job will expire/expired. After a job expired, no new reports are
* generated.
* @return value or {@code null} for none
*/
public String getExpireTime() {
return expireTime;
}
/**
* The date/time when this job will expire/expired. After a job expired, no new reports are
* generated.
* @param expireTime expireTime or {@code null} for none
*/
public Job setExpireTime(String expireTime) {
this.expireTime = expireTime;
return this;
}
/**
* The server-generated ID of the job (max. 40 characters).
* @return value or {@code null} for none
*/
public java.lang.String getId() {
return id;
}
/**
* The server-generated ID of the job (max. 40 characters).
* @param id id or {@code null} for none
*/
public Job setId(java.lang.String id) {
this.id = id;
return this;
}
/**
* The name of the job (max. 100 characters).
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* The name of the job (max. 100 characters).
* @param name name or {@code null} for none
*/
public Job setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* The type of reports this job creates. Corresponds to the ID of a ReportType.
* @return value or {@code null} for none
*/
public java.lang.String getReportTypeId() {
return reportTypeId;
}
/**
* The type of reports this job creates. Corresponds to the ID of a ReportType.
* @param reportTypeId reportTypeId or {@code null} for none
*/
public Job setReportTypeId(java.lang.String reportTypeId) {
this.reportTypeId = reportTypeId;
return this;
}
/**
* True if this a system-managed job that cannot be modified by the user; otherwise false.
* @return value or {@code null} for none
*/
public java.lang.Boolean getSystemManaged() {
return systemManaged;
}
/**
* True if this a system-managed job that cannot be modified by the user; otherwise false.
* @param systemManaged systemManaged or {@code null} for none
*/
public Job setSystemManaged(java.lang.Boolean systemManaged) {
this.systemManaged = systemManaged;
return this;
}
@Override
public Job set(String fieldName, Object value) {
return (Job) super.set(fieldName, value);
}
@Override
public Job clone() {
return (Job) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy