2025-06-13 08:56:22 +08:00
|
|
|
|
using OpenAuth.WebApi;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Infrastructure.CloudSdk.wayline;
|
|
|
|
|
|
|
|
|
|
|
|
public class TopicServicesRequest<T> : CommonTopicRequest<T>
|
|
|
|
|
|
{
|
|
|
|
|
|
|
2025-06-24 15:03:49 +08:00
|
|
|
|
|
2025-06-13 08:56:22 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public TopicServicesRequest<T> SetTid(string tid)
|
|
|
|
|
|
{
|
|
|
|
|
|
base.tid = tid;
|
|
|
|
|
|
return this;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public TopicServicesRequest<T> SetBid(string bid)
|
|
|
|
|
|
{
|
|
|
|
|
|
base.bid = bid;
|
|
|
|
|
|
return this;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public TopicServicesRequest<T> SetTimestamp(long? timestamp)
|
|
|
|
|
|
{
|
|
|
|
|
|
base.timestamp = timestamp;
|
|
|
|
|
|
return this;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public TopicServicesRequest<T> SetData(T data)
|
|
|
|
|
|
{
|
|
|
|
|
|
base.data = data;
|
|
|
|
|
|
return this;
|
|
|
|
|
|
}
|
2025-06-24 15:03:49 +08:00
|
|
|
|
public string method { get; set; }
|
2025-07-10 15:34:26 +08:00
|
|
|
|
public int need_reply { get; set; }
|
2025-06-13 08:56:22 +08:00
|
|
|
|
public TopicServicesRequest<T> SetMethod(string method)
|
|
|
|
|
|
{
|
|
|
|
|
|
this.method = method;
|
|
|
|
|
|
return this;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|