
com.google.api.services.androidpublisher.model.Bundle 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: 2018-10-08 17:45:39 UTC)
* on 2019-05-09 at 00:54:02 UTC
* Modify at your own risk.
*/
package com.google.api.services.androidpublisher.model;
/**
* Model definition for Bundle.
*
* 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 Developer 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 Bundle extends com.google.api.client.json.GenericJson {
/**
* A sha1 hash of the upload payload, encoded as a hex string and matching the output of the
* sha1sum command.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String sha1;
/**
* A sha256 hash of the upload payload, encoded as a hex string and matching the output of the
* sha256sum command.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String sha256;
/**
* The version code of the Android App Bundle. As specified in the Android App Bundle's base
* module APK manifest file.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer versionCode;
/**
* A sha1 hash of the upload payload, encoded as a hex string and matching the output of the
* sha1sum command.
* @return value or {@code null} for none
*/
public java.lang.String getSha1() {
return sha1;
}
/**
* A sha1 hash of the upload payload, encoded as a hex string and matching the output of the
* sha1sum command.
* @param sha1 sha1 or {@code null} for none
*/
public Bundle setSha1(java.lang.String sha1) {
this.sha1 = sha1;
return this;
}
/**
* A sha256 hash of the upload payload, encoded as a hex string and matching the output of the
* sha256sum command.
* @return value or {@code null} for none
*/
public java.lang.String getSha256() {
return sha256;
}
/**
* A sha256 hash of the upload payload, encoded as a hex string and matching the output of the
* sha256sum command.
* @param sha256 sha256 or {@code null} for none
*/
public Bundle setSha256(java.lang.String sha256) {
this.sha256 = sha256;
return this;
}
/**
* The version code of the Android App Bundle. As specified in the Android App Bundle's base
* module APK manifest file.
* @return value or {@code null} for none
*/
public java.lang.Integer getVersionCode() {
return versionCode;
}
/**
* The version code of the Android App Bundle. As specified in the Android App Bundle's base
* module APK manifest file.
* @param versionCode versionCode or {@code null} for none
*/
public Bundle setVersionCode(java.lang.Integer versionCode) {
this.versionCode = versionCode;
return this;
}
@Override
public Bundle set(String fieldName, Object value) {
return (Bundle) super.set(fieldName, value);
}
@Override
public Bundle clone() {
return (Bundle) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy