/*
* Copyright (c) 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.
*/
namespace TencentCloud.Scf.V20180416.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class Function : AbstractModel
{
///
/// 修改时间
///
[JsonProperty("ModTime")]
public string ModTime{ get; set; }
///
/// 创建时间
///
[JsonProperty("AddTime")]
public string AddTime{ get; set; }
///
/// 运行时
///
[JsonProperty("Runtime")]
public string Runtime{ get; set; }
///
/// 函数名称
///
[JsonProperty("FunctionName")]
public string FunctionName{ get; set; }
///
/// 函数ID
///
[JsonProperty("FunctionId")]
public string FunctionId{ get; set; }
///
/// 命名空间
///
[JsonProperty("Namespace")]
public string Namespace{ get; set; }
///
/// 函数状态
///
[JsonProperty("Status")]
public string Status{ get; set; }
///
/// 函数状态详情
///
[JsonProperty("StatusDesc")]
public string StatusDesc{ get; set; }
///
/// 函数描述
///
[JsonProperty("Description")]
public string Description{ get; set; }
///
/// 函数标签
///
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
///
/// 函数类型,取值为 HTTP 或者 Event
///
[JsonProperty("Type")]
public string Type{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "ModTime", this.ModTime);
this.SetParamSimple(map, prefix + "AddTime", this.AddTime);
this.SetParamSimple(map, prefix + "Runtime", this.Runtime);
this.SetParamSimple(map, prefix + "FunctionName", this.FunctionName);
this.SetParamSimple(map, prefix + "FunctionId", this.FunctionId);
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "StatusDesc", this.StatusDesc);
this.SetParamSimple(map, prefix + "Description", this.Description);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
this.SetParamSimple(map, prefix + "Type", this.Type);
}
}
}