com.google.api.services.firebaseappdistribution.v1alpha.model.GoogleFirebaseAppdistroV1Release 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.firebaseappdistribution.v1alpha.model;
/**
* A release of a Firebase app.
*
* 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 Firebase App Distribution 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 GoogleFirebaseAppdistroV1Release extends com.google.api.client.json.GenericJson {
/**
* Output only. A signed link (which expires in one hour) to directly download the app binary
* (IPA/APK/AAB) file.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String binaryDownloadUri;
/**
* Output only. Build version of the release. For an Android release, the build version is the
* `versionCode`. For an iOS release, the build version is the `CFBundleVersion`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String buildVersion;
/**
* Output only. The time the release was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;
/**
* Output only. Display version of the release. For an Android release, the display version is the
* `versionName`. For an iOS release, the display version is the `CFBundleShortVersionString`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String displayVersion;
/**
* Output only. A link to the Firebase console displaying a single release.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String firebaseConsoleUri;
/**
* The name of the release resource. Format:
* `projects/{project_number}/apps/{app_id}/releases/{release_id}`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* Notes of the release.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleFirebaseAppdistroV1ReleaseNotes releaseNotes;
/**
* Output only. A link to the release in the tester web clip or Android app that lets testers
* (which were granted access to the app) view release notes and install the app onto their
* devices.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String testingUri;
/**
* Output only. A signed link (which expires in one hour) to directly download the app binary
* (IPA/APK/AAB) file.
* @return value or {@code null} for none
*/
public java.lang.String getBinaryDownloadUri() {
return binaryDownloadUri;
}
/**
* Output only. A signed link (which expires in one hour) to directly download the app binary
* (IPA/APK/AAB) file.
* @param binaryDownloadUri binaryDownloadUri or {@code null} for none
*/
public GoogleFirebaseAppdistroV1Release setBinaryDownloadUri(java.lang.String binaryDownloadUri) {
this.binaryDownloadUri = binaryDownloadUri;
return this;
}
/**
* Output only. Build version of the release. For an Android release, the build version is the
* `versionCode`. For an iOS release, the build version is the `CFBundleVersion`.
* @return value or {@code null} for none
*/
public java.lang.String getBuildVersion() {
return buildVersion;
}
/**
* Output only. Build version of the release. For an Android release, the build version is the
* `versionCode`. For an iOS release, the build version is the `CFBundleVersion`.
* @param buildVersion buildVersion or {@code null} for none
*/
public GoogleFirebaseAppdistroV1Release setBuildVersion(java.lang.String buildVersion) {
this.buildVersion = buildVersion;
return this;
}
/**
* Output only. The time the release was created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}
/**
* Output only. The time the release was created.
* @param createTime createTime or {@code null} for none
*/
public GoogleFirebaseAppdistroV1Release setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Output only. Display version of the release. For an Android release, the display version is the
* `versionName`. For an iOS release, the display version is the `CFBundleShortVersionString`.
* @return value or {@code null} for none
*/
public java.lang.String getDisplayVersion() {
return displayVersion;
}
/**
* Output only. Display version of the release. For an Android release, the display version is the
* `versionName`. For an iOS release, the display version is the `CFBundleShortVersionString`.
* @param displayVersion displayVersion or {@code null} for none
*/
public GoogleFirebaseAppdistroV1Release setDisplayVersion(java.lang.String displayVersion) {
this.displayVersion = displayVersion;
return this;
}
/**
* Output only. A link to the Firebase console displaying a single release.
* @return value or {@code null} for none
*/
public java.lang.String getFirebaseConsoleUri() {
return firebaseConsoleUri;
}
/**
* Output only. A link to the Firebase console displaying a single release.
* @param firebaseConsoleUri firebaseConsoleUri or {@code null} for none
*/
public GoogleFirebaseAppdistroV1Release setFirebaseConsoleUri(java.lang.String firebaseConsoleUri) {
this.firebaseConsoleUri = firebaseConsoleUri;
return this;
}
/**
* The name of the release resource. Format:
* `projects/{project_number}/apps/{app_id}/releases/{release_id}`
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* The name of the release resource. Format:
* `projects/{project_number}/apps/{app_id}/releases/{release_id}`
* @param name name or {@code null} for none
*/
public GoogleFirebaseAppdistroV1Release setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* Notes of the release.
* @return value or {@code null} for none
*/
public GoogleFirebaseAppdistroV1ReleaseNotes getReleaseNotes() {
return releaseNotes;
}
/**
* Notes of the release.
* @param releaseNotes releaseNotes or {@code null} for none
*/
public GoogleFirebaseAppdistroV1Release setReleaseNotes(GoogleFirebaseAppdistroV1ReleaseNotes releaseNotes) {
this.releaseNotes = releaseNotes;
return this;
}
/**
* Output only. A link to the release in the tester web clip or Android app that lets testers
* (which were granted access to the app) view release notes and install the app onto their
* devices.
* @return value or {@code null} for none
*/
public java.lang.String getTestingUri() {
return testingUri;
}
/**
* Output only. A link to the release in the tester web clip or Android app that lets testers
* (which were granted access to the app) view release notes and install the app onto their
* devices.
* @param testingUri testingUri or {@code null} for none
*/
public GoogleFirebaseAppdistroV1Release setTestingUri(java.lang.String testingUri) {
this.testingUri = testingUri;
return this;
}
@Override
public GoogleFirebaseAppdistroV1Release set(String fieldName, Object value) {
return (GoogleFirebaseAppdistroV1Release) super.set(fieldName, value);
}
@Override
public GoogleFirebaseAppdistroV1Release clone() {
return (GoogleFirebaseAppdistroV1Release) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy