代码修改后的版本,全部提交

This commit is contained in:
ss001
2026-02-07 15:48:27 +08:00
parent cccbaa37c9
commit c2cda58c65
15604 changed files with 2455502 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CHPRequest : AbstractModel
{
/// <summary>
/// 电话号码
/// </summary>
[JsonProperty("PhoneNumber")]
public string PhoneNumber{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CHPResponse : AbstractModel
{
/// <summary>
/// 标记类型
/// 0: 无标记
/// 50:骚扰电话
/// 51:房产中介
/// 52:保险理财
/// 53:广告推销
/// 54:诈骗电话
/// 55:快递电话
/// 56:出租车专车
/// </summary>
[JsonProperty("TagType")]
public long? TagType{ get; set; }
/// <summary>
/// 标记次数
/// </summary>
[JsonProperty("TagCount")]
public long? TagCount{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "TagType", this.TagType);
this.SetParamSimple(map, prefix + "TagCount", this.TagCount);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateSmpnEpaRequest : AbstractModel
{
/// <summary>
/// 企业号码认证请求内容
/// </summary>
[JsonProperty("RequestData")]
public EPARequest RequestData{ get; set; }
/// <summary>
/// 用于计费的资源ID
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "RequestData.", this.RequestData);
this.SetParamSimple(map, prefix + "ResourceId", this.ResourceId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateSmpnEpaResponse : AbstractModel
{
/// <summary>
/// 业号码认证回应内容
/// </summary>
[JsonProperty("ResponseData")]
public EPAResponse ResponseData{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "ResponseData.", this.ResponseData);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSmpnChpRequest : AbstractModel
{
/// <summary>
/// 客户用于计费的资源Id
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ get; set; }
/// <summary>
/// 终端骚扰保护请求
/// </summary>
[JsonProperty("RequestData")]
public CHPRequest RequestData{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ResourceId", this.ResourceId);
this.SetParamObj(map, prefix + "RequestData.", this.RequestData);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSmpnChpResponse : AbstractModel
{
/// <summary>
/// 终端骚扰保护回应
/// </summary>
[JsonProperty("ResponseData")]
public CHPResponse ResponseData{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "ResponseData.", this.ResponseData);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSmpnFnrRequest : AbstractModel
{
/// <summary>
/// 虚假号码识别请求内容
/// </summary>
[JsonProperty("RequestData")]
public FNRRequest RequestData{ get; set; }
/// <summary>
/// 用于计费的资源ID
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "RequestData.", this.RequestData);
this.SetParamSimple(map, prefix + "ResourceId", this.ResourceId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSmpnFnrResponse : AbstractModel
{
/// <summary>
/// 虚假号码识别回应内容
/// </summary>
[JsonProperty("ResponseData")]
public FNRResponse ResponseData{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "ResponseData.", this.ResponseData);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSmpnMhmRequest : AbstractModel
{
/// <summary>
/// 号码营销监控请求内容
/// </summary>
[JsonProperty("RequestData")]
public MHMRequest RequestData{ get; set; }
/// <summary>
/// 用于计费的资源ID
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "RequestData.", this.RequestData);
this.SetParamSimple(map, prefix + "ResourceId", this.ResourceId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSmpnMhmResponse : AbstractModel
{
/// <summary>
/// 号码营销监控回应内容
/// </summary>
[JsonProperty("ResponseData")]
public MHMResponse ResponseData{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "ResponseData.", this.ResponseData);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSmpnMrlRequest : AbstractModel
{
/// <summary>
/// 恶意标记等级请求内容
/// </summary>
[JsonProperty("RequestData")]
public MRLRequest RequestData{ get; set; }
/// <summary>
/// 用于计费的资源ID
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "RequestData.", this.RequestData);
this.SetParamSimple(map, prefix + "ResourceId", this.ResourceId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeSmpnMrlResponse : AbstractModel
{
/// <summary>
/// 恶意标记等级回应内容
/// </summary>
[JsonProperty("ResponseData")]
public MRLResponse ResponseData{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamObj(map, prefix + "ResponseData.", this.ResponseData);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class EPARequest : AbstractModel
{
/// <summary>
/// 电话号码
/// </summary>
[JsonProperty("PhoneNumber")]
public string PhoneNumber{ get; set; }
/// <summary>
/// 黄页名称
/// </summary>
[JsonProperty("Name")]
public string Name{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber);
this.SetParamSimple(map, prefix + "Name", this.Name);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class EPAResponse : AbstractModel
{
/// <summary>
/// 0成功 其他失败
/// </summary>
[JsonProperty("RetCode")]
public long? RetCode{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RetCode", this.RetCode);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class FNRRequest : AbstractModel
{
/// <summary>
/// 电话号码
/// </summary>
[JsonProperty("PhoneNumber")]
public string PhoneNumber{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class FNRResponse : AbstractModel
{
/// <summary>
/// 虚假号码描述
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Status", this.Status);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class MHMRequest : AbstractModel
{
/// <summary>
/// 电话号码
/// </summary>
[JsonProperty("PhoneNumber")]
public string PhoneNumber{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class MHMResponse : AbstractModel
{
/// <summary>
/// 标记类型
/// 0: 无标记
/// 50:骚扰电话
/// 51:房产中介
/// 52:保险理财
/// 53:广告推销
/// 54:诈骗电话
/// 55:快递电话
/// 56:出租车专车
/// </summary>
[JsonProperty("TagType")]
public long? TagType{ get; set; }
/// <summary>
/// 标记次数
/// </summary>
[JsonProperty("TagCount")]
public long? TagCount{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "TagType", this.TagType);
this.SetParamSimple(map, prefix + "TagCount", this.TagCount);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class MRLRequest : AbstractModel
{
/// <summary>
/// 电话号码
/// </summary>
[JsonProperty("PhoneNumber")]
public string PhoneNumber{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "PhoneNumber", this.PhoneNumber);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* 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.Smpn.V20190822.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class MRLResponse : AbstractModel
{
/// <summary>
/// 骚扰电话恶意标记等级
/// </summary>
[JsonProperty("DisturbLevel")]
public long? DisturbLevel{ get; set; }
/// <summary>
/// 房产中介恶意标记等级
/// </summary>
[JsonProperty("HouseAgentLevel")]
public long? HouseAgentLevel{ get; set; }
/// <summary>
/// 保险理财恶意标记等级
/// </summary>
[JsonProperty("InsuranceLevel")]
public long? InsuranceLevel{ get; set; }
/// <summary>
/// 广告推销恶意标记等级
/// </summary>
[JsonProperty("SalesLevel")]
public long? SalesLevel{ get; set; }
/// <summary>
/// 诈骗电话恶意标记等级
/// </summary>
[JsonProperty("CheatLevel")]
public long? CheatLevel{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "DisturbLevel", this.DisturbLevel);
this.SetParamSimple(map, prefix + "HouseAgentLevel", this.HouseAgentLevel);
this.SetParamSimple(map, prefix + "InsuranceLevel", this.InsuranceLevel);
this.SetParamSimple(map, prefix + "SalesLevel", this.SalesLevel);
this.SetParamSimple(map, prefix + "CheatLevel", this.CheatLevel);
}
}
}

View File

@@ -0,0 +1,256 @@
/*
* 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.Smpn.V20190822
{
using Newtonsoft.Json;
using System.Threading.Tasks;
using TencentCloud.Common;
using TencentCloud.Common.Profile;
using TencentCloud.Smpn.V20190822.Models;
public class SmpnClient : AbstractClient{
private const string endpoint = "smpn.tencentcloudapi.com";
private const string version = "2019-08-22";
/// <summary>
/// Client constructor.
/// </summary>
/// <param name="credential">Credentials.</param>
/// <param name="region">Region name, such as "ap-guangzhou".</param>
public SmpnClient(Credential credential, string region)
: this(credential, region, new ClientProfile())
{
}
/// <summary>
/// Client Constructor.
/// </summary>
/// <param name="credential">Credentials.</param>
/// <param name="region">Region name, such as "ap-guangzhou".</param>
/// <param name="profile">Client profiles.</param>
public SmpnClient(Credential credential, string region, ClientProfile profile)
: base(endpoint, version, credential, region, profile)
{
}
/// <summary>
/// 企业号码认证
/// </summary>
/// <param name="req"><see cref="CreateSmpnEpaRequest"/></param>
/// <returns><see cref="CreateSmpnEpaResponse"/></returns>
public async Task<CreateSmpnEpaResponse> CreateSmpnEpa(CreateSmpnEpaRequest req)
{
JsonResponseModel<CreateSmpnEpaResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "CreateSmpnEpa");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<CreateSmpnEpaResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 企业号码认证
/// </summary>
/// <param name="req"><see cref="CreateSmpnEpaRequest"/></param>
/// <returns><see cref="CreateSmpnEpaResponse"/></returns>
public CreateSmpnEpaResponse CreateSmpnEpaSync(CreateSmpnEpaRequest req)
{
JsonResponseModel<CreateSmpnEpaResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "CreateSmpnEpa");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<CreateSmpnEpaResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 查询号码的标记和标记次数
/// </summary>
/// <param name="req"><see cref="DescribeSmpnChpRequest"/></param>
/// <returns><see cref="DescribeSmpnChpResponse"/></returns>
public async Task<DescribeSmpnChpResponse> DescribeSmpnChp(DescribeSmpnChpRequest req)
{
JsonResponseModel<DescribeSmpnChpResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeSmpnChp");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeSmpnChpResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 查询号码的标记和标记次数
/// </summary>
/// <param name="req"><see cref="DescribeSmpnChpRequest"/></param>
/// <returns><see cref="DescribeSmpnChpResponse"/></returns>
public DescribeSmpnChpResponse DescribeSmpnChpSync(DescribeSmpnChpRequest req)
{
JsonResponseModel<DescribeSmpnChpResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeSmpnChp");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeSmpnChpResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 虚假号码识别
/// </summary>
/// <param name="req"><see cref="DescribeSmpnFnrRequest"/></param>
/// <returns><see cref="DescribeSmpnFnrResponse"/></returns>
public async Task<DescribeSmpnFnrResponse> DescribeSmpnFnr(DescribeSmpnFnrRequest req)
{
JsonResponseModel<DescribeSmpnFnrResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeSmpnFnr");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeSmpnFnrResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 虚假号码识别
/// </summary>
/// <param name="req"><see cref="DescribeSmpnFnrRequest"/></param>
/// <returns><see cref="DescribeSmpnFnrResponse"/></returns>
public DescribeSmpnFnrResponse DescribeSmpnFnrSync(DescribeSmpnFnrRequest req)
{
JsonResponseModel<DescribeSmpnFnrResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeSmpnFnr");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeSmpnFnrResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 号码营销监控
/// </summary>
/// <param name="req"><see cref="DescribeSmpnMhmRequest"/></param>
/// <returns><see cref="DescribeSmpnMhmResponse"/></returns>
public async Task<DescribeSmpnMhmResponse> DescribeSmpnMhm(DescribeSmpnMhmRequest req)
{
JsonResponseModel<DescribeSmpnMhmResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeSmpnMhm");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeSmpnMhmResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 号码营销监控
/// </summary>
/// <param name="req"><see cref="DescribeSmpnMhmRequest"/></param>
/// <returns><see cref="DescribeSmpnMhmResponse"/></returns>
public DescribeSmpnMhmResponse DescribeSmpnMhmSync(DescribeSmpnMhmRequest req)
{
JsonResponseModel<DescribeSmpnMhmResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeSmpnMhm");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeSmpnMhmResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 查询号码恶意标记等级
/// </summary>
/// <param name="req"><see cref="DescribeSmpnMrlRequest"/></param>
/// <returns><see cref="DescribeSmpnMrlResponse"/></returns>
public async Task<DescribeSmpnMrlResponse> DescribeSmpnMrl(DescribeSmpnMrlRequest req)
{
JsonResponseModel<DescribeSmpnMrlResponse> rsp = null;
try
{
var strResp = await this.InternalRequest(req, "DescribeSmpnMrl");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeSmpnMrlResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
/// <summary>
/// 查询号码恶意标记等级
/// </summary>
/// <param name="req"><see cref="DescribeSmpnMrlRequest"/></param>
/// <returns><see cref="DescribeSmpnMrlResponse"/></returns>
public DescribeSmpnMrlResponse DescribeSmpnMrlSync(DescribeSmpnMrlRequest req)
{
JsonResponseModel<DescribeSmpnMrlResponse> rsp = null;
try
{
var strResp = this.InternalRequestSync(req, "DescribeSmpnMrl");
rsp = JsonConvert.DeserializeObject<JsonResponseModel<DescribeSmpnMrlResponse>>(strResp);
}
catch (JsonSerializationException e)
{
throw new TencentCloudSDKException(e.Message);
}
return rsp.Response;
}
}
}