blob: 8ea62fdefd3ee30c55c7c5136a2653a28b604f80 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
package org.apache.rocketmq.connect.http.entity;
import org.apache.commons.lang3.builder.ToStringBuilder;
public class TokenEntity {
private String accessToken;
private String tokenType;
private int expiresIn;
private String exampleParameter;
private String timestamp;
private String status;
private String error;
private String message;
private String path;
private String tokenTimestamp;
private String scope;
public String getAccessToken() {
return accessToken;
}
public void setAccessToken(String accessToken) {
this.accessToken = accessToken;
}
public String getTokenType() {
return tokenType;
}
public void setTokenType(String tokenType) {
this.tokenType = tokenType;
}
public int getExpiresIn() {
return expiresIn;
}
public void setExpiresIn(int expiresIn) {
this.expiresIn = expiresIn;
}
public String getTokenTimestamp() {
return tokenTimestamp;
}
public void setTokenTimestamp(String tokenTimestamp) {
this.tokenTimestamp = tokenTimestamp;
}
public String getExampleParameter() {
return exampleParameter;
}
public void setExampleParameter(String exampleParameter) {
this.exampleParameter = exampleParameter;
}
public String getTimestamp() {
return timestamp;
}
public void setTimestamp(String timestamp) {
this.timestamp = timestamp;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getError() {
return error;
}
public void setError(String error) {
this.error = error;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public String getScope() {
return scope;
}
public void setScope(String scope) {
this.scope = scope;
}
@Override
public String toString() {
return new ToStringBuilder(this)
.append("accessToken", accessToken)
.append("tokenType", tokenType)
.append("expiresIn", expiresIn)
.append("exampleParameter", exampleParameter)
.append("timestamp", timestamp)
.append("status", status)
.append("error", error)
.append("message", message)
.append("path", path)
.append("tokenTimestamp", tokenTimestamp)
.append("scope", scope)
.toString();
}
}