All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.androidenterprise.model.StoreLayout 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: 2016-05-27 16:00:31 UTC)
 * on 2016-07-18 at 14:12:22 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.androidenterprise.model;

/**
 * General setting for the Google Play for Work store layout, currently only specifying the page to
 * display the first time the store is opened.
 *
 * 

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 StoreLayout extends com.google.api.client.json.GenericJson { /** * The ID of the store page to be used as the homepage. The homepage will be used as the first * page shown in the Google Play for Work store. * * If a homepage has not been set, the play store shown on devices will be empty. Not specifying a * homepage on a store layout effectively empties the store. * * If there exists at least one page, this field must be set to the ID of a valid page. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String homepageId; /** * Identifies what kind of resource this is. Value: the fixed string * "androidenterprise#storeLayout". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String kind; /** * The ID of the store page to be used as the homepage. The homepage will be used as the first * page shown in the Google Play for Work store. * * If a homepage has not been set, the play store shown on devices will be empty. Not specifying a * homepage on a store layout effectively empties the store. * * If there exists at least one page, this field must be set to the ID of a valid page. * @return value or {@code null} for none */ public java.lang.String getHomepageId() { return homepageId; } /** * The ID of the store page to be used as the homepage. The homepage will be used as the first * page shown in the Google Play for Work store. * * If a homepage has not been set, the play store shown on devices will be empty. Not specifying a * homepage on a store layout effectively empties the store. * * If there exists at least one page, this field must be set to the ID of a valid page. * @param homepageId homepageId or {@code null} for none */ public StoreLayout setHomepageId(java.lang.String homepageId) { this.homepageId = homepageId; return this; } /** * Identifies what kind of resource this is. Value: the fixed string * "androidenterprise#storeLayout". * @return value or {@code null} for none */ public java.lang.String getKind() { return kind; } /** * Identifies what kind of resource this is. Value: the fixed string * "androidenterprise#storeLayout". * @param kind kind or {@code null} for none */ public StoreLayout setKind(java.lang.String kind) { this.kind = kind; return this; } @Override public StoreLayout set(String fieldName, Object value) { return (StoreLayout) super.set(fieldName, value); } @Override public StoreLayout clone() { return (StoreLayout) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy