com.airbyte.api.models.operations.GetPermissionRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
SDK enabling Java developers to easily integrate with the Airbyte API.
The newest version!
/*
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
*/
package com.airbyte.api.models.operations;
import com.airbyte.api.utils.SpeakeasyMetadata;
import com.airbyte.api.utils.Utils;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.core.type.TypeReference;
import java.io.InputStream;
import java.lang.Deprecated;
import java.math.BigDecimal;
import java.math.BigInteger;
public class GetPermissionRequest {
@SpeakeasyMetadata("pathParam:style=simple,explode=false,name=permissionId")
private String permissionId;
@JsonCreator
public GetPermissionRequest(
String permissionId) {
Utils.checkNotNull(permissionId, "permissionId");
this.permissionId = permissionId;
}
@JsonIgnore
public String permissionId() {
return permissionId;
}
public final static Builder builder() {
return new Builder();
}
public GetPermissionRequest withPermissionId(String permissionId) {
Utils.checkNotNull(permissionId, "permissionId");
this.permissionId = permissionId;
return this;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GetPermissionRequest other = (GetPermissionRequest) o;
return
java.util.Objects.deepEquals(this.permissionId, other.permissionId);
}
@Override
public int hashCode() {
return java.util.Objects.hash(
permissionId);
}
@Override
public String toString() {
return Utils.toString(GetPermissionRequest.class,
"permissionId", permissionId);
}
public final static class Builder {
private String permissionId;
private Builder() {
// force use of static builder() method
}
public Builder permissionId(String permissionId) {
Utils.checkNotNull(permissionId, "permissionId");
this.permissionId = permissionId;
return this;
}
public GetPermissionRequest build() {
return new GetPermissionRequest(
permissionId);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy