Documentation ¶
Index ¶
- type AddOrUpdateJobRequest
- type AddOrUpdateJobResponse
- type AddOrUpdateJobResult
- type AddOrUpdateStorageRequest
- func NewAddOrUpdateStorageRequest(regionId string, storageStr *streamcomputer.Storage) *AddOrUpdateStorageRequest
- func NewAddOrUpdateStorageRequestWithAllParams(regionId string, storageStr *streamcomputer.Storage) *AddOrUpdateStorageRequest
- func NewAddOrUpdateStorageRequestWithoutParam() *AddOrUpdateStorageRequest
- type AddOrUpdateStorageResponse
- type AddOrUpdateStorageResult
- type CreateNamespaceRequest
- func NewCreateNamespaceRequest(regionId string, namespaceStr *streamcomputer.Namespace) *CreateNamespaceRequest
- func NewCreateNamespaceRequestWithAllParams(regionId string, namespaceStr *streamcomputer.Namespace) *CreateNamespaceRequest
- func NewCreateNamespaceRequestWithoutParam() *CreateNamespaceRequest
- type CreateNamespaceResponse
- type CreateNamespaceResult
- type DeleteJobRequest
- type DeleteJobResponse
- type DeleteJobResult
- type DeleteNamespaceRequest
- type DeleteNamespaceResponse
- type DeleteNamespaceResult
- type DeleteStorageRequest
- type DeleteStorageResponse
- type DeleteStorageResult
- type DescribeJobRequest
- type DescribeJobResponse
- type DescribeJobResult
- type DescribeStorageRequest
- type DescribeStorageResponse
- type DescribeStorageResult
- type GetJobListRequest
- type GetJobListResponse
- type GetJobListResult
- type GetStorageListRequest
- type GetStorageListResponse
- type GetStorageListResult
- type QueryNamespaceDetailRequest
- type QueryNamespaceDetailResponse
- type QueryNamespaceDetailResult
- type QueryNamespacesRequest
- type QueryNamespacesResponse
- type QueryNamespacesResult
- type StartJobRequest
- type StartJobResponse
- type StartJobResult
- type StopJobRequest
- type StopJobResponse
- type StopJobResult
- type UpdateNamespaceRequest
- func NewUpdateNamespaceRequest(regionId string, namespaceStr *streamcomputer.Namespace) *UpdateNamespaceRequest
- func NewUpdateNamespaceRequestWithAllParams(regionId string, namespaceStr *streamcomputer.Namespace) *UpdateNamespaceRequest
- func NewUpdateNamespaceRequestWithoutParam() *UpdateNamespaceRequest
- type UpdateNamespaceResponse
- type UpdateNamespaceResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOrUpdateJobRequest ¶
type AddOrUpdateJobRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 创建作业的详情 */ JobStr *streamcomputer.JobStr `json:"jobStr"` }
func NewAddOrUpdateJobRequest ¶
func NewAddOrUpdateJobRequest( regionId string, jobStr *streamcomputer.JobStr, ) *AddOrUpdateJobRequest
* param regionId: Region ID (Required) * param jobStr: 创建作业的详情 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAddOrUpdateJobRequestWithAllParams ¶
func NewAddOrUpdateJobRequestWithAllParams( regionId string, jobStr *streamcomputer.JobStr, ) *AddOrUpdateJobRequest
* param regionId: Region ID (Required) * param jobStr: 创建作业的详情 (Required)
func NewAddOrUpdateJobRequestWithoutParam ¶
func NewAddOrUpdateJobRequestWithoutParam() *AddOrUpdateJobRequest
This constructor has better compatible ability when API parameters changed
func (AddOrUpdateJobRequest) GetRegionId ¶
func (r AddOrUpdateJobRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AddOrUpdateJobRequest) SetJobStr ¶
func (r *AddOrUpdateJobRequest) SetJobStr(jobStr *streamcomputer.JobStr)
param jobStr: 创建作业的详情(Required)
func (*AddOrUpdateJobRequest) SetRegionId ¶
func (r *AddOrUpdateJobRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type AddOrUpdateJobResponse ¶
type AddOrUpdateJobResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AddOrUpdateJobResult `json:"result"` }
type AddOrUpdateJobResult ¶
type AddOrUpdateJobResult struct {
OkInfo streamcomputer.OkInfo `json:"okInfo"`
}
type AddOrUpdateStorageRequest ¶
type AddOrUpdateStorageRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* 创建或者更新storage的详情 */ StorageStr *streamcomputer.Storage `json:"storageStr"` }
func NewAddOrUpdateStorageRequest ¶
func NewAddOrUpdateStorageRequest( regionId string, storageStr *streamcomputer.Storage, ) *AddOrUpdateStorageRequest
* param regionId: Region ID (Required) * param storageStr: 创建或者更新storage的详情 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewAddOrUpdateStorageRequestWithAllParams ¶
func NewAddOrUpdateStorageRequestWithAllParams( regionId string, storageStr *streamcomputer.Storage, ) *AddOrUpdateStorageRequest
* param regionId: Region ID (Required) * param storageStr: 创建或者更新storage的详情 (Required)
func NewAddOrUpdateStorageRequestWithoutParam ¶
func NewAddOrUpdateStorageRequestWithoutParam() *AddOrUpdateStorageRequest
This constructor has better compatible ability when API parameters changed
func (AddOrUpdateStorageRequest) GetRegionId ¶
func (r AddOrUpdateStorageRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*AddOrUpdateStorageRequest) SetRegionId ¶
func (r *AddOrUpdateStorageRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*AddOrUpdateStorageRequest) SetStorageStr ¶
func (r *AddOrUpdateStorageRequest) SetStorageStr(storageStr *streamcomputer.Storage)
param storageStr: 创建或者更新storage的详情(Required)
type AddOrUpdateStorageResponse ¶
type AddOrUpdateStorageResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result AddOrUpdateStorageResult `json:"result"` }
type CreateNamespaceRequest ¶
type CreateNamespaceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* */ NamespaceStr *streamcomputer.Namespace `json:"namespaceStr"` }
func NewCreateNamespaceRequest ¶
func NewCreateNamespaceRequest( regionId string, namespaceStr *streamcomputer.Namespace, ) *CreateNamespaceRequest
* param regionId: Region ID (Required) * param namespaceStr: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateNamespaceRequestWithAllParams ¶
func NewCreateNamespaceRequestWithAllParams( regionId string, namespaceStr *streamcomputer.Namespace, ) *CreateNamespaceRequest
* param regionId: Region ID (Required) * param namespaceStr: (Required)
func NewCreateNamespaceRequestWithoutParam ¶
func NewCreateNamespaceRequestWithoutParam() *CreateNamespaceRequest
This constructor has better compatible ability when API parameters changed
func (CreateNamespaceRequest) GetRegionId ¶
func (r CreateNamespaceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateNamespaceRequest) SetNamespaceStr ¶
func (r *CreateNamespaceRequest) SetNamespaceStr(namespaceStr *streamcomputer.Namespace)
param namespaceStr: (Required)
func (*CreateNamespaceRequest) SetRegionId ¶
func (r *CreateNamespaceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CreateNamespaceResponse ¶
type CreateNamespaceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateNamespaceResult `json:"result"` }
type CreateNamespaceResult ¶
type CreateNamespaceResult struct {
Status bool `json:"status"`
}
type DeleteJobRequest ¶
type DeleteJobRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* */ NamespaceId string `json:"namespaceId"` /* */ JobId int `json:"jobId"` }
func NewDeleteJobRequest ¶
func NewDeleteJobRequest( regionId string, namespaceId string, jobId int, ) *DeleteJobRequest
* param regionId: Region ID (Required) * param namespaceId: (Required) * param jobId: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteJobRequestWithAllParams ¶
func NewDeleteJobRequestWithAllParams( regionId string, namespaceId string, jobId int, ) *DeleteJobRequest
* param regionId: Region ID (Required) * param namespaceId: (Required) * param jobId: (Required)
func NewDeleteJobRequestWithoutParam ¶
func NewDeleteJobRequestWithoutParam() *DeleteJobRequest
This constructor has better compatible ability when API parameters changed
func (DeleteJobRequest) GetRegionId ¶
func (r DeleteJobRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteJobRequest) SetJobId ¶
func (r *DeleteJobRequest) SetJobId(jobId int)
param jobId: (Required)
func (*DeleteJobRequest) SetNamespaceId ¶
func (r *DeleteJobRequest) SetNamespaceId(namespaceId string)
param namespaceId: (Required)
func (*DeleteJobRequest) SetRegionId ¶
func (r *DeleteJobRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteJobResponse ¶
type DeleteJobResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteJobResult `json:"result"` }
type DeleteJobResult ¶
type DeleteNamespaceRequest ¶
type DeleteNamespaceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* */ NamespaceId int `json:"namespaceId"` }
func NewDeleteNamespaceRequest ¶
func NewDeleteNamespaceRequest( regionId string, namespaceId int, ) *DeleteNamespaceRequest
* param regionId: Region ID (Required) * param namespaceId: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteNamespaceRequestWithAllParams ¶
func NewDeleteNamespaceRequestWithAllParams( regionId string, namespaceId int, ) *DeleteNamespaceRequest
* param regionId: Region ID (Required) * param namespaceId: (Required)
func NewDeleteNamespaceRequestWithoutParam ¶
func NewDeleteNamespaceRequestWithoutParam() *DeleteNamespaceRequest
This constructor has better compatible ability when API parameters changed
func (DeleteNamespaceRequest) GetRegionId ¶
func (r DeleteNamespaceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteNamespaceRequest) SetNamespaceId ¶
func (r *DeleteNamespaceRequest) SetNamespaceId(namespaceId int)
param namespaceId: (Required)
func (*DeleteNamespaceRequest) SetRegionId ¶
func (r *DeleteNamespaceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteNamespaceResponse ¶
type DeleteNamespaceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteNamespaceResult `json:"result"` }
type DeleteNamespaceResult ¶
type DeleteNamespaceResult struct {
Status bool `json:"status"`
}
type DeleteStorageRequest ¶
type DeleteStorageRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* storageId */ StorageId int `json:"storageId"` }
func NewDeleteStorageRequest ¶
func NewDeleteStorageRequest( regionId string, storageId int, ) *DeleteStorageRequest
* param regionId: Region ID (Required) * param storageId: storageId (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteStorageRequestWithAllParams ¶
func NewDeleteStorageRequestWithAllParams( regionId string, storageId int, ) *DeleteStorageRequest
* param regionId: Region ID (Required) * param storageId: storageId (Required)
func NewDeleteStorageRequestWithoutParam ¶
func NewDeleteStorageRequestWithoutParam() *DeleteStorageRequest
This constructor has better compatible ability when API parameters changed
func (DeleteStorageRequest) GetRegionId ¶
func (r DeleteStorageRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteStorageRequest) SetRegionId ¶
func (r *DeleteStorageRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteStorageRequest) SetStorageId ¶
func (r *DeleteStorageRequest) SetStorageId(storageId int)
param storageId: storageId(Required)
type DeleteStorageResponse ¶
type DeleteStorageResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteStorageResult `json:"result"` }
type DeleteStorageResult ¶
type DeleteStorageResult struct {
Message string `json:"message"`
}
type DescribeJobRequest ¶
type DescribeJobRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* */ JobId int `json:"jobId"` /* */ NamespaceId int `json:"namespaceId"` }
func NewDescribeJobRequest ¶
func NewDescribeJobRequest( regionId string, jobId int, namespaceId int, ) *DescribeJobRequest
* param regionId: Region ID (Required) * param jobId: (Required) * param namespaceId: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeJobRequestWithAllParams ¶
func NewDescribeJobRequestWithAllParams( regionId string, jobId int, namespaceId int, ) *DescribeJobRequest
* param regionId: Region ID (Required) * param jobId: (Required) * param namespaceId: (Required)
func NewDescribeJobRequestWithoutParam ¶
func NewDescribeJobRequestWithoutParam() *DescribeJobRequest
This constructor has better compatible ability when API parameters changed
func (DescribeJobRequest) GetRegionId ¶
func (r DescribeJobRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeJobRequest) SetJobId ¶
func (r *DescribeJobRequest) SetJobId(jobId int)
param jobId: (Required)
func (*DescribeJobRequest) SetNamespaceId ¶
func (r *DescribeJobRequest) SetNamespaceId(namespaceId int)
param namespaceId: (Required)
func (*DescribeJobRequest) SetRegionId ¶
func (r *DescribeJobRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeJobResponse ¶
type DescribeJobResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeJobResult `json:"result"` }
type DescribeJobResult ¶
type DescribeJobResult struct {
JobStr streamcomputer.JobStr `json:"jobStr"`
}
type DescribeStorageRequest ¶
type DescribeStorageRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* storageId */ StorageId int `json:"storageId"` }
func NewDescribeStorageRequest ¶
func NewDescribeStorageRequest( regionId string, storageId int, ) *DescribeStorageRequest
* param regionId: Region ID (Required) * param storageId: storageId (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeStorageRequestWithAllParams ¶
func NewDescribeStorageRequestWithAllParams( regionId string, storageId int, ) *DescribeStorageRequest
* param regionId: Region ID (Required) * param storageId: storageId (Required)
func NewDescribeStorageRequestWithoutParam ¶
func NewDescribeStorageRequestWithoutParam() *DescribeStorageRequest
This constructor has better compatible ability when API parameters changed
func (DescribeStorageRequest) GetRegionId ¶
func (r DescribeStorageRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeStorageRequest) SetRegionId ¶
func (r *DescribeStorageRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeStorageRequest) SetStorageId ¶
func (r *DescribeStorageRequest) SetStorageId(storageId int)
param storageId: storageId(Required)
type DescribeStorageResponse ¶
type DescribeStorageResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeStorageResult `json:"result"` }
type DescribeStorageResult ¶
type DescribeStorageResult struct {
Data streamcomputer.Storage `json:"data"`
}
type GetJobListRequest ¶
type GetJobListRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* */ NamespaceId string `json:"namespaceId"` }
func NewGetJobListRequest ¶
func NewGetJobListRequest( regionId string, namespaceId string, ) *GetJobListRequest
* param regionId: Region ID (Required) * param namespaceId: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetJobListRequestWithAllParams ¶
func NewGetJobListRequestWithAllParams( regionId string, namespaceId string, ) *GetJobListRequest
* param regionId: Region ID (Required) * param namespaceId: (Required)
func NewGetJobListRequestWithoutParam ¶
func NewGetJobListRequestWithoutParam() *GetJobListRequest
This constructor has better compatible ability when API parameters changed
func (GetJobListRequest) GetRegionId ¶
func (r GetJobListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetJobListRequest) SetNamespaceId ¶
func (r *GetJobListRequest) SetNamespaceId(namespaceId string)
param namespaceId: (Required)
func (*GetJobListRequest) SetRegionId ¶
func (r *GetJobListRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type GetJobListResponse ¶
type GetJobListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetJobListResult `json:"result"` }
type GetJobListResult ¶
type GetJobListResult struct {
Data []streamcomputer.JobStr `json:"data"`
}
type GetStorageListRequest ¶
type GetStorageListRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* storage类型 */ StorageType string `json:"storageType"` /* namespaceId */ NamespaceId string `json:"namespaceId"` }
func NewGetStorageListRequest ¶
func NewGetStorageListRequest( regionId string, storageType string, namespaceId string, ) *GetStorageListRequest
* param regionId: Region ID (Required) * param storageType: storage类型 (Required) * param namespaceId: namespaceId (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetStorageListRequestWithAllParams ¶
func NewGetStorageListRequestWithAllParams( regionId string, storageType string, namespaceId string, ) *GetStorageListRequest
* param regionId: Region ID (Required) * param storageType: storage类型 (Required) * param namespaceId: namespaceId (Required)
func NewGetStorageListRequestWithoutParam ¶
func NewGetStorageListRequestWithoutParam() *GetStorageListRequest
This constructor has better compatible ability when API parameters changed
func (GetStorageListRequest) GetRegionId ¶
func (r GetStorageListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetStorageListRequest) SetNamespaceId ¶
func (r *GetStorageListRequest) SetNamespaceId(namespaceId string)
param namespaceId: namespaceId(Required)
func (*GetStorageListRequest) SetRegionId ¶
func (r *GetStorageListRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*GetStorageListRequest) SetStorageType ¶
func (r *GetStorageListRequest) SetStorageType(storageType string)
param storageType: storage类型(Required)
type GetStorageListResponse ¶
type GetStorageListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetStorageListResult `json:"result"` }
type GetStorageListResult ¶
type GetStorageListResult struct {
StorageList []streamcomputer.Storage `json:"storageList"`
}
type QueryNamespaceDetailRequest ¶
type QueryNamespaceDetailRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* */ NamespaceId int `json:"namespaceId"` }
func NewQueryNamespaceDetailRequest ¶
func NewQueryNamespaceDetailRequest( regionId string, namespaceId int, ) *QueryNamespaceDetailRequest
* param regionId: Region ID (Required) * param namespaceId: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryNamespaceDetailRequestWithAllParams ¶
func NewQueryNamespaceDetailRequestWithAllParams( regionId string, namespaceId int, ) *QueryNamespaceDetailRequest
* param regionId: Region ID (Required) * param namespaceId: (Required)
func NewQueryNamespaceDetailRequestWithoutParam ¶
func NewQueryNamespaceDetailRequestWithoutParam() *QueryNamespaceDetailRequest
This constructor has better compatible ability when API parameters changed
func (QueryNamespaceDetailRequest) GetRegionId ¶
func (r QueryNamespaceDetailRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryNamespaceDetailRequest) SetNamespaceId ¶
func (r *QueryNamespaceDetailRequest) SetNamespaceId(namespaceId int)
param namespaceId: (Required)
func (*QueryNamespaceDetailRequest) SetRegionId ¶
func (r *QueryNamespaceDetailRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type QueryNamespaceDetailResponse ¶
type QueryNamespaceDetailResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryNamespaceDetailResult `json:"result"` }
type QueryNamespaceDetailResult ¶
type QueryNamespaceDetailResult struct {
Namespace streamcomputer.Namespace `json:"namespace"`
}
type QueryNamespacesRequest ¶
type QueryNamespacesRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* (Optional) */ Keyword *string `json:"keyword"` }
func NewQueryNamespacesRequest ¶
func NewQueryNamespacesRequest( regionId string, ) *QueryNamespacesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryNamespacesRequestWithAllParams ¶
func NewQueryNamespacesRequestWithAllParams( regionId string, keyword *string, ) *QueryNamespacesRequest
* param regionId: Region ID (Required) * param keyword: (Optional)
func NewQueryNamespacesRequestWithoutParam ¶
func NewQueryNamespacesRequestWithoutParam() *QueryNamespacesRequest
This constructor has better compatible ability when API parameters changed
func (QueryNamespacesRequest) GetRegionId ¶
func (r QueryNamespacesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryNamespacesRequest) SetKeyword ¶
func (r *QueryNamespacesRequest) SetKeyword(keyword string)
param keyword: (Optional)
func (*QueryNamespacesRequest) SetRegionId ¶
func (r *QueryNamespacesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type QueryNamespacesResponse ¶
type QueryNamespacesResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryNamespacesResult `json:"result"` }
type QueryNamespacesResult ¶
type QueryNamespacesResult struct {
Namespaces []streamcomputer.Namespace `json:"namespaces"`
}
type StartJobRequest ¶
type StartJobRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* */ NamespaceId string `json:"namespaceId"` /* */ JobId int `json:"jobId"` }
func NewStartJobRequest ¶
func NewStartJobRequest( regionId string, namespaceId string, jobId int, ) *StartJobRequest
* param regionId: Region ID (Required) * param namespaceId: (Required) * param jobId: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStartJobRequestWithAllParams ¶
func NewStartJobRequestWithAllParams( regionId string, namespaceId string, jobId int, ) *StartJobRequest
* param regionId: Region ID (Required) * param namespaceId: (Required) * param jobId: (Required)
func NewStartJobRequestWithoutParam ¶
func NewStartJobRequestWithoutParam() *StartJobRequest
This constructor has better compatible ability when API parameters changed
func (StartJobRequest) GetRegionId ¶
func (r StartJobRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StartJobRequest) SetJobId ¶
func (r *StartJobRequest) SetJobId(jobId int)
param jobId: (Required)
func (*StartJobRequest) SetNamespaceId ¶
func (r *StartJobRequest) SetNamespaceId(namespaceId string)
param namespaceId: (Required)
func (*StartJobRequest) SetRegionId ¶
func (r *StartJobRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type StartJobResponse ¶
type StartJobResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result StartJobResult `json:"result"` }
type StartJobResult ¶
type StartJobResult struct {
Message string `json:"message"`
}
type StopJobRequest ¶
type StopJobRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* */ NamespaceId string `json:"namespaceId"` /* */ JobId int `json:"jobId"` }
func NewStopJobRequest ¶
func NewStopJobRequest( regionId string, namespaceId string, jobId int, ) *StopJobRequest
* param regionId: Region ID (Required) * param namespaceId: (Required) * param jobId: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStopJobRequestWithAllParams ¶
func NewStopJobRequestWithAllParams( regionId string, namespaceId string, jobId int, ) *StopJobRequest
* param regionId: Region ID (Required) * param namespaceId: (Required) * param jobId: (Required)
func NewStopJobRequestWithoutParam ¶
func NewStopJobRequestWithoutParam() *StopJobRequest
This constructor has better compatible ability when API parameters changed
func (StopJobRequest) GetRegionId ¶
func (r StopJobRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StopJobRequest) SetJobId ¶
func (r *StopJobRequest) SetJobId(jobId int)
param jobId: (Required)
func (*StopJobRequest) SetNamespaceId ¶
func (r *StopJobRequest) SetNamespaceId(namespaceId string)
param namespaceId: (Required)
func (*StopJobRequest) SetRegionId ¶
func (r *StopJobRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type StopJobResponse ¶
type StopJobResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result StopJobResult `json:"result"` }
type StopJobResult ¶
type StopJobResult struct {
Message string `json:"message"`
}
type UpdateNamespaceRequest ¶
type UpdateNamespaceRequest struct { core.JDCloudRequest /* Region ID */ RegionId string `json:"regionId"` /* */ NamespaceStr *streamcomputer.Namespace `json:"namespaceStr"` }
func NewUpdateNamespaceRequest ¶
func NewUpdateNamespaceRequest( regionId string, namespaceStr *streamcomputer.Namespace, ) *UpdateNamespaceRequest
* param regionId: Region ID (Required) * param namespaceStr: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateNamespaceRequestWithAllParams ¶
func NewUpdateNamespaceRequestWithAllParams( regionId string, namespaceStr *streamcomputer.Namespace, ) *UpdateNamespaceRequest
* param regionId: Region ID (Required) * param namespaceStr: (Required)
func NewUpdateNamespaceRequestWithoutParam ¶
func NewUpdateNamespaceRequestWithoutParam() *UpdateNamespaceRequest
This constructor has better compatible ability when API parameters changed
func (UpdateNamespaceRequest) GetRegionId ¶
func (r UpdateNamespaceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateNamespaceRequest) SetNamespaceStr ¶
func (r *UpdateNamespaceRequest) SetNamespaceStr(namespaceStr *streamcomputer.Namespace)
param namespaceStr: (Required)
func (*UpdateNamespaceRequest) SetRegionId ¶
func (r *UpdateNamespaceRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type UpdateNamespaceResponse ¶
type UpdateNamespaceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result UpdateNamespaceResult `json:"result"` }
type UpdateNamespaceResult ¶
type UpdateNamespaceResult struct {
Status bool `json:"status"`
}