chore: generate sdk v2.8.0
This commit is contained in:
@@ -94,6 +94,20 @@ func encodeAuthRegisterRequest(
|
||||
return nil
|
||||
}
|
||||
|
||||
func encodeBandwidthStatsNodesGetStatsNodesUsersUsageRequest(
|
||||
req *GetStatsNodesUsersUsageRequest,
|
||||
r *http.Request,
|
||||
) error {
|
||||
const contentType = "application/json"
|
||||
e := new(jx.Encoder)
|
||||
{
|
||||
req.Encode(e)
|
||||
}
|
||||
encoded := e.Bytes()
|
||||
ht.SetBody(r, bytes.NewReader(encoded), contentType)
|
||||
return nil
|
||||
}
|
||||
|
||||
func encodeConfigProfileCreateConfigProfileRequest(
|
||||
req *CreateConfigProfileRequest,
|
||||
r *http.Request,
|
||||
@@ -220,22 +234,8 @@ func encodeHostsBulkActionsEnableHostsRequest(
|
||||
return nil
|
||||
}
|
||||
|
||||
func encodeHostsBulkActionsSetInboundToHostsRequest(
|
||||
req *SetInboundToManyHostsRequest,
|
||||
r *http.Request,
|
||||
) error {
|
||||
const contentType = "application/json"
|
||||
e := new(jx.Encoder)
|
||||
{
|
||||
req.Encode(e)
|
||||
}
|
||||
encoded := e.Bytes()
|
||||
ht.SetBody(r, bytes.NewReader(encoded), contentType)
|
||||
return nil
|
||||
}
|
||||
|
||||
func encodeHostsBulkActionsSetPortToHostsRequest(
|
||||
req *SetPortToManyHostsRequest,
|
||||
req *UpdateManyHostsRequest,
|
||||
r *http.Request,
|
||||
) error {
|
||||
const contentType = "application/json"
|
||||
@@ -627,7 +627,21 @@ func encodeNodesReorderNodesRequest(
|
||||
}
|
||||
|
||||
func encodeNodesRestartAllNodesRequest(
|
||||
req *RestartAllNodesRequestBody,
|
||||
req *NodeRequestBodyRequest,
|
||||
r *http.Request,
|
||||
) error {
|
||||
const contentType = "application/json"
|
||||
e := new(jx.Encoder)
|
||||
{
|
||||
req.Encode(e)
|
||||
}
|
||||
encoded := e.Bytes()
|
||||
ht.SetBody(r, bytes.NewReader(encoded), contentType)
|
||||
return nil
|
||||
}
|
||||
|
||||
func encodeNodesRestartNodeRequest(
|
||||
req *NodeRequestBodyRequest,
|
||||
r *http.Request,
|
||||
) error {
|
||||
const contentType = "application/json"
|
||||
@@ -892,20 +906,6 @@ func encodeSystemDebugSrrMatcherRequest(
|
||||
return nil
|
||||
}
|
||||
|
||||
func encodeSystemEncryptHappCryptoLinkRequest(
|
||||
req *EncryptHappCryptoLinkRequest,
|
||||
r *http.Request,
|
||||
) error {
|
||||
const contentType = "application/json"
|
||||
e := new(jx.Encoder)
|
||||
{
|
||||
req.Encode(e)
|
||||
}
|
||||
encoded := e.Bytes()
|
||||
ht.SetBody(r, bytes.NewReader(encoded), contentType)
|
||||
return nil
|
||||
}
|
||||
|
||||
func encodeUsersBulkActionsBulkAllExtendExpirationDateRequest(
|
||||
req *BulkAllExtendExpirationDateRequest,
|
||||
r *http.Request,
|
||||
|
||||
Reference in New Issue
Block a user