首次推送
This commit is contained in:
48
COSXML/Model/Service/GetServiceRequest.cs
Normal file
48
COSXML/Model/Service/GetServiceRequest.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using System.Text;
|
||||
using COSXML.Common;
|
||||
/**
|
||||
* Copyright (c) 2018 Tencent Cloud. All rights reserved.
|
||||
* 11/2/2018 5:25:23 PM
|
||||
* bradyxiao
|
||||
*/
|
||||
namespace COSXML.Model.Service
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取所有 Bucket 列表
|
||||
/// <see cref="https://cloud.tencent.com/document/product/436/8291"/>
|
||||
/// </summary>
|
||||
public sealed class GetServiceRequest : CosRequest
|
||||
{
|
||||
public string host {get; set;}
|
||||
|
||||
public GetServiceRequest()
|
||||
{
|
||||
method = CosRequestMethod.GET;
|
||||
path = "/";
|
||||
host = "service.cos.myqcloud.com";
|
||||
}
|
||||
|
||||
public override string GetCOSHost()
|
||||
{
|
||||
return "service.cos.myqcloud.com";
|
||||
}
|
||||
|
||||
public override string GetHost()
|
||||
{
|
||||
return host;
|
||||
}
|
||||
|
||||
public override Network.RequestBody GetRequestBody()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public override void CheckParameters()
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user