
com.google.api.services.playmoviespartner.model.Order 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://code.google.com/p/google-apis-client-generator/
* (build: 2017-02-15 17:18:02 UTC)
* on 2017-08-10 at 21:12:03 UTC
* Modify at your own risk.
*/
package com.google.api.services.playmoviespartner.model;
/**
* An Order tracks the fulfillment of an Edit when delivered using the legacy, non-component-based
* delivery.
*
* Each Order is uniquely identified by an `order_id`, which is generated by Google.
*
* Externally, Orders can also be identified by partners using its `custom_id` (when provided).
*
* 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 Google Play Movies Partner API. For a detailed
* explanation see:
* http://code.google.com/p/google-http-java-client/wiki/JSON
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class Order extends com.google.api.client.json.GenericJson {
/**
* Timestamp when the Order was approved.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String approvedTime;
/**
* YouTube Channel ID that should be used to fulfill the Order. Example: "UCRG64darCZhb".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String channelId;
/**
* YouTube Channel Name that should be used to fulfill the Order. Example: "Google_channel".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String channelName;
/**
* Countries where the Order is available, using the "ISO 3166-1 alpha-2" format (example: "US").
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List countries;
/**
* ID that can be used to externally identify an Order. This ID is provided by partners when
* submitting the Avails. Example: 'GOOGLER_2006'
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String customId;
/**
* Timestamp of the earliest start date of the Avails linked to this Order.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String earliestAvailStartTime;
/**
* Default Episode name, usually in the language of the country of origin. Only available for TV
* Edits Example: "Googlers, The - Pilot".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String episodeName;
/**
* Legacy Order priority, as defined by Google. Example: 'P0'
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String legacyPriority;
/**
* Default Edit name, usually in the language of the country of origin. Example: "Googlers, The".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* A simpler representation of the priority.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String normalizedPriority;
/**
* ID internally generated by Google to uniquely identify an Order. Example: 'abcde12_x'
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String orderId;
/**
* Timestamp when the Order was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String orderedTime;
/**
* Name of the post-production house that manages the Edit ordered.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String pphName;
/**
* Order priority, as defined by Google. The higher the value, the higher the priority. Example:
* 90
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Double priority;
/**
* Timestamp when the Order was fulfilled.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String receivedTime;
/**
* Field explaining why an Order has been rejected. Example: "Trailer audio is 2ch mono, please
* re-deliver in stereo".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String rejectionNote;
/**
* Default Season name, usually in the language of the country of origin. Only available for TV
* Edits Example: "Googlers, The - A Brave New World".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String seasonName;
/**
* Default Show name, usually in the language of the country of origin. Only available for TV
* Edits Example: "Googlers, The".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String showName;
/**
* High-level status of the order.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String status;
/**
* Detailed status of the order
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String statusDetail;
/**
* Name of the studio that owns the Edit ordered.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String studioName;
/**
* Type of the Edit linked to the Order.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String type;
/**
* Google-generated ID identifying the video linked to this Order, once delivered. Example:
* 'gtry456_xc'.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String videoId;
/**
* Timestamp when the Order was approved.
* @return value or {@code null} for none
*/
public String getApprovedTime() {
return approvedTime;
}
/**
* Timestamp when the Order was approved.
* @param approvedTime approvedTime or {@code null} for none
*/
public Order setApprovedTime(String approvedTime) {
this.approvedTime = approvedTime;
return this;
}
/**
* YouTube Channel ID that should be used to fulfill the Order. Example: "UCRG64darCZhb".
* @return value or {@code null} for none
*/
public java.lang.String getChannelId() {
return channelId;
}
/**
* YouTube Channel ID that should be used to fulfill the Order. Example: "UCRG64darCZhb".
* @param channelId channelId or {@code null} for none
*/
public Order setChannelId(java.lang.String channelId) {
this.channelId = channelId;
return this;
}
/**
* YouTube Channel Name that should be used to fulfill the Order. Example: "Google_channel".
* @return value or {@code null} for none
*/
public java.lang.String getChannelName() {
return channelName;
}
/**
* YouTube Channel Name that should be used to fulfill the Order. Example: "Google_channel".
* @param channelName channelName or {@code null} for none
*/
public Order setChannelName(java.lang.String channelName) {
this.channelName = channelName;
return this;
}
/**
* Countries where the Order is available, using the "ISO 3166-1 alpha-2" format (example: "US").
* @return value or {@code null} for none
*/
public java.util.List getCountries() {
return countries;
}
/**
* Countries where the Order is available, using the "ISO 3166-1 alpha-2" format (example: "US").
* @param countries countries or {@code null} for none
*/
public Order setCountries(java.util.List countries) {
this.countries = countries;
return this;
}
/**
* ID that can be used to externally identify an Order. This ID is provided by partners when
* submitting the Avails. Example: 'GOOGLER_2006'
* @return value or {@code null} for none
*/
public java.lang.String getCustomId() {
return customId;
}
/**
* ID that can be used to externally identify an Order. This ID is provided by partners when
* submitting the Avails. Example: 'GOOGLER_2006'
* @param customId customId or {@code null} for none
*/
public Order setCustomId(java.lang.String customId) {
this.customId = customId;
return this;
}
/**
* Timestamp of the earliest start date of the Avails linked to this Order.
* @return value or {@code null} for none
*/
public String getEarliestAvailStartTime() {
return earliestAvailStartTime;
}
/**
* Timestamp of the earliest start date of the Avails linked to this Order.
* @param earliestAvailStartTime earliestAvailStartTime or {@code null} for none
*/
public Order setEarliestAvailStartTime(String earliestAvailStartTime) {
this.earliestAvailStartTime = earliestAvailStartTime;
return this;
}
/**
* Default Episode name, usually in the language of the country of origin. Only available for TV
* Edits Example: "Googlers, The - Pilot".
* @return value or {@code null} for none
*/
public java.lang.String getEpisodeName() {
return episodeName;
}
/**
* Default Episode name, usually in the language of the country of origin. Only available for TV
* Edits Example: "Googlers, The - Pilot".
* @param episodeName episodeName or {@code null} for none
*/
public Order setEpisodeName(java.lang.String episodeName) {
this.episodeName = episodeName;
return this;
}
/**
* Legacy Order priority, as defined by Google. Example: 'P0'
* @return value or {@code null} for none
*/
public java.lang.String getLegacyPriority() {
return legacyPriority;
}
/**
* Legacy Order priority, as defined by Google. Example: 'P0'
* @param legacyPriority legacyPriority or {@code null} for none
*/
public Order setLegacyPriority(java.lang.String legacyPriority) {
this.legacyPriority = legacyPriority;
return this;
}
/**
* Default Edit name, usually in the language of the country of origin. Example: "Googlers, The".
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* Default Edit name, usually in the language of the country of origin. Example: "Googlers, The".
* @param name name or {@code null} for none
*/
public Order setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* A simpler representation of the priority.
* @return value or {@code null} for none
*/
public java.lang.String getNormalizedPriority() {
return normalizedPriority;
}
/**
* A simpler representation of the priority.
* @param normalizedPriority normalizedPriority or {@code null} for none
*/
public Order setNormalizedPriority(java.lang.String normalizedPriority) {
this.normalizedPriority = normalizedPriority;
return this;
}
/**
* ID internally generated by Google to uniquely identify an Order. Example: 'abcde12_x'
* @return value or {@code null} for none
*/
public java.lang.String getOrderId() {
return orderId;
}
/**
* ID internally generated by Google to uniquely identify an Order. Example: 'abcde12_x'
* @param orderId orderId or {@code null} for none
*/
public Order setOrderId(java.lang.String orderId) {
this.orderId = orderId;
return this;
}
/**
* Timestamp when the Order was created.
* @return value or {@code null} for none
*/
public String getOrderedTime() {
return orderedTime;
}
/**
* Timestamp when the Order was created.
* @param orderedTime orderedTime or {@code null} for none
*/
public Order setOrderedTime(String orderedTime) {
this.orderedTime = orderedTime;
return this;
}
/**
* Name of the post-production house that manages the Edit ordered.
* @return value or {@code null} for none
*/
public java.lang.String getPphName() {
return pphName;
}
/**
* Name of the post-production house that manages the Edit ordered.
* @param pphName pphName or {@code null} for none
*/
public Order setPphName(java.lang.String pphName) {
this.pphName = pphName;
return this;
}
/**
* Order priority, as defined by Google. The higher the value, the higher the priority. Example:
* 90
* @return value or {@code null} for none
*/
public java.lang.Double getPriority() {
return priority;
}
/**
* Order priority, as defined by Google. The higher the value, the higher the priority. Example:
* 90
* @param priority priority or {@code null} for none
*/
public Order setPriority(java.lang.Double priority) {
this.priority = priority;
return this;
}
/**
* Timestamp when the Order was fulfilled.
* @return value or {@code null} for none
*/
public String getReceivedTime() {
return receivedTime;
}
/**
* Timestamp when the Order was fulfilled.
* @param receivedTime receivedTime or {@code null} for none
*/
public Order setReceivedTime(String receivedTime) {
this.receivedTime = receivedTime;
return this;
}
/**
* Field explaining why an Order has been rejected. Example: "Trailer audio is 2ch mono, please
* re-deliver in stereo".
* @return value or {@code null} for none
*/
public java.lang.String getRejectionNote() {
return rejectionNote;
}
/**
* Field explaining why an Order has been rejected. Example: "Trailer audio is 2ch mono, please
* re-deliver in stereo".
* @param rejectionNote rejectionNote or {@code null} for none
*/
public Order setRejectionNote(java.lang.String rejectionNote) {
this.rejectionNote = rejectionNote;
return this;
}
/**
* Default Season name, usually in the language of the country of origin. Only available for TV
* Edits Example: "Googlers, The - A Brave New World".
* @return value or {@code null} for none
*/
public java.lang.String getSeasonName() {
return seasonName;
}
/**
* Default Season name, usually in the language of the country of origin. Only available for TV
* Edits Example: "Googlers, The - A Brave New World".
* @param seasonName seasonName or {@code null} for none
*/
public Order setSeasonName(java.lang.String seasonName) {
this.seasonName = seasonName;
return this;
}
/**
* Default Show name, usually in the language of the country of origin. Only available for TV
* Edits Example: "Googlers, The".
* @return value or {@code null} for none
*/
public java.lang.String getShowName() {
return showName;
}
/**
* Default Show name, usually in the language of the country of origin. Only available for TV
* Edits Example: "Googlers, The".
* @param showName showName or {@code null} for none
*/
public Order setShowName(java.lang.String showName) {
this.showName = showName;
return this;
}
/**
* High-level status of the order.
* @return value or {@code null} for none
*/
public java.lang.String getStatus() {
return status;
}
/**
* High-level status of the order.
* @param status status or {@code null} for none
*/
public Order setStatus(java.lang.String status) {
this.status = status;
return this;
}
/**
* Detailed status of the order
* @return value or {@code null} for none
*/
public java.lang.String getStatusDetail() {
return statusDetail;
}
/**
* Detailed status of the order
* @param statusDetail statusDetail or {@code null} for none
*/
public Order setStatusDetail(java.lang.String statusDetail) {
this.statusDetail = statusDetail;
return this;
}
/**
* Name of the studio that owns the Edit ordered.
* @return value or {@code null} for none
*/
public java.lang.String getStudioName() {
return studioName;
}
/**
* Name of the studio that owns the Edit ordered.
* @param studioName studioName or {@code null} for none
*/
public Order setStudioName(java.lang.String studioName) {
this.studioName = studioName;
return this;
}
/**
* Type of the Edit linked to the Order.
* @return value or {@code null} for none
*/
public java.lang.String getType() {
return type;
}
/**
* Type of the Edit linked to the Order.
* @param type type or {@code null} for none
*/
public Order setType(java.lang.String type) {
this.type = type;
return this;
}
/**
* Google-generated ID identifying the video linked to this Order, once delivered. Example:
* 'gtry456_xc'.
* @return value or {@code null} for none
*/
public java.lang.String getVideoId() {
return videoId;
}
/**
* Google-generated ID identifying the video linked to this Order, once delivered. Example:
* 'gtry456_xc'.
* @param videoId videoId or {@code null} for none
*/
public Order setVideoId(java.lang.String videoId) {
this.videoId = videoId;
return this;
}
@Override
public Order set(String fieldName, Object value) {
return (Order) super.set(fieldName, value);
}
@Override
public Order clone() {
return (Order) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy