com.google.api.services.firebaseappcheck.v1.model.GoogleFirebaseAppcheckV1PublicJwk 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.firebaseappcheck.v1.model;
/**
* A JWK as specified by [section 4 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4) and
* [section 6.3.1 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1).
*
* 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 Check 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 GoogleFirebaseAppcheckV1PublicJwk extends com.google.api.client.json.GenericJson {
/**
* See [section 4.4 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.4).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String alg;
/**
* See [section 6.3.1.2 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1.2).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String e;
/**
* See [section 4.5 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.5).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String kid;
/**
* See [section 4.1 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.1).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String kty;
/**
* See [section 6.3.1.1 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1.1).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String n;
/**
* See [section 4.2 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.2).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String use;
/**
* See [section 4.4 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.4).
* @return value or {@code null} for none
*/
public java.lang.String getAlg() {
return alg;
}
/**
* See [section 4.4 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.4).
* @param alg alg or {@code null} for none
*/
public GoogleFirebaseAppcheckV1PublicJwk setAlg(java.lang.String alg) {
this.alg = alg;
return this;
}
/**
* See [section 6.3.1.2 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1.2).
* @return value or {@code null} for none
*/
public java.lang.String getE() {
return e;
}
/**
* See [section 6.3.1.2 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1.2).
* @param e e or {@code null} for none
*/
public GoogleFirebaseAppcheckV1PublicJwk setE(java.lang.String e) {
this.e = e;
return this;
}
/**
* See [section 4.5 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.5).
* @return value or {@code null} for none
*/
public java.lang.String getKid() {
return kid;
}
/**
* See [section 4.5 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.5).
* @param kid kid or {@code null} for none
*/
public GoogleFirebaseAppcheckV1PublicJwk setKid(java.lang.String kid) {
this.kid = kid;
return this;
}
/**
* See [section 4.1 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.1).
* @return value or {@code null} for none
*/
public java.lang.String getKty() {
return kty;
}
/**
* See [section 4.1 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.1).
* @param kty kty or {@code null} for none
*/
public GoogleFirebaseAppcheckV1PublicJwk setKty(java.lang.String kty) {
this.kty = kty;
return this;
}
/**
* See [section 6.3.1.1 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1.1).
* @return value or {@code null} for none
*/
public java.lang.String getN() {
return n;
}
/**
* See [section 6.3.1.1 of RFC 7518](https://tools.ietf.org/html/rfc7518#section-6.3.1.1).
* @param n n or {@code null} for none
*/
public GoogleFirebaseAppcheckV1PublicJwk setN(java.lang.String n) {
this.n = n;
return this;
}
/**
* See [section 4.2 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.2).
* @return value or {@code null} for none
*/
public java.lang.String getUse() {
return use;
}
/**
* See [section 4.2 of RFC 7517](https://tools.ietf.org/html/rfc7517#section-4.2).
* @param use use or {@code null} for none
*/
public GoogleFirebaseAppcheckV1PublicJwk setUse(java.lang.String use) {
this.use = use;
return this;
}
@Override
public GoogleFirebaseAppcheckV1PublicJwk set(String fieldName, Object value) {
return (GoogleFirebaseAppcheckV1PublicJwk) super.set(fieldName, value);
}
@Override
public GoogleFirebaseAppcheckV1PublicJwk clone() {
return (GoogleFirebaseAppcheckV1PublicJwk) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy