com.google.api.services.androidenterprise.model.StorePage Maven / Gradle / Ivy
/*
* 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.androidenterprise.model;
/**
* Definition of a managed Google Play store page, made of a localized name and links to other
* pages. A page also contains clusters defined as a subcollection.
*
* 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 EMM 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 StorePage extends com.google.api.client.json.GenericJson {
/**
* Unique ID of this page. Assigned by the server. Immutable once assigned.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String id;
/**
* Ordered list of pages a user should be able to reach from this page. The list can't include
* this page. It is recommended that the basic pages are created first, before adding the links
* between pages. The API doesn't verify that the pages exist or the pages are reachable.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List link;
/**
* Ordered list of localized strings giving the name of this page. The text displayed is the one
* that best matches the user locale, or the first entry if there is no good match. There needs to
* be at least one entry.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List name;
static {
// hack to force ProGuard to consider LocalizedText used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(LocalizedText.class);
}
/**
* Unique ID of this page. Assigned by the server. Immutable once assigned.
* @return value or {@code null} for none
*/
public java.lang.String getId() {
return id;
}
/**
* Unique ID of this page. Assigned by the server. Immutable once assigned.
* @param id id or {@code null} for none
*/
public StorePage setId(java.lang.String id) {
this.id = id;
return this;
}
/**
* Ordered list of pages a user should be able to reach from this page. The list can't include
* this page. It is recommended that the basic pages are created first, before adding the links
* between pages. The API doesn't verify that the pages exist or the pages are reachable.
* @return value or {@code null} for none
*/
public java.util.List getLink() {
return link;
}
/**
* Ordered list of pages a user should be able to reach from this page. The list can't include
* this page. It is recommended that the basic pages are created first, before adding the links
* between pages. The API doesn't verify that the pages exist or the pages are reachable.
* @param link link or {@code null} for none
*/
public StorePage setLink(java.util.List link) {
this.link = link;
return this;
}
/**
* Ordered list of localized strings giving the name of this page. The text displayed is the one
* that best matches the user locale, or the first entry if there is no good match. There needs to
* be at least one entry.
* @return value or {@code null} for none
*/
public java.util.List getName() {
return name;
}
/**
* Ordered list of localized strings giving the name of this page. The text displayed is the one
* that best matches the user locale, or the first entry if there is no good match. There needs to
* be at least one entry.
* @param name name or {@code null} for none
*/
public StorePage setName(java.util.List name) {
this.name = name;
return this;
}
@Override
public StorePage set(String fieldName, Object value) {
return (StorePage) super.set(fieldName, value);
}
@Override
public StorePage clone() {
return (StorePage) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy