Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTopicRequest ¶
type AddTopicRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* */
TopicModel *streambus.AddTopic `json:"topicModel"`
}
func NewAddTopicRequest ¶
func NewAddTopicRequest( regionId string, topicModel *streambus.AddTopic, ) *AddTopicRequest
* param regionId: Region ID * param topicModel:
func (AddTopicRequest) GetRegionId ¶
func (r AddTopicRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AddTopicRequest) SetRegionId ¶
func (r *AddTopicRequest) SetRegionId(regionId string)
func (*AddTopicRequest) SetTopicModel ¶
func (r *AddTopicRequest) SetTopicModel(topicModel *streambus.AddTopic)
type AddTopicResponse ¶
type AddTopicResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result AddTopicResult `json:"result"`
}
type AddTopicResult ¶
type GetTopicListRequest ¶
type GetTopicListRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* (Optional) */
Keyword *string `json:"keyword"`
}
func NewGetTopicListRequest ¶
func NewGetTopicListRequest( regionId string, ) *GetTopicListRequest
* param regionId: Region ID * param keyword: (Optional)
func (GetTopicListRequest) GetRegionId ¶
func (r GetTopicListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetTopicListRequest) SetKeyword ¶
func (r *GetTopicListRequest) SetKeyword(keyword string)
func (*GetTopicListRequest) SetRegionId ¶
func (r *GetTopicListRequest) SetRegionId(regionId string)
type GetTopicListResponse ¶
type GetTopicListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetTopicListResult `json:"result"`
}
type GetTopicListResult ¶
type GetTopicListResult struct {
Topic []streambus.TopicListInfo `json:"topic"`
}
type UpdateTopicRequest ¶
type UpdateTopicRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* */
TopicModel *streambus.AddTopic `json:"topicModel"`
}
func NewUpdateTopicRequest ¶
func NewUpdateTopicRequest( regionId string, topicModel *streambus.AddTopic, ) *UpdateTopicRequest
* param regionId: Region ID * param topicModel:
func (UpdateTopicRequest) GetRegionId ¶
func (r UpdateTopicRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateTopicRequest) SetRegionId ¶
func (r *UpdateTopicRequest) SetRegionId(regionId string)
func (*UpdateTopicRequest) SetTopicModel ¶
func (r *UpdateTopicRequest) SetTopicModel(topicModel *streambus.AddTopic)
type UpdateTopicResponse ¶
type UpdateTopicResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateTopicResult `json:"result"`
}
type UpdateTopicResult ¶
Click to show internal directories.
Click to hide internal directories.