com.tencentcloudapi.scf.v20180416.models.GetRequestStatusRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
package com.tencentcloudapi.scf.v20180416.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class GetRequestStatusRequest extends AbstractModel{
/**
* Function name
*/
@SerializedName("FunctionName")
@Expose
private String FunctionName;
/**
* ID of the request to be queried
*/
@SerializedName("FunctionRequestId")
@Expose
private String FunctionRequestId;
/**
* Function namespace
*/
@SerializedName("Namespace")
@Expose
private String Namespace;
/**
* Start time of the query, for example `2017-05-16 20:00:00`. If it’s left empty, it defaults to 15 minutes before the current time.
*/
@SerializedName("StartTime")
@Expose
private String StartTime;
/**
* End time of the query. such as `2017-05-16 20:59:59`. If `StartTime` is not specified, `EndTime` defaults to the current time. If `StartTime` is specified, `EndTime` is required, and it need to be later than the `StartTime`.
*/
@SerializedName("EndTime")
@Expose
private String EndTime;
/**
* Get Function name
* @return FunctionName Function name
*/
public String getFunctionName() {
return this.FunctionName;
}
/**
* Set Function name
* @param FunctionName Function name
*/
public void setFunctionName(String FunctionName) {
this.FunctionName = FunctionName;
}
/**
* Get ID of the request to be queried
* @return FunctionRequestId ID of the request to be queried
*/
public String getFunctionRequestId() {
return this.FunctionRequestId;
}
/**
* Set ID of the request to be queried
* @param FunctionRequestId ID of the request to be queried
*/
public void setFunctionRequestId(String FunctionRequestId) {
this.FunctionRequestId = FunctionRequestId;
}
/**
* Get Function namespace
* @return Namespace Function namespace
*/
public String getNamespace() {
return this.Namespace;
}
/**
* Set Function namespace
* @param Namespace Function namespace
*/
public void setNamespace(String Namespace) {
this.Namespace = Namespace;
}
/**
* Get Start time of the query, for example `2017-05-16 20:00:00`. If it’s left empty, it defaults to 15 minutes before the current time.
* @return StartTime Start time of the query, for example `2017-05-16 20:00:00`. If it’s left empty, it defaults to 15 minutes before the current time.
*/
public String getStartTime() {
return this.StartTime;
}
/**
* Set Start time of the query, for example `2017-05-16 20:00:00`. If it’s left empty, it defaults to 15 minutes before the current time.
* @param StartTime Start time of the query, for example `2017-05-16 20:00:00`. If it’s left empty, it defaults to 15 minutes before the current time.
*/
public void setStartTime(String StartTime) {
this.StartTime = StartTime;
}
/**
* Get End time of the query. such as `2017-05-16 20:59:59`. If `StartTime` is not specified, `EndTime` defaults to the current time. If `StartTime` is specified, `EndTime` is required, and it need to be later than the `StartTime`.
* @return EndTime End time of the query. such as `2017-05-16 20:59:59`. If `StartTime` is not specified, `EndTime` defaults to the current time. If `StartTime` is specified, `EndTime` is required, and it need to be later than the `StartTime`.
*/
public String getEndTime() {
return this.EndTime;
}
/**
* Set End time of the query. such as `2017-05-16 20:59:59`. If `StartTime` is not specified, `EndTime` defaults to the current time. If `StartTime` is specified, `EndTime` is required, and it need to be later than the `StartTime`.
* @param EndTime End time of the query. such as `2017-05-16 20:59:59`. If `StartTime` is not specified, `EndTime` defaults to the current time. If `StartTime` is specified, `EndTime` is required, and it need to be later than the `StartTime`.
*/
public void setEndTime(String EndTime) {
this.EndTime = EndTime;
}
public GetRequestStatusRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public GetRequestStatusRequest(GetRequestStatusRequest source) {
if (source.FunctionName != null) {
this.FunctionName = new String(source.FunctionName);
}
if (source.FunctionRequestId != null) {
this.FunctionRequestId = new String(source.FunctionRequestId);
}
if (source.Namespace != null) {
this.Namespace = new String(source.Namespace);
}
if (source.StartTime != null) {
this.StartTime = new String(source.StartTime);
}
if (source.EndTime != null) {
this.EndTime = new String(source.EndTime);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "FunctionName", this.FunctionName);
this.setParamSimple(map, prefix + "FunctionRequestId", this.FunctionRequestId);
this.setParamSimple(map, prefix + "Namespace", this.Namespace);
this.setParamSimple(map, prefix + "StartTime", this.StartTime);
this.setParamSimple(map, prefix + "EndTime", this.EndTime);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy